RMAN Backup With Archivelog
This post is about how to take RMAN Backup With ArchivelogRMAN> run { allocate channel c1 type disk; backup database; backup(archivelog all); }RMAN> backup archivelog all delete input;Note: This...
View ArticleDelete applied archivelog script
We need to delete archivelogs which are applied on standby servers. Following script will do the job for you. vi /home/oracle/crons/remove_applied_archivelog.sh #!/bin/ksh # # # Remove applied...
View ArticleHow to Purge Listener Log in Oracle
Being DBA we all are aware that Oracle Database makes a connection with a client with the help of listener. Oracle provides the facility to have look over the status of Oracle listen. Being a part of...
View ArticleMAXDATAFILES and other files in Oracle
This Post is about the trick by which we can use to monitor the CRDs of Oracle Database. Monitoring is the most important and common task in RDBMS. Without monitoring CDR Let’s have look on the query...
View ArticleHow to Flush Single SQL Plan out of Shared Pool in Oracle
Todays let ‘s have look at the query which we use to resolve this issue ” How to Flush Single SQL Plan out of Shared Pool”. Find the address and the hash valueSQL> select ADDRESS, HASH_VALUE...
View ArticleProgress status of index rebuild in Oracle
The game never ends after the creation of anything. It starts when it comes to the phase of maintenance. Today we are going to have look on the query which is used to look “Progress status of index...
View ArticleFind users with DBA privilege in Oracle
Being Oracle DBA we are aware that Oracle provides lots of views and parameters which helps DBA a lot to maintain the database. In this article, we are going to know about the user’s privilege. We may...
View ArticleSchedule rman backup in windows
We are going to learn about the steps which we will use for schedule rman backup in windows. Most probably Organisations use Linux and Unix OS as per there requirements but sometimes as per company’s...
View ArticleHOW TO CONVERT SCN TO DATE AND DATE INTO SCN
Being DBA, we all are well aware SCN. We all known about it’s important. SCN is the most important element of Oracle Database. It helps DBA in the Recovery Database. Database SCN number some time...
View ArticleHow to Check/Validate That RMAN Backups Are Good
From today’s post, I am going to remind you all about those colleges day when we used to learn about the validation in programming languages. In daily life are aware of validation. In the database...
View ArticleHow to find database growth on a Monthly wise
Today we are going to have look at the Database growth. With the help of the given query. DBA can find the monthly growth of there database. Sometimes little information is too much useful. select...
View ArticleHigh Water Mark USAGE
Before start this article we must know about “HWM” . After did lots of R&D i found the technical definition Explanation in Detail: (http://www.dba-oracle.com/t_high_water_mark.html) . The high...
View ArticleCheck os processid of your session from sql prompt.
To check os processid of oracle session , we can check v$process view. SPID column of v$process view shows os processid. We can use following query to check processid, status for specific user.select...
View ArticleFind corrupted objects in Oracle using sql query
Find corrupted objects in Oracle using sql query : When you find block corruption in your database use validate database or validate check logical database command of RMAN, it will populate...
View Articlecheck os process id of your session from sql prompt.
Check os process id of your session from sql prompt. select p.spid, s.username, s.status, s.server, to_char(s.logon_time,'DD-MON-YY HH24:MI') from v$process p, v$session s where p.addr = s.paddr and...
View ArticleHOW TO CONVERT SCN TO DATE AND DATE INTO SCN
SQL>select current_scn from v$database; 7705798324 SQL> select timestamp_to_scn(to_timestamp('24/09/2012 14:24:54','DD/MM/YYYY HH24:MI:SS')) as scn from dual; SCN ---------- 7705798324 SQL>...
View ArticleExport backup with date and time
Data Pump Export (hereinafter referred to as Export for ease of reading) is a utility for unloading data and metadata into a set of operating system files called a dump file set. The dump file set can...
View ArticleUnified Audit Trail In Oracle 12c
This post is about Unified Audit Trail In Oracle 12c . Few starting lines give the overview of ” Unified Audit Trail ” . With Oracle 12c, unified auditing has been introduced. It consolidates all...
View ArticleFINDING SCHEMA SIZE FOR A ORACLE DATABASE
SQL> BREAK ON REPORT SQL> COMPUTE SUM LABEL TOTAL OF "Size of Each Segment in MB" ON REPORT SQL> select segment_type, sum(bytes/1024/1024) "Size of Each Segment in MB" from dba_segments where...
View ArticleHow to check hidden parameter in Oracle
Check hidden parameter in Oracleset lines 200 col name for a50 col value for a40 select ksppinm name , ksppstvl value from x$ksppi a, x$ksppsv b where a.indx=b.indx and substr(ksppinm,1,1) = '_'; The...
View Article