Orcle导入导出dmp文件

--Orcle导入导出dmp文件
--------------------------2013/12/06
导出表:
  exp scott/tiger@mycon tables=(dept,emp) file=tab1.dmp
导出用户:
  exp system/manager@mycon owner=scott file=usr1.dmp
导出数据库:
  1.完全导出
  exp system/manager@mycon full=y inctype=complete    file=full1.dmp
  2.增量导出
  exp system/manager@mycon full=y inctype=incremental file=inc1.dmp
  3.累积导出
  exp system/manager@mycon full=y inctype=cumulative file=cum1.dmp
 
imp example:
导入表:
  imp system/manager@mycon file=c:\tab1.dmp tables=(dept,emp) touser=scott
导入用户:
  imp system/manager@mycon file=usr1.dmp fromuser=scott touser=scott
导入数据库:
  1.全库导入
  imp system/manager@mycon file=full1.dmp full=y
  2.增量导入
  1)导入数据库最新信息
  imp system/manager@mycon inctype=system full=y file=inc7.dmp
  2)导入最近完全导出文件
  imp system/manager@mycon inctype=restore full=y file=full1.dmp
  3)导入所有累积导出文件
  imp system/manager@mycon inctype=restore full=y file=cum1.dmp
  4)导入最近一次增量导出的文件
  imp system/manager@mycon inctype=restore full=y file=inc1.dmp
posted @   胡.杰  阅读(330)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 因为Apifox不支持离线,我果断选择了Apipost!
· 通过 API 将Deepseek响应流式内容输出到前端
点击右上角即可分享
微信分享提示