brspace export and import using datapump
Test done on oracle 10 with brtool 700 (51à.
DATA pump use directories define in :
select * from dba_directories;
Some view which are usefull :
DBA_DATAPUMP_SESSIONS
DBA_DATAPUMP_JOBS
1. Export table APQD from T32 system with brspace using datapump :
in ora{sid} user:
brspace -u system/Bricolo01 -f tbexport -l expdp -t “APQD” -u /oracle/T32/sapdata4/reorg |
---|
BR0280I BRSPACE time stamp: 2012-02-20 17.42.14 BR0280I BRSPACE time stamp: 2012-02-20 17.42.15 1 * Export utility (utility) …………… [EXPDP] Standard keys: c – cont, b – back, s – stop, r – refr, h – help BR0280I BRSPACE time stamp: 2012-02-20 17.42.17 1 # Use direct path (direct) ……………. [yes] Standard keys: c – cont, b – back, s – stop, r – refr, h – help BR0280I BRSPACE time stamp: 2012-02-20 17.42.19 BR0280I BRSPACE time stamp: 2012-02-20 17.42.19 BR1164I Export of tables will be started with command line: /oracle/T32/102_64/bin/expdp parfile=/oracle/T32/sapreorg/sehxxmwr/parfile.exp BR0280I BRSPACE time stamp: 2012-02-20 17.42.19 BR0278I Command output of ‘/oracle/T32/102_64/bin/expdp parfile=/oracle/T32/sapreorg/sehxxmwr/parfile.exp’: Export: Release 10.2.0.2.0 – 64bit Production on Monday, 20 February, 2012 17:42:21 Copyright (c) 2003, 2005, Oracle. All rights reserved. Username: BR0280I BRSPACE time stamp: 2012-02-20 17.45.55 |
2 . Import table APQD from T32 system with brspace using datapump :
brspace -u system/Bricolo01 -f tbimport -x /oracle/T32/sapdata4/reorg/sehxxmwr.edd/expdat.dmp -a replace -p 4 |
---|
BR1001I BRSPACE 7.00 (51) BR0280I BRSPACE time stamp: 2012-02-20 17.52.41 BR0280I BRSPACE time stamp: 2012-02-20 17.52.41 1 * Import utility (utility) …………… [IMPDP] Standard keys: c – cont, b – back, s – stop, r – refr, h – help BR0280I BRSPACE time stamp: 2012-02-20 17.52.43 1 # Import buffer size in KB (buffer) ……. [10240] Standard keys: c – cont, b – back, s – stop, r – refr, h – help BR0280I BRSPACE time stamp: 2012-02-20 17.52.44 BR1172I Import of tables will be started with command line: /oracle/T32/102_64/bin/impdp parfile=/oracle/T32/sapreorg/sehxxnuv/parfile.imp BR0280I BRSPACE time stamp: 2012-02-20 17.52.44 BR0278I Command output of ‘/oracle/T32/102_64/bin/impdp parfile=/oracle/T32/sapreorg/sehxxnuv/parfile.imp’: Import: Release 10.2.0.2.0 – 64bit Production on Monday, 20 February, 2012 17:53:04 Copyright (c) 2003, 2005, Oracle. All rights reserved. Username: BR0280I BRSPACE time stamp: 2012-02-20 17.53.44
|
3. Stats computation :
brconnect -u / -c -f stats -t missing -p 4
brconnect -u / -c -f stats -t missing -p 4