Package com.oracle.bmc.opsi.model
Class SqlStatistics
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.opsi.model.SqlStatistics
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class SqlStatistics extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelPerformance statistics for the SQL.
 Note: Objects should always be created or deserialized using theSqlStatistics.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 theSqlStatistics.Builder, which maintain a set of all explicitly set fields calledSqlStatistics.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 classSqlStatistics.Builder
 - 
Constructor SummaryConstructors Constructor Description SqlStatistics(Double databaseTimeInSec, Double executionsPerHour, Long executionsCount, Double cpuTimeInSec, Double ioTimeInSec, Double inefficientWaitTimeInSec, Double responseTimeInSec, Long planCount, Double variability, Double averageActiveSessions, Double databaseTimePct, Double inefficiencyInPct, Double changeInCpuTimeInPct, Double changeInIoTimeInPct, Double changeInInefficientWaitTimeInPct, Double changeInResponseTimeInPct, Double changeInAverageActiveSessionsInPct, Double changeInExecutionsPerHourInPct, Double changeInInefficiencyInPct)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlStatistics.Builderbuilder()Create a new builder.booleanequals(Object o)DoublegetAverageActiveSessions()Average Active Sessions represent the average active sessions at a point in time.DoublegetChangeInAverageActiveSessionsInPct()Percent change in Average Active Sessions based on linear regressionDoublegetChangeInCpuTimeInPct()Percent change in CPU Time based on linear regressionDoublegetChangeInExecutionsPerHourInPct()Percent change in Executions per hour based on linear regressionDoublegetChangeInInefficiencyInPct()Percent change in Inefficiency based on linear regressionDoublegetChangeInInefficientWaitTimeInPct()Percent change in Inefficient Wait Time based on linear regressionDoublegetChangeInIoTimeInPct()Percent change in IO Time based on linear regressionDoublegetChangeInResponseTimeInPct()Percent change in Response Time based on linear regressionDoublegetCpuTimeInSec()CPU Time in secondsDoublegetDatabaseTimeInSec()Database Time in secondsDoublegetDatabaseTimePct()Percentage of Database TimeLonggetExecutionsCount()Total number of executionsDoublegetExecutionsPerHour()Number of executions per hourDoublegetInefficiencyInPct()Percentage of Inefficiency.DoublegetInefficientWaitTimeInSec()Inefficient Wait Time in secondsDoublegetIoTimeInSec()I/O Time in secondsLonggetPlanCount()Number of SQL execution plans used by the SQLDoublegetResponseTimeInSec()Response time is the average elaspsed time per execution.DoublegetVariability()Variability is the ratio of the standard deviation in response time to the mean of response time of the SQLinthashCode()SqlStatistics.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
SqlStatistics@Deprecated @ConstructorProperties({"databaseTimeInSec","executionsPerHour","executionsCount","cpuTimeInSec","ioTimeInSec","inefficientWaitTimeInSec","responseTimeInSec","planCount","variability","averageActiveSessions","databaseTimePct","inefficiencyInPct","changeInCpuTimeInPct","changeInIoTimeInPct","changeInInefficientWaitTimeInPct","changeInResponseTimeInPct","changeInAverageActiveSessionsInPct","changeInExecutionsPerHourInPct","changeInInefficiencyInPct"}) public SqlStatistics(Double databaseTimeInSec, Double executionsPerHour, Long executionsCount, Double cpuTimeInSec, Double ioTimeInSec, Double inefficientWaitTimeInSec, Double responseTimeInSec, Long planCount, Double variability, Double averageActiveSessions, Double databaseTimePct, Double inefficiencyInPct, Double changeInCpuTimeInPct, Double changeInIoTimeInPct, Double changeInInefficientWaitTimeInPct, Double changeInResponseTimeInPct, Double changeInAverageActiveSessionsInPct, Double changeInExecutionsPerHourInPct, Double changeInInefficiencyInPct) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static SqlStatistics.Builder builder() Create a new builder.
 - 
toBuilderpublic SqlStatistics.Builder toBuilder() 
 - 
getDatabaseTimeInSecpublic Double getDatabaseTimeInSec() Database Time in seconds- Returns:
- the value
 
 - 
getExecutionsPerHourpublic Double getExecutionsPerHour() Number of executions per hour- Returns:
- the value
 
 - 
getExecutionsCountpublic Long getExecutionsCount() Total number of executions- Returns:
- the value
 
 - 
getCpuTimeInSecpublic Double getCpuTimeInSec() CPU Time in seconds- Returns:
- the value
 
 - 
getIoTimeInSecpublic Double getIoTimeInSec() I/O Time in seconds- Returns:
- the value
 
 - 
getInefficientWaitTimeInSecpublic Double getInefficientWaitTimeInSec() Inefficient Wait Time in seconds- Returns:
- the value
 
 - 
getResponseTimeInSecpublic Double getResponseTimeInSec() Response time is the average elaspsed time per execution.It is the ratio of Total Database Time to the number of executions - Returns:
- the value
 
 - 
getPlanCountpublic Long getPlanCount() Number of SQL execution plans used by the SQL- Returns:
- the value
 
 - 
getVariabilitypublic Double getVariability() Variability is the ratio of the standard deviation in response time to the mean of response time of the SQL- Returns:
- the value
 
 - 
getAverageActiveSessionspublic Double getAverageActiveSessions() Average Active Sessions represent the average active sessions at a point in time.It is the number of sessions that are either working or waiting. - Returns:
- the value
 
 - 
getDatabaseTimePctpublic Double getDatabaseTimePct() Percentage of Database Time- Returns:
- the value
 
 - 
getInefficiencyInPctpublic Double getInefficiencyInPct() Percentage of Inefficiency.It is calculated by Total Database Time divided by Total Wait Time - Returns:
- the value
 
 - 
getChangeInCpuTimeInPctpublic Double getChangeInCpuTimeInPct() Percent change in CPU Time based on linear regression- Returns:
- the value
 
 - 
getChangeInIoTimeInPctpublic Double getChangeInIoTimeInPct() Percent change in IO Time based on linear regression- Returns:
- the value
 
 - 
getChangeInInefficientWaitTimeInPctpublic Double getChangeInInefficientWaitTimeInPct() Percent change in Inefficient Wait Time based on linear regression- Returns:
- the value
 
 - 
getChangeInResponseTimeInPctpublic Double getChangeInResponseTimeInPct() Percent change in Response Time based on linear regression- Returns:
- the value
 
 - 
getChangeInAverageActiveSessionsInPctpublic Double getChangeInAverageActiveSessionsInPct() Percent change in Average Active Sessions based on linear regression- Returns:
- the value
 
 - 
getChangeInExecutionsPerHourInPctpublic Double getChangeInExecutionsPerHourInPct() Percent change in Executions per hour based on linear regression- Returns:
- the value
 
 - 
getChangeInInefficiencyInPctpublic Double getChangeInInefficiencyInPct() Percent change in Inefficiency based on linear regression- 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
 
 
- 
 
-