Partition table establishment, data writing and reading method and device for partition table
A technique for establishing a method and a partition table, applied in the field of database
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0045] The solution provided in this specification will be described below with reference to the accompanying drawings.
[0046] At present, the storage architecture adopted by traditional databases usually does not require data tables to have primary keys. The index table of the data table records the index column and the row identifier (ROWID) of the data row. However, after partition splitting, partition merging, and partition swapping are performed on the data table, the row identifier of the data row will change, which makes the index table invalid and needs to be rebuilt.
[0047] In MySQL InnoDB, for tables without primary keys, a table-level auto-increment column is usually added as a hidden primary key. However, when swapping partitions for tables without a primary key (usually between two tables), there may be issues of primary key conflict (or non-uniqueness) within the table, requiring data rewriting. It can be seen that this method of adding a hidden primary key...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


