OS환경 : Oracle Linux 7.6 (64bit)
DB 환경 : Oracle Database 19.10.0.0
방법 : 오라클 19c v$로 시작하는 뷰 원본 쿼리 확인
v$fixed_view_definition 뷰를 이용해 확인 가능
1
2
3
4
5
6
7
8
9
10
|
SQL> select view_definition
2 from v$fixed_view_definition
3 where view_name = 'GV$WAITSTAT';
VIEW_DEFINITION
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
select inst_id,decode(indx,1,'data block',2,'sort block',3,'save undo block', 4,'segment header',5,'save undo header',6,'free list',7,'extent map', 8,'1st level bmb',9,'2nd level bmb',10,'3rd level bm
b', 11,'bitmap block',12,'bitmap index block',13,'file header block',14,'unused', 15,'system undo header',16,'system undo block', 17,'undo header',18,'undo block'), count,time from x$kcbwait where ind
x!=0
|
참조 : https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-FIXED_VIEW_DEFINITION.html
'ORACLE > Sql' 카테고리의 다른 글
lscp.sql 로그스위치 5회 체크포인트 5회 (0) | 2023.09.24 |
---|---|
오라클 19c 기간별 세션 현황 확인 쿼리 (0) | 2023.07.29 |
오라클 19c log file sync 발생 시 정보 수집 쿼리 (2) | 2023.03.06 |
오라클 19c 일별, 시간별 아카이브 갯수 및 용량 확인 (2) | 2022.08.08 |
오라클 19c undo 상세 정보 html 로 확인 쿼리 (0) | 2022.06.28 |