ORACLE 8i 遇到報錯:ORA-01631: max # extents (505) reached in table

來源:互聯網
上載者:User

標籤:admin   auto   type   error   sum   rod   lte   each   使用   

近期在客戶的一個8i生產庫上使用statspack。發現alert中有報錯:

Mon Jun 16 13:17:52 2014
Errors in file /oracle/8.1.7/admin/prod/bdump/snp0_96626_prod.trc:
ORA-12012: error on auto execute of job 304
ORA-01631: max # extents (505) reached in table PERFSTAT.STATS$SQL_SUMMARY
ORA-06512: at "PERFSTAT.STATSPACK", line 978
ORA-06512: at "PERFSTAT.STATSPACK", line 1612
ORA-06512: at "PERFSTAT.STATSPACK", line 71
ORA-06512: at line 1
Mon Jun 16 13:47:46 2014
 ORA-1631: max # extents 505 reached in table PERFSTAT.STATS$SQL_SUMMARY

解決例如以下:

SQL> select tablespace_name,bytes/1024/1024 from dba_free_space where tablespace_name=‘STATSPACK1‘;
TABLESPACE_NAME                BYTES/1024/1024
------------------------------ ---------------
STATSPACK1                           63.484375
STATSPACK1                          2047.99219

SQL> SELECT segment_name, owner, EXTENTS, max_extents,segment_type
  2  FROM dba_segments
  3  WHERE segment_name =‘STATS$SQL_SUMMARY‘;

SEGMENT_NAME         OWNER                             EXTENTS MAX_EXTENTS
-------------------- ------------------------------ ---------- -----------
SEGMENT_TYPE
------------------
STATS$SQL_SUMMARY    PERFSTAT                              505         505
TABLE


SQL> ALTER table PERFSTAT.STATS$SQL_SUMMARY STORAGE ( MAXEXTENTS 8192);
Table altered.

SQL> set linesize 1000
SQL> SELECT segment_name, owner, EXTENTS, max_extents,segment_type
  2  FROM dba_segments
  3  WHERE segment_name =‘STATS$SQL_SUMMARY‘;
SEGMENT_NAME         OWNER                             EXTENTS MAX_EXTENTS SEGMENT_TYPE
-------------------- ------------------------------ ---------- ----------- ------------------
STATS$SQL_SUMMARY    PERFSTAT                              505        8192 TABLE

ORACLE 8i 遇到報錯:ORA-01631: max # extents (505) reached in table

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.