Some changes on example files.
This commit is contained in:
		| @@ -888,6 +888,25 @@ max_heap_table_size = 2048M | |||||||
| tmp_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  | ## - angepasste Einstellungen  | ||||||
| ## ------------------------------------------ | ## ------------------------------------------ | ||||||
|  |  | ||||||
| @@ -994,7 +1013,41 @@ query_cache_size = 1024M | |||||||
| ## - query cache | ## - 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_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 | optimizer_use_condition_selectivity = 1 | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
| @@ -888,6 +888,25 @@ max_heap_table_size = 2048M | |||||||
| tmp_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  | ## - angepasste Einstellungen  | ||||||
| ## ------------------------------------------ | ## ------------------------------------------ | ||||||
|  |  | ||||||
| @@ -995,6 +1014,44 @@ query_cache_size = 1024M | |||||||
| ## ------------- | ## ------------- | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ## - 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 | ||||||
|  |  | ||||||
|  |  | ||||||
| # This group is only read by MariaDB-10.3 servers. | # This group is only read by MariaDB-10.3 servers. | ||||||
| # If you use the same .cnf file for MariaDB of different versions, | # If you use the same .cnf file for MariaDB of different versions, | ||||||
| # use this group for options that older servers don't understand | # use this group for options that older servers don't understand | ||||||
|   | |||||||
| @@ -896,6 +896,26 @@ tmp_table_size = 768M | |||||||
| #tmp_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  | ## - angepasste Einstellungen  | ||||||
| ## ------------------------------------------ | ## ------------------------------------------ | ||||||
|  |  | ||||||
| @@ -1003,8 +1023,43 @@ query-cache-size = 128M | |||||||
| ## - query cache | ## - query cache | ||||||
| ## ------------- | ## ------------- | ||||||
|  |  | ||||||
| optimizer_switch = 'rowid_filter=off' |  | ||||||
| optimizer_use_condition_selectivity = 1 | ## - 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 | ||||||
|  |  | ||||||
|  |  | ||||||
| # This group is only read by MariaDB-10.3 servers. | # This group is only read by MariaDB-10.3 servers. | ||||||
|   | |||||||
							
								
								
									
										1123
									
								
								Example/my.cnf.MariaDB-10.5
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1123
									
								
								Example/my.cnf.MariaDB-10.5
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -960,6 +960,26 @@ max_heap_table_size = 2048M | |||||||
| tmp_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  | ## - angepasste Einstellungen  | ||||||
| ## ------------------------------------------ | ## ------------------------------------------ | ||||||
|  |  | ||||||
| @@ -1070,6 +1090,44 @@ query-cache-size = 0 | |||||||
| ## ------------- | ## ------------- | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ## - 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 | ||||||
|  |  | ||||||
|  |  | ||||||
| # This group is only read by MariaDB-10.3 servers. | # This group is only read by MariaDB-10.3 servers. | ||||||
| # If you use the same .cnf file for MariaDB of different versions, | # If you use the same .cnf file for MariaDB of different versions, | ||||||
| # use this group for options that older servers don't understand | # use this group for options that older servers don't understand | ||||||
|   | |||||||
| @@ -513,6 +513,19 @@ innodb_log_buffer_size = 512M | |||||||
| #innodb-flush-log-at-trx-commit = 2 | #innodb-flush-log-at-trx-commit = 2 | ||||||
| #innodb-flush-log-at-trx-commit = 0 | #innodb-flush-log-at-trx-commit = 0 | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ## - innodb_ft_cache_size | ||||||
|  | ## - | ||||||
|  | ## - InnoDB Fulltext search cache size in bytes. | ||||||
|  | ## - | ||||||
|  | ## - Cache size available for a parsed document while creating an | ||||||
|  | ## - InnoDB FULLTEXT index. | ||||||
|  | ## - | ||||||
|  | ## - Deafult: 8000000   # ~ 7,6 MB | ||||||
|  | ## - | ||||||
|  | innodb_ft_cache_size = 24M | ||||||
|  |  | ||||||
|  |  | ||||||
| ## - innodb_lock_wait_timeout | ## - innodb_lock_wait_timeout | ||||||
| ## - | ## - | ||||||
| ## - The length of time in seconds an InnoDB transaction waits for a row  | ## - The length of time in seconds an InnoDB transaction waits for a row  | ||||||
| @@ -947,6 +960,26 @@ max_heap_table_size = 2048M | |||||||
| tmp_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  | ## - angepasste Einstellungen  | ||||||
| ## ------------------------------------------ | ## ------------------------------------------ | ||||||
|  |  | ||||||
| @@ -1057,6 +1090,43 @@ query-cache-size = 0 | |||||||
| ## ------------- | ## ------------- | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ## - 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 | ||||||
|  |  | ||||||
| # This group is only read by MariaDB-10.3 servers. | # This group is only read by MariaDB-10.3 servers. | ||||||
| # If you use the same .cnf file for MariaDB of different versions, | # If you use the same .cnf file for MariaDB of different versions, | ||||||
| # use this group for options that older servers don't understand | # use this group for options that older servers don't understand | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user