oracle - export large number of tables using expdp -


my environment has more 4000 tables. want export 2000 tables. tried using par file using include clause. export failing. details mentioned below

tool: expdp | oracle database version:11g r2 | number of tables exported: 2000

code used:

directory=pump dumpfile=exp_full_gold.dmp logfile=exp_full_gold.log compression=all schemas=gold include=table:"in('t1','t2','t3','t4'..'t2000') 

error: partitioning, olap, data mining , real application testing options ora-39001: invalid argument value ora-39071: value include badly formed. ora-00920: invalid relational operator

even tried below code:

directory=pump  dumpfile=exp_full_gold.dmp  logfile=exp_full_gold.log  compression=all  schemas=gold content=data_only include=table:\"in \(select tname gold.t11\)\" 

here t11 contains list of tables stored in column tname (2000 records).

but same error occurs. please searched on net lot, not able find solution. include clause number of tables allowed limit not available anywhere. tried using 900 tables failed same error.

regards,

sujit

found solution:

schemas=gold directory=debug compression=all content=data_only dumpfile=exp_gold_26jul2017.dmp logfile=exp_gold_26jul2017.log include=table:"in(select tname gold.t11)"    

thanks.


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -