Friday, September 20, 2013
Oracle Applications Scripts
Description,Explanation, Execution and Sample Output | Download Script |
---|---|
Oracle Application Products Version | product_status.sql |
Applications Relese/Version | release.sql |
Patch applied or not? | patch.sql |
Locks/Blocking Session Scripts
Description,Explanation, Execution and Sample Output | Download Script |
---|---|
Finding Blocking sessions | locks.sql |
Objects currently Locked | locked_obj.sql |
User Management Scripts
Description,Explanation, Execution and Sample Output | Download Script |
---|---|
Privilege associated with a User | user_privs.sql |
Session Management Scripts
Description,Explanation, Execution and Sample Output | Download Script |
---|---|
Sql text running that is running by a Session with an SID | sql_text.sql |
Session information from Process ID | pid.sql |
Sessions currently connected to Database | sess_runnig.sql |
Session information from Session ID (SID) | sid.sql |
Database Info Scripts
Description,Explanation, Execution and Sample Output | Download Script |
---|---|
Database Information | db.sql |
Check invalid objects | invalids.sql |
Particular Table Size | tab_size.sql |
Dataguard/Standby Info Scripts
Description,Explanation, Execution and Sample Output | Download Script |
---|---|
Sync status query to be used on Standby Database | sync_stdby.sql |
Sync status query to be used on Primary Database | sync.sql |
Tablespace/Datafiles Scripts
Description,Explanation, Execution and Sample Output | Download Script |
---|---|
Tablespaces Information | tsinfo.sql |
Tablespace Free Space | ts_free.sql |
RMAN Info Scripts
Description,Explanation, Execution and Sample Output | Download Script |
---|---|
RMAN Progress Sofar | rman_sofar.sql |
RMAN backup information | rman_bkp.sql |
RMAN Backup Status | rman_status.sql |
Concurrent Request Scripts
Actual Objects Size in DB
Description | Actual size occupied by objects |
Download Script | db_obj_size.sql |
Date | 20-Sep-2013 |
- LOBINDEX
- INDEX PARTITION
- TABLE SUBPARTITION
- ROLLBACK
- TABLE PARTITION
- NESTED TABLE
- LOB PARTITION
- INDEX SUBPARTITION
- CACHE
- LOBSEGMENT
- INDEX
- TABLE
- TYPE2 UNDO
- CLUSTER
- LOB SUBPARTITION
SELECT sum(bytes)/1024/1024 "Used in MB" FROM dba_segments /
Size occupied by each type of object
select unique segment_type,sum(bytes)/1024/1024 from dba_segments group by segment_type /select unique segment_type,sum(bytes)/1024/1024 "Size in MB"from dba_segments group by segment_type /
Sample Execution and Output |
---|
SQL> SELECT sum(bytes)/1024/1024 "Size in MB" FROM dba_segments / Size in MB ---------- 435925.375 SQL> select unique segment_type,sum(bytes)/1024/1024 "Size in MB"from dba_segments group by segment_type / SEGMENT_TYPE Size in MB ------------------ -------------------- LOBINDEX 1513.6875 INDEX PARTITION 24582.5625 TABLE SUBPARTITION 136 ROLLBACK .375 TABLE PARTITION 24811.8125 NESTED TABLE 4.375 LOB PARTITION 12.5625 INDEX SUBPARTITION 83 CACHE .0625 LOBSEGMENT 56456.3125 INDEX 136582.688 TABLE 186685 TYPE2 UNDO 4482.5625 CLUSTER 310.375 LOB SUBPARTITION 269 15 rows selected.
Subscribe to:
Posts (Atom)
NLS boot file not found or invalid opmnctl ping – EBS 12.2 ADCFGCLONE FAIL
Error: adcfgclone.pl failed while performing clone of EBS 12.2 instance. This occurred while ohsT2PApply is in progress. INST_TOP/adm...
-
I got a task to estimate RMAN backup size. How much 3days RMAN backup occupy? How long it will take to complete? Is the backup siz...
-
I got the below issue while Cloning ORACLE HOME from source to target. I have copied the binaries from source and initiated adcfclone. It ...
-
We have received an alert in the morning that the Primary Database is out of Sync. Primary and Standby are with difference of 9 archives. ...