Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit b5591ae

Browse files
committed
Add type info to ps_trace_statement_digest docs
1 parent 3e61063 commit b5591ae

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,6 @@ Shows all currently enabled Performance Schema configuration.
484484

485485
##### Parameters
486486

487-
488487
* in_show_instruments (BOOLEAN): Whether to print enabled instruments (can print many items)
489488
* in_show_threads (BOOLEAN): Whether to print enabled threads
490489

@@ -609,11 +608,11 @@ Note this may fail, as Performance Schema truncates long SQL_TEXT values (and he
609608

610609
##### Parameters
611610

612-
* in_digest: The statement digest identifier you would like to analyze
613-
* in_runtime: The number of seconds to run analysis for (defaults to a minute)
614-
* in_interval: The interval (in seconds, may be fractional) at which to try and take snapshots (defaults to a second)
615-
* in_start_fresh: Whether to TRUNCATE the events_statements_history_long and events_stages_history_long tables before starting (default false)
616-
* in_auto_enable: Whether to automatically turn on required consumers (default false)
611+
* in_digest VARCHAR(32): The statement digest identifier you would like to analyze
612+
* in_runtime (INT): The number of seconds to run analysis for (defaults to a minute)
613+
* in_interval (DECIMAL(2,2)): The interval (in seconds, may be fractional) at which to try and take snapshots (defaults to a second)
614+
* in_start_fresh (BOOLEAN): Whether to TRUNCATE the events_statements_history_long and events_stages_history_long tables before starting (default false)
615+
* in_auto_enable (BOOLEAN): Whether to automatically turn on required consumers (default false)
617616

618617
##### Example
619618

procedures/ps_trace_statement_digest.sql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ CREATE DEFINER='root'@'localhost' PROCEDURE ps_trace_statement_digest (
4646
Parameters
4747
-----------
4848
49-
in_digest:
49+
in_digest (VARCHAR(32)):
5050
The statement digest identifier you would like to analyze
51-
in_runtime:
51+
in_runtime (INT):
5252
The number of seconds to run analysis for (defaults to a minute)
53-
in_interval:
53+
in_interval (DECIMAL(2,2)):
5454
The interval (in seconds, may be fractional) at which to try
5555
and take snapshots (defaults to a second)
56-
in_start_fresh:
56+
in_start_fresh (BOOLEAN):
5757
Whether to TRUNCATE the events_statements_history_long and
5858
events_stages_history_long tables before starting (default false)
59-
in_auto_enable:
59+
in_auto_enable (BOOLEAN):
6060
Whether to automatically turn on required consumers (default false)
6161
6262
Example

0 commit comments

Comments
 (0)