Some changes on example files.

This commit is contained in:
2024-01-16 01:29:39 +01:00
parent 617bbfa3f2
commit 8ef9527036
6 changed files with 1418 additions and 2 deletions

View File

@@ -888,6 +888,25 @@ max_heap_table_size = 2048M
tmp_table_size = 2048M
## - optimizer_switch
## -
## - see:
## - https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_optimizer_switch
## - https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_optimizer_switch
## -
## - The optimizer_switch system variable enables control over optimizer
## - behavior. The value of this variable is a set of flags, each of which
## - has a value of on or off to indicate whether the corresponding optimizer
## - behavior is enabled or disabled. This variable has global and session
## - values and can be changed at runtime. The global default can be set at
## - server startup.
## -
## - To see the current set of optimizer flags, select the variable value:
## -
## - mysql> SELECT @@optimizer_switch\G
## -
#optimizer_switch = ''
## - angepasste Einstellungen
## ------------------------------------------
@@ -994,7 +1013,41 @@ query_cache_size = 1024M
## - query cache
## -------------
## - optimizer_switch
## -
## - see:
## - https://mariadb.com/kb/en/server-system-variables/#optimizer_switch
## - https://mariadb.com/kb/en/optimizer-switch
## -
## - Description: A series of flags for controlling the query optimizer.
## - See 'https://mariadb.com/kb/en/optimizer-switch/' for defaults, and
## - a comparison to MySQL.
## -
## - To see the current set of optimizer flags, select the variable value:
## -
## - mysql> SELECT @@optimizer_switch\G
## -
optimizer_switch = 'rowid_filter=off'
## - optimizer_use_condition_selectivity
## -
## - Description: Controls which statistics can be used by the optimizer when
## - looking for the best query execution plan.
## -
## - 1 Use selectivity of predicates as in MariaDB 5.5.
## -
## - 2 Use selectivity of all range predicates supported by indexes.
## -
## - 3 Use selectivity of all range predicates estimated without histogram.
## -
## - 4 Use selectivity of all range predicates estimated with histogram.
## -
## - 5 Additionally use selectivity of certain non-range predicates calculated
## - on record sample.
## -
## - Default Value: 4 (>= MariaDB 10.4.1), 1 (<= MariaDB 10.4.0)
## -
optimizer_use_condition_selectivity = 1