top of page
ALTER RESOURCE COST
{ { CPU_PER_SESSION
| CONNECT_TIME
| LOGICAL_READS_PER_SESSION
| PRIVATE_SGA
} integer
} ...
;
example
ALTER RESOURCE COST
CPU_PER_SESSION 100
CONNECT_TIME 1;
cost = (100 * CPU_PER_SESSION) + (1 * CONNECT_TIME)
ALTER RESOURCE COST
LOGICAL_READS_PER_SESSION 2
CONNECT_TIME 0;
cost = (100 * CPU_PER_SESSION) + (2 * LOGICAL_READ_PER_SECOND)
bottom of page