- Mastering PostgreSQL 9.6
- Hans Jurgen Schonig
- 138字
- 2021-07-09 19:57:21
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 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.
推薦閱讀
- Cinema 4D R13 Cookbook
- 傳感器技術實驗教程
- Embedded Programming with Modern C++ Cookbook
- 統(tǒng)計學習理論與方法:R語言版
- 水下無線傳感器網(wǎng)絡的通信與決策技術
- Hands-On Reactive Programming with Reactor
- INSTANT Heat Maps in R:How-to
- 啊哈C!思考快你一步
- The DevOps 2.1 Toolkit:Docker Swarm
- Mastering Ceph
- 數(shù)據(jù)要素:全球經(jīng)濟社會發(fā)展的新動力
- QTP自動化測試實踐
- 天才與算法:人腦與AI的數(shù)學思維
- Python語言從入門到精通
- 微控制器的選擇與應用