public static class MySqlDataSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MySqlDataSummary.Builder |
avgTimerWait(BigDecimal avgTimerWait)
The average execution time.
|
MySqlDataSummary |
build() |
MySqlDataSummary.Builder |
copy(MySqlDataSummary model) |
MySqlDataSummary.Builder |
countStar(BigDecimal countStar)
The number Of times the query has been executed.
|
MySqlDataSummary.Builder |
digest(String digest)
The digest information of the normalized query.
|
MySqlDataSummary.Builder |
digestText(String digestText)
The normalized query.
|
MySqlDataSummary.Builder |
firstSeen(Date firstSeen)
The date and time the query was first seen.
|
MySqlDataSummary.Builder |
heatWaveOffloaded(BigDecimal heatWaveOffloaded)
The number of query executions offloaded to HeatWave.
|
MySqlDataSummary.Builder |
heatWaveOutOfMemory(BigDecimal heatWaveOutOfMemory)
The number of query executions with HeatWave out-of-memory errors.
|
MySqlDataSummary.Builder |
lastSeen(Date lastSeen)
The date and time the query was last seen.
|
MySqlDataSummary.Builder |
maxTimerWait(BigDecimal maxTimerWait)
The slowest the query has been executed.
|
MySqlDataSummary.Builder |
minTimerWait(BigDecimal minTimerWait)
The fastest the query has been executed.
|
MySqlDataSummary.Builder |
quantile95(BigDecimal quantile95)
The 95th percentile of the query latency.
|
MySqlDataSummary.Builder |
quantile99(BigDecimal quantile99)
The 99th percentile of the query latency.
|
MySqlDataSummary.Builder |
quantile999(BigDecimal quantile999)
The 99.9th percentile of the query latency.
|
MySqlDataSummary.Builder |
schemaName(String schemaName)
The name of the default schema when executing the query.
|
MySqlDataSummary.Builder |
sumCreatedTempDiskTables(BigDecimal sumCreatedTempDiskTables)
The total number of On-Disk internal temporary tables that have been created by the
query.
|
MySqlDataSummary.Builder |
sumCreatedTempTables(BigDecimal sumCreatedTempTables)
The total number of internal temporary tables (in memory or on disk), which have been
created by the query.
|
MySqlDataSummary.Builder |
sumErrors(BigDecimal sumErrors)
The total number of errors that have been encountered executing the query.
|
MySqlDataSummary.Builder |
sumLockTime(BigDecimal sumLockTime)
The total amount of time that has been spent waiting for table locks.
|
MySqlDataSummary.Builder |
sumNoGoodIndexUsed(BigDecimal sumNoGoodIndexUsed)
The total number of times no good index was used.
|
MySqlDataSummary.Builder |
sumNoIndexUsed(BigDecimal sumNoIndexUsed)
The total number of times no index was used to execute the query.
|
MySqlDataSummary.Builder |
sumRowsAffected(BigDecimal sumRowsAffected)
The total number of rows that have been modified by the query.
|
MySqlDataSummary.Builder |
sumRowsExamined(BigDecimal sumRowsExamined)
The total number of rows that have been examined by the query.
|
MySqlDataSummary.Builder |
sumRowsSent(BigDecimal sumRowsSent)
The total number of rows that have been returned (sent) to the client.
|
MySqlDataSummary.Builder |
sumSelectFullJoin(BigDecimal sumSelectFullJoin)
The total number of joins that have performed full table scans as there was no join
condition or no index for the join condition.
|
MySqlDataSummary.Builder |
sumSelectFullRangeJoin(BigDecimal sumSelectFullRangeJoin)
The total number of joins that use a full range search.
|
MySqlDataSummary.Builder |
sumSelectRange(BigDecimal sumSelectRange)
The total number of times the query has used a range search.
|
MySqlDataSummary.Builder |
sumSelectRangeCheck(BigDecimal sumSelectRangeCheck)
The total number of joins by the query where the join does not have an index that checks
for the index usage after each row.
|
MySqlDataSummary.Builder |
sumSelectScan(BigDecimal sumSelectScan)
The total number of times the query has performed a full table scan on the first table in
the join.
|
MySqlDataSummary.Builder |
sumSortMergePasses(BigDecimal sumSortMergePasses)
The total number of sort merge passes that have been done to sort the result of the
query.
|
MySqlDataSummary.Builder |
sumSortRange(BigDecimal sumSortRange)
The total number of times a sort was done using ranges.
|
MySqlDataSummary.Builder |
sumSortRows(BigDecimal sumSortRows)
The total number of rows sorted.
|
MySqlDataSummary.Builder |
sumSortScan(BigDecimal sumSortScan)
The total number of times a sort was done by scanning the table.
|
MySqlDataSummary.Builder |
sumTimerWait(BigDecimal sumTimerWait)
The total amount of time that has been spent executing the query.
|
MySqlDataSummary.Builder |
sumWarnings(BigDecimal sumWarnings)
The total number of warnings that have been encountered executing the query.
|
public MySqlDataSummary.Builder schemaName(String schemaName)
The name of the default schema when executing the query. If a schema is not set as the default, then the value is NULL.
schemaName
- the value to setpublic MySqlDataSummary.Builder digest(String digest)
The digest information of the normalized query.
digest
- the value to setpublic MySqlDataSummary.Builder digestText(String digestText)
The normalized query.
digestText
- the value to setpublic MySqlDataSummary.Builder countStar(BigDecimal countStar)
The number Of times the query has been executed.
countStar
- the value to setpublic MySqlDataSummary.Builder sumTimerWait(BigDecimal sumTimerWait)
The total amount of time that has been spent executing the query.
sumTimerWait
- the value to setpublic MySqlDataSummary.Builder minTimerWait(BigDecimal minTimerWait)
The fastest the query has been executed.
minTimerWait
- the value to setpublic MySqlDataSummary.Builder avgTimerWait(BigDecimal avgTimerWait)
The average execution time.
avgTimerWait
- the value to setpublic MySqlDataSummary.Builder maxTimerWait(BigDecimal maxTimerWait)
The slowest the query has been executed.
maxTimerWait
- the value to setpublic MySqlDataSummary.Builder sumLockTime(BigDecimal sumLockTime)
The total amount of time that has been spent waiting for table locks.
sumLockTime
- the value to setpublic MySqlDataSummary.Builder sumErrors(BigDecimal sumErrors)
The total number of errors that have been encountered executing the query.
sumErrors
- the value to setpublic MySqlDataSummary.Builder sumWarnings(BigDecimal sumWarnings)
The total number of warnings that have been encountered executing the query.
sumWarnings
- the value to setpublic MySqlDataSummary.Builder sumRowsAffected(BigDecimal sumRowsAffected)
The total number of rows that have been modified by the query.
sumRowsAffected
- the value to setpublic MySqlDataSummary.Builder sumRowsSent(BigDecimal sumRowsSent)
The total number of rows that have been returned (sent) to the client.
sumRowsSent
- the value to setpublic MySqlDataSummary.Builder sumRowsExamined(BigDecimal sumRowsExamined)
The total number of rows that have been examined by the query.
sumRowsExamined
- the value to setpublic MySqlDataSummary.Builder sumCreatedTempDiskTables(BigDecimal sumCreatedTempDiskTables)
The total number of On-Disk internal temporary tables that have been created by the query.
sumCreatedTempDiskTables
- the value to setpublic MySqlDataSummary.Builder sumCreatedTempTables(BigDecimal sumCreatedTempTables)
The total number of internal temporary tables (in memory or on disk), which have been created by the query.
sumCreatedTempTables
- the value to setpublic MySqlDataSummary.Builder sumSelectFullJoin(BigDecimal sumSelectFullJoin)
The total number of joins that have performed full table scans as there was no join condition or no index for the join condition. This is the same as the select_full_join status variable.
sumSelectFullJoin
- the value to setpublic MySqlDataSummary.Builder sumSelectFullRangeJoin(BigDecimal sumSelectFullRangeJoin)
The total number of joins that use a full range search. This is the same as the select_full_range_join status variable.
sumSelectFullRangeJoin
- the value to setpublic MySqlDataSummary.Builder sumSelectRange(BigDecimal sumSelectRange)
The total number of times the query has used a range search. This is the same as the select_range status variable.
sumSelectRange
- the value to setpublic MySqlDataSummary.Builder sumSelectRangeCheck(BigDecimal sumSelectRangeCheck)
The total number of joins by the query where the join does not have an index that checks for the index usage after each row. This is the same as the select_range_check status variable.
sumSelectRangeCheck
- the value to setpublic MySqlDataSummary.Builder sumSelectScan(BigDecimal sumSelectScan)
The total number of times the query has performed a full table scan on the first table in the join. This is the same as the select_scan status variable.
sumSelectScan
- the value to setpublic MySqlDataSummary.Builder sumSortMergePasses(BigDecimal sumSortMergePasses)
The total number of sort merge passes that have been done to sort the result of the query. This is the same as the sort_merge_passes status variable.
sumSortMergePasses
- the value to setpublic MySqlDataSummary.Builder sumSortRange(BigDecimal sumSortRange)
The total number of times a sort was done using ranges. This is the same as the sort_range status variable.
sumSortRange
- the value to setpublic MySqlDataSummary.Builder sumSortRows(BigDecimal sumSortRows)
The total number of rows sorted. This is the same as the sort_rowsStatus variable.
sumSortRows
- the value to setpublic MySqlDataSummary.Builder sumSortScan(BigDecimal sumSortScan)
The total number of times a sort was done by scanning the table. This is the same as the sort_scan status variable.
sumSortScan
- the value to setpublic MySqlDataSummary.Builder sumNoIndexUsed(BigDecimal sumNoIndexUsed)
The total number of times no index was used to execute the query.
sumNoIndexUsed
- the value to setpublic MySqlDataSummary.Builder sumNoGoodIndexUsed(BigDecimal sumNoGoodIndexUsed)
The total number of times no good index was used. This means that the extra column in The EXPLAIN output includes “Range Checked For Each Record.”
sumNoGoodIndexUsed
- the value to setpublic MySqlDataSummary.Builder firstSeen(Date firstSeen)
The date and time the query was first seen. If the table is truncated, the first seen value is reset.
firstSeen
- the value to setpublic MySqlDataSummary.Builder lastSeen(Date lastSeen)
The date and time the query was last seen.
lastSeen
- the value to setpublic MySqlDataSummary.Builder quantile95(BigDecimal quantile95)
The 95th percentile of the query latency. That is, 95% of the queries complete in the time given or in less time.
quantile95
- the value to setpublic MySqlDataSummary.Builder quantile99(BigDecimal quantile99)
The 99th percentile of the query latency.
quantile99
- the value to setpublic MySqlDataSummary.Builder quantile999(BigDecimal quantile999)
The 99.9th percentile of the query latency.
quantile999
- the value to setpublic MySqlDataSummary.Builder heatWaveOffloaded(BigDecimal heatWaveOffloaded)
The number of query executions offloaded to HeatWave.
heatWaveOffloaded
- the value to setpublic MySqlDataSummary.Builder heatWaveOutOfMemory(BigDecimal heatWaveOutOfMemory)
The number of query executions with HeatWave out-of-memory errors.
heatWaveOutOfMemory
- the value to setpublic MySqlDataSummary build()
public MySqlDataSummary.Builder copy(MySqlDataSummary model)
Copyright © 2016–2024. All rights reserved.