mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Introduced optimizer switch flag 'optimize_join_buffer_size'.
When this flag is 'off' the size of the used join buffer is taken directly from the system variable 'join_buffer_size'. When this flag is 'on' then the size of the buffer depends on the estimated number of rows in the partial join whose records are to be stored in the buffer. By default this flag is set 'on'.
This commit is contained in:
@ -583,7 +583,7 @@ public:
|
||||
/* Get the minimum possible size of the cache join buffer */
|
||||
virtual ulong get_min_join_buffer_size();
|
||||
/* Get the maximum possible size of the cache join buffer */
|
||||
virtual ulong get_max_join_buffer_size();
|
||||
virtual ulong get_max_join_buffer_size(bool optimize_buff_size);
|
||||
|
||||
/* Shrink the size if the cache join buffer in a given ratio */
|
||||
bool shrink_join_buffer_in_ratio(ulonglong n, ulonglong d);
|
||||
|
Reference in New Issue
Block a user