Some steps in this procedure only apply if your database is an Oracle Real Application Cluster (RAC). These are marked “RAC only”.
You can use BR*Tools for Oracle to alter the database instance as follows:
Switch the redo log file
Force a database checkpoint
Set archivelog mode
Set noarchivelog mode
This section describes how you alter the database instance.
Altering the database instance is part of Instance Management with BR*Tools.
For more information on the approach to database instance management, see Instance Management.
Start the procedure using BRGUI or BRTOOLS, or from the command line:
BRGUI or BRTOOLS:
Choose
BRGUI or BRTOOLS displays the menu BRSPACE options for alter database instance, where you specify the options with which you call BRSPACE.
Set the required options:
Menu Entry |
Equivalent BRSPACE Command Option |
---|---|
BRSPACE profile (profile) |
|
Database user/password (user) |
|
Alter database action (action) |
|
Database instance (instance) |
|
Confirmation mode (confirm) |
|
Message language (language) |
|
BRSPACE command line (command) |
This shows you the BRSPACE -f dbalter command that is to be executed using the current settings. |
Choose Continue.
BRGUI or BRTOOLS prompts you to start BRSPACE.
Choose Continue to start BRSPACE.
Command line:
Enter at least the following command:
brspace -f dbalter
You can enter more parameters, including the instance name and action, if required. For more information, see BRSPACE -f dbalter.
Whichever way you start the procedure - with BRGUI or BRTOOLS, or from the command line - you can use quick mode if you know the object name, in this case the instance name. For more information, see How to Use BR*Tools.
BRSPACE starts and you see a message that includes Start of BRSPACE processing. From now on, BRSPACE writes a detail log.
You can use quick mode as follows:
If you have already entered the action, continue with step 4.
If you have already entered the instance name and action, continue with step 5.
BRSPACE displays the Alter database instance main menu.
Choose or confirm the required action:
Switch redo log file
Force database checkpoint
Set archivelog mode
Set noarchivelog mode
If you already chose an action in step 1, this action is set to the default.
RAC only: BRSPACE displays the List of database instances for alter, unless you have already entered the instance name.
List Entry |
Meaning |
---|---|
Pos. |
List sequence number |
Name |
Instance name |
Number / Thread |
Instance number and thread |
Status |
Instance status |
Start time |
Time the instance was started |
RedoSeq |
Log redo sequence number |
SapConn |
Number of SAP connections |
RAC only: select a database instance or multiple database instances.
In normal (that is, non-RAC) systems, BRSPACE automatically selects the name of the single instance for you.
BRSPACE displays the menu Options for alter of database instance.
Set the required options:
Menu Entry |
Meaning |
---|---|
Current archivelog mode (mode) - display only |
|
Alter database action (action) - display only |
|
Force instance shutdown (force) |
|
SQLPLUS command (command) |
The SQL command that is to be executed using the current settings. For more information, see your Oracle SQL documentation. |
To start processing with the selected options, choose Continue.
Check the results in the BRSPACE logs BRSPACE Logs.
The summary log space<DBSID>.log displays the return code.
The detail log s<encoded timestamp>.dba displays the details.
The structure change log struc<DBSID>.log logs all structure changes.
For more information about how to view the logs with BR*Tools, see Showing Profiles and Logs with BR*Tools.