天天看点

PostgreSQL 10.0 preview sharding增强 - pushdown 增强

postgresql , 10.0 , sharding , pushdown , postgres_fdw

postgresql 10.0 已经可以看到的sharding增强如下:

1. push down more full joins in postgres_fdw

full join下推

2. push down more updates/deletes in postgres_fdw

update/delete下推

3. passdownlimitbound for foreignscan/customscan

limit限制下推

加之前面已有的where,select clause,join,聚合,函数下推,大多数常见运算都可以下推了。

结合postgres_fdw的异步调用,继承与分区表,sharding已经非常的完善,就差分布式事务了,10.0的postgres_fdw也在支持2pc,未来postgresql内置sharding会非常顺溜。

后续还会持续看到更多的增强

这个patch的讨论,详见邮件组,本文末尾url。

postgresql社区的作风非常严谨,一个patch可能在邮件组中讨论几个月甚至几年,根据大家的意见反复的修正,patch合并到master已经非常成熟,所以postgresql的稳定性也是远近闻名的。

<a href="https://commitfest.postgresql.org/13/727/">https://commitfest.postgresql.org/13/727/</a>

<a href="https://commitfest.postgresql.org/13/791/">https://commitfest.postgresql.org/13/791/</a>

<a href="https://commitfest.postgresql.org/13/1064/">https://commitfest.postgresql.org/13/1064/</a>

继续阅读