Class MySqlDataSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.MySqlDataSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class MySqlDataSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe SQL performance data record for a specific SQL query.
Note: Objects should always be created or deserialized using theMySqlDataSummary.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 theMySqlDataSummary.Builder, which maintain a set of all explicitly set fields calledMySqlDataSummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMySqlDataSummary.Builder
-
Constructor Summary
Constructors Constructor Description MySqlDataSummary(String schemaName, String digest, String digestText, BigDecimal countStar, BigDecimal sumTimerWait, BigDecimal minTimerWait, BigDecimal avgTimerWait, BigDecimal maxTimerWait, Long maxControlledMemory, Long maxTotalMemory, Long sumCpuTime, 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MySqlDataSummary.Builderbuilder()Create a new builder.booleanequals(Object o)BigDecimalgetAvgTimerWait()The average execution time.BigDecimalgetCountStar()The number Of times the query has been executed.StringgetDigest()The digest information of the normalized query.StringgetDigestText()The normalized query.DategetFirstSeen()The date and time the query was first seen.BigDecimalgetHeatWaveOffloaded()The number of query executions offloaded to HeatWave.BigDecimalgetHeatWaveOutOfMemory()The number of query executions with HeatWave out-of-memory errors.DategetLastSeen()The date and time the query was last seen.LonggetMaxControlledMemory()The maximum amount of controlled memory used by a statement during execution.BigDecimalgetMaxTimerWait()The slowest the query has been executed.LonggetMaxTotalMemory()The maximum amount of memory used by a statement during execution.BigDecimalgetMinTimerWait()The fastest the query has been executed.BigDecimalgetQuantile95()The 95th percentile of the query latency.BigDecimalgetQuantile99()The 99th percentile of the query latency.BigDecimalgetQuantile999()The 99.9th percentile of the query latency.StringgetSchemaName()The name of the default schema when executing the query.LonggetSumCpuTime()The total amount of time spent on CPU for this statement.BigDecimalgetSumCreatedTempDiskTables()The total number of On-Disk internal temporary tables that have been created by the query.BigDecimalgetSumCreatedTempTables()The total number of internal temporary tables (in memory or on disk), which have been created by the query.BigDecimalgetSumErrors()The total number of errors that have been encountered executing the query.BigDecimalgetSumLockTime()The total amount of time that has been spent waiting for table locks.BigDecimalgetSumNoGoodIndexUsed()The total number of times no good index was used.BigDecimalgetSumNoIndexUsed()The total number of times no index was used to execute the query.BigDecimalgetSumRowsAffected()The total number of rows that have been modified by the query.BigDecimalgetSumRowsExamined()The total number of rows that have been examined by the query.BigDecimalgetSumRowsSent()The total number of rows that have been returned (sent) to the client.BigDecimalgetSumSelectFullJoin()The total number of joins that have performed full table scans as there was no join condition or no index for the join condition.BigDecimalgetSumSelectFullRangeJoin()The total number of joins that use a full range search.BigDecimalgetSumSelectRange()The total number of times the query has used a range search.BigDecimalgetSumSelectRangeCheck()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.BigDecimalgetSumSelectScan()The total number of times the query has performed a full table scan on the first table in the join.BigDecimalgetSumSortMergePasses()The total number of sort merge passes that have been done to sort the result of the query.BigDecimalgetSumSortRange()The total number of times a sort was done using ranges.BigDecimalgetSumSortRows()The total number of rows sorted.BigDecimalgetSumSortScan()The total number of times a sort was done by scanning the table.BigDecimalgetSumTimerWait()The total amount of time that has been spent executing the query.BigDecimalgetSumWarnings()The total number of warnings that have been encountered executing the query.inthashCode()MySqlDataSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
MySqlDataSummary
@Deprecated @ConstructorProperties({"schemaName","digest","digestText","countStar","sumTimerWait","minTimerWait","avgTimerWait","maxTimerWait","maxControlledMemory","maxTotalMemory","sumCpuTime","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, Long maxControlledMemory, Long maxTotalMemory, Long sumCpuTime, 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.
-
-
Method Detail
-
builder
public static MySqlDataSummary.Builder builder()
Create a new builder.
-
toBuilder
public MySqlDataSummary.Builder toBuilder()
-
getSchemaName
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.
- Returns:
- the value
-
getDigest
public String getDigest()
The digest information of the normalized query.- Returns:
- the value
-
getDigestText
public String getDigestText()
The normalized query.- Returns:
- the value
-
getCountStar
public BigDecimal getCountStar()
The number Of times the query has been executed.- Returns:
- the value
-
getSumTimerWait
public BigDecimal getSumTimerWait()
The total amount of time that has been spent executing the query.- Returns:
- the value
-
getMinTimerWait
public BigDecimal getMinTimerWait()
The fastest the query has been executed.- Returns:
- the value
-
getAvgTimerWait
public BigDecimal getAvgTimerWait()
The average execution time.- Returns:
- the value
-
getMaxTimerWait
public BigDecimal getMaxTimerWait()
The slowest the query has been executed.- Returns:
- the value
-
getMaxControlledMemory
public Long getMaxControlledMemory()
The maximum amount of controlled memory used by a statement during execution.- Returns:
- the value
-
getMaxTotalMemory
public Long getMaxTotalMemory()
The maximum amount of memory used by a statement during execution.- Returns:
- the value
-
getSumCpuTime
public Long getSumCpuTime()
The total amount of time spent on CPU for this statement.- Returns:
- the value
-
getSumLockTime
public BigDecimal getSumLockTime()
The total amount of time that has been spent waiting for table locks.- Returns:
- the value
-
getSumErrors
public BigDecimal getSumErrors()
The total number of errors that have been encountered executing the query.- Returns:
- the value
-
getSumWarnings
public BigDecimal getSumWarnings()
The total number of warnings that have been encountered executing the query.- Returns:
- the value
-
getSumRowsAffected
public BigDecimal getSumRowsAffected()
The total number of rows that have been modified by the query.- Returns:
- the value
-
getSumRowsSent
public BigDecimal getSumRowsSent()
The total number of rows that have been returned (sent) to the client.- Returns:
- the value
-
getSumRowsExamined
public BigDecimal getSumRowsExamined()
The total number of rows that have been examined by the query.- Returns:
- the value
-
getSumCreatedTempDiskTables
public BigDecimal getSumCreatedTempDiskTables()
The total number of On-Disk internal temporary tables that have been created by the query.- Returns:
- the value
-
getSumCreatedTempTables
public BigDecimal getSumCreatedTempTables()
The total number of internal temporary tables (in memory or on disk), which have been created by the query.- Returns:
- the value
-
getSumSelectFullJoin
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.
- Returns:
- the value
-
getSumSelectFullRangeJoin
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.
- Returns:
- the value
-
getSumSelectRange
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.
- Returns:
- the value
-
getSumSelectRangeCheck
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.
- Returns:
- the value
-
getSumSelectScan
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.
- Returns:
- the value
-
getSumSortMergePasses
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.
- Returns:
- the value
-
getSumSortRange
public BigDecimal getSumSortRange()
The total number of times a sort was done using ranges.This is the same as the sort_range status variable.
- Returns:
- the value
-
getSumSortRows
public BigDecimal getSumSortRows()
The total number of rows sorted.This is the same as the sort_rowsStatus variable.
- Returns:
- the value
-
getSumSortScan
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.
- Returns:
- the value
-
getSumNoIndexUsed
public BigDecimal getSumNoIndexUsed()
The total number of times no index was used to execute the query.- Returns:
- the value
-
getSumNoGoodIndexUsed
public BigDecimal getSumNoGoodIndexUsed()
The total number of times no good index was used.This means that the extra column in The EXPLAIN output includes \u201cRange Checked For Each Record.\u201d
- Returns:
- the value
-
getFirstSeen
public Date getFirstSeen()
The date and time the query was first seen.If the table is truncated, the first seen value is reset.
- Returns:
- the value
-
getLastSeen
public Date getLastSeen()
The date and time the query was last seen.- Returns:
- the value
-
getQuantile95
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.
- Returns:
- the value
-
getQuantile99
public BigDecimal getQuantile99()
The 99th percentile of the query latency.- Returns:
- the value
-
getQuantile999
public BigDecimal getQuantile999()
The 99.9th percentile of the query latency.- Returns:
- the value
-
getHeatWaveOffloaded
public BigDecimal getHeatWaveOffloaded()
The number of query executions offloaded to HeatWave.- Returns:
- the value
-
getHeatWaveOutOfMemory
public BigDecimal getHeatWaveOutOfMemory()
The number of query executions with HeatWave out-of-memory errors.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-