BRSPACE Structure Change Log
The structure change log contains a history of all database structure changes that you perform with BRSPACE. Structure changes consist of the following functions:
Recreate database
Extend tablespace
Create tablespace
Drop tablespace
Alter tablespace (rename)
Alter datafile (rename, drop, change file size attributes)
Rename tablespace
Move datafile
The file helps you to keep track of database structure changes.
The file is called struc<DBSID>.log
and is located in the $SAPDATA_HOME/sapreorg
directory.
The first line is standard but the following lines vary according to the function.
Standard first line
Line |
Entry |
Example |
|---|---|---|
|
Timestamp (date, time) for when you start BRSPACE for the structure change |
|
BRSPACE action id (encoded timespace) |
|
|
BRSPACE function ID |
|
|
Function name |
|
|
Effective and real user name |
|
Note
The combination of action id and function id – in the above example, sehfavte.tse
– represents the name of the BRSPACE detail log.
Extend tablespace
Line |
Entry |
Example |
|---|---|---|
|
Timestamp (date, time) for when the structure change finished |
|
Tablespace name |
|
|
|
New datafile name |
|
Parameters for new datafile |
|
Create tablespace
Line |
Entry |
Example |
|---|---|---|
|
Timestamp (date, time) for when the structure change finished |
|
Tablespace name |
|
|
Parameters for new tablespace |
|
|
|
New datafile name |
|
Parameters for new datafile |
|
Drop tablespace
|
Timestamp (date, time) for when the structure change finished |
|
Tablespace name |
|
|
Attributes of deleted tablespace |
|
|
|
Deleted datafile name |
|
Datafile parameters |
|
Rename tablespace
|
Timestamp (date, time) for when the structure change finished |
|
Old tablespace name |
|
|
New tablespace name |
|
Alter datafile
Switch on autoextend
|
Datafile name |
|
Datafile parameters |
|
Switch off autoextend
|
Datafile name |
|
Parameters to specify the affected datafile |
|
Resize datafile
|
Datafile name |
|
Parameters for new and old size of datafile |
|
Move datafile
|
Timestamp (date, time) for the move |
|
Tablespace |
|
|
|
New datafile name |
|
Old datafile name |
|
|
Datafile size |
|