Data delete method and device based on column storage, server, and storage medium
A deletion method and column storage technology, applied in the database field, can solve problems such as low data deletion performance, improve deletion efficiency, avoid reading and writing, and solve low data deletion efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a flowchart of a data deletion method based on column storage provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of deleting data based on column storage. This method can be performed by a data deletion device based on column storage Execution, the device can be implemented by software and / or hardware, and generally can be integrated in the server, such as figure 1 As shown, the technical solution provided by this embodiment is specifically as follows:
[0029] Step 110, acquire the data to be deleted in the column storage table.
[0030] Optionally, obtaining the data to be deleted of the column storage table may first obtain the deletion statement of the column storage table, and determine the data to be deleted according to the deletion statement.
[0031] Exemplarily, by deleting the statement: delete from t where student number='110628', the student record whose student number is '110628' in table t can be ...
Embodiment 2
[0077] figure 2 A flowchart of a method for deleting data based on column storage provided by Embodiment 2 of the present invention is given. This embodiment provides a preferred embodiment based on the foregoing embodiments, and for details not described in detail in this embodiment, refer to the foregoing Embodiment 1. Such as figure 2 As shown, a method for deleting data based on column storage provided in this embodiment includes the following steps:
[0078] Step 210: Obtain the data to be deleted in the column storage table.
[0079] Step 220: Determine the data area in the column storage table where the data to be deleted is located.
[0080] Step 230: Obtain records of the column storage auxiliary table corresponding to the data area.
[0081] In this embodiment, after the data area of the column storage table where the data to be deleted is determined, a record of the data area is found in the column storage auxiliary table. Exemplarily, the record may includ...
Embodiment 3
[0097] image 3 It is a flowchart of an apparatus for deleting data based on column storage provided in Embodiment 4 of the present invention, and the apparatus is used to execute a method for deleting data based on column storage. Such as image 3 As shown, the device includes a data acquisition module 310 , a data area determination module 320 , a line number recording module 330 and a record modification module 340 .
[0098] Wherein, the data obtaining module 310 is used to obtain the data to be deleted in the column storage table;
[0099] A data area determination module 320, configured to determine the data area in the column storage table where the data to be deleted is located;
[0100] A row number recording module 330, configured to record the row number of the data to be deleted in the deletion auxiliary table corresponding to the column storage table according to the data area;
[0101] The record modifying module 340 is configured to determine the statistical ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


