Professional Documents
Culture Documents
UB6 OFFline TS Reorg
UB6 OFFline TS Reorg
2 Offline Reorganization
The offline reorganization consist of using BRTOOLS ( expdp Databpump utility).
Table
1 - SAPR3
2 - SAPR3
3 - SAPR3
4 - SAPR3
5 - SAPR3
6 - SAPR3
7 - SAPR3
8 - SAPR3
9 - SAPR3
10 - SAPR3
11 - SAPR3
12 - SAPR3
13 - SAPR3
14 - SAPR3
15 - SAPR3
16 - SAPR3
17 - SAPR3
18 - SAPR3
19 - SAPR3
20 - SAPR3
ACTFLI
ADMI_BUFFC
ADMI_BUFFI
ADMI_JOBS
ADMI_RJOBS
ADMI_SKIP
ADMI_VARIA
ADRCMAT
ADRCMX
ADRCWO
AGDB
AGR_BUFFI
AGR_BUFFI2
AGR_BUFFI3
AGR_HIER
AGR_HIER2
AGR_HIER3
AGR_MAPP
AGR_MARK
AGR_MINI
Part.
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
16
0:0
0
16
0:0
0
16
0:0
12
24
1:4
0
16
0:0
0
16
0:0
10
24
0:1
0
16
0:0
0
16
0:0
0
16
0:0
34
200
90:45
636
240
119:49
0
16
0:0
0
16
0:0
21345 11240
2335:21
0
16
0:0
0
16
0:0
3
24
0:1
0
16
0:0
189
192
35:18
Press <Rtn> - scroll, 'c' - cont, 'h' - header, 's' - stop ...
c
1175 - SAPR3
1176 - SAPR3
1177 - SAPR3
1178 - SAPR3
WFQUE
WFSTO
WIZ_STAT
WPTOTLIUSR
NO
NO
NO
NO
2
0
0
24
0:0
16
0:0
16
0:0
0
16
0:0
folder_create.txt
Create tablespace PSAPMIWODS SQL> create tablespace PSAPMIWODS extent management local datafile
'/oracle/UB6/sapdata1/miwods_1/miwods.data1' SIZE 20480M REUSE AUTOEXTEND OFF;
SQL> ALTER TABLESPACE PSAPMIWODS ADD DATAFILE
'/oracle/UB6/sapdata1/miwods_2/miwods.data2' SIZE 20480M REUSE AUTOEXTEND OFF;
............................................................................................................................................
Run below script to automate datafile creations. (from sqlplus)
The script will create up to 100 datafiles.
!! Refer to complete list of datafile creations
datafile_create.txt
3 Post activities
3.1 Datafile relocation ( NOT required)
Perform this step when DB is down.
Depending on the sapdata size after reorg. Relocate the datafile to each and every sapdata until
each sapdata reaching 95%.
Database controfile has to be recreated back
ipcs | grep ora #if there is any ouput, remove it with using ipcrm
ipcs | grep adm #if there is any ouput, remove it with using ipcrm
Make sure all filesystems belong to UB6 have been unmounted.
df g | grep ub6 #make sure no output
As ub6adm user logon to am2hc239
cd /usr/sap/adaptive/scripts
./ UB6_06_DB.sh up bind mount
./ UB6_06_CI.sh up bind mount
./ UB6_06_DB.sh up app
./ UB6_06_CI.sh up