mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-26 23:45:44 +00:00
fixed sys schema in sandbox
This commit is contained in:
27
sandbox/servers/5.7/sys/tables/sys_config.sql
Normal file
27
sandbox/servers/5.7/sys/tables/sys_config.sql
Normal file
@@ -0,0 +1,27 @@
|
||||
-- Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; version 2 of the License.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
--
|
||||
-- Table: sys_config
|
||||
--
|
||||
-- Stores configuration options for sys objects
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS sys_config (
|
||||
variable VARCHAR(128) PRIMARY KEY,
|
||||
value VARCHAR(128),
|
||||
set_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
set_by VARCHAR(128)
|
||||
) ENGINE = InnoDB;
|
23
sandbox/servers/5.7/sys/tables/sys_config_data.sql
Normal file
23
sandbox/servers/5.7/sys/tables/sys_config_data.sql
Normal file
@@ -0,0 +1,23 @@
|
||||
-- Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; version 2 of the License.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
-- NOTE: This needs to be replicated within the sys_config_clean.inc file
|
||||
|
||||
INSERT IGNORE INTO sys.sys_config (variable, value) VALUES
|
||||
('statement_truncate_len', 64),
|
||||
('statement_performance_analyzer.limit', 100),
|
||||
('statement_performance_analyzer.view', NULL),
|
||||
('diagnostics.allow_i_s_tables', 'OFF'),
|
||||
('diagnostics.include_raw', 'OFF');
|
24
sandbox/servers/5.7/sys/tables/sys_config_data_57.sql
Normal file
24
sandbox/servers/5.7/sys/tables/sys_config_data_57.sql
Normal file
@@ -0,0 +1,24 @@
|
||||
-- Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; version 2 of the License.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
-- NOTE: This needs to be replicated within the sys_config_clean.inc file
|
||||
|
||||
INSERT IGNORE INTO sys.sys_config (variable, value) VALUES
|
||||
('statement_truncate_len', 64),
|
||||
('statement_performance_analyzer.limit', 100),
|
||||
('statement_performance_analyzer.view', NULL),
|
||||
('diagnostics.allow_i_s_tables', 'OFF'),
|
||||
('diagnostics.include_raw', 'OFF'),
|
||||
('ps_thread_trx_info.max_length', 65535);
|
Reference in New Issue
Block a user