Creating a Tablespace with BR*Tools
You can use BR*Tools for Oracle to create a new tablespace.
Note
This section describes how you create a tablespace with BR*Tools.
For more information on the approach to creating a tablespace, see Managing Tablespaces.
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 tablespace extension
, where you specify
the options with which you call BRSPACE.
Set the required options:
Menu Entry |
Equivalent BRSPACE Command Option |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
This shows you the BRSPACE -f tscreate 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
You need to enter at least the following command:
brspace -f tscreate
You can enter more parameters, including the tablespace name, if required. For more information, see BRSPACE -f tscreate.
Note
Whichever way you start the procedure – with BRGUI or BRTOOLS, or from the command line – you can take advantage of quick mode if you know the object name, in this case the tablespace 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.
If you have already entered the tablespace name, continue with step 4 (quick mode).
BRSPACE displays the Tablespace creation main menu
.
Choose Create tablespace
.
BRSPACE displays the menu Main options for creation of tablespace
.
Set the required main options:
Menu Entry |
Meaning |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bigfile tablespace (bigfile) |
|
Tablespace compression (compress) |
|
Tablespace encryption (encryption) |
|
Encryption algorithm (algorithm) |
Note
For more information on naming the new tablespace, see SAP Naming Conventions for Tablespaces and Data Files.
Choose Continue
.
BRSPACE displays the menu Space options for creation of tablespace
.
Set the required options:
Menu Entry |
Meaning |
|---|---|
|
Unless you specified it at the command line, BRSPACE automatically enters the file name according to the SAP naming convention. For more information, see -f tscreate -f|-file. |
|
|
|
|
|
|
|
|
|
|
|
The SQL command that is to be executed using the current settings. For more information, see your Oracle SQL documentation. |
If required, repeat the previous step when prompted by BRSPACE with message BR1091I.
You can add up to five files to the selected tablespace by repeating the previous step.
Note
For the file
option, you can enter not only full path names, but also the sapdata
path name, sapdata<N>
, or just <N>
to specify in which sapdata
directory
the file is to be located. BRSPACE automatically extends the incomplete file name to the full path name according to the SAP naming conventions.
If Data type in tablespace
is table
, BRSPACE displays the menu Space options for creation of index tablespace
.
If Data type in tablespace
is table
, set the required options for the joined index tablespace:
Menu Entry |
Meaning |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
The SQL command that is to be executed using the current settings. For more information, see your Oracle SQL documentation. |
If required, repeat the previous step when prompted by BRSPACE with message BR1091I.
You can add up to five files to the selected tablespace by repeating the previous
Note
For the xfile
option, you can enter not only full path names, but also the sapdata
path name, sapdata<N>
, or just <N>
to specify in which sapdata
directory
the file is to be located. BRSPACE automatically extends the incomplete file name to the full path name according to the SAP naming conventions.
To start processing with the selected options, choose Continue
.
Note
BRSPACE creates the table tablespace in step 6 and index tablespaces in this step.
Check the results in the BRSPACE logs.
The summary log space<DBSID>.log
displays the return code.
The detail log s<encoded timestamp>.tsc
displays the details.
The structure change log struc<DBSID>.log
logs all structure changes.
For more information on how to view the logs with BR*Tools, see Showing Profiles and Logs with BR*Tools.