- Mastering PostgreSQL 9.6
- Hans Jurgen Schonig
- 121字
- 2021-07-09 19:57:09
Tracking vaccum progress
For many years, people have asked for a progress tracker for vacuum. Finally, PostgreSQL 9.6 makes this wish come true by introducing a new system view. Here is how it works:
postgres=# SELECT * FROM pg_stat_progress_vacuum ?
-[ RECORD 1 ]------+--------------
pid | 29546
datid | 67535
datname | test
relid | 16402
phase | scanning heap
heap_blks_total | 6827
heap_blks_scanned | 77
heap_blks_vacuumed | 0
index_vacuum_count | 0
max_dead_tuples | 154
num_dead_tuples | 0
PostgreSQL will provide detailed information about ongoing vacuum processes so that people can track the progress of this vital operation.
推薦閱讀
- Microsoft Dynamics CRM Customization Essentials
- LabVIEW虛擬儀器從入門到測控應用130例
- Excel 2007函數與公式自學寶典
- 輕松學Java Web開發
- HBase Design Patterns
- 深度學習中的圖像分類與對抗技術
- Hadoop Real-World Solutions Cookbook(Second Edition)
- C語言開發技術詳解
- Storm應用實踐:實時事務處理之策略
- MATLAB/Simulink權威指南:開發環境、程序設計、系統仿真與案例實戰
- Hadoop應用開發基礎
- 中文版AutoCAD 2013高手速成
- Mastering Text Mining with R
- 寒江獨釣:Windows內核安全編程
- 運動控制系統(第2版)