@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class MySqlDataSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The SQL performance data record for a specific SQL query.
Note: Objects should always be created or deserialized using the MySqlDataSummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the MySqlDataSummary.Builder
, which maintain a
set of all explicitly set fields called MySqlDataSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
MySqlDataSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
MySqlDataSummary(String schemaName,
String digest,
String digestText,
BigDecimal countStar,
BigDecimal sumTimerWait,
BigDecimal minTimerWait,
BigDecimal avgTimerWait,
BigDecimal maxTimerWait,
BigDecimal sumLockTime,
BigDecimal sumErrors,
BigDecimal sumWarnings,
BigDecimal sumRowsAffected,
BigDecimal sumRowsSent,
BigDecimal sumRowsExamined,
BigDecimal sumCreatedTempDiskTables,
BigDecimal sumCreatedTempTables,
BigDecimal sumSelectFullJoin,
BigDecimal sumSelectFullRangeJoin,
BigDecimal sumSelectRange,
BigDecimal sumSelectRangeCheck,
BigDecimal sumSelectScan,
BigDecimal sumSortMergePasses,
BigDecimal sumSortRange,
BigDecimal sumSortRows,
BigDecimal sumSortScan,
BigDecimal sumNoIndexUsed,
BigDecimal sumNoGoodIndexUsed,
Date firstSeen,
Date lastSeen,
BigDecimal quantile95,
BigDecimal quantile99,
BigDecimal quantile999,
BigDecimal heatWaveOffloaded,
BigDecimal heatWaveOutOfMemory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MySqlDataSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
BigDecimal |
getAvgTimerWait()
The average execution time.
|
BigDecimal |
getCountStar()
The number Of times the query has been executed.
|
String |
getDigest()
The digest information of the normalized query.
|
String |
getDigestText()
The normalized query.
|
Date |
getFirstSeen()
The date and time the query was first seen.
|
BigDecimal |
getHeatWaveOffloaded()
The number of query executions offloaded to HeatWave.
|
BigDecimal |
getHeatWaveOutOfMemory()
The number of query executions with HeatWave out-of-memory errors.
|
Date |
getLastSeen()
The date and time the query was last seen.
|
BigDecimal |
getMaxTimerWait()
The slowest the query has been executed.
|
BigDecimal |
getMinTimerWait()
The fastest the query has been executed.
|
BigDecimal |
getQuantile95()
The 95th percentile of the query latency.
|
BigDecimal |
getQuantile99()
The 99th percentile of the query latency.
|
BigDecimal |
getQuantile999()
The 99.9th percentile of the query latency.
|
String |
getSchemaName()
The name of the default schema when executing the query.
|
BigDecimal |
getSumCreatedTempDiskTables()
The total number of On-Disk internal temporary tables that have been created by the query.
|
BigDecimal |
getSumCreatedTempTables()
The total number of internal temporary tables (in memory or on disk), which have been created
by the query.
|
BigDecimal |
getSumErrors()
The total number of errors that have been encountered executing the query.
|
BigDecimal |
getSumLockTime()
The total amount of time that has been spent waiting for table locks.
|
BigDecimal |
getSumNoGoodIndexUsed()
The total number of times no good index was used.
|
BigDecimal |
getSumNoIndexUsed()
The total number of times no index was used to execute the query.
|
BigDecimal |
getSumRowsAffected()
The total number of rows that have been modified by the query.
|
BigDecimal |
getSumRowsExamined()
The total number of rows that have been examined by the query.
|
BigDecimal |
getSumRowsSent()
The total number of rows that have been returned (sent) to the client.
|
BigDecimal |
getSumSelectFullJoin()
The total number of joins that have performed full table scans as there was no join condition
or no index for the join condition.
|
BigDecimal |
getSumSelectFullRangeJoin()
The total number of joins that use a full range search.
|
BigDecimal |
getSumSelectRange()
The total number of times the query has used a range search.
|
BigDecimal |
getSumSelectRangeCheck()
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.
|
BigDecimal |
getSumSelectScan()
The total number of times the query has performed a full table scan on the first table in the
join.
|
BigDecimal |
getSumSortMergePasses()
The total number of sort merge passes that have been done to sort the result of the query.
|
BigDecimal |
getSumSortRange()
The total number of times a sort was done using ranges.
|
BigDecimal |
getSumSortRows()
The total number of rows sorted.
|
BigDecimal |
getSumSortScan()
The total number of times a sort was done by scanning the table.
|
BigDecimal |
getSumTimerWait()
The total amount of time that has been spent executing the query.
|
BigDecimal |
getSumWarnings()
The total number of warnings that have been encountered executing the query.
|
int |
hashCode() |
MySqlDataSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"schemaName","digest","digestText","countStar","sumTimerWait","minTimerWait","avgTimerWait","maxTimerWait","sumLockTime","sumErrors","sumWarnings","sumRowsAffected","sumRowsSent","sumRowsExamined","sumCreatedTempDiskTables","sumCreatedTempTables","sumSelectFullJoin","sumSelectFullRangeJoin","sumSelectRange","sumSelectRangeCheck","sumSelectScan","sumSortMergePasses","sumSortRange","sumSortRows","sumSortScan","sumNoIndexUsed","sumNoGoodIndexUsed","firstSeen","lastSeen","quantile95","quantile99","quantile999","heatWaveOffloaded","heatWaveOutOfMemory"}) public MySqlDataSummary(String schemaName, String digest, String digestText, BigDecimal countStar, BigDecimal sumTimerWait, BigDecimal minTimerWait, BigDecimal avgTimerWait, BigDecimal maxTimerWait, BigDecimal sumLockTime, BigDecimal sumErrors, BigDecimal sumWarnings, BigDecimal sumRowsAffected, BigDecimal sumRowsSent, BigDecimal sumRowsExamined, BigDecimal sumCreatedTempDiskTables, BigDecimal sumCreatedTempTables, BigDecimal sumSelectFullJoin, BigDecimal sumSelectFullRangeJoin, BigDecimal sumSelectRange, BigDecimal sumSelectRangeCheck, BigDecimal sumSelectScan, BigDecimal sumSortMergePasses, BigDecimal sumSortRange, BigDecimal sumSortRows, BigDecimal sumSortScan, BigDecimal sumNoIndexUsed, BigDecimal sumNoGoodIndexUsed, Date firstSeen, Date lastSeen, BigDecimal quantile95, BigDecimal quantile99, BigDecimal quantile999, BigDecimal heatWaveOffloaded, BigDecimal heatWaveOutOfMemory)
public static MySqlDataSummary.Builder builder()
Create a new builder.
public MySqlDataSummary.Builder toBuilder()
public String getSchemaName()
The name of the default schema when executing the query. If a schema is not set as the default, then the value is NULL.
public String getDigest()
The digest information of the normalized query.
public String getDigestText()
The normalized query.
public BigDecimal getCountStar()
The number Of times the query has been executed.
public BigDecimal getSumTimerWait()
The total amount of time that has been spent executing the query.
public BigDecimal getMinTimerWait()
The fastest the query has been executed.
public BigDecimal getAvgTimerWait()
The average execution time.
public BigDecimal getMaxTimerWait()
The slowest the query has been executed.
public BigDecimal getSumLockTime()
The total amount of time that has been spent waiting for table locks.
public BigDecimal getSumErrors()
The total number of errors that have been encountered executing the query.
public BigDecimal getSumWarnings()
The total number of warnings that have been encountered executing the query.
public BigDecimal getSumRowsAffected()
The total number of rows that have been modified by the query.
public BigDecimal getSumRowsSent()
The total number of rows that have been returned (sent) to the client.
public BigDecimal getSumRowsExamined()
The total number of rows that have been examined by the query.
public BigDecimal getSumCreatedTempDiskTables()
The total number of On-Disk internal temporary tables that have been created by the query.
public BigDecimal getSumCreatedTempTables()
The total number of internal temporary tables (in memory or on disk), which have been created by the query.
public BigDecimal getSumSelectFullJoin()
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.
public BigDecimal getSumSelectFullRangeJoin()
The total number of joins that use a full range search. This is the same as the select_full_range_join status variable.
public BigDecimal getSumSelectRange()
The total number of times the query has used a range search. This is the same as the select_range status variable.
public BigDecimal getSumSelectRangeCheck()
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.
public BigDecimal getSumSelectScan()
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.
public BigDecimal getSumSortMergePasses()
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.
public BigDecimal getSumSortRange()
The total number of times a sort was done using ranges. This is the same as the sort_range status variable.
public BigDecimal getSumSortRows()
The total number of rows sorted. This is the same as the sort_rowsStatus variable.
public BigDecimal getSumSortScan()
The total number of times a sort was done by scanning the table. This is the same as the sort_scan status variable.
public BigDecimal getSumNoIndexUsed()
The total number of times no index was used to execute the query.
public BigDecimal getSumNoGoodIndexUsed()
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.”
public Date getFirstSeen()
The date and time the query was first seen. If the table is truncated, the first seen value is reset.
public Date getLastSeen()
The date and time the query was last seen.
public BigDecimal getQuantile95()
The 95th percentile of the query latency. That is, 95% of the queries complete in the time given or in less time.
public BigDecimal getQuantile99()
The 99th percentile of the query latency.
public BigDecimal getQuantile999()
The 99.9th percentile of the query latency.
public BigDecimal getHeatWaveOffloaded()
The number of query executions offloaded to HeatWave.
public BigDecimal getHeatWaveOutOfMemory()
The number of query executions with HeatWave out-of-memory errors.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.