作者
digoal
日期
2022-04-11
标签
PostgreSQL , pg_stat_statements , jit , temp file blocks
PostgreSQL 15 pg_stat_statements 增加了对temp file blocks io timing的统计, 增加了JIT的统计.
用于使用到临时文件的场景(例如排序、聚合), 临时文件的IO对性能的影响.
用于分析使用了JIT的SQL(通常是分析类的SQL), JIT的优化效果, 以及JIT自身code gen的代价等.
https://www.postgresql.org/docs/devel/pgstatstatements.html
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=76cbf7edb6385c682facda095050858cac2efae0
pg_stat_statements: Track I/O timing for temporary file blocks This commit adds two new columns to pg_stat_statements, called temp_blk_read_time and temp_blk_write_time. Those columns respectively show the time spent to read and write temporary file blocks on disk, whose tracking has been added in efb0ef9. This information is available when track_io_timing is enabled, like blk_read_time and blk_write_time. pg_stat_statements is updated to version to 1.10 as an effect of the newly-added columns. Tests for the upgrade path 1.9->1.10 are added. PGSS_FILE_HEADER is bumped for the new stats file format.
复制
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=57d6aea00fcefec3825a5948ce05cf2b4941097b
Add JIT counters to pg_stat_statements This adds cumulative counters for jit operations to pg_stat_statements, making it easier to diagnose how JIT is used in an installation.
复制
期望 PostgreSQL 增加什么功能?
PolarDB for PostgreSQL云原生分布式开源数据库
PostgreSQL 解决方案集合
德哥 / digoal's github - 公益是一辈子的事.
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
评论
相关阅读
明明想执行的SQL是DELETE、UPDATE,但为什么看到的是SELECT(FDW的实现原理解析)
小满未满、
379次阅读
2025-03-19 23:11:26
PostgreSQL初/中/高级认证考试(3.15)通过考生公示
开源软件联盟PostgreSQL分会
356次阅读
2025-03-20 09:50:36
IvorySQL 4.4 发布 - 基于 PostgreSQL 17.4,增强平台支持
通讯员
224次阅读
2025-03-20 15:31:04
openHalo问世,全球首款基于PostgreSQL兼容MySQL协议的国产开源数据库
严少安
221次阅读
2025-04-07 12:14:29
命名不规范,事后泪两行
xiongcc
205次阅读
2025-03-13 14:26:08
9.9 分高危漏洞,尽快升级到 pgAdmin 4 v9.2 进行修复
严少安
181次阅读
2025-04-11 10:43:23
PG vs MySQL 执行计划解读的异同点
进击的CJR
146次阅读
2025-03-21 10:50:08
版本发布| IvorySQL 4.4 发布
IvorySQL开源数据库社区
133次阅读
2025-03-13 09:52:33
PostgreSQL分区管理扩展——pg_partman
chirpyli
115次阅读
2025-03-19 15:48:31
手把手教你在 openKylin 上部署 IvorySQL 4.4
严少安
112次阅读
2025-03-27 20:41:28
热门文章
阿里巴巴的使命、愿景、核心价值观
2021-01-04 67608浏览
MacOS 关闭和开启虚拟内存(swap)
2022-01-20 17587浏览
[珍藏级] PostgreSQL ssl 证书配置 - 防止中间攻击者 - 以及如何使用证书无密码登录配置cert
2020-06-19 16487浏览
PostgreSQL md5hash插件 - 128bit 存储,压缩空间、提升效率
2019-11-08 14336浏览
产品与运营-OKR的设计、总结、复盘、规划、组织保障和考核例子
2022-01-20 13122浏览
最新文章
德说-第92期, 怎么解决躺平|不想奋斗?
2022-01-20 299浏览
PostgreSQL 增量物化视图插件 - pg_ivm incremental materialized view maintenance
2022-01-20 1377浏览
PostgreSQL 15 preview - ARM多核适配 性能提升 - Use ISB as a spin-delay instruction on ARM64
2022-01-20 769浏览
PostgreSQL 15 preview - recovery(包括崩溃恢复、逻辑流复制、物理流复制、归档恢复) 加速, 支持异步prefetch 预读接下来要恢复的wal record相关的data block到shared buffer
2022-01-20 1201浏览
PolarDB-X 三权分立功能
2022-01-20 473浏览