Chinaunix首页 | 论坛 | 博客
  • 博客访问: 250804
  • 博文数量: 188
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: -30
  • 用 户 组: 普通用户
  • 注册时间: 2017-03-29 11:17
文章分类
文章存档

2013年(8)

2012年(5)

2011年(13)

2010年(26)

2009年(63)

2008年(20)

2007年(32)

2006年(21)

分类: Oracle

2009-09-17 11:00:09

Oracle导入导出方法

导出表:
  exp tables=(dept,emp) file=tab1.dmp
导出用户:
  exp owner=scott file=usr1.dmp
导出数据库:
  1.完全导出
  exp full=y inctype=complete    file=full1.dmp
  2.增量导出
  exp full=y inctype=incremental file=inc1.dmp
  3.累积导出
  exp full=y inctype=cumulative file=cum1.dmp

imp example:
导入表:
  imp file=c:\tab1.dmp tables=(dept,emp) touser=scott
导入用户:
  imp file=usr1.dmp fromuser=scott touser=scott
导入数据库:
  1.全库导入
  imp file=full1.dmp full=y
  2.增量导入
  1)导入数据库最新信息
  imp inctype=system full=y file=inc7.dmp
  2)导入最近完全导出文件
  imp inctype=restore full=y file=full1.dmp
  3)导入所有累积导出文件
  imp inctype=restore full=y file=cum1.dmp
  4)导入最近一次增量导出的文件
  imp inctype=restore full=y file=inc1.dmp

阅读(631) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~