Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1. table-partition option and 2. foreign key constraint query after table create query #100

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hazardland
Copy link
Contributor

table-partition [default true] option allows to ignore table partition and partition index compares which in big projects (where 90% of tables are partitions) boosts compare process speed dramatically (in our case 9 minutes scaled down to 39 seconds)

@hazardland
Copy link
Contributor Author

Hm actually now it includes 2 fixes:

First 3 commit for this issue #97
Last 1 commit for this issue #98

@hazardland hazardland changed the title table-partition option 1. table-partition option and 2. foreign key constraint query after table create query Mar 30, 2021
@hazardland
Copy link
Contributor Author

In last commit table-partition option has more optimized query and only works on specific pg version

@eulerto
Copy link
Owner

eulerto commented Apr 17, 2021

I pushed the foreign key commit.

@bompi88
Copy link

bompi88 commented Dec 21, 2021

What's the status of this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants