Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlStats.Builder |
action(String action)
Contains the name of the action that was executing when the SQL statement was first
parsed, which is set by calling DBMS_APPLICATION_INFO.SET_ACTION
|
SqlStats.Builder |
applicationWaitTimeInUs(Long applicationWaitTimeInUs)
Application wait time (in microseconds)
|
SqlStats.Builder |
avgHardParseTimeInUs(Long avgHardParseTimeInUs)
Average hard parse time (in microseconds) used by this cursor
|
SqlStats.Builder |
avoidedExecutions(Long avoidedExecutions)
Number of executions attempted on this object, but prevented due to the SQL statement
being in quarantine
|
SqlStats.Builder |
bufferGets(Long bufferGets)
Number of Buffer Gets
|
SqlStats |
build() |
SqlStats.Builder |
childNumber(Long childNumber)
Number of this child cursor
|
SqlStats.Builder |
clusterWaitTimeInUs(Long clusterWaitTimeInUs)
Cluster wait time (in microseconds).
|
SqlStats.Builder |
commandType(Long commandType)
Oracle command type definition
|
SqlStats.Builder |
concurrencyWaitTimeInUs(Long concurrencyWaitTimeInUs)
Concurrency wait time (in microseconds)
|
SqlStats.Builder |
copy(SqlStats model) |
SqlStats.Builder |
cpuTimeInUs(Long cpuTimeInUs)
CPU time (in microseconds) used by this cursor for parsing, executing, and fetching
|
SqlStats.Builder |
deltaCpuRank(Long deltaCpuRank)
Rank based on CPU Consumption
|
SqlStats.Builder |
deltaCpuTime(Long deltaCpuTime)
CPU time (in microseconds) for the cursor since the last AWR snapshot
|
SqlStats.Builder |
deltaExecsRank(Long deltaExecsRank)
Rank based on number of execution
|
SqlStats.Builder |
deltaExecutionCount(Long deltaExecutionCount)
Number of executions for the cursor since the last AWR snapshot
|
SqlStats.Builder |
deltaIoBytes(Long deltaIoBytes)
Number of I/O bytes exchanged between the Oracle database and the storage system for the
cursor since the last AWR snapshot
|
SqlStats.Builder |
deltaIoRank(Long deltaIoRank)
Rank based on I/O Consumption
|
SqlStats.Builder |
directReads(Long directReads)
Number of direct reads
|
SqlStats.Builder |
directWrites(Long directWrites)
Number of Direct writes
|
SqlStats.Builder |
diskReads(Long diskReads)
Number of disk reads
|
SqlStats.Builder |
elapsedTimeInUs(Long elapsedTimeInUs)
Elapsed time (in microseconds) used by this cursor for parsing, executing, and fetching.
|
SqlStats.Builder |
endOfFetchCount(Long endOfFetchCount)
Number of times this cursor was fully executed since the cursor was brought into the
library cache
|
SqlStats.Builder |
exactMatchingSignature(String exactMatchingSignature)
exact_matching_signature Example:
"18067345456756876713" |
SqlStats.Builder |
executions(Long executions)
Number of executions
|
SqlStats.Builder |
fetches(Long fetches)
Number of fetches
|
SqlStats.Builder |
forceMatchingSignature(String forceMatchingSignature)
force_matching_signature Example:
"18067345456756876713" |
SqlStats.Builder |
fullPlanHashValue(String fullPlanHashValue)
Total Number of rows in SQLStats table
|
SqlStats.Builder |
harmonicSum(Long harmonicSum)
Harmonic sum based on ranking parameters
|
SqlStats.Builder |
instanceName(String instanceName)
Name of Database Instance Example:
"DB10902_1" |
SqlStats.Builder |
invalidations(Long invalidations)
Number of times this child cursor has been invalidated
|
SqlStats.Builder |
ioCellOffloadEligibleBytes(Long ioCellOffloadEligibleBytes)
Number of I/O bytes which can be filtered by the Exadata storage system
|
SqlStats.Builder |
ioCellOffloadReturnedBytes(Long ioCellOffloadReturnedBytes)
Number of bytes that are returned by Exadata cell through the regular I/O path
|
SqlStats.Builder |
ioCellUncompressedBytes(Long ioCellUncompressedBytes)
Number of uncompressed bytes (that is, size after decompression) that are offloaded to
the Exadata cells
|
SqlStats.Builder |
ioInterconnectBytes(Long ioInterconnectBytes)
Number of I/O bytes exchanged between Oracle Database and the storage system.
|
SqlStats.Builder |
javaExecTimeInUs(Long javaExecTimeInUs)
Java execution time (in microseconds)
|
SqlStats.Builder |
lastActiveTime(String lastActiveTime)
last_active_time Example:
"0000000099CCE300" |
SqlStats.Builder |
loads(Long loads)
Number of times the object was either loaded or reloaded
|
SqlStats.Builder |
module(String module)
Module name
|
SqlStats.Builder |
obsoleteCount(Long obsoleteCount)
Number of times that a parent cursor became obsolete
|
SqlStats.Builder |
optimizerCost(Long optimizerCost)
Cost of this query given by the optimizer
|
SqlStats.Builder |
parseCalls(Long parseCalls)
Total integer of parse calls Example:
60 |
SqlStats.Builder |
physicalReadBytes(Long physicalReadBytes)
Number of bytes read from disks by the monitored SQL
|
SqlStats.Builder |
physicalReadRequests(Long physicalReadRequests)
Number of physical read I/O requests issued by the monitored SQL.
|
SqlStats.Builder |
physicalWriteBytes(Long physicalWriteBytes)
Number of bytes written to disks by the monitored SQL
|
SqlStats.Builder |
physicalWriteRequests(Long physicalWriteRequests)
Number of physical write I/O requests issued by the monitored SQL
|
SqlStats.Builder |
planHashValue(Long planHashValue)
Plan hash value for the SQL Execution Plan
|
SqlStats.Builder |
plsqlExecTimeInUs(Long plsqlExecTimeInUs)
PL/SQL execution time (in microseconds)
|
SqlStats.Builder |
pxServersExecutions(Long pxServersExecutions)
Total number of executions performed by parallel execution servers (0 when the statement
has never been executed in parallel)
|
SqlStats.Builder |
rowsProcessed(Long rowsProcessed)
Number of row processed
|
SqlStats.Builder |
serializableAborts(Long serializableAborts)
Number of serializable aborts
|
SqlStats.Builder |
service(String service)
Service name
|
SqlStats.Builder |
sharableMem(Long sharableMem)
Total shared memory (in bytes) currently occupied by all cursors with this SQL text and
plan
|
SqlStats.Builder |
sharableMemRank(Long sharableMemRank)
Rank based on sharable memory
|
SqlStats.Builder |
sorts(Long sorts)
Number of sorts that were done for the child cursor
|
SqlStats.Builder |
sqlIdentifier(String sqlIdentifier)
Unique SQL_ID for a SQL Statement.
|
SqlStats.Builder |
sqlPatch(String sqlPatch)
SQL patch used for this statement, if any
|
SqlStats.Builder |
sqlPlanBaseline(String sqlPlanBaseline)
SQL plan baseline used for this statement, if any
|
SqlStats.Builder |
sqlProfile(String sqlProfile)
SQL profile used for this statement, if any
|
SqlStats.Builder |
timeCollected(Date timeCollected)
Collection timestamp Example:
"2020-03-31T00:00:00.000Z" |
SqlStats.Builder |
totalSharableMem(Long totalSharableMem)
Total shared memory (in bytes) occupied by all cursors with this SQL text and plan if
they were to be fully loaded in the shared pool (that is, cursor size)
|
SqlStats.Builder |
totalSqlCount(Long totalSqlCount)
Total number of rows in SQLStats table
|
SqlStats.Builder |
typeCheckMem(Long typeCheckMem)
Typecheck memory
|
SqlStats.Builder |
userIoWaitTimeInUs(Long userIoWaitTimeInUs)
User I/O wait time (in microseconds)
|
SqlStats.Builder |
usersExecuting(Long usersExecuting)
Number of users executing the statement
|
SqlStats.Builder |
usersOpening(Long usersOpening)
Number of users that have any of the child cursors open
|
SqlStats.Builder |
versionCount(Long versionCount)
Number of cursors present in the cache with this SQL text and plan
|
SqlStats.Builder |
wtHarmonicSum(Long wtHarmonicSum)
Weight based harmonic sum of ranking parameters
|
public SqlStats.Builder sqlIdentifier(String sqlIdentifier)
Unique SQL_ID for a SQL Statement.
sqlIdentifier
- the value to setpublic SqlStats.Builder planHashValue(Long planHashValue)
Plan hash value for the SQL Execution Plan
planHashValue
- the value to setpublic SqlStats.Builder timeCollected(Date timeCollected)
Collection timestamp Example: "2020-03-31T00:00:00.000Z"
timeCollected
- the value to setpublic SqlStats.Builder instanceName(String instanceName)
Name of Database Instance Example: "DB10902_1"
instanceName
- the value to setpublic SqlStats.Builder lastActiveTime(String lastActiveTime)
last_active_time Example: "0000000099CCE300"
lastActiveTime
- the value to setpublic SqlStats.Builder parseCalls(Long parseCalls)
Total integer of parse calls Example: 60
parseCalls
- the value to setpublic SqlStats.Builder diskReads(Long diskReads)
Number of disk reads
diskReads
- the value to setpublic SqlStats.Builder directReads(Long directReads)
Number of direct reads
directReads
- the value to setpublic SqlStats.Builder directWrites(Long directWrites)
Number of Direct writes
directWrites
- the value to setpublic SqlStats.Builder bufferGets(Long bufferGets)
Number of Buffer Gets
bufferGets
- the value to setpublic SqlStats.Builder rowsProcessed(Long rowsProcessed)
Number of row processed
rowsProcessed
- the value to setpublic SqlStats.Builder serializableAborts(Long serializableAborts)
Number of serializable aborts
serializableAborts
- the value to setpublic SqlStats.Builder fetches(Long fetches)
Number of fetches
fetches
- the value to setpublic SqlStats.Builder executions(Long executions)
Number of executions
executions
- the value to setpublic SqlStats.Builder avoidedExecutions(Long avoidedExecutions)
Number of executions attempted on this object, but prevented due to the SQL statement being in quarantine
avoidedExecutions
- the value to setpublic SqlStats.Builder endOfFetchCount(Long endOfFetchCount)
Number of times this cursor was fully executed since the cursor was brought into the library cache
endOfFetchCount
- the value to setpublic SqlStats.Builder loads(Long loads)
Number of times the object was either loaded or reloaded
loads
- the value to setpublic SqlStats.Builder versionCount(Long versionCount)
Number of cursors present in the cache with this SQL text and plan
versionCount
- the value to setpublic SqlStats.Builder invalidations(Long invalidations)
Number of times this child cursor has been invalidated
invalidations
- the value to setpublic SqlStats.Builder obsoleteCount(Long obsoleteCount)
Number of times that a parent cursor became obsolete
obsoleteCount
- the value to setpublic SqlStats.Builder pxServersExecutions(Long pxServersExecutions)
Total number of executions performed by parallel execution servers (0 when the statement has never been executed in parallel)
pxServersExecutions
- the value to setpublic SqlStats.Builder cpuTimeInUs(Long cpuTimeInUs)
CPU time (in microseconds) used by this cursor for parsing, executing, and fetching
cpuTimeInUs
- the value to setpublic SqlStats.Builder elapsedTimeInUs(Long elapsedTimeInUs)
Elapsed time (in microseconds) used by this cursor for parsing, executing, and fetching.
elapsedTimeInUs
- the value to setpublic SqlStats.Builder avgHardParseTimeInUs(Long avgHardParseTimeInUs)
Average hard parse time (in microseconds) used by this cursor
avgHardParseTimeInUs
- the value to setpublic SqlStats.Builder concurrencyWaitTimeInUs(Long concurrencyWaitTimeInUs)
Concurrency wait time (in microseconds)
concurrencyWaitTimeInUs
- the value to setpublic SqlStats.Builder applicationWaitTimeInUs(Long applicationWaitTimeInUs)
Application wait time (in microseconds)
applicationWaitTimeInUs
- the value to setpublic SqlStats.Builder clusterWaitTimeInUs(Long clusterWaitTimeInUs)
Cluster wait time (in microseconds). This value is specific to Oracle RAC
clusterWaitTimeInUs
- the value to setpublic SqlStats.Builder userIoWaitTimeInUs(Long userIoWaitTimeInUs)
User I/O wait time (in microseconds)
userIoWaitTimeInUs
- the value to setpublic SqlStats.Builder plsqlExecTimeInUs(Long plsqlExecTimeInUs)
PL/SQL execution time (in microseconds)
plsqlExecTimeInUs
- the value to setpublic SqlStats.Builder javaExecTimeInUs(Long javaExecTimeInUs)
Java execution time (in microseconds)
javaExecTimeInUs
- the value to setpublic SqlStats.Builder sorts(Long sorts)
Number of sorts that were done for the child cursor
sorts
- the value to setpublic SqlStats.Builder sharableMem(Long sharableMem)
Total shared memory (in bytes) currently occupied by all cursors with this SQL text and plan
sharableMem
- the value to setpublic SqlStats.Builder totalSharableMem(Long totalSharableMem)
Total shared memory (in bytes) occupied by all cursors with this SQL text and plan if they were to be fully loaded in the shared pool (that is, cursor size)
totalSharableMem
- the value to setpublic SqlStats.Builder typeCheckMem(Long typeCheckMem)
Typecheck memory
typeCheckMem
- the value to setpublic SqlStats.Builder ioCellOffloadEligibleBytes(Long ioCellOffloadEligibleBytes)
Number of I/O bytes which can be filtered by the Exadata storage system
ioCellOffloadEligibleBytes
- the value to setpublic SqlStats.Builder ioInterconnectBytes(Long ioInterconnectBytes)
Number of I/O bytes exchanged between Oracle Database and the storage system. Typically used for Cache Fusion or parallel queries
ioInterconnectBytes
- the value to setpublic SqlStats.Builder physicalReadRequests(Long physicalReadRequests)
Number of physical read I/O requests issued by the monitored SQL. The requests may not be disk reads
physicalReadRequests
- the value to setpublic SqlStats.Builder physicalReadBytes(Long physicalReadBytes)
Number of bytes read from disks by the monitored SQL
physicalReadBytes
- the value to setpublic SqlStats.Builder physicalWriteRequests(Long physicalWriteRequests)
Number of physical write I/O requests issued by the monitored SQL
physicalWriteRequests
- the value to setpublic SqlStats.Builder physicalWriteBytes(Long physicalWriteBytes)
Number of bytes written to disks by the monitored SQL
physicalWriteBytes
- the value to setpublic SqlStats.Builder exactMatchingSignature(String exactMatchingSignature)
exact_matching_signature Example: "18067345456756876713"
exactMatchingSignature
- the value to setpublic SqlStats.Builder forceMatchingSignature(String forceMatchingSignature)
force_matching_signature Example: "18067345456756876713"
forceMatchingSignature
- the value to setpublic SqlStats.Builder ioCellUncompressedBytes(Long ioCellUncompressedBytes)
Number of uncompressed bytes (that is, size after decompression) that are offloaded to the Exadata cells
ioCellUncompressedBytes
- the value to setpublic SqlStats.Builder ioCellOffloadReturnedBytes(Long ioCellOffloadReturnedBytes)
Number of bytes that are returned by Exadata cell through the regular I/O path
ioCellOffloadReturnedBytes
- the value to setpublic SqlStats.Builder childNumber(Long childNumber)
Number of this child cursor
childNumber
- the value to setpublic SqlStats.Builder commandType(Long commandType)
Oracle command type definition
commandType
- the value to setpublic SqlStats.Builder usersOpening(Long usersOpening)
Number of users that have any of the child cursors open
usersOpening
- the value to setpublic SqlStats.Builder usersExecuting(Long usersExecuting)
Number of users executing the statement
usersExecuting
- the value to setpublic SqlStats.Builder optimizerCost(Long optimizerCost)
Cost of this query given by the optimizer
optimizerCost
- the value to setpublic SqlStats.Builder fullPlanHashValue(String fullPlanHashValue)
Total Number of rows in SQLStats table
fullPlanHashValue
- the value to setpublic SqlStats.Builder module(String module)
Module name
module
- the value to setpublic SqlStats.Builder service(String service)
Service name
service
- the value to setpublic SqlStats.Builder action(String action)
Contains the name of the action that was executing when the SQL statement was first parsed, which is set by calling DBMS_APPLICATION_INFO.SET_ACTION
action
- the value to setpublic SqlStats.Builder sqlProfile(String sqlProfile)
SQL profile used for this statement, if any
sqlProfile
- the value to setpublic SqlStats.Builder sqlPatch(String sqlPatch)
SQL patch used for this statement, if any
sqlPatch
- the value to setpublic SqlStats.Builder sqlPlanBaseline(String sqlPlanBaseline)
SQL plan baseline used for this statement, if any
sqlPlanBaseline
- the value to setpublic SqlStats.Builder deltaExecutionCount(Long deltaExecutionCount)
Number of executions for the cursor since the last AWR snapshot
deltaExecutionCount
- the value to setpublic SqlStats.Builder deltaCpuTime(Long deltaCpuTime)
CPU time (in microseconds) for the cursor since the last AWR snapshot
deltaCpuTime
- the value to setpublic SqlStats.Builder deltaIoBytes(Long deltaIoBytes)
Number of I/O bytes exchanged between the Oracle database and the storage system for the cursor since the last AWR snapshot
deltaIoBytes
- the value to setpublic SqlStats.Builder deltaCpuRank(Long deltaCpuRank)
Rank based on CPU Consumption
deltaCpuRank
- the value to setpublic SqlStats.Builder deltaExecsRank(Long deltaExecsRank)
Rank based on number of execution
deltaExecsRank
- the value to setpublic SqlStats.Builder sharableMemRank(Long sharableMemRank)
Rank based on sharable memory
sharableMemRank
- the value to setpublic SqlStats.Builder deltaIoRank(Long deltaIoRank)
Rank based on I/O Consumption
deltaIoRank
- the value to setpublic SqlStats.Builder harmonicSum(Long harmonicSum)
Harmonic sum based on ranking parameters
harmonicSum
- the value to setpublic SqlStats.Builder wtHarmonicSum(Long wtHarmonicSum)
Weight based harmonic sum of ranking parameters
wtHarmonicSum
- the value to setpublic SqlStats.Builder totalSqlCount(Long totalSqlCount)
Total number of rows in SQLStats table
totalSqlCount
- the value to setpublic SqlStats build()
public SqlStats.Builder copy(SqlStats model)
Copyright © 2016–2024. All rights reserved.