| llenar_hasta_un_millon | def | lista_precios_oracle_pi | llenar_hasta_un_millon | PROCEDURE | | | | | | | | | | SQL | BEGIN
DECLARE actuales BIGINT DEFAULT 0;
DECLARE faltan BIGINT DEFAULT 0;
DECL... | | | SQL | NO | CONTAINS SQL | | DEFINER | 2026-07-04 21:40:58 | 2026-07-04 21:40:58 | STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION | | precios_app@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb4_unicode_ci |
| AddGeometryColumn | def | mysql | AddGeometryColumn | PROCEDURE | | | | | | | | | | SQL | begin
set @qwe= concat('ALTER TABLE ', t_schema, '.', t_name, ' ADD ', geometry_column,'... | | | SQL | NO | CONTAINS SQL | | INVOKER | 2026-07-04 18:34:15 | 2026-07-04 18:34:15 | | | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb4_uca1400_ai_ci |
| DropGeometryColumn | def | mysql | DropGeometryColumn | PROCEDURE | | | | | | | | | | SQL | begin
set @qwe= concat('ALTER TABLE ', t_schema, '.', t_name, ' DROP ', geometry_column)... | | | SQL | NO | CONTAINS SQL | | INVOKER | 2026-07-04 18:34:15 | 2026-07-04 18:34:15 | | | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb4_uca1400_ai_ci |
| diagnostics | def | sys | diagnostics | PROCEDURE | | | | | | | | | | SQL | BEGIN
DECLARE v_start, v_runtime, v_iter_start, v_sleep DECIMAL(20,2) DEFAULT 0.0;
... | | | SQL | NO | READS SQL DATA | | INVOKER | 2026-07-04 18:34:24 | 2026-07-04 18:34:24 | |
Description
Create a report of the current status of the server... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| optimizer_switch_off | def | sys | optimizer_switch_off | PROCEDURE | | | | | | | | | | SQL | BEGIN
call optimizer_switch_choice("off");
END | | | SQL | NO | CONTAINS SQL | | INVOKER | 2026-07-04 18:34:24 | 2026-07-04 18:34:24 | | return @@optimizer_switch options that are off | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| optimizer_switch_on | def | sys | optimizer_switch_on | PROCEDURE | | | | | | | | | | SQL | BEGIN
call optimizer_switch_choice("on");
END | | | SQL | NO | CONTAINS SQL | | INVOKER | 2026-07-04 18:34:24 | 2026-07-04 18:34:24 | | return @@optimizer_switch options that are on | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| ps_setup_show_disabled_instruments | def | sys | ps_setup_show_disabled_instruments | PROCEDURE | | | | | | | | | | SQL | BEGIN
SELECT name AS disabled_instruments, timed
FROM performance_schema.setup_i... | | | SQL | YES | READS SQL DATA | | INVOKER | 2026-07-04 18:34:26 | 2026-07-04 18:34:26 | |
Description
Shows all currently disabled instruments.
... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| ps_setup_show_enabled_instruments | def | sys | ps_setup_show_enabled_instruments | PROCEDURE | | | | | | | | | | SQL | BEGIN
SELECT name AS enabled_instruments, timed
FROM performance_schema.setup_in... | | | SQL | YES | READS SQL DATA | | INVOKER | 2026-07-04 18:34:26 | 2026-07-04 18:34:26 | |
Description
Shows all currently enabled instruments.
... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| create_synonym_db | def | sys | create_synonym_db | PROCEDURE | | | | | | | | | | SQL | BEGIN
DECLARE v_done bool DEFAULT FALSE;
DECLARE v_db_name_check VARCHAR(64);
... | | | SQL | NO | MODIFIES SQL DATA | | INVOKER | 2026-07-04 18:34:23 | 2026-07-04 18:34:23 | |
Description
Takes a source database name and synonym name, and ... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| ps_statement_avg_latency_histogram | def | sys | ps_statement_avg_latency_histogram | PROCEDURE | | | | | | | | | | SQL | BEGIN
SELECT CONCAT('\n',
'\n . = 1 unit',
'\n * = 2 units',
'\n #... | | | SQL | NO | READS SQL DATA | | INVOKER | 2026-07-04 18:34:24 | 2026-07-04 18:34:24 | |
Description
Outputs a textual histogram graph of the average la... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| ps_thread_trx_info | def | sys | ps_thread_trx_info | FUNCTION | longtext | 2147483647 | 2147483647 | | | | utf8mb3 | utf8mb3_general_ci | longtext | SQL | BEGIN
DECLARE v_output LONGTEXT DEFAULT '{}';
DECLARE v_msg_text TEXT DEFAULT '';
... | | | SQL | NO | READS SQL DATA | | INVOKER | 2026-07-04 18:34:17 | 2026-07-04 18:34:17 | |
Description
Returns a JSON object with info on the given thread... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| ps_trace_statement_digest | def | sys | ps_trace_statement_digest | PROCEDURE | | | | | | | | | | SQL | BEGIN
DECLARE v_start_fresh BOOLEAN DEFAULT false;
DECLARE v_auto_enable BOOLEAN D... | | | SQL | NO | MODIFIES SQL DATA | | INVOKER | 2026-07-04 18:34:24 | 2026-07-04 18:34:24 | |
Description
Traces all instrumentation within Performance Schem... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| ps_trace_thread | def | sys | ps_trace_thread | PROCEDURE | | | | | | | | | | SQL | BEGIN
DECLARE v_done bool DEFAULT FALSE;
DECLARE v_start, v_runtime DECIMAL(20,2) ... | | | SQL | NO | MODIFIES SQL DATA | | INVOKER | 2026-07-04 18:34:24 | 2026-07-04 18:34:24 | |
Description
Dumps all data within Performance Schema for an ins... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| statement_performance_analyzer | def | sys | statement_performance_analyzer | PROCEDURE | | | | | | | | | | SQL | BEGIN
DECLARE v_table_exists, v_tmp_digests_table_exists, v_custom_view_exists ENUM(''... | | | SQL | NO | CONTAINS SQL | | INVOKER | 2026-07-04 18:34:26 | 2026-07-04 18:34:26 | |
Description
Create a report of the statements running on the se... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| execute_prepared_stmt | def | sys | execute_prepared_stmt | PROCEDURE | | | | | | | | | | SQL | BEGIN
IF (@sys.debug IS NULL) THEN
SET @sys.debug = sys.sys_get_config('debug'... | | | SQL | NO | READS SQL DATA | | INVOKER | 2026-07-04 18:34:23 | 2026-07-04 18:34:23 | |
Description
Takes the query in the argument and executes it usi... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| extract_schema_from_file_name | def | sys | extract_schema_from_file_name | FUNCTION | varchar | 64 | 192 | | | | utf8mb3 | utf8mb3_general_ci | varchar(64) | SQL | BEGIN
RETURN LEFT(SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(path, '\', '/'), '/', -2), '... | | | SQL | YES | NO SQL | | INVOKER | 2026-07-04 18:34:15 | 2026-07-04 18:34:15 | |
Description
Takes a raw file path, and attempts to extract the ... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| extract_table_from_file_name | def | sys | extract_table_from_file_name | FUNCTION | varchar | 64 | 192 | | | | utf8mb3 | utf8mb3_general_ci | varchar(64) | SQL | BEGIN
RETURN LEFT(SUBSTRING_INDEX(REPLACE(SUBSTRING_INDEX(REPLACE(path, '\', '/'), '/'... | | | SQL | YES | NO SQL | | INVOKER | 2026-07-04 18:34:15 | 2026-07-04 18:34:15 | |
Description
Takes a raw file path, and extracts the table name ... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| format_bytes | def | sys | format_bytes | FUNCTION | text | 65535 | 65535 | | | | utf8mb3 | utf8mb3_general_ci | text | SQL | BEGIN
IF bytes IS NULL THEN RETURN NULL;
ELSEIF bytes >= 1125899906842624 THEN RETURN ... | | | SQL | YES | NO SQL | | INVOKER | 2026-07-04 18:34:15 | 2026-07-04 18:34:15 | |
Description
Takes a raw bytes value, and converts it to a human... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| format_path | def | sys | format_path | FUNCTION | varchar | 512 | 1536 | | | | utf8mb3 | utf8mb3_general_ci | varchar(512) | SQL | BEGIN
DECLARE v_dir VARCHAR(1024);
DECLARE v_path VARCHAR(512);
DECLARE path_separat... | | | SQL | YES | NO SQL | | INVOKER | 2026-07-04 18:34:16 | 2026-07-04 18:34:16 | |
Description
Takes a raw path value, and strips out the datadir ... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |
| format_statement | def | sys | format_statement | FUNCTION | longtext | 2147483647 | 2147483647 | | | | utf8mb3 | utf8mb3_general_ci | longtext | SQL | BEGIN
IF @sys.statement_truncate_len IS NULL THEN
SET @sys.statement_truncate_len ... | | | SQL | YES | NO SQL | | INVOKER | 2026-07-04 18:34:16 | 2026-07-04 18:34:16 | |
Description
Formats a normalized statement, truncating it if it... | mariadb.sys@localhost | utf8mb3 | utf8mb3_general_ci | utf8mb3_general_ci |