- 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.
推薦閱讀
- PowerShell 3.0 Advanced Administration Handbook
- Java開發技術全程指南
- Getting Started with Containerization
- 工業機器人現場編程(FANUC)
- RPA(機器人流程自動化)快速入門:基于Blue Prism
- AutoCAD 2012中文版繪圖設計高手速成
- 傳感器與物聯網技術
- Ruby on Rails敏捷開發最佳實踐
- 工業機器人運動仿真編程實踐:基于Android和OpenGL
- 突破,Objective-C開發速學手冊
- Windows Server 2008 R2活動目錄內幕
- Python文本分析
- 案例解說Delphi典型控制應用
- PostgreSQL 10 High Performance
- 玩轉PowerPoint