Professional Documents
Culture Documents
PDA Assignment4 IT16059214
PDA Assignment4 IT16059214
PDA Assignment4 IT16059214
Assignment 04
K.D.Samarasinghe
IT16059214
Contents
1 Create Database in non-archivelog mode ..................................................... 1
1.a Create a new database listener name LISTENER_TST and port 5122 ... 2
1.b Register the database created in assignment 3 with LISTENER_TST .... 4
1.c Add another control file to the database ................................................. 6
1.d Multiplex the redo log files in each redo log group ................................ 8
2 Convert the database into archived log mode ............................................... 11
2
1 Create Database in non-archivelog mode
In assignment 3, we created a database on non-archivelog mode
1
1.a Create a new database listener name LISTENER_TST and port 5122
netca
Then we need to select what we need to do with Listener. Since we haven’t created a listener , we
have to add a listener
2
Then we have to name the listner
3
1.b Register the database created in assignment 3 with LISTENER_TST
4
Then check if database is registered to the listener properly.
5
1.c Add another control file to the database
6
Copy one of existing control files to same location with name
7
1.d Multiplex the redo log files in each redo log group
8
Check for logfile members.
'/u01/app/oracle/oradata/KD_SAMARASINGHE/redo01a.log' to group 1,
'/u01/app/oracle/oradata/KD_SAMARASINGHE/redo02a.log' to group 2,
'/u01/app/oracle/oradata/KD_SAMARASINGHE/redo03a.log' to group 3
9
10
2 Convert the database into archived log mode
First we have to shutdown the database and mount it with startup mount
alter database archivelog will change the database archivelog mode and now the database is in
archivelog mode.
11