Method, device, server and system for obtaining cardinal number
A server and cardinality technology, applied in the database field, can solve problems such as large resources and long computing time, and achieve the effect of reducing time and resource consumption.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] combine figure 1 In the implementation environment shown, this embodiment provides a method for obtaining the cardinality, see figure 2 , the method flow provided by this embodiment is specifically as follows:
[0044] 201: Obtain the data stored in each data storage server, the data is the data of the same data warehouse;
[0045] 202: Determine the key value corresponding to each data according to the first parameter of each data, and determine the reference value corresponding to each data according to the second parameter corresponding to each data, where the first parameter and the second parameter are at least one;
[0046]Wherein, the reference value corresponding to each data is determined according to the second parameter corresponding to each data, including but not limited to:
[0047] Perform hash calculation according to the second parameter corresponding to each data to obtain the hash value corresponding to each data;
[0048] The hash value correspon...
Embodiment 2
[0063] Embodiment two
[0064] This embodiment provides a method for obtaining the cardinality. For the convenience of description, this embodiment uses figure 1 In the implementation environment shown, the cardinality acquisition server 1 in the data analysis layer acquires the cardinality of the data in the data warehouse 1, and the first parameter of the data used when acquiring the cardinality is the column name D, and the second parameter is the column name E , the first preset number of bits is 64 bits, and the second preset number of bits is 16 bits. The data stored in the data warehouse is distributed and stored in two data storage servers, namely data storage server 1 and data storage server 2 As an example, the method provided in this embodiment is illustrated in detail. see image 3 , the method flow provided by this embodiment is specifically as follows:
[0065] 301: Obtain the data stored in each data storage server, the data is the data of the same data wareh...
Embodiment 3
[0129] This embodiment provides a device for obtaining a base number, and the device is used to implement the method for obtaining a base number provided in the first or second embodiment above. see Figure 7 , the device consists of:
[0130] The first obtaining module 501 is used to obtain the data stored in each data storage server, and the data is the data of the same data warehouse;
[0131] The first determination module 502 is configured to determine a key value corresponding to each data according to a first parameter of each data, where the first parameter is at least one;
[0132] The second determination module 503 is configured to determine a reference value corresponding to each data according to a second parameter corresponding to each data, where the second parameter is at least one;
[0133] The second obtaining module 504 is used to obtain the key-value array pair corresponding to each data storage server according to the key value and reference value corres...
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