使用PL/SQL工具将远程数据库备份到本地主要分为三大步:
第一步:
- 在本地创建表空间(存储数据用)
- 创建临时表空间(临时表空间用来管理数据库排序操作以及用于存储临时表、中间排序结果等临时对象)
- 创建用户
- 给用户赋权和表空间
具体步骤:
1.使用system用户登录PL/SQL连接本地数据库,密码为安装数据库的使自定义密码。
2.点击打开文件===>点击新建===>点击SQL 窗口,出现
3.输入以下语句创建临时表空间,表空间,用户,赋权语句
/*创建临时表空间 */
create temporary tablespace lacal_temp_space
tempfile 'E:\oracle\localtable_space\lacal_temp_space.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
/*创建数据表空间 */
create tablespace lacal_spac