ORA-01631: max # extents (121) reached!!!

Please review the following DML and error in response of that command:
insert into dtcn (area_code, cons_code, dcdat) values(12,12,sysdate);
ERROR at line 1:
ORA-01631: max # extents (121) reached in table MNBSYS.DTCN
There are only two such tables DTCN and DTCN_HISTORY in which we are unable to insert any record because of above error. Following are some reference information of these tables:
PCT_FREE: 10, PCT_USED: 40 INITIAL_EXTENT: 5242880,
NEXT_EXTENT: 10240, MIN_EXTENTS: 1, MAX_EXTENTS: 121,
PCT_INCREASE: 0, FREELIST: 1, TABLESPACE_NAME: MNB_DATA,
DBUSERNAME: MNBSYS
It may also be noted that the above statistics are exactly same for number of tables but we are facing the problem with only these two tables. Kindly advise what could be the problem and how can I overcome this...
Thanks in anticipation...
Zia Shareef

Hi,
This error comes when table reach to his max extents,here table extend upto 121 extents that is his max value so now you have to increase the value of maxextents.
by
SQL> alter table <table_name> storage(maxextents unlimited);
**also set the value of nextextent parameter because currently its define by very low value of 10240
Kuljeet

Similar Messages

  • ORA-01631: max # extents (4096)

    Hi
    I received below ORA error for one of my prod table, would like to in which scenario we get the below error and how to investigate why it has occured.
    ORA-01631: max # extents (4096) reached in table DWHSE.F_APS_ORDERS
    Regards

    To hit a maximum extents error on a table you pretty much have to be using dictionary tablespace management. The maximum number of extents defaults based on the block size. If your Oracle version is 8.1 and up all your tablespaces should have been rebuilt as locally managed tablespaces using either auto-allocate or uniform extents. In the case where you have a newer version you should consider creating new tablespaces and moving the objects into them so you can take advantage of modern extent management features.
    If you are running an older release then just take some time to review your object allocation layout to see if for space managment purposes you need to do any re-arranging or storage parameter modification. We used our own version of auto-allocate under 7.x where we had 4 different extent sizes for smaller objects where each size was an even multiple of the smaller sizes. For moderate size and large tables we had uniform extent sizes.
    Good luck.
    HTH -- Mark D Powell --

  • ORA-1631: max # extents 505 reached in table APPLSYS.WF_NOTIFICATION_IN

    Platform: RHEL 4u5
    Application: 11.5.10.2
    Database: 10.2.0.4
    2-node Installation as follows:
    1 Node for DB and Concurrent
    1 Node for Apps.
    We anabled OWF Mailer services on 2nd Sept, and on 5th Sep we started receiving following error messages in our DB alert log contnuously:
    ORA-1631: max # extents 505 reached in table APPLSYS.WF_NOTIFICATION_IN
    So, we stopped the OWF Mailer servcies and Agent Listeners.
    Got a metalink note 152475.1 but confused to alter the table definition as I am of the view that these Oracle Workflow related tables are Oracle Built-in Objects not the custom one.
    So, will it be ok to increase the Maxextents for this table?

    911748 wrote:
    Hi Asif,
    We have actually implemented it on Production now. We just tested the mailer configuration on TEST and when users give go ahead after they tested their scenarios we implemented the same on Production. Can I implement the extents increment activity on production?
    Yes you can.
    Thanks,
    Hussein

  • ORA-01630: max # extents (2) reached in temp segment in tablespace USERS

    Hi all,
    I got the error when I created CLUSTER
    ORA-01630: max # extents (2) reached in temp segment in tablespace USERS
    CREATE CLUSTER trial_cluster (trialno NUMBER(5,0))
    PCTUSED 80
    PCTFREE 5
    TABLESPACE users
    STORAGE (INITIAL 250K NEXT 50K
    MINEXTENTS 1 MAXEXTENTS 2
    PCTINCREASE 0)
    HASH IS trialno HASHKEYS 150;
    And I increased maxextents to 20480
    alter tablespace users default storage(MAXEXTENTS 20480)
    same error happens.

    Here is one example from Metalink note:
    create tablespace dropme datafile 'dropme.dbf' size 200m
    extent management dictionary
    default storage (initial 100k next 100k maxextents unlimited pctincrease 0);
    SQL> create index myind on mytab (object_name)
    2 storage ( initial 16k next 16k maxextents 3 pctincrease 0)
    3 tablespace dropme;
    ERROR at line 1:
    ORA-01630: max # extents (3) reached in temp segment in tablespace DROPME

  • ORA-01630: max # extents (505) reached in temp segment in tablespace

    I have a problem, in creating a index with error ORA-01630: max # extents (505) reached in temp segment in tablespace.
    can you any please help me on this , what could be the best steps can be taken to fix the issue.
    I increased the TBS size (I have more than 6 Gb free space), verified the max extents and min extents but didn't get clear idea.
    SQL> show user
    USER is "APPS"
    SQL> create index xyz.xygts_mtl_trx_source_idx on mtl_material_transactions(trx_source_line_id);
    create index xyz.xygts_mtl_trx_source_idx on mtl_material_transactions(trx_source_line_id)
    ERROR at line 1:
    ORA-01630: max # extents (505) reached in temp segment in tablespace
    XY_DATA
    SQL> select BYTES/1024/1024 from dba_segments where SEGMENT_NAME='MTL_MATERIAL_TRANSACTIONS';
    BYTES/1024/1024
    10510
    -- Verified the pctincrease value
    SQL> select TABLESPACE_NAME,INITIAL_EXTENT,NEXT_EXTENT,MAX_EXTENTS,PCT_INCREASE from dba_tablespaces where TABLESPACE_NAME='XYZ_DATA';
    TABLESPACE_NAME INITIAL_EXTENT NEXT_EXTENT MAX_EXTENTS
    PCT_INCREASE
    XYZ_DATA 40960 40960 505
    0
    Thanks,
    Venkat

    Pl see
    How to Diagnose and Resolve ORA-1628, ORA-1630, ORA-1631, ORA-1632, ORA-1684 : max # of extents <num> reached in < OBJECT > [ID 1025581.6]
    Overview Of ORA-01630 Max # Extents(%) reached in temp segment in tablespace % [ID 260944.1]
    HTH
    Srini

  • ORA-1631: max # extents  4096

    Hi
    I received below ORA error for one of my prod table, would like to in which scenario we get the below error and how to investigate why it has occured.
    ORA-1631: max # extents 4096 reached in table.......
    Regards

    And what does this database error have in common with Oracle Object and Object Relational concepts, that are the subject matter of this forum?
    Please select the appropriate forum to ask your questions - in this, find the Oracle Database > Database - General forum - and close your thread here.

  • ORA-01693-Max extents reached in lobsegment

    Hi
    getting this error in our alert log file
    ORA-01693-Max extents <> reached in lobsegment <name>
    Can any tell me how to increase (alter) logsegment
    Thanks
    Bhanu

    alter table <table> modify lob (<lobcolumn>) (storage (maxextents unlimited))
    will work

  • MAX EXTENTS have reached

    Hi Team,
    We are getting ora-1632, max extents error's.. suggest ---what all can be done..
    and in future how to avoid it...

    Seems your index extent has reached its max limit, try and see if the issue resolves and always post full error instead of just error no.
    ALTER INDEX <object_owner>.<index_name> STORAGE ( MAXEXTENTS UNLIMITED);
    Edited by: Veeresh.S on Oct 22, 2012 6:53 PM

  • ORA-1631: max # extents reached in table INFILES

    Dear friends
    kindly give me the answer weather I am correct/wrong?
    Solution i have given is
    Alter table <tablename>
    storage(maxextents unlimited)
    Srinivas

    Before changing the table to allow an unlimited number of extents I would 1- verify that the table size is in line with its design usage and 2- that the program in question is not doing something stupid. If both of these are OK, and most of the time they will not be the problem, then you might also consider resizing the object since dictionary space management is in use.
    HTH -- Mark D Powell --

  • System maximum max extents....

    Hi,
    I need a clarification about the System maximum max extents...
    The oracle doc "Error messages" about The error code and message "ORA-01631: max # extents (string) reached in table string.string" points out as action:
    "If maxextents is less than the system maximum, raise it. Otherwise, you must recreate with larger initial, next or pctincrease params"
    Which is the system maximum max. extents...??? Is this of database block size???
    Thanks you,
    Sim

    sgalaxy wrote:
    Hi,
    I need a clarification about the System maximum max extents...
    The oracle doc "Error messages" about The error code and message "ORA-01631: max # extents (string) reached in table string.string" points out as action:
    "If maxextents is less than the system maximum, raise it. Otherwise, you must recreate with larger initial, next or pctincrease params"
    Which version of Oracle are you on ? I don't think maxextents has been a problem since 9i.
    In the days when "unlimited extents" had not been introduced and the entire extent map had to fit in the segment header the size of a segment map entry dictated the number of extents that could be listed, so the block size made a big difference. The maximum roughly doubled as you doubled the size of the block. From memory - 2KB blocks gave 121 extents, 4KB gave 248, 8KB gave 505 and 16KB gave 1016 - I don't have any memory of a figure for 32KB blocks.
    But from 9i (at least 9.2) Oracle ignores any maxextents setting you put into the table storage clause and uses "unlimited".
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "For every expert there is an equal and opposite expert"
    Arthur C. Clarke

  • IMPORT error :  ORA-01631

    Hi,
    I am impoting a dump file to a Oracle 8.1.7 database. Before the import,
    I have manually created all the tablespaces required.
    Now I'm getting an error while importing rows:
    ORA-01631: max # extents (100) reached in table <..>
    IMP-00018: partial import of previous table completed: 52784 rows imported
    Any pointers on my problem?
    Thanks in advance.
    Lavinia

    Thank you Kuljeet !
    Maxextent of tablespace is ok and i'm importing data into existing table....
    actually, i'm try to increase maximun number of extents allowed for the table and indexes

  • Max # extents Error

    When I execute this query in Oracle 8i Database.
    SQL> create table MTL_MATERIAL_TRANSACTIONS_bak as select * from MTL_MATERIAL_TRANSACTIONS;
    create table MTL_MATERIAL_TRANSACTIONS_bak as select * from MTL_MATERIAL_TRANSACTIONS
    ERROR at line 1:
    ORA-01630: max # extents (505) reached in temp segment in tablespace APPLSYSD
    then Shall I use the following command Without shutting down the database. Is there any other solutions.
    Please reply.
    alter tablespace APPLSYSD default storage (maxextents unlimited);
    OR
    alter tablespace APPLSYSD storage (maxextents unlimited);

    Hi user13098327,
    Please read below thread;
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:956629961318

  • Max # extents exceeded

    Hi,
    I am having problems with the max # extents being exceeded.
    I am creating a spatial index using the following script:
    CREATE INDEX GIS.MYTABLE_SX ON
    GIS.MYTABLE(GEOMETRY)
    indextype is MDSYS.SPATIAL_INDEX
    parameters ( 'SDO_LEVEL=6,
         SDO_NUMTILES = 8,
         SDO_COMMIT_INTERVAL = 1000,
         TABLESPACE = GISI,
         INITIAL = 131072,
         NEXT = 131072,
         PCTINCREASE = 0,
         MINEXTENTS = 1,
         MAXEXTENTS = 2147483645,
         BTREE_INITIAL = 512K,
         BTREE_NEXT = 512K,
         BTREE_PCTINCREASE = 0')
    This in turn creates the table
    MYTABLE_SX_HL6N8$
    and
    the indexes
    MYTABLE_SX_HL6N8$_B1
    (x4 - one for each field SDO_GROUPCODE, SDO_CODE, SDO_STATUS, SDO_ROWID)
    and
    MYTABLE_SX_HL6N8$_B2
    (x1 one for SDO_ROWID)
    using the following script:
    DROP TABLE MYTABLE_SX_HL6N8$ CASCADE CONSTRAINTS ;
    CREATE TABLE MYTABLE_SX_HL6N8$ (
    SDO_GROUPCODE RAW (14),
    SDO_ROWID ROWID,
    SDO_CODE RAW (14),
    SDO_STATUS VARCHAR2 (1))
    TABLESPACE GISI
    PCTFREE 10
    PCTUSED 40
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 131072
    NEXT 131072
    PCTINCREASE 0
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    FREELISTS 1 FREELIST GROUPS 1 )
    NOCACHE;
    CREATE INDEX MYTABLE_SX_HL6N8$_B1 ON
    "GIS".MYTABLE_SX_HL6N8$(SDO_GROUPCODE, SDO_CODE, SDO_ROWID, SDO_STATUS)
    TABLESPACE GISI PCTFREE 10 STORAGE(INITIAL 524288 NEXT 524288 PCTINCREASE 0 )
    CREATE INDEX MYTABLE_SX_HL6N8$_B2 ON
    "GIS".MYTABLE_SX_HL6N8$(SDO_ROWID)
    TABLESPACE GISI PCTFREE 10 STORAGE(INITIAL 524288 NEXT 524288 PCTINCREASE 0 )
    The problem is when you create a spatial index using the top script the max # extents do not get applied to
    MYTABLE_SX_HL6N8$_B1
    and
    MYTABLE_SX_HL6N8$_B2
    Instead these tables take on the default max # extents set on the tablespace.
    How do I set the max # extents for indexes
    MYTABLE_SX_HL6N8$_B1
    and
    MYTABLE_SX_HL6N8$_B2
    to MAXEXTENTS 2147483645 for example. I am aware that this is not good practice but I would like to know if it is possible. Is it a spatial issue? I have tried to increase the size of
    the BTREE_INITIAL and BTREE_NEXT to 512K from 128K but it still complains about max # extents (999) reached. A way round it is obviously to increase the default max # extents on the tablespace but that requires DBA intervention. I would like to know how one can do this programatically using the top script or something similar.
    Thanks
    Regards
    Stephen

    Hi Stephen,
    A few thoughts:
    Oracle has pretty much dropped hybrid indexing in terms of it being
    a generically useful way to index data. As of 9.0.1.2 the suggestion
    is to use R-tree indexes unless there is something about your
    workload or data set that makes the use of R-trees bad.
    If you don't use R-tree indexing, then stick with fixed indexing. The
    original idea of hybrid indexing was to allow better approximations
    of geometries without the index growing too large, but it turns out the
    SQL index query within spatial took longer than anticipated.
    In terms of setting up the spatial index, when creating a quadtree index
    you can specify the btree_initial and btree_next in the parameters clause
    of the create index statement, which allows you to adjust the btree indexing
    parameters as you noted, but there is no way to set the max number of
    extents (or in fact the tablespace used for the b-tree indexes).
    When you need that control, you need to to have dba intervention to set the
    default tablespace and parameters at the user level before creating the spatial
    index. The parameters in the parameters clause can set up the index table
    parameters, and the default parameters can be used for the btree indexes.
    regards,
    dan

  • ORA-29266: end-of-body reached - using SOAP_API over SSL

    Hey guys. I have a simple SOAP_API I am using to send SOAP over SSL. It seems to connect fine but give off some shaky results. This is the error I keep getting:
    ERROR at line 1:
    ORA-29266: end-of-body reached
    ORA-06512: at "SYS.UTL_HTTP", line 1321
    ORA-06512: at "LOANADMIN.SOAP_API", line 229
    ORA-06512: at "LOANADMIN.GET_CITY_FROM_ZIPCODE", line 29
    ORA-06512: at line 2
    it seems to mainly happen on these two peices of code:
    UTL_HTTP.write_text(l_http_request, l_envelope);
    UTL_HTTP.read_text(l_http_response, l_envelope);
    Sometimes the first and sometimes the latter. I know my XML is well formed, and im thinking the response is to big for the variable (im thinking the response could be larger than 32k. not sure though).
    I've searched all over this forum, but it seems like the people who have solutions to this particular problem found it on meta-link. I dont have a meta-link account. Could someone please simply explain the solution and problem im running into?
    That would help a lot. Thanks.
    Mo

    I'm having the same problem, and it is inside the SOAP_API package from http://www.oracle-base.com/dba/miscellaneous/soap_api.sql :
    ORA-29266: end-of-body reached
    ORA-06512: at "SYS.UTL_HTTP", line 1330
    ORA-06512: at "NAPS.SOAP_API", line 119
    I understand the responses given:
    EXCEPTION WHEN UTL_HTTP.end_of_body THEN
    utl_http.end_response(resp);
    END;
    and the suggestion to use UTL_HTTP.read_line instead of UTL_HTTP.read_text, but would like some assistance in modifying the procedure to ensure I get the full response returned.
    The procedure with the error is:
    FUNCTION invoke(p_request IN OUT NOCOPY t_request,
    p_url IN VARCHAR2,
    p_action IN VARCHAR2)
    RETURN t_response AS
    l_envelope VARCHAR2(32767);
    l_http_request UTL_HTTP.req;
    l_http_response UTL_HTTP.resp;
    l_response t_response;
    BEGIN
    generate_envelope(p_request, l_envelope);
    show_envelope(l_envelope);
    l_http_request := UTL_HTTP.begin_request(p_url, 'POST','HTTP/1.1');
    UTL_HTTP.set_header(l_http_request, 'Content-Type', 'text/xml');
    UTL_HTTP.set_header(l_http_request, 'Content-Length', LENGTH(l_envelope));
    UTL_HTTP.set_header(l_http_request, 'SOAPAction', p_action);
    UTL_HTTP.write_text(l_http_request, l_envelope);
    l_http_response := UTL_HTTP.get_response(l_http_request);
    UTL_HTTP.read_text(l_http_response, l_envelope);
    UTL_HTTP.end_response(l_http_response);
    l_response.doc := XMLTYPE.createxml(l_envelope);
    l_response.envelope_tag := p_request.envelope_tag;
    l_response.doc := l_response.doc.extract('/'||l_response.envelope_tag||':Envelope/'||l_response.envelope_tag||':Body/child::node()',
    'xmlns:'||l_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/envelope/"');
    -- show_envelope(l_response.doc.getstringval());
    check_fault(l_response);
    RETURN l_response;
    END;
    I have tested the exact call I am making using 'soapUI 2.5.1' so I can compare results to ensure I get the code right, and I am expecting a response of 1755 bytes (well short of the 32767 that is said to cause this error).
    My call is not over SSL, the call I am trying to make is:
    <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:abr="http://abr.business.gov.au/ABRXMLSearchRPC/">
    <soapenv:Header/>
    <soapenv:Body>
    <abr:ABRSearchByABN soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <searchString xsi:type="xsd:string">11006489103</searchString>
    <includeHistoricalDetails xsi:type="xsd:string">N</includeHistoricalDetails>
    <authenticationGuid xsi:type="xsd:string">?</authenticationGuid>
    </abr:ABRSearchByABN>
    </soapenv:Body>
    </soapenv:Envelope>
    The calling code is:
    DECLARE
    l_request soap_api.t_request;
    l_response soap_api.t_response;
    l_return VARCHAR2(32767);
    l_url VARCHAR2(32767);
    l_namespace VARCHAR2(32767);
    l_method VARCHAR2(32767);
    l_soap_action VARCHAR2(32767);
    l_result_name VARCHAR2(32767);
    BEGIN
    l_url := 'http://abr.business.gov.au/abrxmlsearchRPC/ABRXMLSearch.asmx';
    l_namespace := 'http://abr.business.gov.au/ABRXMLSearchRPC/"';
    l_method := 'ABRSearchByABN';
    l_soap_action := 'http://abr.business.gov.au/ABRXMLSearchRPC/ABRSearchByABN';
    l_request := soap_api.new_request(p_method => l_method,
    p_namespace => l_namespace);
    soap_api.add_parameter(p_request => l_request,
    p_name => 'searchString',
    p_type => 'xsd:string',
    p_value => '11006489103');
    soap_api.add_parameter(p_request => l_request,
    p_name => 'includeHistoricalDetails',
    p_type => 'xsd:string',
    p_value => 'N');
    soap_api.add_parameter(p_request => l_request,
    p_name => 'authenticationGuid',
    p_type => 'xsd:string',
    p_value => '?');
    l_response := soap_api.invoke(p_request => l_request,
    p_url => l_url,
    p_action => l_soap_action);
    l_return := l_response.doc.getStringVal();
    dbms_output.put_line('-----------------------------------------------------------');
    dbms_output.put_line(l_return);
    END;
    Edited by: 873298 on 18-Jul-2011 15:41

  • Max Menu Items Reached in Step Type Palettes

    Hi,
    I am seeing a greyed out text in some of my step type palettes 'Max Menu Items Reached' which is probably derived from the Resource string SEQ_MAXIMUM_MENU_ITEMS_REACHED.
    What defines the maximum number of menu items in the type palettes and can it be changed.
    Regards
    Ray Farmer

    Ray,
    The maximum number of menu items for TestStand 2.0.1 is set to be 256. This is pre-defined and cannot be changed. The message "'Max Menu Items Reached" should be displayed once you have inserted 256 menu items.
    Hope that helps!
    Shannon Rariden
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Error message that has taken over every program on my computer

    Photoshop.exe - Entry Point Not Found     The procedure entry point ?Terminate@StructuralImageEditing@@YAXXZ could not be located in the dynamic link library PatchMatch.dll At first, working on a photo, photoshop cc was not able to perform a selectio

  • Fax the output type and convert to PDF and then to save in UNIX Directory

    Hi,   I wan to Fax the my sales order acknowldement and at the same time I want to convert that output into PDF and save in the UNIX Directory . I also need the code for faxing the sales order acknowledgement. Thanks in Advance Moderator message: ple

  • Best Wireless Security Settings-WRT54G Linksys Router

    I've been running into problems attempting to set the wireless security settings for my router and then trying to connect to the internet from my iBook. As long as I enable SSID broadcasting I can find my router but the problem starts when I enable t

  • Toplink 10.1.3DP3 and VPD

    I have a simple example using Toplink 10.1.3 in combination with VPD. If I execute the following piece of simple code, I can see that the events are never thrown... ToplinkProject project = new ToplinkProject(); Server server = project.createServerSe

  • MRP for alternative items

    Dears, We have requirement from client that , they need to plan alternative items for their spare parts,  scenario is as follows. Header Mat is X  and  Components are   C and D,  here C and D are alternative to each other. If we run out of stock for