-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Unnest IN/ANY/EXISTS subqueries and optimize them using semi-join algorithm #8061
base: master
Are you sure you want to change the base?
Conversation
…eimplemented support for semi/anti joins inside the nested loop algorithm. Slightly changed implementation of full outer joins. Added transformation of IN/EXISTS subqueries into lateral semi-joins. Basic optimizer support for semi-joins. More efficient optimization for cross joins. Added some debug info (hash table statistics) for hash joins.
…, this allows expression-based hashing
A partial implementation (covering only equivalence conditions) is committed into v5.0.1, but disabled by default (see |
… Procedures with subroutines.
Co-authored-by: Artyom Abakumov <[email protected]>
…e from backup (FB5, RC2) Don't use common SortOwner for sorts with different dbb's. After #7671 it could contain cached sort buffers from different pools (dbb_permanent) and then release it to the wrong dbb_sort_buffers making possible usage of deallocated memory later.
…(this time about short unpacked fragments)
* Add missing synchronization to cached vectors of known pages. Thanks to Vlad Khorsun. * Fixed typo
… ‘{0,N}’ doesn't work as expected.
Thanks to Pavel Zotov.
…uring flush) with small number of DefaultDbCachePages
… introducing GUID-v7 (#8188) Replacing deprecated win32 crypto functions.
Do not fail packaging if qsg is not found Fail packaging if ib_util.* not found white space
* Delete tra_dbcreators_list in ~jrd_tra If we don't delete it manually assert will be thrown if SEC$DB_CREATORS returns a lot of records * Add missing default initialization for tra_dbcreators_list --------- Co-authored-by: Artyom Ivanov <[email protected]>
Fixed bug #8203 : Function MAKE_DBKEY may produce random errors if used with relation name
…imitive estimation for hash vs loop semi-joins
More complete implementation (enabled by default and so far without an option to disable it) is ready for v6. It adds a (limited but still) choice between nested loop and hash semi-join algorithms to be used. Optimization aspects are to be further improved in the master branch later. |
…m the invariant checks.
The initial implementation was developed by customer request, later it was slightly improved and committed into a separate branch for testing. Some issues were found that prevented it from inclusion into v5.0. Still work in progress.