文档详情

Oracle9i数据库备份与恢复.ppt

发布:2017-04-18约4.69千字共31页下载文档
文本预览下载声明
Oracle9i 数据库备份与恢复;Oracle数据库归档模式;NOARCHIVELOG;ARCHIVELOG;ARCHIVELOG;确定数据库归档模式;确定数据库归档模式;评价备份方法;备份方法;完全数据库脱机备份;完全数据库脱机备份步骤;联机部分数据库备份;卸出(Export) /装入(Import);卸出模式: 表(Table) : 卸出指定的表 用户(User):卸出属于一个用户的所有实体 (如表、权限索引) 全部数据库(Full Database):卸出数据库的所有实体 备注: 只有拥有EXP_FULL_DATABASE权限的用户才能卸出全部的数据库 所有用户都可以在表和用户模式下卸出数据;表模式: 表定义 表数据 表拥有者的授权 表拥有者的索引 表完整性约束 表触发器;用户模式: 表定义 表数据 表拥有者的授权 表拥有者的索引 表完整性约束 表触发器 聚簇;全部数据库模式: 表定义 表数据 表拥有者的授权 表拥有者的索引 表完整性约束 表触发器 聚簇 Profiles 角色 回退段定义;$pwd $/home2/app/oracle/product/9.0.1 $exp Export: Release 9.0.1.1.1 - Production on Sun Oct 21 12:22:29 2001 (c) Copyright 2001 Oracle Corporation. All rights reserved. Username: system Password: Connected to: Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production With the Partitioning option JServer Release 9.0.1.1.1 - Production Enter array fetch buffer size: 4096 Export file: EXPDAT.DMP (1)E(ntire database), (2)U(sers), or (3)T(ables): (2)U ; 卸出数据(Export);$imp Import: Release 9.0.1.1.1 - Production on Sun Oct 21 12:38:35 2001 (c) Copyright 2001 Oracle Corporation. All rights reserved. Username: scott Password: Connected to: Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production With the Partitioning option JServer Release 9.0.1.1.1 - Production Import file: EXPDAT.DMP /u02/app/oracle/oradata/ora9i/scott.dmp;表模式卸出(EXP);用户模式卸出(EXP);数据库模式卸出(EXP);使用IMP装入数据;使用Export/Import:;应用实例: 基表:sales01 记录:4190000;$imp Import: Release 9.0.1.1.1 - Production on 星期三 5月 30 15:12:03 2001 (c) Copyright 2001 Oracle Corporation. All rights reserved. 用户名: sales02 口令: 已连接到:Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production With the Partitioning option Jserver Release 9.0.1.1.1- Production 导入文件:EXPDAT.DMP /home1/oracle/backup/sales 输入插入缓冲区大小(最小为 8192 ) 30720 经由直接路径导出由EXPORT:V09.01.01创建的导出文件 警告:此对象由 SALES01 导出, 而不是当前用户 已经完成ZHS16GBK字符集和ZHS16GBK NCHAR 字符集中的导入 只列出导入文件的内容(yes/no):no 由于对象已存在, 忽略创建错误(yes/no):no 导入权限(yes/no):yes 导入表数据(yes/no):yes 导入整个导出文件(yes/no):no 用户名: sales01 ... ... . . 正在装入
显示全部
相似文档