ITPub博客

首页 > IT职业 > IT生活 > 清楚Temp空间

清楚Temp空间

原创 IT生活 作者:rainbowbridg 时间:2007-05-15 11:47:45 0 删除 编辑
  • 修改参数 (仅适用于8i及8i以下版本)
    SQL>alter tablespace temp increase 1;
    SQL>alter tablespace temp increase 0;
  • 合并碎片(对于ASM也不管用了)
    SQL>alter tablespace temp coalesce;
  • 诊断事件(据说也没有太大的用处)
    SQL>alter session set events 'immediate trace name DROP_SEGMENTS level 4'
    说明:temp表空间的TS#为3,So TS#+1=4
  • 重建temp
    SQL>alter database temp tempfile '......' drop;
    SQL>alter tablespace temp add tempfile '......';
  • SQL> ORADEBUG WAKEUP 6 SMON cleans up only 8 extents per wakeup and it will not help some times

ref: http://carson.yculblog.com/post.1140421.html

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7916042/viewspace-915071/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 解决TNS-125000
请登录后发表评论 登录
全部评论
  • 博文量
    237
  • 访问量
    1622819