Add
datafile to SAP Oracle database using brtools
If any object(table/index,Datafile
will not reach maximum extents as u
said) reaches maximum extents you can increase them using T-code SE14.
Go to SE14
>give the table name>click on edit
>click on storage parameters>and you can increase the max.extents here.
If your table space is full you have to add Datafile or resize existing Datafile.
To add datafile please do as specified below.
1.If yours is unix login as ora<SID> and type brtools at command prompt.
2.in the menu select 2,space management
3.in the next menu select 1.extend table space
3.In the next menu select 3,tablespace name and it prompts for the name and type PSAPUNDO.
4.CONTINUE
5.CONTINUE
6.you will get the following screen.
Options for extension of tablespace PSAPUNDO (1. file)
1 * Last added file name (lastfile) .......
[/oracle/CRD/sapdata2/undo_1/undo.d
ata1]
2 * Last added file size in MB (lastsize) . [6800]
3 - New file to be added (file) ........... [/oracle/CRD/sapdata2/undo_2/undo.d
ata2]
4 ~ Raw disk / link target (rawlink) ...... []
5 - Size of the new file in MB (size) ..... [6800]
6 - File autoextend mode (autoextend) ..... [no]
7 # Maximum file size in MB (maxsize) ..... [10000]
8 # File increment size in MB (incrsize) .. [20]
9 - SQL command (command) ................. [alter tablespace PSAPUNDO add data
file '/oracle/CRD/sapdata2/undo_2/undo.data2' size 6800M autoextend off]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-
7.choose
5 if you want to specify size of Datafile.Also check whether enough
space is available at OS level to add this datafile.(use df -k "path of
directoy" to check space
8.click on continueand it will take few minutes to add the datafile and your tablespace is now extended!
You can execute this when SAP is Up and running,no need to stop SAP or DB.
1 comment:
Hi,
nice to visit here.excellent information for adding file to sap oracle dabase.It,s always to use and helpful whos working on oracle database.The best sap hana online trainers are providing online training on sap hana sap hana online training
Post a Comment