Query to Check Installed component in the oracle database?

Here are the two queries to find out the installed components in the oracle database. 

set pages 1000 lines 120 
col comp_name for a40 
1. select comp_name, version, status , modified from dba_registry; 
2. select parameter from v$option where value = 'TRUE' order by parameter; 

Purge AWR Snapshots Manually from Oracle Database

Query to find AWR snapshot retention period using below query.

SQL> select dbms_stats.get_stats_history_retention from dual;

GET_STATS_HISTORY_RETENTION
---------------------------
			 31

Labels

Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)
 

acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer