官术网_书友最值得收藏!

Partitioning data

There have been talks about introducing partitioning to PostgreSQL for years. However, big, important features take time to implement and this is especially true if you are aiming for a good, extensible, and future-proof implementation. In PostgreSQL 10.0, table partitioning has finally made it to the PostgreSQL core. Of course, the implementation is far from complete, and a lot of work has to be done in the future to add even more features. However, support for partitioning is important and will definitely be one of the most desirable things in PostgreSQL 10.0.

As of now, partitioning is able to:

  • Automatically create proper child constraints
  • Route changes made to the parent table to the child table

However, as stated earlier, there are still a couple of missing features that have not been addressed yet. Here are some of the more important things:

  • Create child tables automatically in case data comes in, which is not covered by partitioning criteria yet
  • No support for hash partitioning
  • Move updated rows that no longer match the partition
  • Handle partitions in parallel

The roadmap for PostgreSQL 11.0 already suggests that many of these things might be supported in the next release.

主站蜘蛛池模板: 年辖:市辖区| 九龙县| 昌黎县| 双流县| 博白县| 岑巩县| 错那县| 沅江市| 区。| 左权县| 西藏| 岳阳市| 阳新县| 遂川县| 孟村| 中江县| 夏津县| 福贡县| 邹城市| 峨山| 涟水县| 芒康县| 鄂托克旗| 航空| 荔浦县| 长春市| 宁国市| 元阳县| 维西| 南皮县| 隆尧县| 漳平市| 安岳县| 奇台县| 吉林省| 阿拉善右旗| 荥阳市| 盐边县| 通化市| 晋州市| 墨脱县|