CN104111924B - A kind of Database Systems - Google Patents
A kind of Database Systems Download PDFInfo
- Publication number
- CN104111924B CN104111924B CN201310132754.8A CN201310132754A CN104111924B CN 104111924 B CN104111924 B CN 104111924B CN 201310132754 A CN201310132754 A CN 201310132754A CN 104111924 B CN104111924 B CN 104111924B
- Authority
- CN
- China
- Prior art keywords
- hash
- sublist
- subregion key
- unit
- physical library
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2255—Hash tables
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims (9)
- A kind of 1. Database Systems, it is characterised in that including:Database server group, comprising multiple database servers, for operation logic database management unit;Logical data base administrative unit, for managing a logical table, logical table includes multiple sublists, each sublist has son Table is numbered, and each sublist is dispersed in different physical library cells;Wherein, the logical table belongs to a logical base, corresponds to N In a physical library cells, M tables are split again in a physical library cells, then a logical table there are in fact N*M sublists;Physical library cells, have storehouse mark, for storing multiple sublists;Data access unit, for calculating target physical library unit according to selected access mode and subregion key, and at this The target sublist that should be stored in target physical library unit, the target sublist in access target physical library cells;Data access unit includes access processing module, and HASH modulus storage unit and HASH modulus reading units;Include in HASH modulus storage unit and HASH modulus reading units:Second Type computing module, for when subregion key is character type, carrying out intercity Hash computings to subregion key and obtaining initially Hash value, to initial hash value shifting function, storehouse mark is obtained to the hash value after displacement using physical library quantity modulus, then Sublist numbering is obtained using sublist quantity modulus to initial hash value.
- 2. system according to claim 1, it is characterised in that further include:Mode selecting unit, for selecting HASH modulus mode, section partitioned mode or uniformity HASH modes to access data, And selected access mode is notified into the data access unit.
- 3. system according to claim 2, it is characterised in thatAccess processing module, for obtaining the subregion key included in access request.
- 4. system according to claim 3, it is characterised in that in HASH modulus storage unit and HASH modulus reading units Include:First kind computing module, for when subregion key is integer type, being shifted to subregion key, to the subregion after displacement Key uses physical library quantity modulus, obtains the storehouse mark in target physical storehouse that should be accessed;Subregion key is taken using sublist quantity Mould, obtained remainder are the sublist numberings for the target sublist that should be accessed.
- 5. system according to claim 3, it is characterised in that in HASH modulus storage unit and HASH modulus reading units Include:3rd type computing module, for when subregion key is date type, one to be converted to using the function of time to subregion key Integer, then calculates in the way of integer type.
- 6. system according to claim 3, it is characterised in that data access unit further includes:Uniformity HASH storages are single Member and uniformity HASH reading units;Include in uniformity HASH storage units and uniformity HASH reading units:Hash module, for calculating subregion key cryptographic Hash according to subregion key, and, Hash values are carried out to physics library name and are obtained To physics library name cryptographic Hash, physics library name cryptographic Hash is distributed on an annulus;Identification module, for subregion key cryptographic Hash to be placed on the annulus, according to position of the subregion key cryptographic Hash on annulus Put and find corresponding target physical storehouse.
- 7. Database Systems according to claim 6, it is characterised in that identification module includes:Processing module clockwise, it is suitable for subregion key cryptographic Hash to be positioned on annulus between two physics library name cryptographic Hash Hour hands find the physics library name cryptographic Hash nearest apart from subregion key cryptographic Hash, and the corresponding physics library name cryptographic Hash is target Physical library.
- 8. Database Systems according to claim 1, it is characterised in that further include:Section zoning unit, for calculating target physical storehouse according to the correspondence between subregion key and physical library cells, its In, the different value of subregion key correspond to different physical library cells.
- 9. Database Systems according to claim 1, it is characterised in that further include:Application server group, the data access unit are located at application server group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310132754.8A CN104111924B (en) | 2013-04-16 | 2013-04-16 | A kind of Database Systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310132754.8A CN104111924B (en) | 2013-04-16 | 2013-04-16 | A kind of Database Systems |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104111924A CN104111924A (en) | 2014-10-22 |
CN104111924B true CN104111924B (en) | 2018-05-11 |
Family
ID=51708719
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310132754.8A Active CN104111924B (en) | 2013-04-16 | 2013-04-16 | A kind of Database Systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104111924B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426487A (en) * | 2015-11-20 | 2016-03-23 | 北京京东尚科信息技术有限公司 | Distributed database access control method and equipment, distributed database system and expansion method of distributed database system |
CN105787124A (en) * | 2016-03-28 | 2016-07-20 | 中国建设银行股份有限公司 | Data processing method and device applied to databases as well as data storage system |
CN105893466B (en) * | 2016-03-28 | 2019-09-20 | 中国建设银行股份有限公司 | A kind of data processing method and system applied to database |
CN106909597B (en) * | 2016-06-30 | 2020-07-03 | 阿里巴巴集团控股有限公司 | Database migration method and device |
CN106775470B (en) * | 2016-12-08 | 2020-04-10 | 武汉斗鱼网络科技有限公司 | Data storage method and system |
CN109213825A (en) * | 2017-06-29 | 2019-01-15 | 北京微影时代科技有限公司 | A kind of data-base capacity-enlarging method and device |
CN109697815A (en) * | 2019-01-24 | 2019-04-30 | 广州市天河区保安服务公司 | Anti-theft communication network alarming method, appliance arrangement and storage medium |
CN110059080B (en) * | 2019-04-29 | 2021-12-14 | 珠海天燕科技有限公司 | Data processing method and device |
CN110955664A (en) * | 2019-12-03 | 2020-04-03 | 中国建设银行股份有限公司 | Method and device for routing messages in different banks and tables |
CN112181989B (en) * | 2020-10-12 | 2024-09-03 | 浙江大华技术股份有限公司 | Data processing method and device for distributed database |
CN113268483B (en) * | 2021-05-24 | 2024-07-19 | 北京金山云网络技术有限公司 | Request processing method and device, electronic equipment and storage medium |
CN114968088B (en) * | 2022-04-08 | 2023-09-05 | 中移互联网有限公司 | File storage method, file reading method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436192A (en) * | 2007-11-16 | 2009-05-20 | 国际商业机器公司 | Method and apparatus for optimizing inquiry aiming at vertical storage type database |
CN102033938A (en) * | 2010-12-10 | 2011-04-27 | 天津神舟通用数据技术有限公司 | Secondary mapping-based cluster dynamic expansion method |
CN102968503A (en) * | 2012-12-10 | 2013-03-13 | 曙光信息产业(北京)有限公司 | Data processing method for database system, and database system |
-
2013
- 2013-04-16 CN CN201310132754.8A patent/CN104111924B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436192A (en) * | 2007-11-16 | 2009-05-20 | 国际商业机器公司 | Method and apparatus for optimizing inquiry aiming at vertical storage type database |
CN102033938A (en) * | 2010-12-10 | 2011-04-27 | 天津神舟通用数据技术有限公司 | Secondary mapping-based cluster dynamic expansion method |
CN102968503A (en) * | 2012-12-10 | 2013-03-13 | 曙光信息产业(北京)有限公司 | Data processing method for database system, and database system |
Also Published As
Publication number | Publication date |
---|---|
CN104111924A (en) | 2014-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104111924B (en) | A kind of Database Systems | |
KR102462781B1 (en) | KVS tree database | |
US10417203B2 (en) | Compacting data history files | |
CN106021266B (en) | Fast multi-tier index supporting dynamic updates | |
US9639548B2 (en) | Selecting files for compaction | |
CN103902632B (en) | The method, apparatus and electronic equipment of file system are built in key assignments storage system | |
CN104077423B (en) | Consistent hash based structural data storage, inquiry and migration method | |
US10242050B2 (en) | Database caching in a database system | |
CN102609446B (en) | Distributed Bloom filter system and application method thereof | |
US20160350302A1 (en) | Dynamically splitting a range of a node in a distributed hash table | |
JP2015512551A (en) | A consistent ring namespace that facilitates data storage and organization in network infrastructure | |
CN104424219B (en) | A kind of management method and device of data file | |
CN110347651A (en) | Method of data synchronization, device, equipment and storage medium based on cloud storage | |
CN106815267A (en) | Date storage method and device | |
CN105045850B (en) | Junk data recovery method in cloud storage log file system | |
CN106570113B (en) | Mass vector slice data cloud storage method and system | |
CN104054071A (en) | Method for accessing storage device and storage device | |
CN106960020A (en) | A kind of method and apparatus for creating concordance list | |
CN115454994A (en) | Metadata storage method and device based on distributed key value database | |
CN107153512A (en) | A kind of data migration method and device | |
CN103530067B (en) | A kind of method and apparatus of data manipulation | |
CN110502472A (en) | A kind of the cloud storage optimization method and its system of large amount of small documents | |
JP6006740B2 (en) | Index management device | |
JP2008065716A (en) | Device, method and program for data management | |
US7822736B2 (en) | Method and system for managing an index arrangement for a directory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190621 Address after: 510000 Tianhe District, Guangzhou City, Guangdong Province, 333 Gaotang Road, self-compiled 1-1 Co-patentee after: CHINA MOBILE COMMUNICATIONS GROUP Co.,Ltd. Patentee after: CHINA MOBILE INTERNET Co.,Ltd. Address before: 510000 Tianhe District, Guangzhou City, Guangdong Province, 333 Gaotang Road, self-compiled 1-1 Patentee before: CHINA MOBILE INTERNET Co.,Ltd. Effective date of registration: 20190621 Address after: 510000 Tianhe District, Guangzhou City, Guangdong Province, 333 Gaotang Road, self-compiled 1-1 Patentee after: CHINA MOBILE INTERNET Co.,Ltd. Address before: 510623 13th Floor, Guangdong Global Building, 11 Zhujiang West Road, Zhujiang New Town, Guangzhou City, Guangdong Province Patentee before: CHINA MOBILE GROUP GUANGDONG Co.,Ltd. |