by wiz21c · 8y ago · 0 comments
>>> and a gaping hole in Postgres’ operational story is filled
Are there any other holes one should be aware of ? I'm looking forward to migrate a database with ~100 tables many of which having ~100 millions rows and lot's of FK to Postgresql... The operational side of things is what I know the least. Any pointers ?
HPE did an excellent technical, no marketing BS writeup on PG11[0]. I highly recommend everyone read this.
[0] https://h50146.www5.hpe.com/products/software/oe/linux/mains...
> Despite the flexibility, this approach forces the planner to perform an exhaustive search and to check constraints on each partition to determine whether it should be present in the plan or not. Large amount of partitions may result in significant planning overhead.
> The pg_pathman module features partition managing functions and optimized planning mechanism which utilizes knowledge of the partitions' structure.
If OLTP the best advice is create a reasonable load tester and use it for all future schema migrations. This will find all unexpected table locks due to DDL commands like CREATE INDEX, ALTER TABLE etc.
The docs explain the different settings: https://www.postgresql.org/docs/9.6/static/runtime-config-au...
When tweaking performance settings, always benchmark, especially with your specific load characteristics.
For a big table with frequent writes, the default is too much (20% dead tuples).