Question about predicate lock limits in predicate.c

Started by Arkady Skvorcovabout 1 year ago1 messageshackers

Thread notes

1 note#discussion
hackorum-bot#discussion
hackorum-bot
1 day ago

@global #discussion

#discussion
Jump to latest
#1Arkady Skvorcov
arkashaskv@gmail.com

Subject: Question about predicate lock limits in predicate.c Hi
hackers, I'm looking at the TODO comment in MaxPredicateChildLocks()
about adding ratio-based predicate lock limits. Could someone help me
understand: 1. What's the preferred way to estimate relation sizes
here? 2. Are there any performance concerns with adding more GUC
checks? 3. Would this be a welcome contribution? Thanks, Arkady