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

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.

主站蜘蛛池模板: 曲靖市| 三江| 芜湖市| 南宫市| 盐山县| 大洼县| 洛扎县| 安化县| 昌黎县| 玛曲县| 永顺县| 沛县| 于都县| 镇沅| 佛坪县| 墨竹工卡县| 青阳县| 石狮市| 新泰市| 东乌| 南漳县| 察隅县| 广宗县| 徐州市| 万山特区| 保定市| 景宁| 阳城县| 滦平县| 阿巴嘎旗| 云安县| 龙门县| 四川省| 南丰县| 上栗县| 泰州市| 怀远县| 奉新县| 桦南县| 达拉特旗| 江城|