728x90
SELECT inst_id,
tablespace_name,
segment_file,
Round(( total_blocks * 8 ) / 1024 / 1024, 2) TOTAL_GB,
Round(( used_blocks * 8 ) / 1024 / 1024, 2) USED_GB,
Round(( free_blocks * 8 ) / 1024 / 1024, 2) FREE_GB,
Round(( max_blocks * 8 ) / 1024 / 1024, 2) MAX_GB,
free_requests,
freed_extents
FROM gv$sort_segment
ORDER BY tablespace_name,
inst_id;
------------------------------------------------------------------------------------------
SELECT inst_id,
tablespace_name,
segment_file,
Round(( total_blocks * 8 ) / 1024 , 2) TOTAL_MB,
Round(( used_blocks * 8 ) / 1024 , 2) USED_MB,
Round(( free_blocks * 8 ) / 1024 , 2) FREE_MB,
Round(( max_blocks * 8 ) / 1024 , 2) MAX_MB,
free_requests,
freed_extents
FROM gv$sort_segment
ORDER BY tablespace_name,
inst_id;
'DATABASE > ORACLE' 카테고리의 다른 글
SYS 계정 선별 sql (0) | 2024.05.30 |
---|---|
temp tablespace 알림 (0) | 2024.05.30 |
system 계정 비밀번호에 특수기호가 있을경우 (0) | 2024.05.30 |
RAC 개요 (0) | 2024.05.10 |
TABLESPACE 추가 방법 (0) | 2024.05.10 |
댓글