JP2015162042A5 - - Google Patents

Download PDF

Info

Publication number
JP2015162042A5
JP2015162042A5 JP2014036341A JP2014036341A JP2015162042A5 JP 2015162042 A5 JP2015162042 A5 JP 2015162042A5 JP 2014036341 A JP2014036341 A JP 2014036341A JP 2014036341 A JP2014036341 A JP 2014036341A JP 2015162042 A5 JP2015162042 A5 JP 2015162042A5
Authority
JP
Japan
Prior art keywords
node
hierarchy
key
group
pointer
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.)
Granted
Application number
JP2014036341A
Other languages
Japanese (ja)
Other versions
JP6006740B2 (en
JP2015162042A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2014036341A priority Critical patent/JP6006740B2/en
Priority claimed from JP2014036341A external-priority patent/JP6006740B2/en
Priority to PCT/JP2014/080851 priority patent/WO2015129109A1/en
Publication of JP2015162042A publication Critical patent/JP2015162042A/en
Publication of JP2015162042A5 publication Critical patent/JP2015162042A5/ja
Application granted granted Critical
Publication of JP6006740B2 publication Critical patent/JP6006740B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Claims (5)

最下位階層であるリーフノードおよびその他の内部ノードからなるインデックスツリーを管理するインデックス管理装置であって、
所定数のキーと所定数のバリューとの組を格納した上記リーフノードのある階層を第0階層として、当該第0階層およびそれより1つ上の第1階層を下位階層、当該第1階層よりも1つ上の第2階層を中位階層、当該第2階層よりも上の第3階層以上を上位階層とし、
上記下位階層において、所定数のキーと子ノードの位置を表す所定数のポインタまたは所定数のバリューとの組を格納した第1の種類のノードによって、上記インデックスツリーの探索および更新を管理する下位階層管理部と、
上記中位階層において、所定数のキーと下階層のノードグループの先頭位置を表す1つのグループポインタとを格納するとともに、上記ノードグループ内の各ノードの位置を表すポインタであって上記第1の種類のノードに格納されるポインタよりもサイズの小さい縮小ポインタを格納した第3の種類のノードによって、上記インデックスツリーの探索および更新を管理する中位階層管理部と、
上記上位階層において、所定数のキーと下階層のノードグループの先頭位置を表す1つのグループポインタとを格納した第2の種類のノードによって、上記インデックスツリーの探索および更新を管理する上位階層管理部とを備えたことを特徴とするインデックス管理装置。
An index management device that manages an index tree composed of leaf nodes and other internal nodes that are the lowest layers,
A hierarchy having the leaf node storing a set of a predetermined number of keys and a predetermined number of values is defined as a 0th hierarchy, the 0th hierarchy and the 1st hierarchy immediately above the lower hierarchy, and the 1st hierarchy. Also, the second hierarchy one level above is the middle hierarchy, the third hierarchy above the second hierarchy is the upper hierarchy,
In the lower hierarchy, the index tree search and update are managed by a first type node storing a set of a predetermined number of keys and a predetermined number of pointers representing positions of child nodes or a predetermined number of values. The hierarchy management department;
In the middle hierarchy, a predetermined number of keys and one group pointer representing the head position of the node group in the lower hierarchy are stored, and the pointer represents the position of each node in the node group, the first hierarchy A middle-tier management unit that manages the search and update of the index tree by a third type of node that stores a reduced pointer that is smaller in size than the pointer stored in the type of node;
In the upper hierarchy , an upper hierarchy management unit that manages the search and update of the index tree by a second type of node that stores a predetermined number of keys and one group pointer representing the head position of a node group in the lower hierarchy And an index management device.
上記中位階層管理部は、上記第3の種類のノードに格納されているキーの中から上記検索キー以下で最大の値を持つキーを探索し、探索したキーと共に同じノード内に格納されているグループポインタが示すノードグループの先頭位置からのオフセット量を上記縮小ポインタに基づいて計算することによって特定される位置を辿るようになされていることを特徴とする請求項1に記載のインデックス管理装置。 The middle level manager searches for a key having the maximum value below the search key from the keys stored in the third type node, and stores the key in the same node together with the searched key. 2. The index management apparatus according to claim 1 , wherein a position specified by calculating an offset amount from a head position of a node group indicated by a group pointer based on the reduced pointer is traced. . 最下位階層であるリーフノードおよびその他の内部ノードからなるインデックスツリーを管理するインデックス管理装置であって、
所定数のキーと所定数のバリューとの組を格納した上記リーフノードのある階層を第0階層として、第1階層以上で第n階層以下(nは「1≦n<全階層数−1」を満たす任意の値)の下位階層において、所定数のキーと下階層のノードグループの先頭位置を表す1つのグループポインタとを格納するとともに、上記ノードグループ内の各ノードの位置を表すのに十分なサイズの縮小ポインタを格納した第3の種類のノードによって、上記インデックスツリーの探索および更新を管理する下位階層管理部と、
上記第n階層よりも上の上位階層において、所定数のキーと下階層のノードグループの先頭位置を表す1つのグループポインタとを格納した第2の種類のノードによって、上記インデックスツリーの探索および更新を管理する上位階層管理部とを備えたことを特徴とするインデックス管理装置。
An index management device that manages an index tree composed of leaf nodes and other internal nodes that are the lowest layers,
A hierarchy with the above leaf nodes storing a set of a predetermined number of keys and a predetermined number of values is defined as a 0th hierarchy, and the 1st hierarchy and the nth hierarchy (n is “1 ≦ n <total number of hierarchies−1”). A predetermined number of keys and one group pointer representing the head position of a node group in the lower hierarchy, and sufficient to represent the position of each node in the node group A lower layer management unit that manages the search and update of the index tree by a third type of node that stores a reduced pointer of an appropriate size;
Searching and updating the index tree by a second type node storing a predetermined number of keys and one group pointer representing the head position of a node group in the lower hierarchy in the upper hierarchy above the nth hierarchy An index management apparatus comprising an upper layer management unit for managing
上記下位階層管理部は、上記第3の種類のノードに格納されているキーの中から上記検索キー以下で最大の値を持つキーを探索し、探索したキーと共に同じノード内に格納されているグループポインタが示すノードグループの先頭位置からのオフセット量を上記縮小ポインタに基づいて計算することによって特定される位置を辿るようになされ、
上記上位階層管理部は、上記第2の種類のノードに格納されているキーの中から上記検索キー以下で最大の値を持つキーを探索し、探索したキーと共に同じノード内に格納されているグループポインタが示すノードグループの先頭位置からのオフセット量をノードサイズに基づいて計算することによって特定される位置を辿るようになされていることを特徴とする請求項3に記載のインデックス管理装置。
The lower layer management unit searches for a key having the maximum value below the search key from the keys stored in the third type node, and stores the key in the same node together with the searched key. It follows the position specified by calculating the offset amount from the head position of the node group indicated by the group pointer based on the reduced pointer,
The upper layer management unit searches for a key having the maximum value below the search key from the keys stored in the second type node, and stores the key in the same node together with the searched key. 4. The index management apparatus according to claim 3 , wherein the index management apparatus is configured to follow a position specified by calculating an offset amount from the head position of the node group indicated by the group pointer based on the node size.
上記下位階層管理部は、上記第3の種類のノードに格納されているキーの中から上記挿入キー以下で最大の値を持つキーを探索し、探索したキーと共に同じノード内に格納されているグループポインタが示すノードグループの先頭位置からのオフセット量を上記縮小ポインタに基づいて計算することによって特定される位置を辿ることによって上記挿入キーを挿入すべきリーフノードの探索を行い、探索されたリーフノードに空きスペースがある場合はそのリーフノードに上記挿入キーとバリューとの組を挿入する一方、探索されたリーフノードに空きスペースがない場合はそのリーフノードを分割して上記挿入キーとポインタとの組を挿入するようになされ、
上記上位階層管理部は、上記第2の種類のノードに格納されているキーの中から上記挿入キー以下で最大の値を持つキーを探索し、探索したキーと共に同じノード内に格納されているグループポインタが示すノードグループの先頭位置からのオフセット量をノードサイズに基づいて計算することによって特定される位置を辿るようになされていることを特徴とする請求項3に記載のインデックス管理装置。
The lower layer management unit searches for a key having the maximum value below the insertion key from the keys stored in the third type node, and stores the key in the same node together with the searched key. The leaf node to which the insertion key is to be inserted is searched by following the position specified by calculating the offset amount from the head position of the node group indicated by the group pointer based on the reduction pointer, and the searched leaf If there is an empty space in the node, the pair of the insertion key and value is inserted into the leaf node. On the other hand, if there is no empty space in the searched leaf node, the leaf node is divided and the insertion key and the pointer are inserted. Was made to insert a pair of
The upper layer management unit searches for a key having the maximum value below the insertion key from among the keys stored in the second type node, and is stored in the same node together with the searched key. 4. The index management apparatus according to claim 3 , wherein the index management apparatus is configured to follow a position specified by calculating an offset amount from the head position of the node group indicated by the group pointer based on the node size.
JP2014036341A 2014-02-27 2014-02-27 Index management device Active JP6006740B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014036341A JP6006740B2 (en) 2014-02-27 2014-02-27 Index management device
PCT/JP2014/080851 WO2015129109A1 (en) 2014-02-27 2014-11-21 Index management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014036341A JP6006740B2 (en) 2014-02-27 2014-02-27 Index management device

Publications (3)

Publication Number Publication Date
JP2015162042A JP2015162042A (en) 2015-09-07
JP2015162042A5 true JP2015162042A5 (en) 2015-10-15
JP6006740B2 JP6006740B2 (en) 2016-10-12

Family

ID=54008453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014036341A Active JP6006740B2 (en) 2014-02-27 2014-02-27 Index management device

Country Status (2)

Country Link
JP (1) JP6006740B2 (en)
WO (1) WO2015129109A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6680871B2 (en) * 2016-04-13 2020-04-15 株式会社日立製作所 Computer and database management method
CN109510707A (en) * 2019-01-16 2019-03-22 北京交通大学 Group key management method based on tree model
CN112783896B (en) * 2021-01-12 2023-05-23 湖北宸威玺链信息技术有限公司 Method for reducing memory usage rate by loading files

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2117846C (en) * 1993-10-20 2001-02-20 Allen Reiter Computer method and storage structure for storing and accessing multidimensional data
JP3570323B2 (en) * 1999-05-11 2004-09-29 日本電気株式会社 How to store prefixes for addresses
EP1107126A2 (en) * 1999-12-08 2001-06-13 Hewlett-Packard Company, A Delaware Corporation A fast, efficient, adaptive, hybrid tree
WO2013035287A1 (en) * 2011-09-08 2013-03-14 日本電気株式会社 Database management device, database management method, and program

Similar Documents

Publication Publication Date Title
Demertzis et al. Dynamic searchable encryption with small client storage
JP2016519810A5 (en)
EP2990965B1 (en) Versatile data model
JP2015534174A5 (en)
JP2017504924A (en) Content-based organization of the file system
CN104111924B (en) A kind of Database Systems
US20160125004A1 (en) Method of index recommendation for nosql database
US10223395B2 (en) Derivation of hierarchy indexes
CN104951462B (en) Method and system for managing database
RU2016103814A (en) COMPUTER METHOD AND SYSTEM FOR SEARCHING IN AN INVERTED INDEX POSSESSING A LOT OF WORD POSITION LISTS
US10445370B2 (en) Compound indexes for graph databases
WO2015054877A1 (en) Method and apparatus for data storage and retrieval
JP2015162042A5 (en)
US8412701B2 (en) Multi-dataset global index
CN110008246A (en) Metadata management method and device
GB201116736D0 (en) Searching and storing data in a database
US11461318B2 (en) Ontology-based graph query optimization
CN105574076B (en) A kind of key-value pair storage organization and method based on Bloom Filter
Potter et al. Querying distributed RDF graphs: the effects of partitioning
Schildgen et al. Marimba: A framework for making mapreduce jobs incremental
JP6006740B2 (en) Index management device
Kvalheim The Little Mongo DB Schema Design Book
CN105786931B (en) A kind of method and apparatus that tree structured resource is stored, inquired
CN104598567A (en) Data statistics and de-duplication method based on Hadoop MapReduce programming frame
CN110019783A (en) Attribute term clustering method and device