- Mastering PostgreSQL 10
- Hans Jürgen Sch?nig
- 140字
- 2021-06-30 19:03:57
Hash indexes
Hash indexes have been around for many years. The idea is to hash the input value and store it for later lookups. Having hash indexes actually makes sense. However, before PostgreSQL 10.0, it was not advised to use hash indexes because PostgreSQL had no WAL support for them. In PostgreSQL 10.0, this has changed. Hash indexes are now fully logged and are therefore ready for replication and are considered to be a 100% crash safe.
Hash indexes are generally a bit larger than b-tree indexes. Suppose you want to index 4 million integer values. A btree will need around 90 MB of storage to do this. A hash index will need around 125 MB on disk. The assumption made by many people that a hash is super small on the disk is therefore, in many cases, just wrong.
- AutoCAD繪圖實用速查通典
- 構建高質量的C#代碼
- 三菱FX3U/5U PLC從入門到精通
- iClone 4.31 3D Animation Beginner's Guide
- C語言開發技術詳解
- Ceph:Designing and Implementing Scalable Storage Systems
- Moodle Course Design Best Practices
- 數據庫系統原理及應用教程(第5版)
- 樂高機器人—槍械武器庫
- Enterprise PowerShell Scripting Bootcamp
- Visual FoxPro數據庫基礎及應用
- 工業自動化技術實訓指導
- Linux Shell編程從初學到精通
- 大數據案例精析
- Oracle 11g Anti-hacker's Cookbook