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

  • Mastering PostgreSQL 10
  • Hans Jürgen Sch?nig
  • 197字
  • 2021-06-30 19:03:48

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.

主站蜘蛛池模板: 合肥市| 英山县| 屏东市| 红河县| 平乐县| 安庆市| 阿图什市| 马山县| 克什克腾旗| 平泉县| 谢通门县| 四子王旗| 永德县| 北宁市| 南川市| 福安市| 贡嘎县| 手机| 松溪县| 夏津县| 故城县| 沂南县| 宁明县| 庄浪县| 南和县| 高密市| 原平市| 凌海市| 临猗县| 临漳县| 方山县| 宜兰县| 永登县| 株洲市| 分宜县| 奉化市| 东港市| 屏东市| 吉隆县| 乡城县| 赤壁市|