1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Merge branch 'bb-10.3-all-builders' into bb-10.4-all-builders

This commit is contained in:
Lena Startseva
2022-09-23 19:47:13 +07:00
274 changed files with 1896 additions and 175 deletions

View File

@ -594,6 +594,7 @@ set use_stat_tables='preferably';
ANALYZE TABLE Country, City, CountryLanguage;
--enable_result_log
--disable_view_protocol
--sorted_result
SELECT UPPER(db_name), UPPER(table_name), cardinality
FROM mysql.table_stats;
@ -605,6 +606,7 @@ SELECT UPPER(db_name), UPPER(table_name),
SELECT UPPER(db_name), UPPER(table_name),
index_name, prefix_arity, avg_frequency
FROM mysql.index_stats;
--enable_view_protocol
use test;
@ -658,8 +660,10 @@ ANALYZE TABLE City;
FLUSH TABLES;
--enable_result_log
--disable_view_protocol
--query_vertical select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,hex(histogram),decode_histogram(hist_type,histogram) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='COUNTRYLANGUAGE' and UPPER(column_name) = 'PERCENTAGE';
--query_vertical select UPPER(db_name),UPPER(table_name),UPPER(column_name),min_value,max_value,nulls_ratio,avg_length,avg_frequency,hist_size,hist_type,hex(histogram),decode_histogram(hist_type,histogram) from mysql.column_stats where UPPER(db_name)='WORLD' and UPPER(table_name)='CITY' and UPPER(column_name) = 'POPULATION';
--enable_view_protocol
set histogram_type='single_prec_hb';
set histogram_size=0;