Skip to content

Commit cc8d624

Browse files
Fix formatting
Update slow-extended.md
1 parent 596aae9 commit cc8d624

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docs/slow-extended.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,9 @@ Specifies that only a fraction of `session/query` should be logged. Logging is e
6464

6565
Logging all queries might consume I/O bandwidth and cause the log file to grow large.
6666

67-
68-
* When log_slow_rate_type is `session`, this option lets you log full sessions, so you have complete records of sessions for later analysis; but you can rate-limit the number of sessions that are logged. Note that this feature will not work well if your application uses any type of connection pooling or persistent connections. Note that you change log_slow_rate_limit in `session` mode, you should reconnect for get effect.
67+
* When log_slow_rate_type is `session`, this option lets you log full sessions, so you have complete records of sessions for later analysis; but you can rate-limit the number of sessions that are logged. Note that this feature will not work well if your application uses any type of connection pooling or persistent connections. Note that you change log_slow_rate_limit in `session` mode, you should reconnect for get effect.
6968

70-
71-
* When log_slow_rate_type is `query`, this option lets you log just some queries for later analysis. For example, if you set the value to 100, then one percent of queries will be logged.
69+
* When log_slow_rate_type is `query`, this option lets you log just some queries for later analysis. For example, if you set the value to 100, then one percent of queries will be logged.
7270

7371
Note that every query has global unique `query_id` and every connection can has it own (session) log_slow_rate_limit.
7472
Decision “log or no” calculated in following manner:
@@ -103,13 +101,13 @@ For example, if you set the value to 100, then one percent of `sessions/queries`
103101

104102
If `TRUE`, statements executed by stored procedures are logged to the slow if it is open.
105103

106-
*Percona Server for MySQL* implemented improvements for logging of stored procedures to the slow query log:
104+
Percona Server for MySQL implemented improvements for logging of stored procedures to the slow query log:
107105

108-
* Each query from a stored procedure is now logged to the slow query log individually
106+
* Each query from a stored procedure is now logged to the slow query log individually
109107

110-
* `CALL` itself isn’t logged to the slow query log anymore as this would be counting twice for the same query which would lead to incorrect results
108+
* `CALL` itself isn’t logged to the slow query log anymore as this would be counting twice for the same query which would lead to incorrect results
111109

112-
* Queries that were called inside of stored procedures are annotated in the slow query log with the stored procedure name in which they run.
110+
* Queries that were called inside of stored procedures are annotated in the slow query log with the stored procedure name in which they run.
113111

114112
Example of the improved stored procedure slow query log entry:
115113

0 commit comments

Comments
 (0)