-
Recent Posts
Recent Comments
Archives
Categories
Meta
Monthly Archives: February 2017
Import Data Pump performance problem
The import with DataPump of tables into an Oracle11g Release 11.2.0.4 database takes almost 45 minutes, while the same import into Oracle10g Release 10.2.0.4 only take 2 minutes. The slow Import Data Pump performance problem might also reproduce in other … Continue reading
How to Handle RMAN – 06023
Part of my daily tasks is to perform RMAN backup and recovery scenarios in my test environment , to be familiar with every possible situation that can happen. During performing this task I have an error Rman-06023 I have backup … Continue reading
Daily Activities of Oracle Database Administrator
Daily Work of DBA: Check the Database Availability Check the Listener Availability Monitoring space Availability Viewing the Alert log file to analyze the ORA errors if any. Check tablespaces should not be used more that 95%. Viewing the temporary files, … Continue reading
Posted in ORACLE
Leave a comment
Deleting the Archive log Using RMAN
Once you are connected, then you can use the following to delete archivelogs with one of the following commands. You can choose the commands depending on your situation. To delete all Archivelogs withou backing them up: delete archivelog all; To … Continue reading
RMAN Delete old archivelogs
delete force noprompt archivelog all completed before ‘sysdate-7′; If you want to delete archive logs older than few hours: Verify the time like how many hours older than you want to delete. SQL> alter session set nls_date_format=’MM/DD/YYYY HH24:MI:SS’; Session altered. … Continue reading
Oracle Rman Delete archivelog file older than N-day
rman target / run{ allocate channel D1 type disk; delete noprompt archivelog until time ‘SYSDATE-<N>‘; release channel D1; } ; Example 2 day run{ allocate channel D1 type disk; delete noprompt archivelog until time ‘SYSDATE-2’; release channel D1; } ;