Merge branch 'main' into main

This commit is contained in:
Affaan Mustafa
2026-03-12 23:52:10 -07:00
10 changed files with 161 additions and 42 deletions

View File

@@ -129,7 +129,7 @@ CREATE INDEX orders_customer_id_idx ON orders (customer_id);
| 索引類型 | 使用場景 | 運算子 |
|----------|----------|--------|
| **B-tree**(預設)| 等於、範圍 | `=``<``>``BETWEEN``IN` |
| **GIN** | 陣列、JSONB、全文搜尋 | `@>``?``?&``?&#124;``@@` |
| **GIN** | 陣列、JSONB、全文搜尋 | `@>``?``?&`<code>?\|</code>`@@` |
| **BRIN** | 大型時序表 | 排序資料的範圍查詢 |
| **Hash** | 僅等於 | `=`(比 B-tree 略快)|