Skip to content

Commit 7e3d8b6

Browse files
authored
DOC-14534 Document possible disparity between P99 latency and Max latency (#20127)
* In statements-table.md and statement-details.md, updated P50, P90, P99 description with concise note about data source for latency percentiles. * In statements-table.md and statement-details.md for v25.2 and v25.3, removed columns for P50, P90, P99.
1 parent 200a6ec commit 7e3d8b6

File tree

15 files changed

+33
-45
lines changed

15 files changed

+33
-45
lines changed

src/current/_includes/v23.1/ui/statements-table.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Statement Time | Average [planning and execution time]({{ link_prefix }}architec
1414
<a id="percent-of-all-runtime"></a>% of All Runtime | The percentage of execution time taken by this statement fingerprint compared to all other statements executed within the time period, including those not displayed. Runtime is calculated as the mean execution latency multiplied by the execution count.<br><br><b>Note:</b> The sum of the values in this column may not equal 100%. Each fingerprint's percentage is calculated by dividing the fingerprint's runtime by the sum of the runtimes for all statement fingerprints in the time interval. "All statement fingerprints" means all user statement fingerprints (not only those displayed by the [search criteria](#search-criteria)), as well as internal statement fingerprints that are never included in the displayed result set. The search criteria are applied after the `% of All Runtime` calculation.
1515
Contention Time | Average time statements with this fingerprint were [in contention]({{ link_prefix }}performance-best-practices-overview.html#understanding-and-avoiding-transaction-contention) with other transactions within the time interval.<br><br>The gray bar indicates mean contention time. The blue bar indicates one standard deviation from the mean. Hover over the bar to display exact values.
1616
CPU Time | Average CPU time spent executing within the specified time interval. The gray bar indicates mean CPU time. The blue bar indicates one standard deviation from the mean. <br><br>The CPU time includes time spent in the [SQL layer]({{ link_prefix }}architecture/sql-layer.html). It does not include time spent in the [storage layer]({{ link_prefix }}architecture/storage-layer.html).
17-
P50 Latency | The 50th latency percentile for sampled statement executions with this fingerprint.
18-
P90 Latency | The 90th latency percentile for sampled statement executions with this fingerprint.
19-
P99 Latency | The 99th latency percentile for sampled statement executions with this fingerprint.
17+
P50 Latency | The 50th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
18+
P90 Latency | The 90th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
19+
P99 Latency | The 99th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
2020
Min Latency | The lowest latency value for all statement executions with this fingerprint.
2121
Max Latency | The highest latency value for all statement executions with this fingerprint.
2222
Rows Processed | Average number of rows read and written while executing statements with this fingerprint within the time interval.

src/current/_includes/v23.2/ui/statement-details.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ Average Rows Read | The average number of rows read when the plan was executed.
8989
Full Scan | Whether the execution performed a full scan of the table.
9090
Min Latency | The lowest latency value for all statement executions with this Explain Plan.
9191
Max Latency | The highest latency value for all statement executions with this Explain Plan.
92-
P50 Latency | The 50th latency percentile for sampled statement executions with this Explain Plan.
93-
P90 Latency | The 90th latency percentile for sampled statement executions with this Explain Plan.
94-
P99 Latency | The 99th latency percentile for sampled statement executions with this Explain Plan.
92+
P50 Latency | The 50th latency percentile for sampled statement executions with this Explain Plan.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
93+
P90 Latency | The 90th latency percentile for sampled statement executions with this Explain Plan.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
94+
P99 Latency | The 99th latency percentile for sampled statement executions with this Explain Plan.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
9595
Distributed | Whether the execution was distributed.
9696
Vectorized | Whether the execution used the [vectorized execution engine]({{ link_prefix }}vectorized-execution.html).
9797

src/current/_includes/v23.2/ui/statements-table.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Statement Time | Average [planning and execution time]({{ link_prefix }}architec
1414
<a id="percent-of-all-runtime"></a>% of All Runtime | The percentage of execution time taken by this statement fingerprint compared to all other statements executed within the time period, including those not displayed. Runtime is calculated as the mean execution latency multiplied by the execution count.<br><br><b>Note:</b> The sum of the values in this column may not equal 100%. Each fingerprint's percentage is calculated by dividing the fingerprint's runtime by the sum of the runtimes for all statement fingerprints in the time interval. "All statement fingerprints" means all user statement fingerprints (not only those displayed by the [search criteria](#search-criteria)), as well as internal statement fingerprints that are never included in the displayed result set. The search criteria are applied after the `% of All Runtime` calculation.
1515
Contention Time | Average time statements with this fingerprint were [in contention]({{ link_prefix }}performance-best-practices-overview.html#understanding-and-avoiding-transaction-contention) with other transactions within the time interval.<br><br>The gray bar indicates mean contention time. The blue bar indicates one standard deviation from the mean. Hover over the bar to display exact values.
1616
CPU Time | Average CPU time spent executing within the specified time interval. The gray bar indicates mean CPU time. The blue bar indicates one standard deviation from the mean. <br><br>The CPU time includes time spent in the [SQL layer]({{ link_prefix }}architecture/sql-layer.html). It does not include time spent in the [storage layer]({{ link_prefix }}architecture/storage-layer.html).
17-
P50 Latency | The 50th latency percentile for sampled statement executions with this fingerprint.
18-
P90 Latency | The 90th latency percentile for sampled statement executions with this fingerprint.
19-
P99 Latency | The 99th latency percentile for sampled statement executions with this fingerprint.
17+
P50 Latency | The 50th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
18+
P90 Latency | The 90th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
19+
P99 Latency | The 99th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
2020
Min Latency | The lowest latency value for all statement executions with this fingerprint.
2121
Max Latency | The highest latency value for all statement executions with this fingerprint.
2222
Rows Processed | Average number of rows read and written while executing statements with this fingerprint within the time interval.

src/current/_includes/v24.1/ui/statement-details.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ Average Rows Read | The average number of rows read when the plan was executed.
8989
Full Scan | Whether the execution performed a full scan of the table.
9090
Min Latency | The lowest latency value for all statement executions with this Explain Plan.
9191
Max Latency | The highest latency value for all statement executions with this Explain Plan.
92-
P50 Latency | The 50th latency percentile for sampled statement executions with this Explain Plan.
93-
P90 Latency | The 90th latency percentile for sampled statement executions with this Explain Plan.
94-
P99 Latency | The 99th latency percentile for sampled statement executions with this Explain Plan.
92+
P50 Latency | The 50th latency percentile for sampled statement executions with this Explain Plan.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
93+
P90 Latency | The 90th latency percentile for sampled statement executions with this Explain Plan.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
94+
P99 Latency | The 99th latency percentile for sampled statement executions with this Explain Plan.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
9595
Distributed | Whether the execution was distributed.
9696
Vectorized | Whether the execution used the [vectorized execution engine]({{ link_prefix }}vectorized-execution.html).
9797

src/current/_includes/v24.1/ui/statements-table.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Statement Time | Average [planning and execution time]({{ link_prefix }}architec
1414
<a id="percent-of-all-runtime"></a>% of All Runtime | The percentage of execution time taken by this statement fingerprint compared to all other statements executed within the time period, including those not displayed. Runtime is calculated as the mean execution latency multiplied by the execution count.<br><br><b>Note:</b> The sum of the values in this column may not equal 100%. Each fingerprint's percentage is calculated by dividing the fingerprint's runtime by the sum of the runtimes for all statement fingerprints in the time interval. "All statement fingerprints" means all user statement fingerprints (not only those displayed by the [search criteria](#search-criteria)), as well as internal statement fingerprints that are never included in the displayed result set. The search criteria are applied after the `% of All Runtime` calculation.
1515
Contention Time | Average time statements with this fingerprint were [in contention]({{ link_prefix }}performance-best-practices-overview.html#understanding-and-avoiding-transaction-contention) with other transactions within the time interval.<br><br>The gray bar indicates mean contention time. The blue bar indicates one standard deviation from the mean. Hover over the bar to display exact values.
1616
SQL CPU Time | Average SQL CPU time spent executing within the specified time interval. It does not include SQL planning time or KV execution time. The gray bar indicates mean SQL CPU time. The blue bar indicates one standard deviation from the mean. <br><br>The SQL CPU time includes time spent in the [SQL layer]({{ link_prefix }}architecture/sql-layer.html). It does not include time spent in the [storage layer]({{ link_prefix }}architecture/storage-layer.html).
17-
P50 Latency | The 50th latency percentile for sampled statement executions with this fingerprint.
18-
P90 Latency | The 90th latency percentile for sampled statement executions with this fingerprint.
19-
P99 Latency | The 99th latency percentile for sampled statement executions with this fingerprint.
17+
P50 Latency | The 50th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
18+
P90 Latency | The 90th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
19+
P99 Latency | The 99th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
2020
Min Latency | The lowest latency value for all statement executions with this fingerprint.
2121
Max Latency | The highest latency value for all statement executions with this fingerprint.
2222
Rows Processed | Average number of rows read and written while executing statements with this fingerprint within the time interval.

src/current/_includes/v24.2/ui/statement-details.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ Average Rows Read | The average number of rows read when the plan was executed.
8989
Full Scan | Whether the execution performed a full scan of the table.
9090
Min Latency | The lowest latency value for all statement executions with this Explain Plan.
9191
Max Latency | The highest latency value for all statement executions with this Explain Plan.
92-
P50 Latency | The 50th latency percentile for sampled statement executions with this Explain Plan.
93-
P90 Latency | The 90th latency percentile for sampled statement executions with this Explain Plan.
94-
P99 Latency | The 99th latency percentile for sampled statement executions with this Explain Plan.
92+
P50 Latency | The 50th latency percentile for sampled statement executions with this Explain Plan.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
93+
P90 Latency | The 90th latency percentile for sampled statement executions with this Explain Plan.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
94+
P99 Latency | The 99th latency percentile for sampled statement executions with this Explain Plan.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
9595
Distributed | Whether the execution was distributed.
9696
Vectorized | Whether the execution used the [vectorized execution engine]({{ link_prefix }}vectorized-execution.html).
9797

src/current/_includes/v24.2/ui/statements-table.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Statement Time | Average [planning and execution time]({{ link_prefix }}architec
1414
<a id="percent-of-all-runtime"></a>% of All Runtime | The percentage of execution time taken by this statement fingerprint compared to all other statements executed within the time period, including those not displayed. Runtime is calculated as the mean execution latency multiplied by the execution count.<br><br><b>Note:</b> The sum of the values in this column may not equal 100%. Each fingerprint's percentage is calculated by dividing the fingerprint's runtime by the sum of the runtimes for all statement fingerprints in the time interval. "All statement fingerprints" means all user statement fingerprints (not only those displayed by the [search criteria](#search-criteria)), as well as internal statement fingerprints that are never included in the displayed result set. The search criteria are applied after the `% of All Runtime` calculation.
1515
Contention Time | Average time statements with this fingerprint were [in contention]({{ link_prefix }}performance-best-practices-overview.html#understanding-and-avoiding-transaction-contention) with other transactions within the time interval.<br><br>The gray bar indicates mean contention time. The blue bar indicates one standard deviation from the mean. Hover over the bar to display exact values.
1616
SQL CPU Time | Average SQL CPU time spent executing within the specified time interval. It does not include SQL planning time or KV execution time. The gray bar indicates mean SQL CPU time. The blue bar indicates one standard deviation from the mean. <br><br>The SQL CPU time includes time spent in the [SQL layer]({{ link_prefix }}architecture/sql-layer.html). It does not include time spent in the [storage layer]({{ link_prefix }}architecture/storage-layer.html).
17-
P50 Latency | The 50th latency percentile for sampled statement executions with this fingerprint.
18-
P90 Latency | The 90th latency percentile for sampled statement executions with this fingerprint.
19-
P99 Latency | The 99th latency percentile for sampled statement executions with this fingerprint.
17+
P50 Latency | The 50th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
18+
P90 Latency | The 90th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
19+
P99 Latency | The 99th latency percentile for sampled statement executions with this fingerprint.<br><br><strong>Note:</strong> Latency percentiles are calculated from a different set of executions than other statistics, so they may be inconsistent with the minimum, maximum, and average values. This data is provided for reference only.
2020
Min Latency | The lowest latency value for all statement executions with this fingerprint.
2121
Max Latency | The highest latency value for all statement executions with this fingerprint.
2222
Rows Processed | Average number of rows read and written while executing statements with this fingerprint within the time interval.

0 commit comments

Comments
 (0)