作者
digoal
日期
2022-01-21
标签
PostgreSQL , pg_basebackup
pg_basebackup 增强, 支持客户端压缩和压缩比选项, 目前仅支持客户端压缩, 仅支持gzip压缩算法.
未来有计划支持服务端压缩, 可以节省网络传输量. 看样子我的吐槽要慢慢被实现了? 《DB吐槽大会,第22期 - PG 不支持libpq协议层压缩》
* -z/--gzip is a synonym of --compress=gzip. * --compress=NUM implies: ** --compress=none if NUM = 0. ** --compress=gzip:NUM if NUM > 0.
复制
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=5c649fe153367cdab278738ee4aebbfd158e0546
Extend the options of pg_basebackup to control compression author Michael Paquier <michael@paquier.xyz> Fri, 21 Jan 2022 02:08:43 +0000 (11:08 +0900) committer Michael Paquier <michael@paquier.xyz> Fri, 21 Jan 2022 02:08:43 +0000 (11:08 +0900) commit 5c649fe153367cdab278738ee4aebbfd158e0546 tree e67b7bd967908edc5f6b8070e980d88fc64dbff3 tree parent 512fc2dd790e3e7c35b3af8cd7586aeb25248c6e commit | diff Extend the options of pg_basebackup to control compression The option --compress is extended to accept a compression method and an optional compression level, as of the grammar METHOD[:LEVEL]. The methods currently support are "none" and "gzip", for client-side compression. Any of those methods use only an integer value for the compression level, but any method implemented in the future could use more specific keywords if necessary. This commit keeps the logic backward-compatible. Hence, the following compatibility rules apply for the new format of the option --compress: * -z/--gzip is a synonym of --compress=gzip. * --compress=NUM implies: ** --compress=none if NUM = 0. ** --compress=gzip:NUM if NUM > 0. Note that there are also plans to extend more this grammar with server-side compression. Reviewed-by: Robert Haas, Magnus Hagander, Álvaro Herrera, David G. Johnston, Georgios Kokolatos Discussion: https://postgr.es/m/Yb3GEgWwcu4wZDuA@paquier.xyz
复制
期望 PostgreSQL 增加什么功能?
PolarDB for PostgreSQL云原生分布式开源数据库
PostgreSQL 解决方案集合
德哥 / digoal's github - 公益是一辈子的事.
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
评论
相关阅读
外国CTO也感兴趣的开源数据库项目——openHalo
小满未满、
1738次阅读
2025-04-21 16:58:09
3月“墨力原创作者计划”获奖名单公布
墨天轮编辑部
377次阅读
2025-04-15 14:48:05
转发有奖 | PostgreSQL 16 PGCM高级认证课程直播班招生中!
墨天轮小教习
191次阅读
2025-04-14 15:58:34
中国PostgreSQL培训认证体系新增PGAI应用工程师方向
开源软件联盟PostgreSQL分会
186次阅读
2025-05-06 10:21:13
PG生态赢得资本市场青睐:Databricks收购Neon,Supabase融资两亿美元,微软财报点名PG
老冯云数
146次阅读
2025-05-07 10:06:22
SQL 优化之 OR 子句改写
xiongcc
138次阅读
2025-04-21 00:08:06
华象新闻 | PostgreSQL 18 Beta 1、17.5、16.9、15.13、14.18、13.21 发布
严少安
136次阅读
2025-05-09 11:34:10
告别老旧mysql_fdw,升级正当时
NickYoung
123次阅读
2025-04-29 11:15:18
PostgreSQL中文社区亮相于第八届数字中国峰会
PostgreSQL中文社区
108次阅读
2025-05-07 10:06:20
PostgreSQL的dblink扩展模块使用方法
szrsu
105次阅读
2025-04-24 17:39:30
热门文章
阿里巴巴的使命、愿景、核心价值观
2021-01-04 67760浏览
MacOS 关闭和开启虚拟内存(swap)
2022-01-20 17931浏览
[珍藏级] PostgreSQL ssl 证书配置 - 防止中间攻击者 - 以及如何使用证书无密码登录配置cert
2020-06-19 16558浏览
PostgreSQL md5hash插件 - 128bit 存储,压缩空间、提升效率
2019-11-08 14377浏览
产品与运营-OKR的设计、总结、复盘、规划、组织保障和考核例子
2022-01-20 13390浏览
最新文章
PostgreSQL 15 preview - PostgreSQL 15 pg_stat_statements 增加对temp file blocks io timing的统计, 增加JIT的统计.
2022-01-20 271浏览
德说-第92期, 怎么解决躺平|不想奋斗?
2022-01-20 302浏览
PostgreSQL 增量物化视图插件 - pg_ivm incremental materialized view maintenance
2022-01-20 1413浏览
PostgreSQL 15 preview - ARM多核适配 性能提升 - Use ISB as a spin-delay instruction on ARM64
2022-01-20 801浏览
PostgreSQL 15 preview - recovery(包括崩溃恢复、逻辑流复制、物理流复制、归档恢复) 加速, 支持异步prefetch 预读接下来要恢复的wal record相关的data block到shared buffer
2022-01-20 1229浏览