Data recording operation method, apparatus and device and storage medium
A technology of data recording and operation method, applied in the field of database processing, can solve the problems of omission, low efficiency, insufficient ordering and organization method, etc., and achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] figure 1 It is a flow chart of a data record operation method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of organizing and analyzing data records in row storage mode in any database technology. A data recording operation method provided in this embodiment can be executed by a data recording operation device, which can be implemented by means of software and / or hardware, and integrated into the device that executes the method. In this embodiment The device for executing the method may be any intelligent terminal capable of operating data records, such as a tablet computer, a desktop computer, and a notebook. Specifically, refer to figure 1 , the method specifically includes the following steps:
[0031] S110. Obtain a record organization description corresponding to the data record.
[0032] Specifically, data records are row records in the table structure. In order to add columns to the table where the data reco...
Embodiment 2
[0052] figure 2 It is a flowchart of a method for generating a record organization description in the method provided by Embodiment 2 of the present invention. Embodiment 2 of the present invention further exemplifies the flow of record organization description generated according to the data dictionary on the basis of the above embodiments.
[0053] Such as figure 2 As shown, the record organization description is automatically generated according to the data dictionary of the database, and the generation steps are roughly divided into two steps.
[0054] The first step is to traverse the field objects of all columns in the table where the data record after adding the extended field is located, and fill in the information of each field. For the original field, count the number of fixed-length fields and the sum of the data length in the field before this field. Among them, if it is a fixed-length field, set its physical ID to the number of fixed-length fields before this...
Embodiment 3
[0061] image 3 It is a flowchart of a data recording operation method provided by Embodiment 3 of the present invention. This embodiment optimizes the organization method of data in each field in the data record on the basis of the above embodiments. see image 3 , the method of this embodiment specifically includes:
[0062] S210. Organize the original fields according to the ordering manner, and determine the data offset of the first extended field.
[0063] Specifically, when organizing the data of each field in the data record, the data offset of the first variable-length field does not change according to the method of organizing the records in sequence. Further, according to the data length of each variable-length field in the original field, the sum of the data lengths of the variable-length fields is determined, starting from the data offset of the first variable-length field, the data of the variable-length fields is organized sequentially, and organized according t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


