Bo's Oracle Station

查看: 2211|回复: 0

第37-38次:2015-04-18星期六上下午

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2015-4-20 11:24:26 | 显示全部楼层 |阅读模式
本帖最后由 botang 于 2015-4-20 11:28 编辑
  1. select  * from v$flashback_database_log;

  2. --4/18/2015 9:54:02 AM

  3. --1052450

  4. select  * from v$flashback_database_stat;

  5. select  * from v$flashback_database_logfile;

  6. select * from v$fixed_table  where name like '%USAGE%';

  7. select  * from V$RECOVERY_AREA_USAGE;

  8. select  * from v$restore_point;
复制代码
  1. select  * from dba_recyclebin;

  2. select * from dba_segments s where s.segment_name like '%T05311_BIN2';

  3. select  * from dba_recyclebin;


  4. select  * from dba_indexes i where i.owner='HR' and i.table_name='T05311_BIN2';

  5. alter index  hr."BIN$E9e/ZQ8+DLvgUKjAWgBxZQ==$0" rename to pk_T05311_BIN2;

  6. select    sum(bytes)/1024/1024    from dba_data_files where tablespace_name='USERS';

  7. select  sum(bytes)/1024/1024   from dba_free_space where tablespace_name='USERS';

  8. purge tablespace users  user hr;

  9. purge tablespace users;
复制代码



回复

使用道具 举报

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

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-3-29 17:35 , Processed in 0.036751 second(s), 24 queries .

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