Commit fce1a53d authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-9077 sys schema . use 'mariadb.sys'@'localhost' as definer for views

parent 5ce22bac
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS extract_schema_from_file_name;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION extract_schema_from_file_name (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION extract_schema_from_file_name (
path VARCHAR(512)
)
RETURNS VARCHAR(64)
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS extract_table_from_file_name;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION extract_table_from_file_name (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION extract_table_from_file_name (
path VARCHAR(512)
)
RETURNS VARCHAR(64)
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS format_bytes;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION format_bytes (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION format_bytes (
-- We feed in and return TEXT here, as aggregates of
-- bytes can return numbers larger than BIGINT UNSIGNED
bytes TEXT
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS format_path;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION format_path (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION format_path (
in_path VARCHAR(512)
)
RETURNS VARCHAR(512) CHARSET UTF8
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS format_path;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION format_path (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION format_path (
in_path VARCHAR(512)
)
RETURNS VARCHAR(512) CHARSET UTF8
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS format_statement;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION format_statement (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION format_statement (
statement LONGTEXT
)
RETURNS LONGTEXT
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS format_time;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION format_time (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION format_time (
-- We feed in and return TEXT here, as aggregates of
-- picoseconds can return numbers larger than BIGINT UNSIGNED
picoseconds TEXT
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS list_add;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION list_add (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION list_add (
in_list TEXT,
in_add_value TEXT
)
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS list_drop;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION list_drop (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION list_drop (
in_list TEXT,
in_drop_value TEXT
)
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS ps_is_account_enabled;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION ps_is_account_enabled (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION ps_is_account_enabled (
in_host VARCHAR(60),
in_user VARCHAR(16)
)
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS ps_is_account_enabled;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION ps_is_account_enabled (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION ps_is_account_enabled (
in_host VARCHAR(60),
in_user VARCHAR(32)
)
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS ps_is_consumer_enabled;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION ps_is_consumer_enabled (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION ps_is_consumer_enabled (
in_consumer varchar(64)
)
RETURNS enum('YES', 'NO')
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS ps_is_instrument_default_enabled;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION ps_is_instrument_default_enabled (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION ps_is_instrument_default_enabled (
in_instrument VARCHAR(128)
)
RETURNS ENUM('YES', 'NO')
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS ps_is_instrument_default_timed;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION ps_is_instrument_default_timed (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION ps_is_instrument_default_timed (
in_instrument VARCHAR(128)
)
RETURNS ENUM('YES', 'NO')
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS ps_is_thread_instrumented;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION ps_is_thread_instrumented (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION ps_is_thread_instrumented (
in_connection_id BIGINT UNSIGNED
) RETURNS ENUM('YES', 'NO', 'UNKNOWN')
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS ps_thread_account;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION ps_thread_account (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION ps_thread_account (
in_thread_id BIGINT UNSIGNED
) RETURNS TEXT
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS ps_thread_id;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION ps_thread_id (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION ps_thread_id (
in_connection_id BIGINT UNSIGNED
) RETURNS BIGINT UNSIGNED
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS ps_thread_stack;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION ps_thread_stack (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION ps_thread_stack (
thd_id BIGINT UNSIGNED,
debug BOOLEAN
)
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS ps_thread_trx_info;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION ps_thread_trx_info (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION ps_thread_trx_info (
in_thread_id BIGINT UNSIGNED
) RETURNS LONGTEXT
COMMENT '
......
......@@ -22,7 +22,7 @@ DELIMITER $$
-- Before that, user variables could have any length.
--
-- Based on Paul Dubois' suggestion in Bug #78823/Bug #22011361.
CREATE DEFINER='root'@'localhost' FUNCTION quote_identifier(in_identifier TEXT)
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION quote_identifier(in_identifier TEXT)
RETURNS TEXT CHARSET UTF8
COMMENT '
Description
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS sys_get_config;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION sys_get_config (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION sys_get_config (
in_variable_name VARCHAR(128),
in_default_value VARCHAR(128)
)
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS version_major;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION version_major ()
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION version_major ()
RETURNS TINYINT UNSIGNED
COMMENT '
Description
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS version_minor;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION version_minor ()
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION version_minor ()
RETURNS TINYINT UNSIGNED
COMMENT '
Description
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS version_patch;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION version_patch ()
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION version_patch ()
RETURNS TINYINT UNSIGNED
COMMENT '
Description
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS create_synonym_db;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE create_synonym_db (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE create_synonym_db (
IN in_db_name VARCHAR(64),
IN in_synonym VARCHAR(64)
)
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS diagnostics;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE diagnostics (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE diagnostics (
IN in_max_runtime int unsigned, IN in_interval int unsigned,
IN in_auto_config enum ('current', 'medium', 'full')
)
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS execute_prepared_stmt;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE execute_prepared_stmt (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE execute_prepared_stmt (
IN in_query longtext CHARACTER SET UTF8
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_disable_background_threads;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_disable_background_threads ()
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_disable_background_threads ()
COMMENT '
Description
-----------
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_disable_consumer;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_disable_consumer (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_disable_consumer (
IN consumer VARCHAR(128)
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_disable_instrument;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_disable_instrument (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_disable_instrument (
IN in_pattern VARCHAR(128)
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_disable_thread;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_disable_thread (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_disable_thread (
IN in_connection_id BIGINT
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_enable_background_threads;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_enable_background_threads ()
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_enable_background_threads ()
COMMENT '
Description
-----------
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_enable_consumer;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_enable_consumer (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_enable_consumer (
IN consumer VARCHAR(128)
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_enable_instrument;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_enable_instrument (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_enable_instrument (
IN in_pattern VARCHAR(128)
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_enable_thread;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_enable_thread (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_enable_thread (
IN in_connection_id BIGINT
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_reload_saved;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_reload_saved ()
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_reload_saved ()
COMMENT '
Description
-----------
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_reset_to_default;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_reset_to_default (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_reset_to_default (
IN in_verbose BOOLEAN
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_reset_to_default;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_reset_to_default (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_reset_to_default (
IN in_verbose BOOLEAN
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_save;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_save (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_save (
IN in_timeout INT
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_show_disabled;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_show_disabled (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_show_disabled (
IN in_show_instruments BOOLEAN,
IN in_show_threads BOOLEAN
)
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_show_disabled_consumers;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_show_disabled_consumers ()
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_show_disabled_consumers ()
COMMENT '
Description
-----------
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_show_disabled_instruments;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_show_disabled_instruments ()
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_show_disabled_instruments ()
COMMENT '
Description
-----------
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_show_enabled;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_show_enabled (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_show_enabled (
IN in_show_instruments BOOLEAN,
IN in_show_threads BOOLEAN
)
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_show_enabled_consumers;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_show_enabled_consumers ()
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_show_enabled_consumers ()
COMMENT '
Description
-----------
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_setup_show_enabled_instruments;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_show_enabled_instruments ()
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_setup_show_enabled_instruments ()
COMMENT '
Description
-----------
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_statement_avg_latency_histogram;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_statement_avg_latency_histogram ()
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_statement_avg_latency_histogram ()
COMMENT '
Description
-----------
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_trace_statement_digest;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_trace_statement_digest (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_trace_statement_digest (
IN in_digest VARCHAR(32),
IN in_runtime INT,
IN in_interval DECIMAL(2,2),
......
......@@ -16,7 +16,7 @@
DROP PROCEDURE IF EXISTS ps_trace_thread;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_trace_thread (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_trace_thread (
IN in_thread_id BIGINT UNSIGNED,
IN in_outfile VARCHAR(255),
IN in_max_runtime DECIMAL(20,2),
......
......@@ -16,7 +16,7 @@
DROP PROCEDURE IF EXISTS ps_trace_thread;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_trace_thread (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_trace_thread (
IN in_thread_id BIGINT UNSIGNED,
IN in_outfile VARCHAR(255),
IN in_max_runtime DECIMAL(20,2),
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_truncate_all_tables;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE ps_truncate_all_tables (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE ps_truncate_all_tables (
IN in_verbose BOOLEAN
)
COMMENT '
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS statement_performance_analyzer;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE statement_performance_analyzer (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE statement_performance_analyzer (
IN in_action ENUM('snapshot', 'overall', 'delta', 'create_table', 'create_tmp', 'save', 'cleanup'),
IN in_table VARCHAR(129),
IN in_views SET ('with_runtimes_in_95th_percentile', 'analysis', 'with_errors_or_warnings', 'with_full_table_scans', 'with_sorting', 'with_temp_tables', 'custom')
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS table_exists;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE table_exists (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE table_exists (
IN in_db VARCHAR(64), IN in_table VARCHAR(64),
OUT out_exists ENUM('', 'BASE TABLE', 'VIEW', 'TEMPORARY')
)
......
......@@ -17,7 +17,7 @@ DROP FUNCTION IF EXISTS <function name>;
DELIMITER $$
CREATE DEFINER='root'@'localhost' FUNCTION <function name> (
CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION <function name> (
/* Variables */
)
RETURNS <data type>
......
......@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS <procedure_name>;
DELIMITER $$
CREATE DEFINER='root'@'localhost' PROCEDURE <procedure_name> (
CREATE DEFINER='mariadb.sys'@'localhost' PROCEDURE <procedure_name> (
/* Variables */
)
COMMENT '
......
......@@ -38,7 +38,7 @@ BEGIN NOT ATOMIC
END;
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW innodb_buffer_stats_by_schema (
object_schema,
......
......@@ -39,7 +39,7 @@ BEGIN NOT ATOMIC
DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN END;
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW innodb_buffer_stats_by_table (
object_schema,
......
......@@ -58,7 +58,7 @@ BEGIN NOT ATOMIC
END;
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW innodb_lock_waits (
wait_started,
......
......@@ -18,7 +18,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW schema_auto_increment_columns (
table_schema,
......
......@@ -39,7 +39,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW schema_object_overview (
db,
......
......@@ -33,7 +33,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW schema_redundant_indexes (
table_schema,
......
......@@ -36,7 +36,7 @@ BEGIN NOT ATOMIC
END;
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$innodb_buffer_stats_by_schema (
object_schema,
......
......@@ -38,7 +38,7 @@ BEGIN NOT ATOMIC
DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN END;
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$innodb_buffer_stats_by_table (
object_schema,
......
......@@ -58,7 +58,7 @@ DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN END;
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$innodb_lock_waits (
wait_started,
......
......@@ -17,7 +17,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$schema_flattened_keys (
table_schema,
......
......@@ -30,7 +30,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW host_summary (
host,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW host_summary (
host,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW host_summary_by_file_io (
host,
......
......@@ -46,7 +46,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW host_summary_by_file_io_type (
host,
......
......@@ -45,7 +45,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW host_summary_by_stages (
host,
......
......@@ -30,7 +30,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW host_summary_by_statement_latency (
host,
......
......@@ -35,7 +35,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW host_summary_by_statement_type (
host,
......
......@@ -38,7 +38,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW io_by_thread_by_latency (
user,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW io_global_by_file_by_bytes (
file,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW io_global_by_file_by_latency (
file,
......
......@@ -43,7 +43,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW io_global_by_wait_by_bytes (
event_name,
......
......@@ -43,7 +43,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW io_global_by_wait_by_latency (
event_name,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW latest_file_io (
thread,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW memory_by_host_by_current_bytes (
host,
......
......@@ -34,7 +34,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW memory_by_thread_by_current_bytes (
thread_id,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW memory_by_user_by_current_bytes (
user,
......
......@@ -33,7 +33,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW memory_global_by_current_bytes (
event_name,
......
......@@ -28,7 +28,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW memory_global_total (
total_allocated
......
......@@ -74,7 +74,7 @@ DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN END;
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW metrics (
Variable_name,
......
......@@ -77,7 +77,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW metrics (
Variable_name,
......
......@@ -46,7 +46,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW processlist (
thd_id,
......
......@@ -55,7 +55,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW processlist (
thd_id,
......
......@@ -30,7 +30,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW ps_check_lost_instrumentation (
variable_name,
......
......@@ -30,7 +30,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW ps_check_lost_instrumentation (
variable_name,
......
......@@ -34,7 +34,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW schema_index_statistics (
table_schema,
......
......@@ -43,7 +43,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW schema_table_lock_waits (
object_schema,
......
......@@ -45,7 +45,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW schema_table_statistics (
table_schema,
......
......@@ -55,7 +55,7 @@ BEGIN NOT ATOMIC
DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN END;
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW schema_table_statistics_with_buffer (
table_schema,
......
......@@ -33,7 +33,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW schema_tables_with_full_table_scans (
object_schema,
......
......@@ -38,7 +38,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW schema_unused_indexes (
object_schema,
......
......@@ -16,7 +16,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW session_ssl_status (
thread_id,
......
......@@ -55,7 +55,7 @@
--
CREATE OR REPLACE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW session
AS
......
......@@ -49,7 +49,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW statement_analysis (
query,
......
......@@ -34,7 +34,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW statements_with_errors_or_warnings (
query,
......
......@@ -43,7 +43,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW statements_with_full_table_scans (
query,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW statements_with_runtimes_in_95th_percentile (
query,
......
......@@ -38,7 +38,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW statements_with_sorting (
query,
......
......@@ -37,7 +37,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW statements_with_temp_tables (
query,
......
......@@ -30,7 +30,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW user_summary (
user,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW user_summary (
user,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW user_summary_by_file_io (
user,
......
......@@ -46,7 +46,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW user_summary_by_file_io_type (
user,
......
......@@ -45,7 +45,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW user_summary_by_stages (
user,
......
......@@ -30,7 +30,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW user_summary_by_statement_latency (
user,
......
......@@ -35,7 +35,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW user_summary_by_statement_type (
user,
......
......@@ -33,7 +33,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW wait_classes_global_by_avg_latency (
event_class,
......
......@@ -33,7 +33,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW wait_classes_global_by_latency (
event_class,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW waits_by_host_by_latency (
host,
......
......@@ -42,7 +42,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW waits_by_user_by_latency (
user,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW waits_global_by_latency (
events,
......
......@@ -30,7 +30,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$host_summary (
host,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$host_summary (
host,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$host_summary_by_file_io (
host,
......
......@@ -46,7 +46,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$host_summary_by_file_io_type (
host,
......
......@@ -45,7 +45,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$host_summary_by_stages (
host,
......
......@@ -30,7 +30,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$host_summary_by_statement_latency (
host,
......
......@@ -35,7 +35,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$host_summary_by_statement_type (
host,
......
......@@ -38,7 +38,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$io_by_thread_by_latency (
user,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$io_global_by_file_by_bytes (
file,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$io_global_by_file_by_latency (
file,
......
......@@ -38,7 +38,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$io_global_by_wait_by_bytes (
event_name,
......
......@@ -44,7 +44,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$io_global_by_wait_by_latency (
event_name,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$latest_file_io (
thread,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$memory_by_host_by_current_bytes (
host,
......
......@@ -34,7 +34,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$memory_by_thread_by_current_bytes (
thread_id,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$memory_by_user_by_current_bytes (
user,
......
......@@ -33,7 +33,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$memory_global_by_current_bytes (
event_name,
......
......@@ -28,7 +28,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$memory_global_total (
total_allocated
......
......@@ -46,7 +46,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$processlist (
thd_id,
......
......@@ -56,7 +56,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$processlist (
thd_id,
......
......@@ -29,7 +29,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$ps_digest_95th_percentile_by_avg_us (
avg_us,
......
......@@ -21,7 +21,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$ps_digest_avg_latency_distribution (
cnt,
......
......@@ -36,7 +36,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$ps_schema_table_statistics_io (
table_schema,
......
......@@ -34,7 +34,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$schema_index_statistics (
table_schema,
......
......@@ -43,7 +43,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$schema_table_lock_waits (
object_schema,
......
......@@ -45,7 +45,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$schema_table_statistics (
table_schema,
......
......@@ -56,7 +56,7 @@ DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN END;
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$schema_table_statistics_with_buffer (
table_schema,
......
......@@ -33,7 +33,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$schema_tables_with_full_table_scans (
object_schema,
......
......@@ -55,7 +55,7 @@
--
CREATE OR REPLACE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$session
AS
......
......@@ -49,7 +49,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$statement_analysis (
query,
......
......@@ -34,7 +34,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$statements_with_errors_or_warnings (
query,
......
......@@ -43,7 +43,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$statements_with_full_table_scans (
query,
......
......@@ -40,7 +40,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$statements_with_runtimes_in_95th_percentile (
query,
......
......@@ -38,7 +38,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$statements_with_sorting (
query,
......
......@@ -37,7 +37,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$statements_with_temp_tables (
query,
......
......@@ -30,7 +30,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$user_summary (
user,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$user_summary (
user,
......
......@@ -31,7 +31,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$user_summary_by_file_io (
user,
......
......@@ -46,7 +46,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$user_summary_by_file_io_type (
user,
......
......@@ -45,7 +45,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$user_summary_by_stages (
user,
......
......@@ -30,7 +30,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$user_summary_by_statement_latency (
user,
......
......@@ -35,7 +35,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$user_summary_by_statement_type (
user,
......
......@@ -33,7 +33,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$wait_classes_global_by_avg_latency (
event_class,
......
......@@ -33,7 +33,7 @@
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$wait_classes_global_by_latency (
event_class,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$waits_by_host_by_latency (
host,
......
......@@ -42,7 +42,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$waits_by_user_by_latency (
user,
......
......@@ -32,7 +32,7 @@
CREATE OR REPLACE
ALGORITHM = MERGE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW x$waits_global_by_latency (
events,
......
......@@ -27,7 +27,7 @@
--
CREATE OR REPLACE
DEFINER = 'root'@'localhost'
DEFINER = 'mariadb.sys'@'localhost'
SQL SECURITY INVOKER
VIEW version (
sys_version,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment