Database data counting method, device and apparatus, and storage medium
A counting method and database technology, used in database indexing, database updating, database management systems, etc., can solve the problems of counting errors, lack of data volume, inconsistent database information, etc., and achieve the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] figure 1 It is a flow chart of a method for counting database data provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of counting the amount of data in the database. The method can be executed by a counting device for database data. The device It can be composed of hardware and / or software, and generally can be integrated into a device with data access function, which can be an electronic device such as a server or a server cluster. like figure 1 As shown, the method specifically includes the following steps:
[0034] Step 110, generating count variation data according to the data volume of the data to be processed.
[0035] Wherein, the data to be processed may include data to be written and data to be deleted. The amount of data can be reflected by the number of data items. The counting variation data carries a setting identification code, and the setting identification code may be a setting prefix. The form of counting v...
Embodiment 2
[0048] figure 2 It is a schematic structural diagram of a database data counting device provided by Embodiment 1 of the present invention. like figure 2 As shown, the device includes: a count variation data generating module 210 , a data writing module 220 and a count value updating module 230 .
[0049] A counting variation data generation module 210, configured to generate counting variation data according to the data volume of the data to be processed;
[0050] Data write-in module 220, for writing count variation data in the database;
[0051] The count value updating module 230 is configured to update the count value of the database according to the count variation data.
[0052] Optionally, the count variation data carries a setting identification code.
[0053]Optionally, the data to be processed includes data to be written and data to be deleted.
[0054] Optionally, if the data to be processed is data to be written, the data writing module 220 is also used for:...
Embodiment 3
[0066] image 3 It is a schematic structural diagram of a computer device provided by Embodiment 3 of the present invention. image 3 A block diagram of a computer device 312 suitable for implementing embodiments of the invention is shown. image 3 The computer device 312 shown is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present invention. Device 312 is typically a computing device that counts database data.
[0067] like image 3 As shown, computer device 312 takes the form of a general-purpose computing device. Components of computer device 312 may include, but are not limited to: one or more processors 316, storage 328, bus 318 connecting various system components including storage 328 and processor 316.
[0068] Bus 318 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus ...
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