public static class SqlStatistics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlStatistics.Builder |
averageActiveSessions(Double averageActiveSessions)
Average Active Sessions represent the average active sessions at a point in time.
|
SqlStatistics |
build() |
SqlStatistics.Builder |
changeInAverageActiveSessionsInPct(Double changeInAverageActiveSessionsInPct)
Percent change in Average Active Sessions based on linear regression
|
SqlStatistics.Builder |
changeInCpuTimeInPct(Double changeInCpuTimeInPct)
Percent change in CPU Time based on linear regression
|
SqlStatistics.Builder |
changeInExecutionsPerHourInPct(Double changeInExecutionsPerHourInPct)
Percent change in Executions per hour based on linear regression
|
SqlStatistics.Builder |
changeInInefficiencyInPct(Double changeInInefficiencyInPct)
Percent change in Inefficiency based on linear regression
|
SqlStatistics.Builder |
changeInInefficientWaitTimeInPct(Double changeInInefficientWaitTimeInPct)
Percent change in Inefficient Wait Time based on linear regression
|
SqlStatistics.Builder |
changeInIoTimeInPct(Double changeInIoTimeInPct)
Percent change in IO Time based on linear regression
|
SqlStatistics.Builder |
changeInResponseTimeInPct(Double changeInResponseTimeInPct)
Percent change in Response Time based on linear regression
|
SqlStatistics.Builder |
copy(SqlStatistics model) |
SqlStatistics.Builder |
cpuTimeInSec(Double cpuTimeInSec)
CPU Time in seconds
|
SqlStatistics.Builder |
databaseTimeInSec(Double databaseTimeInSec)
Database Time in seconds
|
SqlStatistics.Builder |
databaseTimePct(Double databaseTimePct)
Percentage of Database Time
|
SqlStatistics.Builder |
executionsCount(Long executionsCount)
Total number of executions
|
SqlStatistics.Builder |
executionsPerHour(Double executionsPerHour)
Number of executions per hour
|
SqlStatistics.Builder |
inefficiencyInPct(Double inefficiencyInPct)
Percentage of Inefficiency.
|
SqlStatistics.Builder |
inefficientWaitTimeInSec(Double inefficientWaitTimeInSec)
Inefficient Wait Time in seconds
|
SqlStatistics.Builder |
ioTimeInSec(Double ioTimeInSec)
I/O Time in seconds
|
SqlStatistics.Builder |
planCount(Long planCount)
Number of SQL execution plans used by the SQL
|
SqlStatistics.Builder |
responseTimeInSec(Double responseTimeInSec)
Response time is the average elaspsed time per execution.
|
SqlStatistics.Builder |
variability(Double variability)
Variability is the ratio of the standard deviation in response time to the mean of
response time of the SQL
|
public SqlStatistics.Builder databaseTimeInSec(Double databaseTimeInSec)
Database Time in seconds
databaseTimeInSec
- the value to setpublic SqlStatistics.Builder executionsPerHour(Double executionsPerHour)
Number of executions per hour
executionsPerHour
- the value to setpublic SqlStatistics.Builder executionsCount(Long executionsCount)
Total number of executions
executionsCount
- the value to setpublic SqlStatistics.Builder cpuTimeInSec(Double cpuTimeInSec)
CPU Time in seconds
cpuTimeInSec
- the value to setpublic SqlStatistics.Builder ioTimeInSec(Double ioTimeInSec)
I/O Time in seconds
ioTimeInSec
- the value to setpublic SqlStatistics.Builder inefficientWaitTimeInSec(Double inefficientWaitTimeInSec)
Inefficient Wait Time in seconds
inefficientWaitTimeInSec
- the value to setpublic SqlStatistics.Builder responseTimeInSec(Double responseTimeInSec)
Response time is the average elaspsed time per execution. It is the ratio of Total Database Time to the number of executions
responseTimeInSec
- the value to setpublic SqlStatistics.Builder planCount(Long planCount)
Number of SQL execution plans used by the SQL
planCount
- the value to setpublic SqlStatistics.Builder variability(Double variability)
Variability is the ratio of the standard deviation in response time to the mean of response time of the SQL
variability
- the value to setpublic SqlStatistics.Builder averageActiveSessions(Double averageActiveSessions)
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.
averageActiveSessions
- the value to setpublic SqlStatistics.Builder databaseTimePct(Double databaseTimePct)
Percentage of Database Time
databaseTimePct
- the value to setpublic SqlStatistics.Builder inefficiencyInPct(Double inefficiencyInPct)
Percentage of Inefficiency. It is calculated by Total Database Time divided by Total Wait Time
inefficiencyInPct
- the value to setpublic SqlStatistics.Builder changeInCpuTimeInPct(Double changeInCpuTimeInPct)
Percent change in CPU Time based on linear regression
changeInCpuTimeInPct
- the value to setpublic SqlStatistics.Builder changeInIoTimeInPct(Double changeInIoTimeInPct)
Percent change in IO Time based on linear regression
changeInIoTimeInPct
- the value to setpublic SqlStatistics.Builder changeInInefficientWaitTimeInPct(Double changeInInefficientWaitTimeInPct)
Percent change in Inefficient Wait Time based on linear regression
changeInInefficientWaitTimeInPct
- the value to setpublic SqlStatistics.Builder changeInResponseTimeInPct(Double changeInResponseTimeInPct)
Percent change in Response Time based on linear regression
changeInResponseTimeInPct
- the value to setpublic SqlStatistics.Builder changeInAverageActiveSessionsInPct(Double changeInAverageActiveSessionsInPct)
Percent change in Average Active Sessions based on linear regression
changeInAverageActiveSessionsInPct
- the value to setpublic SqlStatistics.Builder changeInExecutionsPerHourInPct(Double changeInExecutionsPerHourInPct)
Percent change in Executions per hour based on linear regression
changeInExecutionsPerHourInPct
- the value to setpublic SqlStatistics.Builder changeInInefficiencyInPct(Double changeInInefficiencyInPct)
Percent change in Inefficiency based on linear regression
changeInInefficiencyInPct
- the value to setpublic SqlStatistics build()
public SqlStatistics.Builder copy(SqlStatistics model)
Copyright © 2016–2024. All rights reserved.