A data export method and device
A data export and database technology, applied in database update, digital data processing, structured data retrieval, etc., can solve the problems of slow export speed, waste of human resources, complicated operation and maintenance work, etc., and achieve the effect of fast export speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 1 It is a flow chart of a data export method provided by Embodiment 1 of the present invention. This embodiment is applicable to export tasks in different data formats. For export tasks in different data formats, there is no need to rewrite the program, only need to load the corresponding configuration information The data export can be done automatically. The embodiment of the present invention can be executed by a data exporting device, which can be realized by means of hardware and / or software, and can generally be integrated into a database server. Such as figure 1 As shown, the method includes the following steps:
[0038] Step 110, receiving the user's export data request task, and setting configuration information according to the export data request task;
[0039] In the process of using the database, it is inevitable that there will be a need to export the data in the data table, especially some companies need to frequently extract some business data ...
Embodiment 2
[0049] figure 2 It is a flow chart of a data export method provided by Embodiment 2 of the present invention. This embodiment is an optimization based on the above embodiments. Specifically, the method includes the following steps:
[0050] Step 210: Receive a data export request task from a user, and set configuration information according to the data export request task.
[0051] Step 220, according to the configuration information, determine whether the exported data format is an insert statement format.
[0052] When the exported data format is the insert statement format, execute steps 230, 250, and 260 in sequence; otherwise, execute steps 240, 250, and 260 in sequence.
[0053] Step 230, generating database executable insert statement information.
[0054] Step 240, generating database executable comma-separated value statement information.
[0055] Comma-Separated Values (CSV), which stores tabular data in plain text, is widely used to transfer tabular data between...
Embodiment 3
[0060] image 3 It is a flow chart of a data export method provided by Embodiment 3 of the present invention. This embodiment is an optimization based on the above embodiments. Specifically, the method includes the following steps:
[0061] Step 310: Receive a data export request task from the user, and set configuration information according to the data export request task.
[0062] Step 320: Obtain the physical space occupied by the exported data table according to the configuration information, and determine whether to enable the parallel export mode according to the physical space occupied by the exported data table.
[0063] This step may read the physical space occupied by the exported data table from the data dictionary of the database according to the configuration information, and judge whether to enable the parallel export mode according to the physical space occupied by the exported data table. Specifically, a threshold can be set, and when the physical space occup...
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