Changing Database Space Attributes Using changeda
The changeda -s
option allows
you to change attribute values for a database space.
To change database space attributes
changeda -s [attribute=value] [OPTIONS] dataarea space ...
where the default data area attributes that can be changed are:
Attribute | Value |
---|---|
dbtype
|
The following are valid values to indicate the type of database used for this database space:
|
dbname
|
This is the same as a section name in the
db.cfg file. If you do not provide a value, the value defaults from
your entry for dbtype .
|
tablespace
|
The location (filegroup) where the database files are stored. |
indexspace
|
The location where your index files are stored. |
lobspace
|
A valid large object space name. |
schema
|
A valid schema name for a database table. |
isview
|
Enter Enter
Note:
Landmark utilities such as the database reorganization utilities or |
sqltype
|
Specify the type of SQL code to generate. Enter one of the following:
|
supplementalindexes
|
Set to |
charset
|
The character set name. |
ddloptions
|
The ddloptions attribute enables you to include a string with valid DDL statements. This replaces the functionality formerly provided by LAW_DBA_TABLES.
|
copy
|
Use copy to copy the attributes from another space and apply them to the space you are modifying with changeda .
|
Other values in the command syntax are:
Entry | Description |
---|---|
dataarea
|
The data area to change space attributes for. |
space
|
The database space to change attributes for. Note:
If the space does not already exist, the utility will create it and apply the specified attribute values. |
-v
displayoptions
|
|