Historical state data processing method, device, computer equipment and storage medium
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECH (SHENZHEN) CO LTD
- Publication Date
- 2020-12-25
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of databases, in particular to a historical state data processing method, device, computer equipment and storage medium. Background technique
[0002] With the development of database technology, the life cycle of data includes current state, transition state and historical state. The state transition process has gradually attracted the attention of technicians.
[0003] At present, in databases based on MVCC (multi-version concurrency control, multi-version concurrency control) technology, historical state data is data generated by transactions before the smallest transaction in the current active transaction list, for example, in the user table (User table) The balance of account A was originally 10 yuan. After recharging 10 yuan, the server executes the balance update transaction to update the account balance to 20 yuan. After the balance update transaction is submitted, "10 yuan" is converted from the c...