2026-03-12 20:23:15
This commit is contained in:
28
vg/controlfile_sections_size.sql
Normal file
28
vg/controlfile_sections_size.sql
Normal file
@@ -0,0 +1,28 @@
|
||||
@@header
|
||||
|
||||
/*
|
||||
*
|
||||
* Author : Vishal Gupta
|
||||
* Purpose : Display controlfile record sections
|
||||
* Parameters :
|
||||
*
|
||||
* Revision History:
|
||||
* ===================
|
||||
* Date Author Description
|
||||
* --------- ------------ -----------------------------------------
|
||||
* 22-Jul-16 Vishal Gupta Created
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
SELECT type
|
||||
, (record_size * records_total) TotalSize
|
||||
, (record_size * records_used) UsedSize
|
||||
, a.record_size
|
||||
, a.records_total
|
||||
, a.records_used
|
||||
FROM V$CONTROLFILE_RECORD_SECTION a
|
||||
order by type ;
|
||||
|
||||
|
||||
@@footer
|
||||
Reference in New Issue
Block a user