Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fce1a53d
Commit
fce1a53d
authored
Mar 09, 2021
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-9077 sys schema . use 'mariadb.sys'@'localhost' as definer for views
parent
5ce22bac
Changes
162
Show whitespace changes
Inline
Side-by-side
Showing
162 changed files
with
162 additions
and
162 deletions
+162
-162
scripts/sys_schema/functions/extract_schema_from_file_name.sql
...ts/sys_schema/functions/extract_schema_from_file_name.sql
+1
-1
scripts/sys_schema/functions/extract_table_from_file_name.sql
...pts/sys_schema/functions/extract_table_from_file_name.sql
+1
-1
scripts/sys_schema/functions/format_bytes.sql
scripts/sys_schema/functions/format_bytes.sql
+1
-1
scripts/sys_schema/functions/format_path.sql
scripts/sys_schema/functions/format_path.sql
+1
-1
scripts/sys_schema/functions/format_path_57.sql
scripts/sys_schema/functions/format_path_57.sql
+1
-1
scripts/sys_schema/functions/format_statement.sql
scripts/sys_schema/functions/format_statement.sql
+1
-1
scripts/sys_schema/functions/format_time.sql
scripts/sys_schema/functions/format_time.sql
+1
-1
scripts/sys_schema/functions/list_add.sql
scripts/sys_schema/functions/list_add.sql
+1
-1
scripts/sys_schema/functions/list_drop.sql
scripts/sys_schema/functions/list_drop.sql
+1
-1
scripts/sys_schema/functions/ps_is_account_enabled.sql
scripts/sys_schema/functions/ps_is_account_enabled.sql
+1
-1
scripts/sys_schema/functions/ps_is_account_enabled_57.sql
scripts/sys_schema/functions/ps_is_account_enabled_57.sql
+1
-1
scripts/sys_schema/functions/ps_is_consumer_enabled.sql
scripts/sys_schema/functions/ps_is_consumer_enabled.sql
+1
-1
scripts/sys_schema/functions/ps_is_instrument_default_enabled.sql
...sys_schema/functions/ps_is_instrument_default_enabled.sql
+1
-1
scripts/sys_schema/functions/ps_is_instrument_default_timed.sql
...s/sys_schema/functions/ps_is_instrument_default_timed.sql
+1
-1
scripts/sys_schema/functions/ps_is_thread_instrumented.sql
scripts/sys_schema/functions/ps_is_thread_instrumented.sql
+1
-1
scripts/sys_schema/functions/ps_thread_account.sql
scripts/sys_schema/functions/ps_thread_account.sql
+1
-1
scripts/sys_schema/functions/ps_thread_id.sql
scripts/sys_schema/functions/ps_thread_id.sql
+1
-1
scripts/sys_schema/functions/ps_thread_stack.sql
scripts/sys_schema/functions/ps_thread_stack.sql
+1
-1
scripts/sys_schema/functions/ps_thread_trx_info.sql
scripts/sys_schema/functions/ps_thread_trx_info.sql
+1
-1
scripts/sys_schema/functions/quote_identifier.sql
scripts/sys_schema/functions/quote_identifier.sql
+1
-1
scripts/sys_schema/functions/sys_get_config.sql
scripts/sys_schema/functions/sys_get_config.sql
+1
-1
scripts/sys_schema/functions/version_major.sql
scripts/sys_schema/functions/version_major.sql
+1
-1
scripts/sys_schema/functions/version_minor.sql
scripts/sys_schema/functions/version_minor.sql
+1
-1
scripts/sys_schema/functions/version_patch.sql
scripts/sys_schema/functions/version_patch.sql
+1
-1
scripts/sys_schema/procedures/create_synonym_db.sql
scripts/sys_schema/procedures/create_synonym_db.sql
+1
-1
scripts/sys_schema/procedures/diagnostics.sql
scripts/sys_schema/procedures/diagnostics.sql
+1
-1
scripts/sys_schema/procedures/execute_prepared_stmt.sql
scripts/sys_schema/procedures/execute_prepared_stmt.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_disable_background_threads.sql
...schema/procedures/ps_setup_disable_background_threads.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_disable_consumer.sql
scripts/sys_schema/procedures/ps_setup_disable_consumer.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_disable_instrument.sql
...pts/sys_schema/procedures/ps_setup_disable_instrument.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_disable_thread.sql
scripts/sys_schema/procedures/ps_setup_disable_thread.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_enable_background_threads.sql
..._schema/procedures/ps_setup_enable_background_threads.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_enable_consumer.sql
scripts/sys_schema/procedures/ps_setup_enable_consumer.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_enable_instrument.sql
scripts/sys_schema/procedures/ps_setup_enable_instrument.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_enable_thread.sql
scripts/sys_schema/procedures/ps_setup_enable_thread.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_reload_saved.sql
scripts/sys_schema/procedures/ps_setup_reload_saved.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_reset_to_default.sql
scripts/sys_schema/procedures/ps_setup_reset_to_default.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_reset_to_default_57.sql
...ts/sys_schema/procedures/ps_setup_reset_to_default_57.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_save.sql
scripts/sys_schema/procedures/ps_setup_save.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_show_disabled.sql
scripts/sys_schema/procedures/ps_setup_show_disabled.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_show_disabled_consumers.sql
...ys_schema/procedures/ps_setup_show_disabled_consumers.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_show_disabled_instruments.sql
..._schema/procedures/ps_setup_show_disabled_instruments.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_show_enabled.sql
scripts/sys_schema/procedures/ps_setup_show_enabled.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_show_enabled_consumers.sql
...sys_schema/procedures/ps_setup_show_enabled_consumers.sql
+1
-1
scripts/sys_schema/procedures/ps_setup_show_enabled_instruments.sql
...s_schema/procedures/ps_setup_show_enabled_instruments.sql
+1
-1
scripts/sys_schema/procedures/ps_statement_avg_latency_histogram.sql
..._schema/procedures/ps_statement_avg_latency_histogram.sql
+1
-1
scripts/sys_schema/procedures/ps_trace_statement_digest.sql
scripts/sys_schema/procedures/ps_trace_statement_digest.sql
+1
-1
scripts/sys_schema/procedures/ps_trace_thread.sql
scripts/sys_schema/procedures/ps_trace_thread.sql
+1
-1
scripts/sys_schema/procedures/ps_trace_thread_57.sql
scripts/sys_schema/procedures/ps_trace_thread_57.sql
+1
-1
scripts/sys_schema/procedures/ps_truncate_all_tables.sql
scripts/sys_schema/procedures/ps_truncate_all_tables.sql
+1
-1
scripts/sys_schema/procedures/statement_performance_analyzer.sql
.../sys_schema/procedures/statement_performance_analyzer.sql
+1
-1
scripts/sys_schema/procedures/table_exists.sql
scripts/sys_schema/procedures/table_exists.sql
+1
-1
scripts/sys_schema/templates/function.sql
scripts/sys_schema/templates/function.sql
+1
-1
scripts/sys_schema/templates/procedure.sql
scripts/sys_schema/templates/procedure.sql
+1
-1
scripts/sys_schema/views/i_s/innodb_buffer_stats_by_schema.sql
...ts/sys_schema/views/i_s/innodb_buffer_stats_by_schema.sql
+1
-1
scripts/sys_schema/views/i_s/innodb_buffer_stats_by_table.sql
...pts/sys_schema/views/i_s/innodb_buffer_stats_by_table.sql
+1
-1
scripts/sys_schema/views/i_s/innodb_lock_waits.sql
scripts/sys_schema/views/i_s/innodb_lock_waits.sql
+1
-1
scripts/sys_schema/views/i_s/schema_auto_increment_columns.sql
...ts/sys_schema/views/i_s/schema_auto_increment_columns.sql
+1
-1
scripts/sys_schema/views/i_s/schema_object_overview.sql
scripts/sys_schema/views/i_s/schema_object_overview.sql
+1
-1
scripts/sys_schema/views/i_s/schema_redundant_indexes.sql
scripts/sys_schema/views/i_s/schema_redundant_indexes.sql
+1
-1
scripts/sys_schema/views/i_s/x_innodb_buffer_stats_by_schema.sql
.../sys_schema/views/i_s/x_innodb_buffer_stats_by_schema.sql
+1
-1
scripts/sys_schema/views/i_s/x_innodb_buffer_stats_by_table.sql
...s/sys_schema/views/i_s/x_innodb_buffer_stats_by_table.sql
+1
-1
scripts/sys_schema/views/i_s/x_innodb_lock_waits.sql
scripts/sys_schema/views/i_s/x_innodb_lock_waits.sql
+1
-1
scripts/sys_schema/views/i_s/x_schema_flattened_keys.sql
scripts/sys_schema/views/i_s/x_schema_flattened_keys.sql
+1
-1
scripts/sys_schema/views/p_s/host_summary.sql
scripts/sys_schema/views/p_s/host_summary.sql
+1
-1
scripts/sys_schema/views/p_s/host_summary_57.sql
scripts/sys_schema/views/p_s/host_summary_57.sql
+1
-1
scripts/sys_schema/views/p_s/host_summary_by_file_io.sql
scripts/sys_schema/views/p_s/host_summary_by_file_io.sql
+1
-1
scripts/sys_schema/views/p_s/host_summary_by_file_io_type.sql
...pts/sys_schema/views/p_s/host_summary_by_file_io_type.sql
+1
-1
scripts/sys_schema/views/p_s/host_summary_by_stages.sql
scripts/sys_schema/views/p_s/host_summary_by_stages.sql
+1
-1
scripts/sys_schema/views/p_s/host_summary_by_statement_latency.sql
...ys_schema/views/p_s/host_summary_by_statement_latency.sql
+1
-1
scripts/sys_schema/views/p_s/host_summary_by_statement_type.sql
...s/sys_schema/views/p_s/host_summary_by_statement_type.sql
+1
-1
scripts/sys_schema/views/p_s/io_by_thread_by_latency.sql
scripts/sys_schema/views/p_s/io_by_thread_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/io_global_by_file_by_bytes.sql
scripts/sys_schema/views/p_s/io_global_by_file_by_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/io_global_by_file_by_latency.sql
...pts/sys_schema/views/p_s/io_global_by_file_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/io_global_by_wait_by_bytes.sql
scripts/sys_schema/views/p_s/io_global_by_wait_by_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/io_global_by_wait_by_latency.sql
...pts/sys_schema/views/p_s/io_global_by_wait_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/latest_file_io.sql
scripts/sys_schema/views/p_s/latest_file_io.sql
+1
-1
scripts/sys_schema/views/p_s/memory_by_host_by_current_bytes.sql
.../sys_schema/views/p_s/memory_by_host_by_current_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/memory_by_thread_by_current_bytes.sql
...ys_schema/views/p_s/memory_by_thread_by_current_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/memory_by_user_by_current_bytes.sql
.../sys_schema/views/p_s/memory_by_user_by_current_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/memory_global_by_current_bytes.sql
...s/sys_schema/views/p_s/memory_global_by_current_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/memory_global_total.sql
scripts/sys_schema/views/p_s/memory_global_total.sql
+1
-1
scripts/sys_schema/views/p_s/metrics.sql
scripts/sys_schema/views/p_s/metrics.sql
+1
-1
scripts/sys_schema/views/p_s/metrics_56.sql
scripts/sys_schema/views/p_s/metrics_56.sql
+1
-1
scripts/sys_schema/views/p_s/processlist.sql
scripts/sys_schema/views/p_s/processlist.sql
+1
-1
scripts/sys_schema/views/p_s/processlist_57.sql
scripts/sys_schema/views/p_s/processlist_57.sql
+1
-1
scripts/sys_schema/views/p_s/ps_check_lost_instrumentation.sql
...ts/sys_schema/views/p_s/ps_check_lost_instrumentation.sql
+1
-1
scripts/sys_schema/views/p_s/ps_check_lost_instrumentation_57.sql
...sys_schema/views/p_s/ps_check_lost_instrumentation_57.sql
+1
-1
scripts/sys_schema/views/p_s/schema_index_statistics.sql
scripts/sys_schema/views/p_s/schema_index_statistics.sql
+1
-1
scripts/sys_schema/views/p_s/schema_table_lock_waits.sql
scripts/sys_schema/views/p_s/schema_table_lock_waits.sql
+1
-1
scripts/sys_schema/views/p_s/schema_table_statistics.sql
scripts/sys_schema/views/p_s/schema_table_statistics.sql
+1
-1
scripts/sys_schema/views/p_s/schema_table_statistics_with_buffer.sql
..._schema/views/p_s/schema_table_statistics_with_buffer.sql
+1
-1
scripts/sys_schema/views/p_s/schema_tables_with_full_table_scans.sql
..._schema/views/p_s/schema_tables_with_full_table_scans.sql
+1
-1
scripts/sys_schema/views/p_s/schema_unused_indexes.sql
scripts/sys_schema/views/p_s/schema_unused_indexes.sql
+1
-1
scripts/sys_schema/views/p_s/session_ssl_status.sql
scripts/sys_schema/views/p_s/session_ssl_status.sql
+1
-1
scripts/sys_schema/views/p_s/sessions.sql
scripts/sys_schema/views/p_s/sessions.sql
+1
-1
scripts/sys_schema/views/p_s/statement_analysis.sql
scripts/sys_schema/views/p_s/statement_analysis.sql
+1
-1
scripts/sys_schema/views/p_s/statements_with_errors_or_warnings.sql
...s_schema/views/p_s/statements_with_errors_or_warnings.sql
+1
-1
scripts/sys_schema/views/p_s/statements_with_full_table_scans.sql
...sys_schema/views/p_s/statements_with_full_table_scans.sql
+1
-1
scripts/sys_schema/views/p_s/statements_with_runtimes_in_95th_percentile.sql
...views/p_s/statements_with_runtimes_in_95th_percentile.sql
+1
-1
scripts/sys_schema/views/p_s/statements_with_sorting.sql
scripts/sys_schema/views/p_s/statements_with_sorting.sql
+1
-1
scripts/sys_schema/views/p_s/statements_with_temp_tables.sql
scripts/sys_schema/views/p_s/statements_with_temp_tables.sql
+1
-1
scripts/sys_schema/views/p_s/user_summary.sql
scripts/sys_schema/views/p_s/user_summary.sql
+1
-1
scripts/sys_schema/views/p_s/user_summary_57.sql
scripts/sys_schema/views/p_s/user_summary_57.sql
+1
-1
scripts/sys_schema/views/p_s/user_summary_by_file_io.sql
scripts/sys_schema/views/p_s/user_summary_by_file_io.sql
+1
-1
scripts/sys_schema/views/p_s/user_summary_by_file_io_type.sql
...pts/sys_schema/views/p_s/user_summary_by_file_io_type.sql
+1
-1
scripts/sys_schema/views/p_s/user_summary_by_stages.sql
scripts/sys_schema/views/p_s/user_summary_by_stages.sql
+1
-1
scripts/sys_schema/views/p_s/user_summary_by_statement_latency.sql
...ys_schema/views/p_s/user_summary_by_statement_latency.sql
+1
-1
scripts/sys_schema/views/p_s/user_summary_by_statement_type.sql
...s/sys_schema/views/p_s/user_summary_by_statement_type.sql
+1
-1
scripts/sys_schema/views/p_s/wait_classes_global_by_avg_latency.sql
...s_schema/views/p_s/wait_classes_global_by_avg_latency.sql
+1
-1
scripts/sys_schema/views/p_s/wait_classes_global_by_latency.sql
...s/sys_schema/views/p_s/wait_classes_global_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/waits_by_host_by_latency.sql
scripts/sys_schema/views/p_s/waits_by_host_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/waits_by_user_by_latency.sql
scripts/sys_schema/views/p_s/waits_by_user_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/waits_global_by_latency.sql
scripts/sys_schema/views/p_s/waits_global_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/x_host_summary.sql
scripts/sys_schema/views/p_s/x_host_summary.sql
+1
-1
scripts/sys_schema/views/p_s/x_host_summary_57.sql
scripts/sys_schema/views/p_s/x_host_summary_57.sql
+1
-1
scripts/sys_schema/views/p_s/x_host_summary_by_file_io.sql
scripts/sys_schema/views/p_s/x_host_summary_by_file_io.sql
+1
-1
scripts/sys_schema/views/p_s/x_host_summary_by_file_io_type.sql
...s/sys_schema/views/p_s/x_host_summary_by_file_io_type.sql
+1
-1
scripts/sys_schema/views/p_s/x_host_summary_by_stages.sql
scripts/sys_schema/views/p_s/x_host_summary_by_stages.sql
+1
-1
scripts/sys_schema/views/p_s/x_host_summary_by_statement_latency.sql
..._schema/views/p_s/x_host_summary_by_statement_latency.sql
+1
-1
scripts/sys_schema/views/p_s/x_host_summary_by_statement_type.sql
...sys_schema/views/p_s/x_host_summary_by_statement_type.sql
+1
-1
scripts/sys_schema/views/p_s/x_io_by_thread_by_latency.sql
scripts/sys_schema/views/p_s/x_io_by_thread_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/x_io_global_by_file_by_bytes.sql
...pts/sys_schema/views/p_s/x_io_global_by_file_by_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/x_io_global_by_file_by_latency.sql
...s/sys_schema/views/p_s/x_io_global_by_file_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/x_io_global_by_wait_by_bytes.sql
...pts/sys_schema/views/p_s/x_io_global_by_wait_by_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/x_io_global_by_wait_by_latency.sql
...s/sys_schema/views/p_s/x_io_global_by_wait_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/x_latest_file_io.sql
scripts/sys_schema/views/p_s/x_latest_file_io.sql
+1
-1
scripts/sys_schema/views/p_s/x_memory_by_host_by_current_bytes.sql
...ys_schema/views/p_s/x_memory_by_host_by_current_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/x_memory_by_thread_by_current_bytes.sql
..._schema/views/p_s/x_memory_by_thread_by_current_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/x_memory_by_user_by_current_bytes.sql
...ys_schema/views/p_s/x_memory_by_user_by_current_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/x_memory_global_by_current_bytes.sql
...sys_schema/views/p_s/x_memory_global_by_current_bytes.sql
+1
-1
scripts/sys_schema/views/p_s/x_memory_global_total.sql
scripts/sys_schema/views/p_s/x_memory_global_total.sql
+1
-1
scripts/sys_schema/views/p_s/x_processlist.sql
scripts/sys_schema/views/p_s/x_processlist.sql
+1
-1
scripts/sys_schema/views/p_s/x_processlist_57.sql
scripts/sys_schema/views/p_s/x_processlist_57.sql
+1
-1
scripts/sys_schema/views/p_s/x_ps_digest_95th_percentile_by_avg_us.sql
...chema/views/p_s/x_ps_digest_95th_percentile_by_avg_us.sql
+1
-1
scripts/sys_schema/views/p_s/x_ps_digest_avg_latency_distribution.sql
...schema/views/p_s/x_ps_digest_avg_latency_distribution.sql
+1
-1
scripts/sys_schema/views/p_s/x_ps_schema_table_statistics_io.sql
.../sys_schema/views/p_s/x_ps_schema_table_statistics_io.sql
+1
-1
scripts/sys_schema/views/p_s/x_schema_index_statistics.sql
scripts/sys_schema/views/p_s/x_schema_index_statistics.sql
+1
-1
scripts/sys_schema/views/p_s/x_schema_table_lock_waits.sql
scripts/sys_schema/views/p_s/x_schema_table_lock_waits.sql
+1
-1
scripts/sys_schema/views/p_s/x_schema_table_statistics.sql
scripts/sys_schema/views/p_s/x_schema_table_statistics.sql
+1
-1
scripts/sys_schema/views/p_s/x_schema_table_statistics_with_buffer.sql
...chema/views/p_s/x_schema_table_statistics_with_buffer.sql
+1
-1
scripts/sys_schema/views/p_s/x_schema_tables_with_full_table_scans.sql
...chema/views/p_s/x_schema_tables_with_full_table_scans.sql
+1
-1
scripts/sys_schema/views/p_s/x_sessions.sql
scripts/sys_schema/views/p_s/x_sessions.sql
+1
-1
scripts/sys_schema/views/p_s/x_statement_analysis.sql
scripts/sys_schema/views/p_s/x_statement_analysis.sql
+1
-1
scripts/sys_schema/views/p_s/x_statements_with_errors_or_warnings.sql
...schema/views/p_s/x_statements_with_errors_or_warnings.sql
+1
-1
scripts/sys_schema/views/p_s/x_statements_with_full_table_scans.sql
...s_schema/views/p_s/x_statements_with_full_table_scans.sql
+1
-1
scripts/sys_schema/views/p_s/x_statements_with_runtimes_in_95th_percentile.sql
...ews/p_s/x_statements_with_runtimes_in_95th_percentile.sql
+1
-1
scripts/sys_schema/views/p_s/x_statements_with_sorting.sql
scripts/sys_schema/views/p_s/x_statements_with_sorting.sql
+1
-1
scripts/sys_schema/views/p_s/x_statements_with_temp_tables.sql
...ts/sys_schema/views/p_s/x_statements_with_temp_tables.sql
+1
-1
scripts/sys_schema/views/p_s/x_user_summary.sql
scripts/sys_schema/views/p_s/x_user_summary.sql
+1
-1
scripts/sys_schema/views/p_s/x_user_summary_57.sql
scripts/sys_schema/views/p_s/x_user_summary_57.sql
+1
-1
scripts/sys_schema/views/p_s/x_user_summary_by_file_io.sql
scripts/sys_schema/views/p_s/x_user_summary_by_file_io.sql
+1
-1
scripts/sys_schema/views/p_s/x_user_summary_by_file_io_type.sql
...s/sys_schema/views/p_s/x_user_summary_by_file_io_type.sql
+1
-1
scripts/sys_schema/views/p_s/x_user_summary_by_stages.sql
scripts/sys_schema/views/p_s/x_user_summary_by_stages.sql
+1
-1
scripts/sys_schema/views/p_s/x_user_summary_by_statement_latency.sql
..._schema/views/p_s/x_user_summary_by_statement_latency.sql
+1
-1
scripts/sys_schema/views/p_s/x_user_summary_by_statement_type.sql
...sys_schema/views/p_s/x_user_summary_by_statement_type.sql
+1
-1
scripts/sys_schema/views/p_s/x_wait_classes_global_by_avg_latency.sql
...schema/views/p_s/x_wait_classes_global_by_avg_latency.sql
+1
-1
scripts/sys_schema/views/p_s/x_wait_classes_global_by_latency.sql
...sys_schema/views/p_s/x_wait_classes_global_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/x_waits_by_host_by_latency.sql
scripts/sys_schema/views/p_s/x_waits_by_host_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/x_waits_by_user_by_latency.sql
scripts/sys_schema/views/p_s/x_waits_by_user_by_latency.sql
+1
-1
scripts/sys_schema/views/p_s/x_waits_global_by_latency.sql
scripts/sys_schema/views/p_s/x_waits_global_by_latency.sql
+1
-1
scripts/sys_schema/views/version.sql
scripts/sys_schema/views/version.sql
+1
-1
No files found.
scripts/sys_schema/functions/extract_schema_from_file_name.sql
View file @
fce1a53d
...
...
@@ -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
)
...
...
scripts/sys_schema/functions/extract_table_from_file_name.sql
View file @
fce1a53d
...
...
@@ -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
)
...
...
scripts/sys_schema/functions/format_bytes.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/functions/format_path.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/functions/format_path_57.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/functions/format_statement.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/functions/format_time.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/functions/list_add.sql
View file @
fce1a53d
...
...
@@ -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
)
...
...
scripts/sys_schema/functions/list_drop.sql
View file @
fce1a53d
...
...
@@ -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
)
...
...
scripts/sys_schema/functions/ps_is_account_enabled.sql
View file @
fce1a53d
...
...
@@ -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
)
)
...
...
scripts/sys_schema/functions/ps_is_account_enabled_57.sql
View file @
fce1a53d
...
...
@@ -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
)
)
...
...
scripts/sys_schema/functions/ps_is_consumer_enabled.sql
View file @
fce1a53d
...
...
@@ -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'
)
...
...
scripts/sys_schema/functions/ps_is_instrument_default_enabled.sql
View file @
fce1a53d
...
...
@@ -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'
)
...
...
scripts/sys_schema/functions/ps_is_instrument_default_timed.sql
View file @
fce1a53d
...
...
@@ -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'
)
...
...
scripts/sys_schema/functions/ps_is_thread_instrumented.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/functions/ps_thread_account.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/functions/ps_thread_id.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/functions/ps_thread_stack.sql
View file @
fce1a53d
...
...
@@ -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
)
...
...
scripts/sys_schema/functions/ps_thread_trx_info.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/functions/quote_identifier.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/functions/sys_get_config.sql
View file @
fce1a53d
...
...
@@ -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
)
)
...
...
scripts/sys_schema/functions/version_major.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/functions/version_minor.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/functions/version_patch.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/procedures/create_synonym_db.sql
View file @
fce1a53d
...
...
@@ -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
)
)
...
...
scripts/sys_schema/procedures/diagnostics.sql
View file @
fce1a53d
...
...
@@ -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'
)
)
...
...
scripts/sys_schema/procedures/execute_prepared_stmt.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/ps_setup_disable_background_threads.sql
View file @
fce1a53d
...
...
@@ -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
-----------
...
...
scripts/sys_schema/procedures/ps_setup_disable_consumer.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/ps_setup_disable_instrument.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/ps_setup_disable_thread.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/ps_setup_enable_background_threads.sql
View file @
fce1a53d
...
...
@@ -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
-----------
...
...
scripts/sys_schema/procedures/ps_setup_enable_consumer.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/ps_setup_enable_instrument.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/ps_setup_enable_thread.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/ps_setup_reload_saved.sql
View file @
fce1a53d
...
...
@@ -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
-----------
...
...
scripts/sys_schema/procedures/ps_setup_reset_to_default.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/ps_setup_reset_to_default_57.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/ps_setup_save.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/ps_setup_show_disabled.sql
View file @
fce1a53d
...
...
@@ -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
)
...
...
scripts/sys_schema/procedures/ps_setup_show_disabled_consumers.sql
View file @
fce1a53d
...
...
@@ -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
-----------
...
...
scripts/sys_schema/procedures/ps_setup_show_disabled_instruments.sql
View file @
fce1a53d
...
...
@@ -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
-----------
...
...
scripts/sys_schema/procedures/ps_setup_show_enabled.sql
View file @
fce1a53d
...
...
@@ -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
)
...
...
scripts/sys_schema/procedures/ps_setup_show_enabled_consumers.sql
View file @
fce1a53d
...
...
@@ -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
-----------
...
...
scripts/sys_schema/procedures/ps_setup_show_enabled_instruments.sql
View file @
fce1a53d
...
...
@@ -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
-----------
...
...
scripts/sys_schema/procedures/ps_statement_avg_latency_histogram.sql
View file @
fce1a53d
...
...
@@ -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
-----------
...
...
scripts/sys_schema/procedures/ps_trace_statement_digest.sql
View file @
fce1a53d
...
...
@@ -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
),
...
...
scripts/sys_schema/procedures/ps_trace_thread.sql
View file @
fce1a53d
...
...
@@ -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
),
...
...
scripts/sys_schema/procedures/ps_trace_thread_57.sql
View file @
fce1a53d
...
...
@@ -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
),
...
...
scripts/sys_schema/procedures/ps_truncate_all_tables.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/procedures/statement_performance_analyzer.sql
View file @
fce1a53d
...
...
@@ -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'
)
...
...
scripts/sys_schema/procedures/table_exists.sql
View file @
fce1a53d
...
...
@@ -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'
)
)
...
...
scripts/sys_schema/templates/function.sql
View file @
fce1a53d
...
...
@@ -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
>
...
...
scripts/sys_schema/templates/procedure.sql
View file @
fce1a53d
...
...
@@ -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
'
...
...
scripts/sys_schema/views/i_s/innodb_buffer_stats_by_schema.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/i_s/innodb_buffer_stats_by_table.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/i_s/innodb_lock_waits.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/i_s/schema_auto_increment_columns.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/i_s/schema_object_overview.sql
View file @
fce1a53d
...
...
@@ -39,7 +39,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
schema_object_overview
(
db
,
...
...
scripts/sys_schema/views/i_s/schema_redundant_indexes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/i_s/x_innodb_buffer_stats_by_schema.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/i_s/x_innodb_buffer_stats_by_table.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/i_s/x_innodb_lock_waits.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/i_s/x_schema_flattened_keys.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/host_summary.sql
View file @
fce1a53d
...
...
@@ -30,7 +30,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
host_summary
(
host
,
...
...
scripts/sys_schema/views/p_s/host_summary_57.sql
View file @
fce1a53d
...
...
@@ -31,7 +31,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
host_summary
(
host
,
...
...
scripts/sys_schema/views/p_s/host_summary_by_file_io.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/host_summary_by_file_io_type.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/host_summary_by_stages.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/host_summary_by_statement_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/host_summary_by_statement_type.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/io_by_thread_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/io_global_by_file_by_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/io_global_by_file_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/io_global_by_wait_by_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/io_global_by_wait_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/latest_file_io.sql
View file @
fce1a53d
...
...
@@ -32,7 +32,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
MERGE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
latest_file_io
(
thread
,
...
...
scripts/sys_schema/views/p_s/memory_by_host_by_current_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/memory_by_thread_by_current_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/memory_by_user_by_current_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/memory_global_by_current_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/memory_global_total.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/views/p_s/metrics.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/metrics_56.sql
View file @
fce1a53d
...
...
@@ -77,7 +77,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
metrics
(
Variable_name
,
...
...
scripts/sys_schema/views/p_s/processlist.sql
View file @
fce1a53d
...
...
@@ -46,7 +46,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
processlist
(
thd_id
,
...
...
scripts/sys_schema/views/p_s/processlist_57.sql
View file @
fce1a53d
...
...
@@ -55,7 +55,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
processlist
(
thd_id
,
...
...
scripts/sys_schema/views/p_s/ps_check_lost_instrumentation.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/ps_check_lost_instrumentation_57.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/schema_index_statistics.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/schema_table_lock_waits.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/schema_table_statistics.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/schema_table_statistics_with_buffer.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/schema_tables_with_full_table_scans.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/schema_unused_indexes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/session_ssl_status.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/sessions.sql
View file @
fce1a53d
...
...
@@ -55,7 +55,7 @@
--
CREATE
OR
REPLACE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
session
AS
...
...
scripts/sys_schema/views/p_s/statement_analysis.sql
View file @
fce1a53d
...
...
@@ -49,7 +49,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
MERGE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
statement_analysis
(
query
,
...
...
scripts/sys_schema/views/p_s/statements_with_errors_or_warnings.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/statements_with_full_table_scans.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/statements_with_runtimes_in_95th_percentile.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/statements_with_sorting.sql
View file @
fce1a53d
...
...
@@ -38,7 +38,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
MERGE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
statements_with_sorting
(
query
,
...
...
scripts/sys_schema/views/p_s/statements_with_temp_tables.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/user_summary.sql
View file @
fce1a53d
...
...
@@ -30,7 +30,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
user_summary
(
user
,
...
...
scripts/sys_schema/views/p_s/user_summary_57.sql
View file @
fce1a53d
...
...
@@ -31,7 +31,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
user_summary
(
user
,
...
...
scripts/sys_schema/views/p_s/user_summary_by_file_io.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/user_summary_by_file_io_type.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/user_summary_by_stages.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/user_summary_by_statement_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/user_summary_by_statement_type.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/wait_classes_global_by_avg_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/wait_classes_global_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/waits_by_host_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/waits_by_user_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/waits_global_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_host_summary.sql
View file @
fce1a53d
...
...
@@ -30,7 +30,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
x
$
host_summary
(
host
,
...
...
scripts/sys_schema/views/p_s/x_host_summary_57.sql
View file @
fce1a53d
...
...
@@ -31,7 +31,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
x
$
host_summary
(
host
,
...
...
scripts/sys_schema/views/p_s/x_host_summary_by_file_io.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_host_summary_by_file_io_type.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_host_summary_by_stages.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_host_summary_by_statement_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_host_summary_by_statement_type.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_io_by_thread_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_io_global_by_file_by_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_io_global_by_file_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_io_global_by_wait_by_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_io_global_by_wait_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_latest_file_io.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_memory_by_host_by_current_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_memory_by_thread_by_current_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_memory_by_user_by_current_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_memory_global_by_current_bytes.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_memory_global_total.sql
View file @
fce1a53d
...
...
@@ -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
...
...
scripts/sys_schema/views/p_s/x_processlist.sql
View file @
fce1a53d
...
...
@@ -46,7 +46,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
x
$
processlist
(
thd_id
,
...
...
scripts/sys_schema/views/p_s/x_processlist_57.sql
View file @
fce1a53d
...
...
@@ -56,7 +56,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
x
$
processlist
(
thd_id
,
...
...
scripts/sys_schema/views/p_s/x_ps_digest_95th_percentile_by_avg_us.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_ps_digest_avg_latency_distribution.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_ps_schema_table_statistics_io.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_schema_index_statistics.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_schema_table_lock_waits.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_schema_table_statistics.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_schema_table_statistics_with_buffer.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_schema_tables_with_full_table_scans.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_sessions.sql
View file @
fce1a53d
...
...
@@ -55,7 +55,7 @@
--
CREATE
OR
REPLACE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
x
$
session
AS
...
...
scripts/sys_schema/views/p_s/x_statement_analysis.sql
View file @
fce1a53d
...
...
@@ -49,7 +49,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
MERGE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
x
$
statement_analysis
(
query
,
...
...
scripts/sys_schema/views/p_s/x_statements_with_errors_or_warnings.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_statements_with_full_table_scans.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_statements_with_runtimes_in_95th_percentile.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_statements_with_sorting.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_statements_with_temp_tables.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_user_summary.sql
View file @
fce1a53d
...
...
@@ -30,7 +30,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
x
$
user_summary
(
user
,
...
...
scripts/sys_schema/views/p_s/x_user_summary_57.sql
View file @
fce1a53d
...
...
@@ -31,7 +31,7 @@
CREATE
OR
REPLACE
ALGORITHM
=
TEMPTABLE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
x
$
user_summary
(
user
,
...
...
scripts/sys_schema/views/p_s/x_user_summary_by_file_io.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_user_summary_by_file_io_type.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_user_summary_by_stages.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_user_summary_by_statement_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_user_summary_by_statement_type.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_wait_classes_global_by_avg_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_wait_classes_global_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_waits_by_host_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_waits_by_user_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/p_s/x_waits_global_by_latency.sql
View file @
fce1a53d
...
...
@@ -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
,
...
...
scripts/sys_schema/views/version.sql
View file @
fce1a53d
...
...
@@ -27,7 +27,7 @@
--
CREATE
OR
REPLACE
DEFINER
=
'
root
'
@
'localhost'
DEFINER
=
'
mariadb.sys
'
@
'localhost'
SQL
SECURITY
INVOKER
VIEW
version
(
sys_version
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment