Mass data import method and device, computer equipment and storage medium
A data import and mass-volume technology, which is applied in the field of big data, can solve the problems of long time-consuming mass data, insufficient system memory, system crash, etc., and achieve the effect of improving data import efficiency, smooth operation, and smooth operation state
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] figure 1 A flow chart of implementing the method for importing large batches of data according to Embodiment 1 of the present invention is shown, and for convenience of description, only parts related to the present invention are shown.
[0044] In step S101, after a data import request is received, data to be imported corresponding to the data import request is acquired.
[0045] In the embodiment of the present invention, the data import request carries the identifier of the data resource to be imported.
[0046] In the embodiment of the present invention, after the data import request is obtained, according to the above-mentioned identifier, the data resource corresponding to the identifier can be obtained as the data to be imported.
[0047] In step S102, current real-time memory information of the system is collected, and the real-time memory information at least includes physical memory size, real-time occupancy, and real-time occupancy ratio.
[0048] In the em...
Embodiment 2
[0063] figure 2 It shows the implementation flow chart of the large-volume data import method provided by Embodiment 2 of the present invention, and for the convenience of description, only the parts related to the present invention are shown.
[0064] Step S104 specifically includes step S201, step S202 and step S203.
[0065] In step S201, it is judged whether the optimal occupancy ratio is greater than the real-time occupancy ratio.
[0066] In the embodiment of the present invention, the real-time memory occupation ratio refers to the ratio of all memory occupied by the current process of the system.
[0067] In step S202, if the judgment result is yes, the optimal introduction amount D2 is expressed as:
[0068] D2=D*P0-D1;
[0069] In step S203, if the judgment result is no, the optimal introduction amount D2 is expressed as:
[0070] D2=D*[(1-P1)*P0].
[0071] Wherein, D is the size of the physical memory, D1 is the real-time occupancy, P1 is the real-time occupan...
Embodiment 3
[0080] image 3 It shows a flow chart of implementing the large-volume data import method provided by Embodiment 3 of the present invention, and for convenience of description, only the parts related to the present invention are shown.
[0081] After step S104, step S301, step S302, step S303, step S304 and step S305 are also included.
[0082] In step S301, a pre-import time is calculated according to the optimal import amount and the size of the data to be imported.
[0083] In the embodiment of the present invention, the pre-import time refers to the time required for the system to import the data to be imported according to the current optimal import amount. For example, if the size of the data to be imported is 512MB and the optimal import amount is 5.12MB, then the pre-import time is 100 seconds. It should be understood that the example of the pre-import time here is only for convenience of understanding and is not intended to limit the present invention.
[0084] As a...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com