性能相關內容
column opname format a
column progress format a
SELECT Username
Round(Sofar *
Sql_Text
FROM V$session_Longops
WHERE Time_Remaining <>
AND Sql_Address = Address
AND Sql_Hash_Value = Hash_Value;
FROM V$sql s
WHERE s
AND s
AND s
FROM V$session Sess
WHERE Sess
AND Sort
AND Sort
AND Sort
alter index &index_name nomonitoring usage;
select * from v$object_usage where index_name = &index_name;
Writetim
FROM V$filestat Fs
WHERE Fs
ORDER BY Df
select * from v$transaction;
V$rollstat
V$rollstat
V$rollstat
FROM V$rollstat
WHERE V$rollname
AND V$rollstat
ORDER BY Rownum
Decode(NAME
FROM V$sysstat
WHERE NAME IN (
AND VALUE >
Round(
FROM V$sysstat a
WHERE a
AND b
AND c
SELECT NAME
(
FROM V$buffer_Pool_Statistics;
MAX(b
Greatest(MAX(b
(SUM(a
((SUM(a
FROM V$sgastat a
WHERE (a
AND b
SELECT Username
FROM Sys
WHERE a
GROUP BY Username;
Pins
FROM V$db_Object_Cache
WHERE TYPE NOT IN
(
AND Executions >
AND Loads >
AND Kept =
ORDER BY Owner
SELECT TYPE
FROM V$db_Object_Cache
GROUP BY TYPE;
Pinhitratio *
FROM V$librarycache
COUNT(b
(COUNT(UNIQUE(b
FROM Dba_Users a
WHERE a
GROUP BY a
FROM V$rowcache;
d
FROM V$rollname n
WHERE d
AND d
FROM (SELECT Test
FROM (SELECT b
To_Char(b
a
To_Char(a
Round(((a
FROM V$log_History a
WHERE a
AND b
ORDER BY a
WHERE y
FROM V$rollname a
WHERE a
AND b
AND c
AND c
AND c
ORDER BY a
FROM V$mystat m
WHERE m
AND s
FROM V$bh b
WHERE b
GROUP BY o
HAVING COUNT(b
FROM V$parameter
WHERE NAME =
SELECT o
COUNT(b
FROM V$bh b
WHERE b
AND o
GROUP BY o
FROM X$kcccp Cp
WHERE Le
s
o
FROM V$session_Wait w
WHERE w
FROM V$event_Name
WHERE Parameter
AND Parameter
AND NAME NOT LIKE
AND o
AND w
AND w
AND w
AND w
FROM V$mystat
WHERE V$mystat
AND V$statname
set termout off
SELECT p
FROM Sys
WHERE b
AND p
SET Termout ON Oradebug Wakeup &Smon Undefine Smon
FROM V$sysstat a
WHERE a
AND b
FROM V$sgastat
WHERE NAME =
SELECT a
FROM V$statname a
WHERE a
GROUP BY a
查看一下誰在使用那個可以得回滾段
找出領回滾段不斷增長的事務
就看看能否kill它
SELECT r
p
FROM V$lock l
WHERE l
AND s
AND Trunc(l
AND l
AND l
ORDER BY r
FROM V$session s
WHERE s
AND t
AND r
SELECT Decode(Greatest(CLASS
Decode(CLASS
SUM(Decode(Bitand(Flag
SUM(Decode(Bitand(Flag
SUM(Dirty_Queue)
FROM X$bh
GROUP BY Decode(Greatest(CLASS
Decode(CLASS
From:http://tw.wingwit.com/Article/program/Oracle/201311/17840.html