Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Ora-1654 Unable to extend index on tablespace

RE: Ora-1654 Unable to extend index on tablespace

From: Nicoll, Iain (Calanais) <iain.nicoll_at_calanais.com>
Date: Tue, 26 Jun 2001 11:27:33 -0700
Message-ID: <F001.00338695.20010626084631@fatcity.com>

Mitchell,

I may well be wrong but check your db_block_size in v$parameter

eg

select name, value
from v$parameter
where name = 'db_block_size'
/

NAME                    VALUE

db_block_size 4096

I think you have to multiply the reported figure by the blocksize to get the extent size being looked for.

-----Original Message-----

Sent: 26 June 2001 16:42
To: Multiple recipients of list ORACLE-L

Hi DBAs

Whenever I have the ora-1654, I will

1. alter index/table name deallocate unused 
2. alter tablespace name coalescs;
3. run querys to check dba_free_space and dba_data_files

There are total 140 indexes on this tablespace with setting init 1024k and next 1024k.
I got confused now that for message 'unable to extend by 256'. What is mean for 256 here?
The free space(byte) must be over 1024k here to avoid ora-1654 for each of 140 index segments?

Thanks in advance.

Mitchell

This the query I run today. I only take first few lines and last few lines.

compute sum LABEL 'TOTAL of SEGMENTS' of totalofsegments on report select tablespace_name, bytes free_space, count(bytes) segcount,

       (bytes * count(bytes)) totalofsegments   from dba_free_space
 where tablespace_name=UPPER('&1')
 group by tablespace_name, bytes
 order by tablespace_name, bytes;

TABLESPACE_NAME                      FREE_SPACE SEGCOUNT  TOTALOFSEGMENTS

------------------------------ ---------------- -------- ----------------
IDX_FINC_C70614 4,096 1 4,096 IDX_FINC_C70614 24,576 6 147,456 IDX_FINC_C70614 28,672 1 28,672 IDX_FINC_C70614 364,544 1 364,544 IDX_FINC_C70614 368,640 2 737,280 IDX_FINC_C70614 1,396,736 1 1,396,736 IDX_FINC_C70614 2,801,664 1 2,801,664 ---------------- TOTAL of SEGMENTS 913,092,608

Mitchell have you tried coalescing your tablespace? How big are your extents?

-----Original Message-----

Sent: Monday, June 25, 2001 5:28 PM
To: Multiple recipients of list ORACLE-L

    Dear DBAs
    I have a tablespace for index with 5 file with different size from 500mb - 2000 mb.

    Total tablespace size is 6g and used 5317mb abote 86.13% usage.     I got the error today.
    ora-1654 unable to extend indx sechma.indexname by 256 in tablespace tablespacename.
The following is the query I got for the tablespace . We can see the index takes 92 extents and maxextends setting is 8192. I then set autoextend on a datafile then error is gone. What is the reason to cause ora-1654 even there are 700mb space avai. I also

checked the tablespace and index setting with both have next extend 1024k, maxextend 8092.

Mitchll

SEGMENT                                                                 TYP 
BYTES NEXT_EXTENT EXTENTS MAX_EXTENTS
----------------------------------------------------------------------- ---
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: Mitchell 
  INET: mitchell_at_comnet.ca 
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051 
San Diego, California        -- Public Internet access / Mailing Lists 

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Nicoll, Iain (Calanais) INET: iain.nicoll_at_calanais.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Received on Tue Jun 26 2001 - 13:27:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US