diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2021-12-03 18:08:10 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2022-01-19 18:10:12 +0300 |
commit | c2d2c1e727b744c88f4a69bde4c1f45344c2c758 (patch) | |
tree | 211a59ea025b492460137d824bf20e6ef4cdf7f7 /mysql-test/include | |
parent | a0916cf5a2bb67a6bfa85cc2363e11a8f292c366 (diff) | |
download | mariadb-git-c2d2c1e727b744c88f4a69bde4c1f45344c2c758.tar.gz |
MDEV-26519: Improved histograms
Save extra information in the histogram:
"target_histogram_size": nnn,
"collected_at": "(date and time)",
"collected_by": "(server version)",
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/histogram_replaces.inc | 1 | ||||
-rw-r--r-- | mysql-test/include/json_hb_histogram.inc | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/histogram_replaces.inc b/mysql-test/include/histogram_replaces.inc new file mode 100644 index 00000000000..4cea1b05709 --- /dev/null +++ b/mysql-test/include/histogram_replaces.inc @@ -0,0 +1 @@ +--source include/json_hb_histogram.inc diff --git a/mysql-test/include/json_hb_histogram.inc b/mysql-test/include/json_hb_histogram.inc new file mode 100644 index 00000000000..0805a7f0e53 --- /dev/null +++ b/mysql-test/include/json_hb_histogram.inc @@ -0,0 +1,3 @@ +# The time on ANALYSE FORMAT=JSON is rather variable + +--replace_regex /("(collected_at|collected_by)": )"[^"]*"/\1"REPLACED"/ |