Skip to content
Discussion options

You must be logged in to vote

Converted this to a Q&A Discussion.

I'm not aware of any potential performance issues with this since more recent versions of PG use partition pruning methods to find the proper child table. At least I don't think there would be any issues as long as you're not inserting a lot of data outside of the range covered by non-default children. But there are other bigger concerns with having a lot of data in the default, that being that the adding of new child tables can potentially take a very long time and lock the table if you have a lot of data in the default. This is because it has to check all the data in the default to see if it matches any new child table constraints being added.

So I ju…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anderssjoblom-vertex
Comment options

Answer selected by anderssjoblom-vertex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #567 on September 11, 2023 15:09.