Oracle EXADATA X6-2 Installation And Configuration Manual page 177

Database machine
Hide thumbs Also See for EXADATA X6-2:
Table of Contents

Advertisement

oedacli> SAVE ACTION
Merge all actions.
5.
oedacli> MERGE ACTIONS
processMerge
processMergeActions
Merging Action : add database dbname='testdb' DATADG='DATAC1' RECODG='RECOC1'
where DBHOMEID='c0_databaseHome'
Merging ADD DATABASE
Action Validated and Merged OK
Save the action to a new Engineered Systems XML configuration file.
6.
oedacli> SAVE FILE NAME ='cli-test-2databases.xml'
File : cli-test-2databases.xml saved OK
Deploy the actions.
7.
oedacli> DEPLOY ACTIONS
Deploying Action ID : 4 add database dbname='testdb' DATADG='DATAC1' RECODG='
RECOC1' where DBHOMEID='c0_databaseHome'
Deploying ADD DATABASE
Running datapatch on database 'testdb'
Done...
Done
3.3.3.6.2 ALTER DATABASE
This command alters an existing Oracle database.
Syntax
ALTER DATABASE
[ BLOCKSIZE = blocksize ]
[ CHARSET = database_character_set
DATADG = data_diskgroup
[ DBLANG = database_language ]
DBNAME = database_name
[ DBTEMPLATE = database_template ]
[ DBTYPE = database_type ]
[ HOSTNAMES = 'host_names' ]
RECODG = reco_diskgroup
WHERE
ID = database_id |
CLUSTERNUMBER = cluster_number DATABASENAME = database_name |
CLUSTERNAME = cluster_name DATABASENAME = database_name |
CLUSTERID = cluster_id DATABASENAME = database_name
Arguments
You can modify the following attributes for the Oracle database:
BLOCKSIZE
8192. This argument is not required for pluggable databases.
CHARSET
value is
DATADG
This argument is not required for pluggable databases.
: Specifies the new block size for the database. The default value is
: Specifies the new character set to use for the database. The default
. This argument is not required for pluggable databases.
AL32UTF8
: (Mandatory) Specifies the name of the DATA disk group for the database.
Chapter 3
OEDA Command Line Interface
3-50

Advertisement

Table of Contents
loading

Table of Contents