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 SummaryNested Classes Modifier and Type Class Description static classMySqlDataSummary.Builder
 - 
Constructor SummaryConstructors 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 SummaryAll 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- 
builderpublic static MySqlDataSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic MySqlDataSummary.Builder toBuilder() 
 - 
getSchemaNamepublic 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
 
 - 
getDigestpublic String getDigest() The digest information of the normalized query.- Returns:
- the value
 
 - 
getDigestTextpublic String getDigestText() The normalized query.- Returns:
- the value
 
 - 
getCountStarpublic BigDecimal getCountStar() The number Of times the query has been executed.- Returns:
- the value
 
 - 
getSumTimerWaitpublic BigDecimal getSumTimerWait() The total amount of time that has been spent executing the query.- Returns:
- the value
 
 - 
getMinTimerWaitpublic BigDecimal getMinTimerWait() The fastest the query has been executed.- Returns:
- the value
 
 - 
getAvgTimerWaitpublic BigDecimal getAvgTimerWait() The average execution time.- Returns:
- the value
 
 - 
getMaxTimerWaitpublic BigDecimal getMaxTimerWait() The slowest the query has been executed.- Returns:
- the value
 
 - 
getMaxControlledMemorypublic Long getMaxControlledMemory() The maximum amount of controlled memory used by a statement during execution.- Returns:
- the value
 
 - 
getMaxTotalMemorypublic Long getMaxTotalMemory() The maximum amount of memory used by a statement during execution.- Returns:
- the value
 
 - 
getSumCpuTimepublic Long getSumCpuTime() The total amount of time spent on CPU for this statement.- Returns:
- the value
 
 - 
getSumLockTimepublic BigDecimal getSumLockTime() The total amount of time that has been spent waiting for table locks.- Returns:
- the value
 
 - 
getSumErrorspublic BigDecimal getSumErrors() The total number of errors that have been encountered executing the query.- Returns:
- the value
 
 - 
getSumWarningspublic BigDecimal getSumWarnings() The total number of warnings that have been encountered executing the query.- Returns:
- the value
 
 - 
getSumRowsAffectedpublic BigDecimal getSumRowsAffected() The total number of rows that have been modified by the query.- Returns:
- the value
 
 - 
getSumRowsSentpublic BigDecimal getSumRowsSent() The total number of rows that have been returned (sent) to the client.- Returns:
- the value
 
 - 
getSumRowsExaminedpublic BigDecimal getSumRowsExamined() The total number of rows that have been examined by the query.- Returns:
- the value
 
 - 
getSumCreatedTempDiskTablespublic BigDecimal getSumCreatedTempDiskTables() The total number of On-Disk internal temporary tables that have been created by the query.- Returns:
- the value
 
 - 
getSumCreatedTempTablespublic BigDecimal getSumCreatedTempTables() The total number of internal temporary tables (in memory or on disk), which have been created by the query.- Returns:
- the value
 
 - 
getSumSelectFullJoinpublic 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
 
 - 
getSumSelectFullRangeJoinpublic 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
 
 - 
getSumSelectRangepublic 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
 
 - 
getSumSelectRangeCheckpublic 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
 
 - 
getSumSelectScanpublic 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
 
 - 
getSumSortMergePassespublic 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
 
 - 
getSumSortRangepublic 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
 
 - 
getSumSortRowspublic BigDecimal getSumSortRows() The total number of rows sorted.This is the same as the sort_rowsStatus variable. - Returns:
- the value
 
 - 
getSumSortScanpublic 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
 
 - 
getSumNoIndexUsedpublic BigDecimal getSumNoIndexUsed() The total number of times no index was used to execute the query.- Returns:
- the value
 
 - 
getSumNoGoodIndexUsedpublic 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
 
 - 
getFirstSeenpublic 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
 
 - 
getLastSeenpublic Date getLastSeen() The date and time the query was last seen.- Returns:
- the value
 
 - 
getQuantile95public 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
 
 - 
getQuantile99public BigDecimal getQuantile99() The 99th percentile of the query latency.- Returns:
- the value
 
 - 
getQuantile999public BigDecimal getQuantile999() The 99.9th percentile of the query latency.- Returns:
- the value
 
 - 
getHeatWaveOffloadedpublic BigDecimal getHeatWaveOffloaded() The number of query executions offloaded to HeatWave.- Returns:
- the value
 
 - 
getHeatWaveOutOfMemorypublic BigDecimal getHeatWaveOutOfMemory() The number of query executions with HeatWave out-of-memory errors.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-