Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

Enable Archive Log Mode In Oracle RAC

Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
  • User AvatarKiran Dalvi
  • 21 Jun, 2022
  • 0 Comments
  • 52 Secs Read

Enable Archive Log Mode In Oracle RAC

Enable Archive Log Mode In Oracle RAC

Follow below steps for enabling archive log mode in oracle RAC.
1. stop the database service.
1
srvctl stop database -d DBACLASS
2. start the database in mount state.
1
srvctl start database -d DBACLASS -o mount
3. enable archive log mode.
1
2
3
SQL> alter database archivelog;
 
Database altered.
4. Restart the database service (using srvctl)
1
2
3
srvctl stop database -d DBACLAS
 
srvctl start database -d DBACLAS
5. set the archive destination to a ASM DISK.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SQL> alter system set log_archive_dest_1='LOCATION=+ARCH/' scope=both sid='*';
System altered.
SQL> archive log list
 
Database log mode              Archive Mode
 
Automatic archival              Enabled
 
Archive destination            +ARCH
 
Oldest online log sequence  724
 
Next log sequence to archive   726
Current log sequence           726
SQL> alter system switch logfile;
System altered.
For disabling archive mode also  . steps are same
1
2
3
4
5
srvctl stop database -d DBACLASS
srvctl start database -d DBACLASS -o mount
alter database noarchivelog;
srvctl stop database -d DBACLASS
srvctl start database -d DBACLASS