Export Import single table...
Gurus...
I am working on this single table which needs to be exported from prod and import into test.
As I understand I need to follow below steps:
1. Test - export table abc dump as backup
2. Prod - Export single table abc
3. Test - Drop table abc cascade constraints
4. Test - Import abc into test
Export par file:
Directory= dbpump
dumpfile= expdp_abc.dmp
logfile= expdp_abc.log
content= all
tables=user.abc
exclude=statistics,object_grant, tablespace_quota
flashback_time= systimestamp
Import par file:
Directory= dbpump
dumpfile= expdp_abc.dmp
logfile= impdp_abc.log
content= all
tables=user.abc
table_exist_action=replace
transform=segment_attributes:N
my doubts:
1. Is my process flow correct?
2. Export & Import file correct? or missing parameters?
3. What happens to all objects connected to the table, will that also imported?
4. Do I need to lock user during this process?
5. Any script to check whether all objects connected to table does exist in test after import?