天天看點

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>

繼續閱讀