mirror of
https://github.com/MariaDB/server.git
synced 2025-02-12 00:15:35 +01:00
![Sergei Golubchik](/assets/img/avatar_default.png)
* it isn't "pfs" function, don't call it Item_func_pfs, don't use item_pfsfunc.* * tests don't depend on performance schema, put in the main suite * inherit from Item_str_ascii_func * use connection collation, not utf8mb3_general_ci * set result length in fix_length_and_dec * do not set maybe_null * use my_snprintf() where possible * don't set m_value.ptr on every invocation * update sys schema to use the format_pico_time() * len must be size_t (compilation error on Windows) * the correct function name for double->double is fabs() * drop volatile hack
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
DESC sys.user_summary;
|
|
Field Type Null Key Default Extra
|
|
user varchar(128) YES NULL
|
|
statements decimal(64,0) YES NULL
|
|
statement_latency varchar(12) YES NULL
|
|
statement_avg_latency varchar(12) YES NULL
|
|
table_scans decimal(65,0) YES NULL
|
|
file_ios decimal(64,0) YES NULL
|
|
file_io_latency varchar(12) YES NULL
|
|
current_connections decimal(41,0) YES NULL
|
|
total_connections decimal(41,0) YES NULL
|
|
unique_hosts bigint(21) NO 0
|
|
current_memory text YES NULL
|
|
total_memory_allocated text YES NULL
|
|
SELECT * FROM sys.user_summary;
|
|
DESC sys.x$user_summary;
|
|
Field Type Null Key Default Extra
|
|
user varchar(128) YES NULL
|
|
statements decimal(64,0) YES NULL
|
|
statement_latency decimal(64,0) YES NULL
|
|
statement_avg_latency decimal(65,4) NO 0.0000
|
|
table_scans decimal(65,0) YES NULL
|
|
file_ios decimal(64,0) YES NULL
|
|
file_io_latency decimal(64,0) YES NULL
|
|
current_connections decimal(41,0) YES NULL
|
|
total_connections decimal(41,0) YES NULL
|
|
unique_hosts bigint(21) NO 0
|
|
current_memory decimal(63,0) YES NULL
|
|
total_memory_allocated decimal(64,0) YES NULL
|
|
SELECT * FROM sys.x$user_summary;
|