按用户导出

就是加个参数:content=metadata_only即可

如:

expdp system/密码 directory=back_dir dumpfile=onlyddl.dmp  schemas=scott  parallel=2 content=metadata_only

 

使用这个的时候:

按正常的数据泵导入:

impdp system/密码 directory=back_dir dumpfile=onlyddl.dmp  schemas=scott  parallel=2  ...还有别的参数,加一条exclude=table_statistics

最后一步就是:用system或者sys

execute dbms_stats.gather_schema_stats('SCOTT');

即可完成

相关文章:

  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-02-09
猜你喜欢
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案