Bo's Oracle Station

查看: 1589|回复: 0

第33次:2014-09-02

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2014-9-9 14:52:50 | 显示全部楼层 |阅读模式
  1. select  * from dba_Temp_files;

  2. alter tablespace temp add tempfile '/home/oracle/temp02.dbf' size 50M autoextend on maxsize 10G;

  3. alter tablespace temp drop tempfile '+DATA/orcl/tempfile/temp.264.816169645';

  4. select  * from v$log;

  5. select  * from v$logfile;

  6. alter database drop logfile group 1;

  7. alter database add logfile group 1 ( '/home/oracle/redo01a.log', '/home/oracle/redo1b.log') size 50M;

  8. alter database drop logfile group 3;

  9. alter database add logfile group 3 ( '/home/oracle/redo03a.log', '/home/oracle/redo3b.log') size 50M;

  10. alter system switch logfile;

  11. alter system checkpoint;

  12. alter database drop logfile group 2;

  13. alter database add logfile group 2 ( '/home/oracle/redo02a.log', '/home/oracle/redo2b.log') size 50M;

  14. select   i.index_name , i.degree,  i.blevel  from dba_indexes i where i.owner='HR' and i.index_name='IBIG';

  15. alter index hr.ibig noparallel;

复制代码



回复

使用道具 举报

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

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-12-12 07:33 , Processed in 0.036625 second(s), 25 queries .

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