You can use BR*Tools for Oracle to create a new tablespace.
This section describes how you create a tablespace with BR*Tools.
For more information on the approach to creating a tablespace, see Managing Tablespaces.
BRGUI or BRTOOLS:
Choose Space Management Create tablespace .
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 |
---|---|
BRSPACE profile (profile) |
|
Database user/password (user) |
|
Tablespace name (tablespace) |
|
Confirmation mode (confirm) |
|
Scrolling line count (scroll) |
|
Message language (language) |
|
BRSPACE command line (command) |
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.
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.
BRSPACE displays the Tablespace creation main menu.
BRSPACE displays the menu Main options for creation of tablespace.
Menu Entry |
Meaning |
---|---|
Tablespace name (tablespace) |
|
Tablespace contents (contents) |
|
Segment space management (space) |
|
Database owner of tablespace (owner) |
|
Table data class / tabart (class) |
|
Data type in tablespace (data) |
|
Joined index/table tablespace (join) |
|
Uniform size in MB (uniform) |
|
Bigfile tablespace (bigfile) |
|
Tablespace compression (compress) |
|
Tablespace encryption (encryption) |
|
Encryption algorithm (algorithm) |
For more information on naming the new tablespace, see SAP Naming Conventions for Tablespaces and Data Files.
BRSPACE displays the menu Space options for creation of tablespace.
Menu Entry |
Meaning |
---|---|
Tablespace file name (file) |
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. |
Raw disk / link target (rawlink) |
|
File size in MB (size) |
|
File autoextend mode (autoextend) |
|
Maximum file size in MB (maxsize) |
|
File increment size in MB (incrsize) |
|
SQL command (command) |
The SQL command that is to be executed using the current settings. For more information, see your Oracle SQL documentation. |
You can add up to five files to the selected tablespace by repeating the previous step.
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.
Menu Entry |
Meaning |
---|---|
Index tablespace file name (xfile) |
|
Raw disk / link target (xrawlink) |
|
File size in MB (xsize) |
|
File autoextend mode (xautoextend) |
|
Maximum file size in MB (xmaxsize) |
|
File increment size in MB (xincrsize) |
|
SQL command (command) |
The SQL command that is to be executed using the current settings. For more information, see your Oracle SQL documentation. |
You can add up to five files to the selected tablespace by repeating the previous
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.
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.