Bo's Oracle Station

查看: 2190|回复: 0

(52-32)第55次:2016-02-24星期三

[复制链接]

75

主题

115

帖子

2688

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2688
发表于 2016-2-25 09:42:45 | 显示全部楼层 |阅读模式
(52-32)上完1Z0-053第12章
2016-02-24a.sql:
  1. select  * from v$flashback_database_log;

  2. select  * from v$flashback_database_logfile;

  3. select * from v$flashback_database_stat;

  4. select  file_name, bytes/1024/1024   from dba_data_Files  where tablespace_name='EXAMPLE';

  5. select  * from dba_tablespaces;

  6. select  * from v$datafile;

  7. alter tablespace users online;

  8. alter database datafile '+DATA/orcl/datafile/example.265.816169651' resize 120M;

  9. alter database datafile '+DATA/orcl/datafile/example.265.816169651' resize 30M;

  10. alter database flashback off;

  11. select  * from v$restore_point;

  12. create restore point rsp1
  13. guarantee flashback database;



复制代码
  1. select  distinct substr(t.table_name,3,1)  from dba_tables  t where t.owner='SYS'
  2. and t.tablespace_name='SYSAUX' and
  3. t.table_name like 'WR_$%';
复制代码



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-3-29 09:48 , Processed in 0.043644 second(s), 24 queries .

快速回复 返回顶部 返回列表