Database operating method and device
An operation method and database technology, applied in the field of communication, can solve problems such as the inability of data to achieve global consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] In this embodiment, a database operation method is provided, figure 1 is a flow chart of the operation method of the database according to the embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:
[0037] Step S102, receiving the first transaction information and the current transaction snapshot at the first moment, wherein the first transaction information is used to at least perform the operation indicated by the first transaction on the first database, and the current transaction snapshot includes: the database on the first moment The identification and status of the transactions that have started to be executed in the set, the set of databases is one or more databases including the first database;
[0038] Step S104, judging whether there is a target transaction in the transaction that has been executed indicated by the identifier, wherein the status of the target transaction is uncommitted, and the data items in...
Embodiment 2
[0121] In this embodiment, a database operation device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been explained will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
[0122] Figure 5 is a schematic diagram of the operating device of the database according to the embodiment of the present invention, such as Figure 5 shown, the device includes
[0123] 1) The receiving unit 502 is configured to receive first transaction information and a current transaction snapshot at a first moment, wherein the first transaction information is used to indicate at least performing the operation indicated by the first transact...
Embodiment 3
[0205] The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:
[0206] S1. Receive the first transaction information and the current transaction snapshot at the first moment, wherein the first transaction information is used to indicate that at least the operation indicated by the first transaction is performed on the first database, and the current transaction snapshot includes: the database set at the first moment The identification and status of the transaction that has started to be executed in , the database set is one or more databases including the first database;
[0207] S2. Judging whether there is a target transaction in the transaction that has been executed indicated by the identifier, wherein the status of the target transaction is uncompleted submission, and the data items involved in the target transaction incl...
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