Performance

thumbnail
postgresql configuration tuning performance

PostgreSQL 組態調校:從預設值到生產級效能 | PostgreSQL

PostgreSQL 預設組態刻意設得極為保守——它必須能在 256MB RAM 的環境上啟動。這意味著在生產環境中,幾乎 每一台 資料庫伺服器都需要根據硬體規...

2026/07/10

thumbnail
postgresql connection-pooling pgbouncer performance

連線池管理:PgBouncer、Pgpool-II 與應用層池化完全指南 | PostgreSQL

在 PostgreSQL 的 Fork 模型中,每個連線都會佔用一個獨立的 Backend Process,當連線數過高時,系統資源消耗與 Context Switch 開銷會急遽上升。...

2026/07/08

thumbnail
postgresql partitioning pg-partman performance

分區管理:PostgreSQL 宣告式分割表的完整維運指南 | PostgreSQL

分割表(Partitioned Table) 是 PostgreSQL 處理大規模資料集的核心手段。自 PG10 引入宣告式分...

2026/07/03

thumbnail
postgresql query-planner explain performance

查詢規劃器與執行計畫:PostgreSQL 如何選擇最優路徑 | PostgreSQL

查詢規劃器(Query Planner) 是 PostgreSQL 效能的幕後操盤手——它決定每條 SQL 要走哪條索引、用哪種 Join 演算法、是否啟用平行查詢。理解 Cos...

2026/06/22

thumbnail
postgresql index b-tree gin performance

索引類型與設計:B-Tree、GIN、GiST、BRIN 完全指南 | PostgreSQL

索引(Index) 是 PostgreSQL 中加速查詢的輔助資料結構。不同於只有一種索引的資料庫,PostgreSQL 提供了 B-Tree<...

2026/06/21