Today we are going to have look on the most important topic “script”. Being human being we are using the script from the long time ago. Before the start, our technical topic has some look use in normal life. Definition A script is any particular system of writing or the written means of human communication. Script originated as simply a […]
Monthly Archives: May 2019
RMAN Image Copy And Compressed Backup
Let’s have look on the steps used for “RMAN Image Copy And Compressed Backup” Backing up Particular Datafile and System file: RMAN> run { allocate channel c1 type disk; copy datafile 1 to ‘D:\oracle\product\10.2.0\flash_recovery_area\DBA01\Image copy\SYSTEM01.DBF’, current controlfile to ‘D:\oracle\product\10.2.0\flash_recovery_area\DBA01\Image copy\CONTROL01.ctl’; } Backup Database: RMAN> backup as copy database; Compressed Backup: RMAN> backup as compressed backupset […]
Recover From Redo Log File (After Lost Data File))
Today we are going to have look on the steps which we are going to use in Oracle for ” Recover From Redo Log File (After Lost Data File)”. The loss is loss being DBA we well understand the cost of loss “CDR” Check archive list SQL> archive log list; Database log mode No Archive Mode […]
Change SYS password in Data Guard environment
Today we are going have look at changing the password of SYS in the Data Guard environment. Normally we have seen how to change the password of the normal user. That seems a game of kids, Now we must learn new things in Oracle RDBMS. Let’s have look at the steps we use to change […]
ORA-03297: file contains used data beyond requested RESIZE value
Today we are talking about the steps we use to solve the “error ORA-03297: file contains used data beyond requested RESIZE value” Let’s have look on the steps. QUERY 1 – datafile Allocated space, free space, High Water Mark location,%Free and resizeable MB select tablespace_name, file_id, file_name DATA_FILE_NAME, Allocated_MBYTES, High_Water_Mark_MBYTES, FREE_MBYTES, trunc((FREE_MBYTES/Allocated_MBYTES)*100,2) “% Free”, trunc(Allocated_MBYTES-High_Water_Mark_MBYTES,2) Resizeble from ( […]
ORA-00257: archiver error
Let’s have look at the post of error’s solving steps. ORA-00257: archiver error. Connect internal only, until freed Or ORA-16020: fewer destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST Symptoms: A user cannot connect to the database. SQL> conn user/password ORA-00257: archiver error. Connect internal only, until freed. SQL> archive log all; ORA-16020: fewer destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST […]
RMAN Incremental Backup
We are aware RMAN plays an important role in backup strategies Today we are going to have a look “RMAN Incremental Backup”. Let’s have look on the steps. Create table for testing purpose SQL> create table sat(id number) tablespace test; Table created. Create a incremental backup with tag option RMAN> run { allocate channel c1 type […]
RMAN-04006: error from auxiliary database: ORA-01017: invalid username/password; logon denied
As we are living the world of technology. Each and every second we can find that n number of user name and Password are created by the user. We as best DBA of the Globe. It is our ought too to maintain all credentials in the correct manner. Let’s have look on the steps to […]
RMAN Particular Datafile Backup
Let’s have look on the steps we use for “RMAN Particular Datafile Backup” Check the datafile SQL> select file_id,tablespace_name,file_name from dba_data_files; FILE_ID TABLESPACE_NAME FILE_NAME —————————————————————————————- 4 USERS D:\ORACLE\PRODUCT\10.2.0\ORADATA\DBA01\USERS01.DBF 3 SYSAUX D:\ORACLE\PRODUCT\10.2.0\ORADATA\DBA01\SYSAUX01.DBF 2 UNDOTBS1 D:\ORACLE\PRODUCT\10.2.0\ORADATA\DBA01\UNDOTBS01.DBF 1 SYSTEM D:\ORACLE\PRODUCT\10.2.0\ORADATA\DBA01\SYSTEM01.DBF 6 CHEC D:\ORACLE\PRODUCT\10.2.0\ORADATA\DBA01\CHECK01.DBF 5 TEST D:\ORACLE\PRODUCT\10.2.0\ORADATA\DBA01\TEST02.DBF 6 rows selected Create a dummy table and insert some records. SQL> […]
RMAN Recovery From Missing All Control File
Today we are going to have look on the steps are used for “RMAN Recovery From Missing All Control File”. Take a DBID SQL> select dbid from v$database; DBID ———- 847839442 Check the RMAN configuration RMAN> show all; using target database control file instead of recovery catalog RMAN configuration parameters are: CONFIGURE RETENTION POLICY TO […]