Brtools扩oracle表空间

本文详细记录了使用BRTOOLS工具扩展Oracle数据库表空间的过程。通过BRTOOLS的交互式菜单,逐步展示了如何选择要扩展的表空间、指定新的数据文件路径及大小,并最终执行表空间扩展操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

<hostname>[/]#<font color="#ff0000">su - ora<sid></sid></font><br>hostname:ora<sid>&gt; <font color="#cc0000">brtools</font><br>BR0651I BRTOOLS 7.00 (32)<br>BR0280I BRTOOLS time stamp: 2010-01-06 15.55.14<br>BR0656I Choice menu 1 - please make a selection<br>-------------------------------------------------------------------------------<br>BR*Tools main menu<br><br>1 = Instance management<br><font color="#ff0000">2 - Space management</font><br>3 - Segment management<br>4 - Backup and database copy<br>5 - Restore and recovery<br>6 - Check and verification<br>7 - Database statistics<br>8 - Additional functions<br>9 - Exit program<br><br>Standard keys: c - cont, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your choice:<br>2<br>BR0280I BRTOOLS time stamp: 2010-01-06 15.55.18<br>BR0663I Your choice: '2'<br><br>BR0280I BRTOOLS time stamp: 2010-01-06 15.55.18<br>BR0656I Choice menu 5 - please make a selection<br>-------------------------------------------------------------------------------<br>Database space management<br><br><font color="#ff0000">1 <font color="#ff9900">=</font> Extend tablespace</font><br>2 - Create tablespace<br>3 - Drop tablespace<br>4 - Alter tablespace<br>5 - Alter data file<br>6 - Move data file<br>7 - Additional space functions<br>8 - Reset program status<br><br>Standard keys: <font color="#ff0000">c - cont</font>, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your choice:<br><font color="#ff0000">c</font><br>BR0280I BRTOOLS time stamp: 2010-01-06 15.55.28<br>BR0663I Your choice: 'c'<br>BR0259I Program execution will be continued...<br><br>BR0280I BRTOOLS time stamp: 2010-01-06 15.55.28<br>BR0657I Input menu 81 - please check/enter input values<br>-------------------------------------------------------------------------------<br>BRSPACE options for tablespace extension<br><br>1 - BRSPACE profile (profile) ...... [initPRD.sap]<br>2 - Database user/password (user) .. [/]<br>3 ~ Tablespace name (tablespace) ... []<br>4 - Confirmation mode (confirm) .... [yes]<br>5 - Scrolling line count (scroll) .. [20]<br>6 - Message language (language) .... [E]<br>7 - BRSPACE command line (command) . [-p initPRD.sap -s 20 -l E -f tsextend]<br><br>Standard keys: <font color="#ff0000">c - cont</font>, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your choice:<br><font color="#ff0000">c</font><br>BR0280I BRTOOLS time stamp: 2010-01-06 15.55.30<br>BR0663I Your choice: 'c'<br>BR0259I Program execution will be continued...<br><br>BR0291I BRSPACE will be started with options '-p initPRD.sap -s 20 -l E -f tsextend'<br><br>BR0280I BRTOOLS time stamp: 2010-01-06 15.55.30<br>BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:<br><font color="#ff0000">c</font><br>BR0280I BRTOOLS time stamp: 2010-01-06 15.55.31<br>BR0257I Your reply: 'c'<br>BR0259I Program execution will be continued...<br><br>###############################################################################<br><br>BR1001I BRSPACE 7.00 (32)<br>BR1002I Start of BRSPACE processing: sechhywp.tse 2010-01-06 15.55.31<br>BR0484I BRSPACE log file: /oracle/PRD/sapreorg/sechhywp.tse<br><br>BR0280I BRSPACE time stamp: 2010-01-06 15.55.32<br>BR1009I Name of database instance: PRD<br>BR1010I BRSPACE action ID: sechhywp<br>BR1011I BRSPACE function ID: tse<br>BR1012I BRSPACE function: tsextend<br><br>BR0280I BRSPACE time stamp: 2010-01-06 15.55.32<br>BR0656I Choice menu 301 - please make a selection<br>-------------------------------------------------------------------------------<br>Tablespace extension main menu<br><br><font color="#ff0000">1 = Extend tablespace</font><br>2 - Show tablespaces<br>3 - Show data files<br>4 - Show disk volumes<br>5 * Exit program<br>6 - Reset program status<br><br>Standard keys: <font color="#ff0000">c - cont</font>, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your choice:<br>c<br>BR0280I BRSPACE time stamp: 2010-01-06 15.55.56<br>BR0663I Your choice: 'c'<br>BR0259I Program execution will be continued...<br><br>BR0280I BRSPACE time stamp: 2010-01-06 15.55.57<br>BR0658I List menu 302 - please select one entry<br>-------------------------------------------------------------------------------<br>List of tablespaces for extension<br><br>Pos. Tablespace Files/AuExt. Total[KB] Used[%] Free[KB] MaxSize[KB]<br><br><font color="#ff0000">1 - PSAPSR3 11/4 112640000 71.57 32018688 112640000</font><br> 2 - PSAPSR3700 12/4 122880000 64.78 43272448 122880000<br> 3 - PSAPSR3USR 1/1 8765440 27.63 6343744 10240000<br> 4 - PSAPTEMP 2/1 12288000 0.00 12288000 20480000<br> 5 - PSAPUNDO 3/1 28692480 0.00 28692288 30720000<br> 6 - SYSAUX 2/2 2600960 22.41 2017984 20480000<br> 7 - SYSTEM 2/2 2928640 30.09 2047424 20480000<br><br>Standard keys: c - cont, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your selection:<br><font color="#ff0000">1</font><br>BR0280I BRSPACE time stamp: 2010-01-06 16.00.05<br>BR0663I Your selection: '1'<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.00.05<br>BR0657I Input menu 303 - please check/enter input values<br>-------------------------------------------------------------------------------<br>Options for extension of tablespace PSAPSR3 (1. file)<br><br>1 * Last added file name (lastfile) ....... [/oracle/PRD/sapdata3/sr3_11/sr3.data11]<br>2 * Last added file size in MB (lastsize) . [10000]<br><font color="#ff0000">3 - New file to be added (file) ........... [/oracle/PRD/sapdata3/sr3_12/sr3.data12]</font><br>4 ~ Raw disk / link target (rawlink) ...... []<br>5 - Size of the new file in MB (size) ..... [10000]<br>6 - File autoextend mode (autoextend) ..... [no]<br>7 # Maximum file size in MB (maxsize) ..... []<br>8 # File increment size in MB (incrsize) .. []<br>9 - SQL command (command) ................. [alter tablespace PSAPSR3 add datafile '/oracle/PRD/sapdata3/sr3_12/sr3.data12' size 10000M autoextend off]<br><br>Standard keys: c - cont, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your choice:<br><font color="#ff0000">3</font><br>BR0280I BRSPACE time stamp: 2010-01-06 16.01.35<br>BR0663I Your choice: '3'<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.01.35<br>BR0681I Enter string value for "file" (<file>|<sapdata>|<n>) [/oracle/PRD/sapdata3/sr3_12/sr3.data12]:<br>/oracle/PRD/sapdata4/sr3_12/sr3.data12<br>BR0280I BRSPACE time stamp: 2010-01-06 16.01.48<br>BR0683I New value for "file": '/oracle/PRD/sapdata4/sr3_12/sr3.data12'<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.01.48<br>BR0657I Input menu 303 - please check/enter input values<br>-------------------------------------------------------------------------------<br>Options for extension of tablespace PSAPSR3 (1. file)<br><br>1 * Last added file name (lastfile) ....... [/oracle/PRD/sapdata3/sr3_11/sr3.data11]<br>2 * Last added file size in MB (lastsize) . [10000]<br>3 - New file to be added (file) ........... [/oracle/PRD/sapdata4/sr3_12/sr3.data12]<br>4 ~ Raw disk / link target (rawlink) ...... []<br>5 - Size of the new file in MB (size) ..... [10000]<br>6 - File autoextend mode (autoextend) ..... [no]<br>7 # Maximum file size in MB (maxsize) ..... []<br>8 # File increment size in MB (incrsize) .. []<br>9 - SQL command (command) ................. [alter tablespace PSAPSR3 add datafile '/oracle/PRD/sapdata4/sr3_12/sr3.data12' size 10000M autoextend off]<br><br>Standard keys: <font color="#ff0000">c - cont</font>, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your choice:<br>c<br>BR0280I BRSPACE time stamp: 2010-01-06 16.02.00<br>BR0663I Your choice: 'c'<br>BR0259I Program execution will be continued...<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.02.00<br>BR1091I Next data file can be specified now<br><br>BR0675I Do you want to perform this action?<br>BR0676I Enter<font color="#ff0000"> 'y[es]'</font> to perform the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:<br><font color="#ff0000">y</font><br>BR0280I BRSPACE time stamp: 2010-01-06 16.02.37<br>BR0257I Your reply: 'y'<br>BR0677I The action will be performed...<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.02.37<br>BR0657I Input menu 303 - please check/enter input values<br>-------------------------------------------------------------------------------<br>Options for extension of tablespace PSAPSR3 (2. file)<br><br>1 * Last added file name (lastfile) ....... [/oracle/PRD/sapdata3/sr3_11/sr3.data11]<br>2 * Last added file size in MB (lastsize) . [10000]<br>3 - New file to be added (file) ........... [/oracle/PRD/sapdata4/sr3_13/sr3.data13]<br>4 ~ Raw disk / link target (rawlink) ...... []<br>5 - Size of the new file in MB (size) ..... [10000]<br>6 - File autoextend mode (autoextend) ..... [no]<br>7 # Maximum file size in MB (maxsize) ..... []<br>8 # File increment size in MB (incrsize) .. []<br>9 - SQL command (command) ................. [alter tablespace PSAPSR3 add datafile '/oracle/PRD/sapdata4/sr3_12/sr3.data12' size 10000M autoextend off, '/oracle/PRD/sapdata4/sr3_13/sr3.data13' size 10000M autoextend off]<br><br>Standard keys: c - cont, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your choice:<br>3<br>BR0280I BRSPACE time stamp: 2010-01-06 16.02.57<br>BR0663I Your choice: '3'<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.02.57<br>BR0681I Enter string value for "file" (<file>|<sapdata>|<n>) [/oracle/PRD/sapdata4/sr3_13/sr3.data13]:<br>/oracle/PRD/sapdata5/sr3_13/sr3.data13<br>BR0280I BRSPACE time stamp: 2010-01-06 16.03.07<br>BR0683I New value for "file": '/oracle/PRD/sapdata5/sr3_13/sr3.data13'<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.03.07<br>BR0657I Input menu 303 - please check/enter input values<br>-------------------------------------------------------------------------------<br>Options for extension of tablespace PSAPSR3 (2. file)<br><br>1 * Last added file name (lastfile) ....... [/oracle/PRD/sapdata3/sr3_11/sr3.data11]<br>2 * Last added file size in MB (lastsize) . [10000]<br>3 - New file to be added (file) ........... [/oracle/PRD/sapdata5/sr3_13/sr3.data13]<br>4 ~ Raw disk / link target (rawlink) ...... []<br>5 - Size of the new file in MB (size) ..... [10000]<br>6 - File autoextend mode (autoextend) ..... [no]<br>7 # Maximum file size in MB (maxsize) ..... []<br>8 # File increment size in MB (incrsize) .. []<br>9 - SQL command (command) ................. [alter tablespace PSAPSR3 add datafile '/oracle/PRD/sapdata4/sr3_12/sr3.data12' size 10000M autoextend off, '/oracle/PRD/sapdata5/sr3_13/sr3.data13' size 10000M autoextend off]<br><br>Standard keys: c - cont, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your choice:<br>c<br>BR0280I BRSPACE time stamp: 2010-01-06 16.03.27<br>BR0663I Your choice: 'c'<br>BR0259I Program execution will be continued...<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.03.27<br>BR1091I Next data file can be specified now<br><br>BR0675I Do you want to perform this action?<br>BR0676I Enter 'y[es]' to perform the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:<br>c<br>BR0280I BRSPACE time stamp: 2010-01-06 16.03.31<br>BR0257I Your reply: 'c'<br>BR0678I The action will be skipped...<br>BR0259I Program execution will be continued...<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.03.31<br>BR0370I Directory /oracle/PRD/sapreorg/sechhywp created<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.03.32<br>BR0319I Control file copy created: /oracle/PRD/sapreorg/sechhywp/cntrlPRD.old 24461312<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.03.32<br>BR0370I Directory /oracle/PRD/sapdata4/sr3_12 created<br>BR0370I Directory /oracle/PRD/sapdata5/sr3_13 created<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.03.32<br>BR1088I Extending tablespace PSAPSR3...<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.05.57<br>BR1016I SQL statement 'alter tablespace PSAPSR3 add datafile '/oracle/PRD/sapdata4/sr3_12/sr3.data12' size 10000M autoextend off, '/oracle/PRD/sapdata5/sr3_13/sr3.data13' size 10000M autoextend off' executed successfully<br>BR1051I Tablespace PSAPSR3 extended successfully with files: <br>/oracle/PRD/sapdata4/sr3_12/sr3.data12 10000M,<br>/oracle/PRD/sapdata5/sr3_13/sr3.data13 10000M<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.05.57<br>BR0340I Switching to next online redo log file for database instance PRD ...<br>BR0321I Switch to next online redo log file for database instance PRD successful<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.06.00<br>BR0319I Control file copy created: /oracle/PRD/sapreorg/sechhywp/cntrlPRD.new 24461312<br><br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.06.00<br>BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRSPACE:<br>c<br>BR0280I BRSPACE time stamp: 2010-01-06 16.06.05<br>BR0257I Your reply: 'c'<br>BR0259I Program execution will be continued...<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.06.05<br>BR0656I Choice menu 301 - please make a selection<br>-------------------------------------------------------------------------------<br>Tablespace extension main menu<br><br>1 + Extend tablespace<br>2 - Show tablespaces<br>3 - Show data files<br>4 - Show disk volumes<br>5 = Exit program<br>6 - Reset program status<br><br>Standard keys: c - cont, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your choice:<br>1<br>BR0280I BRSPACE time stamp: 2010-01-06 16.06.14<br>BR0663I Your choice: '1'<br><br>BR0280I BRSPACE time stamp: 2010-01-06 16.06.14<br>BR0658I List menu 302 - please select one entry<br>-------------------------------------------------------------------------------<br>List of tablespaces for extension<br><br>Pos. Tablespace Files/AuExt. Total[KB] Used[%] Free[KB] MaxSize[KB]<br><br> 1 - PSAPSR3 13/4 133120000 60.56 52498560 133120000<br> 2 - PSAPSR3700 12/4 122880000 64.78 43272448 122880000<br> 3 - PSAPSR3USR 1/1 8765440 27.63 6343744 10240000<br> 4 - PSAPTEMP 2/1 12288000 0.00 12288000 20480000<br> 5 - PSAPUNDO 3/1 28692480 0.00 28692288 30720000<br> 6 - SYSAUX 2/2 2600960 22.42 2017792 20480000<br> 7 - SYSTEM 2/2 2928640 30.09 2047424 20480000<br><br>Standard keys: c - cont, b - back, s - stop, r - refr, h - help<br>-------------------------------------------------------------------------------<br>BR0662I Enter your selection:<br><br><br><div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=6a64b4bb-773b-8e34-8983-2d1fba8a22f7"></div></n></sapdata></file></n></sapdata></file></sid></hostname>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值