Skip to content

merging multiple EXISTS(...) with constraint-based join removal #3998

Answered by wolfgangwalther
zachblume asked this question in Q&A
Discussion options

You must be logged in to vote

The thread ends with a proposed algorithm for PostgreSQL to do that and with an invitation to work on it. I suppose any effort on this kind of optimization is better spent in the PostgreSQL source code :D. At lot more users would benefit from it.

Additionally, step 3 seems to be much harder for us to do than for PostgreSQL. While we do have some metadata in the schema cache about uniqueness etc., upstream has all the information at hand for sure.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zachblume
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