Class MySqlDataSummary


  • @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).
    • Method Detail

      • 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:
        toString in class com.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:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel