|
6 | 6 |
|
7 | 7 | * The `format_bytes` function now shows no decimal places when outputting a simple bytes value |
8 | 8 | * The `processlist`/`x$processlist` views where improved, changes include: |
9 | | -** The `pid` and `program_name` of the connection are shown, if set within the `performance_schema.session_connect_attrs` table (Contributed by Daniël van Eeden) |
10 | | -** Issue #50 - The current statement progress is reported via the new stage progress reporting within Performance Schema stages within 5.7 (such as ALTER TABLE progress reporting) |
11 | | -** Issue #60 - A new `statement_latency` column was added to all versions, which reports the current statement latency with picosecond precision from the `performance_schema.events_statements_current` table, when enabled |
12 | | -** Some transaction information was exposed, with the `trx_latency` (for the current or last transaction depending on `trx_state`), `trx_state` (ACTIVE, COMMITTED, ROLLED BACK), and `trx_autocommit` (YES/NO) columns |
| 9 | + * The `pid` and `program_name` of the connection are shown, if set within the `performance_schema.session_connect_attrs` table (Contributed by Daniël van Eeden) |
| 10 | + * Issue #50 - The current statement progress is reported via the new stage progress reporting within Performance Schema stages within 5.7 (such as ALTER TABLE progress reporting) |
| 11 | + * Issue #60 - A new `statement_latency` column was added to all versions, which reports the current statement latency with picosecond precision from the `performance_schema.events_statements_current` table, when enabled |
| 12 | + * Some transaction information was exposed, with the `trx_latency` (for the current or last transaction depending on `trx_state`), `trx_state` (ACTIVE, COMMITTED, ROLLED BACK), and `trx_autocommit` (YES/NO) columns |
13 | 13 | * A new `metrics` view has been added. On 5.7 this provides a union view of the performance_schema.global_status and information_schema.innodb_metrics tables, along with P_S memory and the current time, as a single metrics output. On 5.6 it provides a union view of the information_schema.global_status and information_schema.innodb_metrics tables, along with the current time. (Contributed by Jesper Wisborg Krogh) |
14 | 14 | * New `session`/`x$session` views have been added, which give the same output as the `processlist` view counterparts, but filtered to only show foreground connections (Contributed by Morgan Tocker) |
15 | 15 | * A new `session_ssl_status` view was added, which shows the SSL version, ciper and session resuse statistics for each connection (Contributed by Daniël van Eeden) |
16 | 16 | * A new `schema_auto_increment_columns` view was added, that shows statistics on each auto_incrment within the instance, including the `auto_increment_ratio`, so you can easily monitor how full specific auto_increment columns are (Contributed by Shlomi Noach) |
17 | 17 | * A new `schema_redundant_indexes` view was added, that shows indexes made redundant (or duplicated) by other more dominant indexes. Also includes the the helper view `x$schema_flattened_keys`. (Contributed by Shlomi Noach) |
18 | 18 | * New `schema_table_lock_waits`/`x$schema_table_lock_waits` views have been added, which show any sessions that are waiting for table level metadata locks, and the sessions that are blocking them. Resolves Git Issue #57, inspired by the suggestion from Daniël van Eeden |
19 | 19 | * The `innodb_lock_waits` view had the following columns added to it, following a manually merged contribution from Shlomi Noach for a similar view |
20 | | -** `wait_age_secs` - the current row lock wait time in seconds |
21 | | -** `sql_kill_blocking_query` - the "KILL QUERY <connection_id>" command to run to kill the blocking session current statement |
22 | | -** `sql_kill_blocking_connection` - the "KILL <connection_id" command to run to kill the blocking session |
| 20 | + * `wait_age_secs` - the current row lock wait time in seconds |
| 21 | + * `sql_kill_blocking_query` - the "KILL QUERY <connection_id>" command to run to kill the blocking session current statement |
| 22 | + * `sql_kill_blocking_connection` - the "KILL <connection_id" command to run to kill the blocking session |
23 | 23 | * A new `table_exists` procedure was added, which checks for the existence of table, and if it exists, returns the type (BASE TABLE, VIEW, TEMPORARY) (Contributed by Jesper Wisborg Krogh) |
24 | 24 | * A new `execute_prepared_stmt()` procedure was added, which takes a SQL statement as an input variable and executes it as a prepared statement (Contributed by Jesper Wisborg Krogh) |
25 | 25 | * A new `statement_performance_analyzer()` procedure was added, that allows reporting on the statements that are have been running over snapshot periods (Contributed by Jesper Wisborg Krogh) |
|
66 | 66 |
|
67 | 67 | * The beginnings of a mysql-test suite have been added |
68 | 68 | * The `innodb_lock_waits`/`x$innodb_lock_waits` views were improved (Contributions by both Jesper Wisborg Krogh and Mark Matthews) |
69 | | -** Added the `wait_started`, `wait_age`, `waiting_trx_started` `waiting_trx_age`, `waiting_trx_rows_locked` and `waiting_trx_rows_modified` columns for waiting transactions |
70 | | -** Added the `blocking_trx_started`, `blocking_trx_age`, `blocking_trx_rows_locked` and `blocking_trx_rows_modified` for blocking transactions |
71 | | -** Order the result set so the oldest lock waits are first |
72 | | -** The `waiting_table` and `waiting_index` were always the same as the `blocking_table` and `blocking_index`. So the blocking_% columns have been removed and the waiting_% columns have been renamed to locked_% |
73 | | -** The `waiting_lock_type` and `blocking_lock_type` were also always the same. So these were removed and replaced with a single `locked_type` column |
74 | | -** Renamed the `waiting_thread` and `blocking_thread` to `waiting_pid` and `blocking_pid` respectively to avoid confusion with the threads from the Performance Schema. |
| 69 | + * Added the `wait_started`, `wait_age`, `waiting_trx_started` `waiting_trx_age`, `waiting_trx_rows_locked` and `waiting_trx_rows_modified` columns for waiting transactions |
| 70 | + * Added the `blocking_trx_started`, `blocking_trx_age`, `blocking_trx_rows_locked` and `blocking_trx_rows_modified` for blocking transactions |
| 71 | + * Order the result set so the oldest lock waits are first |
| 72 | + * The `waiting_table` and `waiting_index` were always the same as the `blocking_table` and `blocking_index`. So the blocking_% columns have been removed and the waiting_% columns have been renamed to locked_% |
| 73 | + * The `waiting_lock_type` and `blocking_lock_type` were also always the same. So these were removed and replaced with a single `locked_type` column |
| 74 | + * Renamed the `waiting_thread` and `blocking_thread` to `waiting_pid` and `blocking_pid` respectively to avoid confusion with the threads from the Performance Schema. |
75 | 75 | * Added the `sys_get_config` function, used to get configuration parameters from the `sys_config` table - primarily from other sys objects, but can be used individually (Contributed by Jesper Wisborg Krogh) |
76 | 76 | * Add an option to generate_sql_file.sh to generate a mysql_install_db / mysqld --initialize format friendly file |
77 | 77 | * Added the `ps_is_thread_instrumented` function, to check whether a specified thread is instrumented within Performance Schema |
|
92 | 92 | Various changes were made to allow better generation of integration sql files: |
93 | 93 |
|
94 | 94 | * The formatting for all comments has been standardized on -- line comments. C-style /* comments */ have been removed |
95 | | -** Issue #35 had one instance of this resolved in this release (contributed by Joe Grasse), but the entire code base has now been done |
| 95 | + * Issue #35 had one instance of this resolved in this release (contributed by Joe Grasse), but the entire code base has now been done |
96 | 96 | * Each object has been created within it's own file. No longer do x$ views live with their non-x$ counterparts |
97 | 97 | * DELIMITERs were standardized to $$ |
98 | 98 |
|
@@ -123,7 +123,7 @@ Various changes were made to allow better generation of integration sql files: |
123 | 123 | * Added `rows_affected` and `rows_affected_avg` stats to the `statement_analysis` views |
124 | 124 | * The `statements_with_full_table_scans` view now ignores any SQL that starts with `SHOW` |
125 | 125 | * Added a script, `generate_sql_file.sh`, that can be used to generate a single SQL file, also allowing substitution of the MySQL user to use, and/or whether the `SET sql_log_bin ...` statements should be omitted. |
126 | | -** This is useful for those using RDS, where the root@localhost user is not accessible, and sql_log_bin is disabled (Issue #5) |
| 126 | + * This is useful for those using RDS, where the root@localhost user is not accessible, and sql_log_bin is disabled (Issue #5) |
127 | 127 | * Added a set of `memory_by_thread_by_current_bytes` views, that summarize memory usage per thread with MySQL 5.7's memory instrumentation |
128 | 128 | * Improved each of the host specific views to return aggregate values for `background` threads, instead of ignoring them, in the same way as the user summary views |
129 | 129 |
|
|
0 commit comments