- Mastering PostgreSQL 9.6
- Hans Jurgen Schonig
- 206字
- 2021-07-09 19:57:10
Checkpoint sorting and kernel interaction
When PostgreSQL writes changes to disk during a checkpoint, it now does so in a more orderly way to ensure that writes are more sequential than earlier. This is done by sorting blocks before sending them too. Random writes will be dramatically reduced this way, which in turn leads to higher throughput on most hardware.
Sorted checkpoints are not the only scalability thing to make it into 9.6. There are also new kernel write-back configuration options: what does this mean? In case of large caches, it could take quite a long time to write all changes out. This used to be especially nasty on systems with hundreds of gigabytes of memory because fairly intense I/O storms could happen. Of course, the operating system, level behavior of Linux could be changed using the /proc/sys/vm/dirty_background_ratio command. However, only a handful of consultants and system administrators actually knew how to do that and why. The checkpoint_flush_after, bgwriter_flush_after, and backend_flush_after functions can be used now to control the flush behavior. In general, the rule is to flush earlier. Still, as the feature is new, people are still gathering experience on how to use those settings in the most efficient way possible.
- Clojure Data Analysis Cookbook
- Div+CSS 3.0網頁布局案例精粹
- 中文版Photoshop CS5數碼照片處理完全自學一本通
- Getting Started with Clickteam Fusion
- 大數據專業英語
- Dreamweaver CS3網頁設計50例
- 計算機原理
- 空間傳感器網絡復雜區域智能監測技術
- 大數據挑戰與NoSQL數據庫技術
- 80x86/Pentium微型計算機原理及應用
- SharePoint 2010開發最佳實踐
- Linux:Powerful Server Administration
- 嵌入式操作系統原理及應用
- 無人駕駛感知智能
- Hands-On Deep Learning with Go