Sie sind auf Seite 1von 11

Adding datafiles using BRTOOLS

in Oracle
27OCT






Rate This

BRTOOLS are very useful tool to manage tablespaces and datafiles for the SAP-
Oracle databases.
Login to the oracle database user and execute the command as follows:
oracle> brtools
BR0651I BRTOOLS 7.10 (39)
BR0280I BRTOOLS time stamp: 2011-10-26 20.01.37
BR0656I Choice menu 1 please make a selection
-
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
-
BR0662I Enter your choice:
2
BR0280I BRTOOLS time stamp: 2011-10-26 20.01.50
BR0663I Your choice: 2
BR0280I BRTOOLS time stamp: 2011-10-26 20.01.50
BR0656I Choice menu 5 please make a selection
-
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
-
BR0662I Enter your choice:
1
BR0280I BRTOOLS time stamp: 2011-10-26 20.01.53
BR0663I Your choice: 1
BR0280I BRTOOLS time stamp: 2011-10-26 20.01.53
BR0657I Input menu 81 please enter/check input values
-
BRSPACE options for tablespace extension
1 BRSPACE profile (profile) [initORCL.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 initORCL.sap -s 20 -l E -f
tsextend]
Standard keys: c cont, b back, s stop, r refr, h help
-
BR0662I Enter your choice:
3
BR0280I BRTOOLS time stamp: 2011-10-26 20.01.59
BR0663I Your choice: 3
BR0681I Enter string value for tablespace []: DATA
BR0280I BRTOOLS time stamp: 2011-10-26 20.02.21
BR0683I New value for tablespace: DATA
BR0280I BRTOOLS time stamp: 2011-10-26 20.02.21
BR0657I Input menu 81 please enter/check input values
-
BRSPACE options for tablespace extension
1 BRSPACE profile (profile) [initORCL.sap]
2 Database user/password (user) .. [/]
3 ~ Tablespace name (tablespace) [DATA]
4 Confirmation mode (confirm) . [yes]
5 Scrolling line count (scroll) .. [20]
6 Message language (language) . [E]
7 BRSPACE command line (command) . [-p initORCL.sap -s 20 -l E -f tsextend
-t DATA]
Standard keys: c cont, b back, s stop, r refr, h help
-
BR0662I Enter your choice:
c
BR0280I BRTOOLS time stamp: 2011-10-26 20.02.29
BR0663I Your choice: c
BR0259I Program execution will be continued
BR0291I BRSPACE will be started with options -p initORCL.sap -s 20 -l E -f
tsextend -t DATA
BR0280I BRTOOLS time stamp: 2011-10-26 20.02.29
BR0670I Enter c[ont] to continue, b[ack] to go back, s[top] to abort:
c
BR0280I BRTOOLS time stamp: 2011-10-26 20.02.38
BR0257I Your reply: c
BR0259I Program execution will be continued
################################################################
###############
BR1001I BRSPACE 7.10 (39)
BR1002I Start of BRSPACE processing: sehbwmck.tse 2011-10-26 20.02.38
BR0484I BRSPACE log file: /oracle/ORCL/sapreorg/sehbwmck.tse
BR0280I BRSPACE time stamp: 2011-10-26 20.02.45
BR1009I Name of database instance: ORCL
BR1010I BRSPACE action ID: sehbwmck
BR1011I BRSPACE function ID: tse
BR1012I BRSPACE function: tsextend
BR0280I BRSPACE time stamp: 2011-10-26 20.03.36
BR0657I Input menu 303 please enter/check input values
-
Options for extension of tablespace DATA (1. file)
1 * Last added file name (lastfile) .
[/oracle/ORCL/sapdata10/zfigl_76/zfig1.data76]
2 * Last added file size in MB (lastsize) . [4096]
3 New file to be added (file) ..
[/oracle/ORCL/sapdata10/zfigl_77/zfig1.data77]
4 ~ Raw disk / link target (rawlink) []
5 Size of the new file in MB (size) .. [4096]
6 File autoextend mode (autoextend) .. [no]
7 # Maximum file size in MB (maxsize) .. []
8 # File increment size in MB (incrsize) .. []
9 SQL command (command) .. [alter tablespace DATA add datafile
'/oracle/ORCL/sapdata10/zfigl_77/zfig1.data77' size 4096M autoextend off]
Standard keys: c cont, b back, s stop, r refr, h help
-
BR0662I Enter your choice:
c
BR0280I BRSPACE time stamp: 2011-10-26 20.03.56
BR0663I Your choice: c
BR0259I Program execution will be continued
BR1091I Next data file can be specified now
BR0280I BRSPACE time stamp: 2011-10-26 20.03.56
BR0675I This is a optional action do you want to execute it now?
BR0676I Enter y[es] to execute the action, n[o]/c[ont] to skip it, s[top] to
abort:
n
BR0280I BRSPACE time stamp: 2011-10-26 20.04.06
BR0257I Your reply: n
BR0678I The action will be skipped
BR0280I BRSPACE time stamp: 2011-10-26 20.04.06
BR0370I Directory /oracle/ORCL/sapreorg/sehbwmck created
BR0280I BRSPACE time stamp: 2011-10-26 20.04.12
BR0319I Control file copy created:
/oracle/ORCL/sapreorg/sehbwmck/cntrlORCL.old 81149952
BR0280I BRSPACE time stamp: 2011-10-26 20.04.12
BR0370I Directory /oracle/ORCL/sapdata10/zfigl_77 created
BR0280I BRSPACE time stamp: 2011-10-26 20.04.12
BR1088I Extending tablespace DATA
BR0280I BRSPACE time stamp: 2011-10-26 20.05.14
BR1016I SQL statement alter tablespace DATA add datafile
/oracle/ORCL/sapdata10/zfigl_77/zfig1.data77 size 4096M autoextend off
executed successfully
BR1051I Tablespace PSAPZFIGL extended successfully with file:
/oracle/ORCL/sapdata10/zfigl_77/zfig1.data77 4096M
BR0280I BRSPACE time stamp: 2011-10-26 20.05.14
BR0340I Switching to next online redolog file for database instance ORCL
BR0321I Switch to next online redolog file for database instance ORCL
successful
BR0280I BRSPACE time stamp: 2011-10-26 20.05.18
BR0319I Control file copy created:
/oracle/ORCL/sapreorg/sehbwmck/cntrlORCL.new 81149952
BR0280I BRSPACE time stamp: 2011-10-26 20.05.18
BR0670I Enter c[ont] to continue, b[ack] to go back, s[top] to abort:
c
BR0280I BRSPACE time stamp: 2011-10-26 20.05.25
BR0257I Your reply: c
BR0259I Program execution will be continued
BR0280I BRSPACE time stamp: 2011-10-26 20.05.25
BR1020I Number of tablespaces processed: 1
BR1003I BRSPACE function tsextend completed
BR1008I End of BRSPACE processing: sehbwmck.tse 2011-10-26 20.05.25
BR0280I BRSPACE time stamp: 2011-10-26 20.05.25
BR1005I BRSPACE completed successfully
################################################################
###############
BR0292I Execution of BRSPACE finished with return code 0
BR0280I BRTOOLS time stamp: 2011-10-26 20.05.25
BR0256I Enter c[ont] to continue, s[top] to cancel BRTOOLS:
s
BR0280I BRTOOLS time stamp: 2011-10-26 20.05.29
BR0257I Your reply: s
BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:
y
BR0280I BRTOOLS time stamp: 2011-10-26 20.05.33
BR0257I Your reply: y
BR0260E BRTOOLS cancelled by user
BR0280I BRTOOLS time stamp: 2011-10-26 20.05.33
BR0654I BRTOOLS terminated with errors
oracle>

Das könnte Ihnen auch gefallen