mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
rough base for json histogram builder
Signed-off-by: Michael Okoko <okokomichaels@outlook.com>
This commit is contained in:
committed by
Sergei Petrunia
parent
567552b410
commit
237447de63
@ -25,4 +25,10 @@ DESCRIBE mysql.column_stats;
|
||||
SELECT * FROM mysql.column_stats;
|
||||
|
||||
set histogram_type=@save_histogram_type;
|
||||
|
||||
## Remove against Milestone-2
|
||||
ANALYZE TABLE t1 PERSISTENT FOR COLUMNS(b) INDEXES();
|
||||
SELECT * FROM mysql.column_stats;
|
||||
select table_name, hist_type, decode_histogram(hist_type, histogram ) from mysql.column_stats;
|
||||
|
||||
DROP TABLE t1;
|
Reference in New Issue
Block a user