開始
PostgreSQL 到目前為止,是不支援原生的分區表的,看看它如何實作:
<a href="http://www.postgresql.org/docs/current/static/ddl-partitioning.html">http://www.postgresql.org/docs/current/static/ddl-partitioning.html</a>
要實作分區,需要借助繼承與規則。


其實如果從其他的表裡一次性地向分區表裡導入資料,那麼最好先把 index 和 constraint 無效化。
結束
本文轉自健哥的資料花園部落格園部落格,原文連結:http://www.cnblogs.com/gaojian/archive/2012/11/12/2765744.html,如需轉載請自行聯系原作者