From 7053d427b65c6a97e0687bdb508c6af1ba137ce4 Mon Sep 17 00:00:00 2001 From: yangrun Date: Sat, 10 Oct 2015 18:11:24 +0800 Subject: [PATCH] add user_max to history table, as describled in https://www.percona.com/doc/percona-toolkit/2.0/pt-query-digest.html#cmdoption-pt-query-digest--review-history, this will cause pt-query-digest tool to store user info to this column --- install.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sql b/install.sql index 8803f38e..4a834a01 100644 --- a/install.sql +++ b/install.sql @@ -20,6 +20,7 @@ CREATE TABLE `global_query_review` ( -- Create the historical query review table CREATE TABLE `global_query_review_history` ( `hostname_max` varchar(64) NOT NULL, + `user_max` varchar(64) DEFAULT NULL, `db_max` varchar(64) DEFAULT NULL, `checksum` bigint(20) unsigned NOT NULL, `sample` longtext NOT NULL,