Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1037342
  • 博文数量: 239
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 3618
  • 用 户 组: 普通用户
  • 注册时间: 2012-11-12 13:17
文章分类

全部博文(239)

文章存档

2021年(1)

2016年(1)

2015年(30)

2014年(91)

2013年(116)

发布时间:2014-01-31 13:35:57

1.在服务器端执行命令开启监听[oracle@oracle11g ~]$ lsnrctl startLSNRCTL for Linux: Version 11.2.0.3.0 - Production on 31-JAN-2014 13:24:51Copyright (c) 1991, 2011, Oracle.  All rights reserved.Starting /u01/oracle/product/bin/tnslsnr: please wait...TNSLSNR for Linux: Version 11.2.0..........【阅读全文】

阅读(2447) | 评论(0) | 转发(1)

发布时间:2014-01-30 20:47:50

闪回删除表SQL> create table emp tablespace users as select * from hr.employees;Table created.SQL> select count(*) from emp;  COUNT(*)----------       107SQL> drop table emp;Table dropped.SQL> flashback table emp to before drop;Flashback complete.SQL> s.........【阅读全文】

阅读(1080) | 评论(0) | 转发(0)

发布时间:2014-01-30 20:16:21

闪回表闪回hr.employees表到10分钟之前SQL> flashback table hr.employees to timestamp (systimestamp - interval '10' minute);Flashback complete.将hr.employees闪回到SCN为1080381的时候SQL> alter table hr.departments enable row movement;Table altered.将hr.employees和hr.departments两张表到SCN为108.........【阅读全文】

阅读(1681) | 评论(0) | 转发(0)

发布时间:2014-01-30 20:04:03

闪回表时候报错:SQL> flashback table hr.employees to timestamp (systimestamp - interval '10' minute);flashback table hr.employees to timestamp (systimestamp - interval '10' minute)                   *ERROR at line 1:ORA-08189: cannot flashback t.........【阅读全文】

阅读(1250) | 评论(0) | 转发(0)

发布时间:2014-01-30 18:24:12

闪回数据归档在USERS表空间中创建一个能够将"旧"数据保存1年的数据归档,取名"FDA1",操作者必须拥有"flashback_archive administer"系统权限SQL> create flashback archive fda1 tablespace users retention 1 year;Flashback archive created.SQL> create flashback archive default fda_dedault tablespace use.........【阅读全文】

阅读(912) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册