SAP расширение табличного пространства. brtools

Заходим под пользователем orasid
Запускаем ПО BRTOOLS
$ brtools

В появившемся меню, выбираем пункт 2 - Space management

-------------------------------------------------------------------------------
BR*Tools main menu

 1 = Instance management
 2 - Space management
 3 - Segment management
 4 - Backup and database copy
 5 - Restore and recovery
 6 - Check and verification
 7 - Database statistics
 8 - Additional functions
 9 - Exit program

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------

Далее пункт 1 = Extend tablespace
-------------------------------------------------------------------------------
Database space management

 1 = Extend tablespace
 2 - Create tablespace
 3 - Drop tablespace
 4 - Alter tablespace
 5 - Alter data file
 6 - Move data file
 7 - Additional space functions
 8 - Reset program status

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------

Необходимо указать профиль и табличное пространство, которое необходимо расширить. Соответственно выбираем пункт 1 - BRSPACE profile (profile) и указываем профиль имя_файла.sap . После чего, указываем имя табличного пространства 3 ~ Tablespace name (tablespace)
-------------------------------------------------------------------------------
BRSPACE options for tablespace extension

 1 - BRSPACE profile (profile) ...... [your_backup_profile.sap]
 2 - Database user/password (user) .. [/]
 3 ~ Tablespace name (tablespace) ... []
 4 - Confirmation mode (confirm) .... [yes]
 5 - Scrolling line count (scroll) .. [20]
 6 - Message language (language) .... [E]
 7 - BRSPACE command line (command) . [-p backup_profile.sap -s 20 -l E -f tsextend]

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------

После того как был выбран файл профиля и табличное пространство, нажимаем клавишу "с" и Enter

BR0662I Enter your choice:
c

После нажатия Enter еще подтверждаем клавишей "C" и Enter

BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c

Задаем размер нового файла данных 5 - Size of the new file in MB (size). Если надо вкл. или выкл. опцию авторасширение табл. 6 - File autoextend mode (autoextend), макс. размер файла данных 7 - Maximum file size in MB (maxsize) и нажимаем "с" и Enter

Options for extension of tablespace

 1 * Last added file name (lastfile) ....... [/oracle/SID/...]
 2 * Last added file size in MB (lastsize) . [2070]
 3 - New file to be added (file) ........... [/oracle/SID/...]
 4 ~ Raw disk / link target (rawlink) ...... []
 5 - Size of the new file in MB (size) ..... [2070]
 6 - File autoextend mode (autoextend) ..... [yes]
 7 - Maximum file size in MB (maxsize) ..... [10000]
 8 - File increment size in MB (incrsize) .. [20]
 9 - SQL command (command) ................. [alter tablespace ...]

Для подтверждения выполнения действий вводим "c"
BR0676I Enter 'y[es]' to perform the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort

Процесс запущен
BR0280I BRSPACE time stamp: 2012-06-21 17.51.38
BR1088I Extending tablespace ...

По завершению BRTOOLS выдаст отчет о появлении новых файлов данных и др.
После чего нажмем "с" и введем команду stop
BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:

Standard keys: c - cont, b - back, s - stop, r - refr, h - help

Для проверки изменения можно воспользоваться транзакцией db02.

Twitter