官术网_书友最值得收藏!

GIN indexes

Generalized inverted (GIN) indexes are a good way to index text. Suppose you want to index a million text documents. A certain word may occur millions of times. In a normal b- tree, this would mean that the key is stored millions of times. Not so in a GIN. Each key (or word) is stored once and assigned to a document list. Keys are organized in a standard b- tree. Each entry will have a document list pointing to all entries in the table having the same key. A GIN index is very small and compact. However, it lacks an important feature found in the b-trees-sorted data. In a GIN, the list of item pointers associated with a certain key is sorted by the position of the row in the table and not by some arbitrary criteria.

主站蜘蛛池模板: 永济市| 比如县| 蕲春县| 吉安县| 鹤庆县| 长岭县| 兴业县| 开封县| 洛宁县| 武平县| 怀化市| 久治县| 额尔古纳市| 邵阳县| 望城县| 南宁市| 陆川县| 洪湖市| 昌邑市| 石首市| 三江| 温泉县| 龙陵县| 宁乡县| 宁河县| 若尔盖县| 凤翔县| 赤壁市| 沧州市| 岳阳县| 班玛县| 阿巴嘎旗| 江门市| 子洲县| 磴口县| 保德县| 休宁县| 玉溪市| 冕宁县| 永福县| 梅河口市|