In MySQL 8.0.18, a new Hash Join function was added, which is applicable to fields that are not indexed and can perform equal-value association queries. In previous versions, if the connected fields were not indexed, the query speed would be very slow and the optimizer would use the BNL (block nested) algorithm. The Hash Join algorithm stores the data of a small table in a hash table in memory, matches the data in the large table row by row, calculates the hash value, and returns the qualified data from the memory to the client. Use sysbench to generate four tables and delete the default k-field index. We can use However, the current version 8.0.18 only supports join. Left join and right join are invalid, please note this. Summarize The above is what I introduced to you about the MySQL 8.0.18 Hash Join not supporting left/right join. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: How does WeChat Mini Program obtain user information and user phone number at the same time
>>: Solution to ElementUI's this.$notify.close() call not working
1. Set and change the root password Check whether...
Introduction to vi/vim They are both multi-mode e...
This article shares the second article of using j...
Table of contents Preface Array.isArray construct...
This article mainly introduces the process of imp...
Now that we have finished the transform course, l...
Table of contents What is Express middleware? Req...
1. Add an empty element of the same type, and the...
This article introduces an example of how CSS3 ca...
Table of contents js deep copy Data storage metho...
Table of contents The effect of mixed inheritance...
DML operations refer to operations on table recor...
Docker underlying technology: The two core techno...
In the front-end layout process, it is relatively...
1. Make a repo file Refer to the official install...