Recude the extents for a segment

Can anybody provide me the steps to reduce the number of extents for a specific segment?
Iam not supposed to increase the tablespace datafile size but i have to reduce the number of extents .
I also tried the coalesce option on the tablespace where my segment exactlly lies but it is of no use.
Caan anyone give me the steps to accomplish that ?
Thanks A TON
Aram

This is your third duplicate post on this issue. You have been warned ! Pl continue the discussion in your original thread.
reduce extents
ora-01658 unable to create initital extents error in oracle 8.1.7.0.0

Similar Messages

  • How to Pass Multiple data records into SDATA for a segment

    Hi Friends,
    I need to Pass data records to Function Module
    MASTER_IDOC_DISTRIBUTE for Creating Outbound IDOCs
    I am Collecting all the Data Records and Passing into the Structure EDIDC.
    Here my problem is
    For one Route there are Multiple Customer records.
    so my First Parent Segment is ZROUTE
    i am passing the Datarecord for this Segment.
    and for the Customer Segment , I have 5 Customers,
    so i am passing the 5 Data records to SDATA .
    Loop at gt_route into gw_route.
    Pass the Route data into the Data record SDATA
      gw_idocdata-sdata    = gw_route_header.
      gw_idocdata-segnam = lc_route_header.
      gw_idocdata-hlevel = lc_4.
      APPEND gw_idocdata TO gt_idocdata.
      CLEAR : gw_route_header, gw_idocdata.
    Loop at gt_customer into gw_customer
                                   where anlage  = gw_route-anlage.
    Pass the Customer data into the Data record SDATA
      gw_idocdata-sdata  = gw_customer.
      gw_idocdata-segnam = lc_customer.
      gw_idocdata-hlevel = lc_5.
      APPEND gw_idocdata TO gt_idocdata.
      CLEAR : gw_customer, gw_idocdata.
    ENDLOOP
    ENDLOOP.
    So this customer segment is comming 5 times in my IDOC
    Can any one suggest me whether i am going in correct way or not.
    I am Getting the IDOC status 26.
    Error during syntax check of IDoc (outbound)
    I think it is because the IDOC is not yet SET RELEASE.
    But i am having the Dought in Passing the data to SDATA fied
    of the EDIDC Structure.
    Can any one Suggest me.
    Thanks in Advance,
    Ganesh

    Hi,
    First of all EDIDC is the control record, EDID4 is the data record. When collecting customer record into idoc_data you need to insert customer's parent segment number.
    Eg.
    route1, segnum 1.
       child 1, segnum 2 and parent segnum = 1
       child 2, segnum 3 and parent segnum = 1
       child 3, segnum 4 and parent segnum = 1
    route 2, segnum 5
       child 1, segnum 6 and parent segnum = 5
       child 2, segnum 7 and parent segnum = 5
       child 3, segnum 8 and parent segnum = 5
    Cheers.
    ...Reward if useful.

  • How to write the logic for extending Idocs...

    Hi,
          Can anybody pls explain how to write the logic for extending IDOCs with an example...
          Good suggestions can be appreciated..
    Regards,
    Ram

    Hi Ram,
    Generally the IDoc user exit is called at the following places:
      1) When the control record is read.
      2) After each and every segment in the data record
      3) At the end of the data segment processing.
    The IDoc user exit interface generally imports IDOC_DATA (data record internal table) table. Now the data records in the internal table should appear in the same order as maintained while defining IDoc structure (WE30 transaction). For SAP standard segment SAP code will take care of this. For extended segment you will have to take care of this aspect by appending the Z-segment in the IDOC_DATA table.
    You can do this by:
             looping at IDOC_DATA table:
                 - Do a case-endcase fo IDOC_DATA-SEGNAM (This stores the segment 
                   structure as per the hierarchy).
                 - Within the case for "Z-segment" you can write the logic for appending
                   the Z-segment to IDOC_DATA-SDATA.
    Hope this gives some clue.
    Regards,
    Gajendra.

  • ORA-01658: unable to create INITIAL extent for segment in tablespace

    NEW REPOSITORY INSTALLATION ERROR!!
    I want to install a new Repository using Oracle9iR9.2.0.1 and iDS10g on windowsXP Professional the same machine.
    After running all the SQL scripts ( ckqa,ckvalqa,ckcreate,ckreport) with success to installing a new Repository on my Database using "the Scripts Method",I start the Repository Administration Utility( RAU) to scheck the priveleges and so on.
    After pressing the Install button in the RAU:
    -I take public synonyms
    -I scheck the box for "Support Designer Objects", then
    -The Repository size is Medium
    -I have not change the defauft Tablespace of the Repository_Manager names TEMPORARY_TABLES to store the index and table of System Data....Diagram Data.
    After Starting, the Installation began an stop by installing some Tables like schown :
    Operation: Started : 07/03/04 20:26:32
    Reading File: cktabs.sql
    Object : TABLE CDDL_TMP_TBL
    Executing statement(s)...
    Verifying...
    .and so on till....uns so weiter bis
    Reading File: cktabs.sql
    Object : TABLE RM$INFO
    Executing statement(s)...
    Error Submitting Definition: User intervention required...
    RME-02124: Failed to execute SQL statement: CREATE TABLE RM$INFO
    (NAME VARCHAR2(128) NOT NULL
    ,VALUE VARCHAR2(128)
    Storage (initial 4K next 4K pctincrease 0) Tablespace TEMPORARY_TABLES
    ORA-01658: unable to create INITIAL extent for segment in tablespace TEMPORARY_TABLES
    Dumping Buffer...
    CREATE TABLE RM$INFO
    (NAME VARCHAR2(128) NOT NULL
    ,VALUE VARCHAR2(128)
    ...End of Buffer
    User Requested: Stop Process
    When I read the Help of the Error the
    CAUSE was: Failed to find sufficient contiguous Space to allocate INITIAL extend for Segment being created.
    ACTION: Use ALTER TABLESPACE ADD DATAFILE to add additional space to the tablespace or retry with a smaller Value for initial.
    I then try to resolve it by schecking and changing the Values of INITIAL_VALUE and NEXT_VALUE in the ckparams.txt to 500k.I change the Values of TEMPORARY_TABLES(10214 to 51200k) and TEMPORARY_INDEXES from (20000 to 100000k).Then I run the scripts @ckparams.txt, @ckvalqa, @ckcreate but
    -pressing the Scheck Privileges Button on the RAU still give me 106k for the INITIAL_ and NEXT_VALUE.
    -And the installato still stop with the same Error.
    Question: How schould I resolve this Configuration?
    You could respond in ENGLICH, GERMAN or FRENCH
    Thank you for your Help!

    You are running into database errors. You should refer to the database documentation on how to adjust the size your tablespaces. The online Designer installation guide will advise you as to the sizes of tablespaces you require. (http://otn.oracle.com/pls/wocprod/docs/page/ocom/technology/products/designer/supporting_doc/Des10g_9044/cmnhlp72/rep_insgde/igttl_9i.htm)
    Regards
    Sue

  • Unable to create INITIAL extent for segment in tablespace FLOW_4686

    I'm trying to create a new table on here (only 4 rows) from a spreadsheet, and I keep getting the following:
    ORA-20001: Excel load run ddl error: drop table "COMMODITIES" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "COMMODITIES" ( "ID" NUMBER, "DEP_ID" NUMBER, "LINE" NUMBER, "CODE" VARCHAR2(6), "COMMOD" VARCHAR2(30), "QUAL" VARCHAR2(30), "COMMOD_TP" VARCHAR2(1), "IMPORT" VARCHAR2(5), constraint "COMMODITIES_PK" primary key("ID") ) ORA-01658: unable to create INITIAL extent for segment in tablespace FLOW_4686
    I'm trying to upload/create this to see if I get the same error messages on here as I do on my local installation for another problem I'm having.
    Thanks

    Thanks Sergio, to you and the rest of the HTMLDB team. I remember reading somewhere that there's only 13 of you guys working on this product, and with development work and answering all of our questions on here, you guys are really doing a great job and deserve every penny you guys make (and more!)
    Thanks again!

  • Some segments are missing in the idocs for master data zdebmas

    hi guru's,
    can any one hlep me here we facing the probelumm
    some segments are missing in the idocs for master data zdebmas
    , there is some issue on the generation of the Site Master IDoc (Message type: ZDEBMAS, Basic type: DEBMAS06).
    This is using the SAP standard program (RBDMIDOC) which reads the Site master change pointers.
    There is  some segments below is missing in the IDoc:
    how to chcek this probelumm...

    hi
    i got the function module. it is  triggerig whne i do changepointer running.
    what ever changes i made only that segments are onlycomming in to the idoc. but remaing segments are not comming.
    my req is to show all segments  even if i do changes in one segmet fields  dont change theay have send to the interfece all athe segments.i ahve to do some enhancemetns for that
    can u plse help me the login  or any function module which will fill the alla the segmetns .

  • How to generate multiple files for each segment in the IDOC

    Hi,
    I have a IDOC with multiple segments, for each segment, a file needs to be generated,
    There is only one target structure. Please let me know as to how do we handle this requirement in XI.
    Regards,
    Younus

    Use multimapping in message mapping. Then map the Idoc node to the Message Type of File.
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    Regards,
    Prateek

  • What is the programmed Logarithm or any other function for arc segment tool options in illustrator ?

    Hello Dears ,
    If you please, i need to know the basic function which the arc segment tool options programmed and used in this ARC TOOLS AS IT IN PHOTO:
    I THINK THAT IS Logarithm FUNCTION SO I NED HELP IF ANY HAVE ANY IDEA AND EXPLANATION
    THANKS 

    Thank you very Mr. Mylenium
    because i have not enough knowledge in mathematics , i was think that is options have Logarithm function ,for example 
    1= cartesian coordinate quadrants
    2+3= Describe Interval Type of the subset of real numbers represented by X and Y Axis
    4= the direction of the curve or indpentent and dpentet varibles  X or Y
    5= THE RADIUS FOR THE CURVE
    SORRY FOR THIS SUPPOSED IF THAT WRONG
         ANY WAY IF YOU PLEASE MAY YOU TELL ME HOW I CAN APPLY THIS Bezier formula IN AUTOCAD 2014 COS I NEED TO USE IT THERE .
    FINALLY THANK YOU VERY VERY MUCH

  • Mapping Logic for matching the qualifier from different segments

    Hi all,
    I have the following input file and i would like to have the output in mentioned way.
    I have to look for the STOP from delivery segment, if that matches to the STOP in the E1ADRM4 segment means i have to take that date.
    For the first STOP in the delivery segment is getting the correct date from the E1ADRM4 segment but for the second onwards it is not giving in the uotput.
    Please suggest me how to achieve this
    Input file
      <E1EDT20>
          <E1ADRM4>
             <STOP>01</PARTNER_Q>
             <PARTNER_ID>1108</PARTNER_ID>
             <APNTD>20101115</APNTD>
          </E1ADRM4>
        <E1ADRM4>
             <STOP>10</PARTNER_Q>
             <PARTNER_ID>1115</PARTNER_ID>
             <APNTD>20101130</APNTD>
          </E1ADRM4>
        </E1EDT20>
       <E1EDL20>
          <VBELN>0085001387</VBELN>
          <ZATEDLVINFO>
             <STOP>10</STOP>
             <PRO>do not update</PRO>
             <CONTAINER>do not update</CONTAINER>
             <VESSEL>do not update</VESSEL>
           </ZATEDLVINFO>
       </E1EDL20>
      <E1EDL20>
          <VBELN>0085009999</VBELN>
          <ZATEDLVINFO>
             <STOP>01</STOP>
             <PRO>do not update</PRO>
             <CONTAINER>do not update</CONTAINER>
             <VESSEL>do not update</VESSEL>
           </ZATEDLVINFO>
       </E1EDL20>
    Output
    <E1EDL20 SEGMENT="1">
                <VBELN>0085001387</VBELN>
                <ZATEDLVINFO SEGMENT="1">
                   <STOP>10</STOP>
                   <PRO>do not update</PRO>
                   <CONTAINER>do not update</CONTAINER>
                   <VESSEL>do not update</VESSEL>
                   <APNTD>20101130</APNTD>
                </ZATEDLVINFO>
             </E1EDL20>
    <E1EDL20 SEGMENT="1">
                <VBELN>0085009999</VBELN>
                <ZATEDLVINFO SEGMENT="1">
                   <STOP>01</STOP>
                   <PRO>do not update</PRO>
                   <CONTAINER>do not update</CONTAINER>
                   <VESSEL>do not update</VESSEL>
                  <APNTD>20101115</APNTD>
                </ZATEDLVINFO>
             </E1EDL20>
    Regards

    Hi,
    Try this UDF:
    Execution type: All values of a context.
    Input : var1, avr2, var3.
    int a=var1.length;
    int b= var2.length;
    for(int i=0;i<a;i++)
    for(int j=0;j<b;j++)
    if(var2[j].equals(var1<i>))
    result.addValue(var3[j]);
    Mapping:
    STOP(ZATEDLVINFO)
    STOP(E1ADRM4)--UDF-SplitByvalue---APNTD
    APNTD(E1ADRM4)
    NOTE: Change the context of all the 3 input fields(set the context to its message type name).
    Thanks
    Amit

  • Pre-allocating Extents for Instances

    Using 10.2.0.4 Standard Edition RAC. I have a table very busy with inserts. Oracle waits for events "gc current block busy", "gc buffer busy release" etc. There seems contention of the blocks between instance. I pre-allocated extent to each instance:
    alter table busy_table allocate extent (100m instance 1);
    alter table busy_table allocate extent (100m instance 2);But this seems not reducing the events. Is there any more to do?
    Some additional questions:
    1) How to I know the extent is allocated to a specific instance? DBA_EXTENTS has no instance information. And X$KTFBUE always shows the current instance.
    select INST_ID, KTFBUEFNO, KTFBUEBNO from X$KTFBUE
    where KTFBUESEGBNO=(
    select header_block from dba_segments
    where segment_name='BUSY_TABLE');returned the same inforamtion except that INST_ID is different.
    2) Does the preallocation affects insert sql only? I guess other operation are free to use any extent. Correct?
    3) We are using ASSM. So I am not supposed to be tuning FREELISTS AND FREELIST GROUPS. Correct?
    DB: 10.2.0.4
    OS: RHEL 5.3

    Just checked the document again ([url http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/clauses001.htm#g1053419]INSTANCE integer)
    If you are using automatic segment-space management, then the INSTANCE parameter of the allocate_extent_clause may not reserve the newly allocated space for the specified instance, because automatic segment-space management does not maintain rigid affinity between extents and instances.(How come I missed this??)
    So Oracle ignores the instance clause for ASSM tablespace. Preparing a test with MSSM tablespace...

  • The Extent Storage Structure

    Hi,
    I have been reflecting over the rationale behind having the extent storage structure in Oracle databases. Because my knowledge of Oracle database administration is rather limited, I could only come up with some meager explanations for the rationale behind having extents in the database storage hierarchy.
    Here is my explanation, which I would appreciate if you could add to or correct if necessary. While allocating disk space to say an index segment, it makes sense to allocate a chunk of contiguous data blocks to the segment at one time so that when Oracle has to perform I/O, the seek time and rotational delay for all but the first block is eliminated for each extent in the segment. In addition, keeping track of free space in extents via bitmaps is far more efficient than having to keep track of free space in individual data blocks, since the number of extents in a data file would be significantly less than the number of data blocks in that file, resulting in the bitmap of extents being far smaller.
    Plus, I would appreciate if you could highlight where Oracle stores overhead information for an extent, i.e. information like the number of data blocks it contains, the segment it belongs to, etc.
    Thanks,
    Karim

    Oracle and extent management -> http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/logical.htm#i8531

  • Difference between extent management and segment space management

    Hello,
    Could you tell me the difference between extent management and segment space management interms of datablocks?

    After 10g, default tablespace is locally managed and with this creation, your segment's spaces are managed "automatically".
    Automatic segment space management is onlyt avaliable to locally managed tablespaces.
    The logic of the automatic segment space management is;
    For instance, we have a rectangle cube which is totally empty (1 extent - 8 segments - 64 block in default). If we enter a new data to our table, data is stored inside this cube with it's information. (default 8k). If our data must be splitted, check row chaining for further information.
    At this point, oracle decides which block is filled with the entered data. It automatically fills the emty blocks. You can use this only if your tablespace is locally managed and your segment space managemet is auto.
    On the other hand,
    If we create dictionary managed tablespace,
    Data is stored in "dictionary" (tables in SYS schema). This is a bit slower than locally managed tablespaces. So filling the extents, segments and blocks will be slow too. You need to specify the PCTUSED, FREELISTS, FREELISTS GROUPS for the storage of the data. If segment space managent is auto, you don't need to define those values.
    In summary, locally managed tablespaces with automatic segment space management is Oracle's maybe the most important feature. I am not using dictionary managed tablespaces and i advice don't use it either. In the end, this is an upgrade of using segment spaces much more faster, easier and reliable, trustable.
    PS: You will need to check "High Water Mark" for automatic segment space management.

  • I have a MBP from late 2009.  It works fine in all regards except recently, when an icon is grabbed by the built-in track pad, I can't drop the item and have to shut my computer down to resolve the issue.  How do I reinstall the driver for the trackpad?

    Ok, I thought the subject line was the extent of what I could type.  My trackpad has been working fine for over two years now.  But recently if I accidently (or intentionally) drag a picutre that is highlighted on any website, the cursur never lets go of the image and all "clicking" capabilities become useless.  It even manages to lock up the rest of the computer, such that trying to restart manually doesn't work.  I litterally have to hold the power button till the MBP turns off and reboot.  I have looked for a way to unistall and reinstall the driving, but I'm either redirected to a non-Apple website or else I'm directed to the new "Retina" MBP section of the Apple store.  I don't have any other mouse that is connected to this computer, so there shouldn't be any weird interference between mutiple mice. 
    Is there an official applie support section where I can either download the proper driver to simply resinstall the orignal 2009-2010 MBP trackpad driver, or a way for the "Software Update" under the Apple logo in the top file bar to acknowledge this problem an automatically patch it?  I'd rather not have to go into an Apple store just to get this quirk (which doesn't happen 100% of the time anyways) figured out.  I simply don't want it to occur while I'm in the middle of a larger project and then get stuck being unable to save a document and I have to forcefully restart my entire computer (nuisance aside).
    Thank you,
    Hamilton

    Many Thanks, Kurt.
    I knew I'd seen the solution you've provided somewhere - either in MacWorld or MacFormat - but couldn't remember the Gatekeeper bit!
    I shall save it somewhere VERY safe now in case this happens again …
    You have made an old man very happy and saved me from worrying that senile decay had suddenly set in. (I was 70 last week so you might understand the situation from that.)
    Best wishes
    OllyanDinah

  • Vendor Open Items for each Segment ?

    Hi all,
    What is the most effective way to grouped the all Vendor Open Items for each Segment ?
    I think i should use tables BSIK and (BSEG or FAGLFLEXA).
    Field BSEG-SEGMENT does not always have a value (often is empty), so it is likely to be used FAGLFLEXA-SEGMENT.
    Thanks in advance
    Serena

    .

  • TS3694 Why can't I update my iPhone 4 to iOS 5.1? Every time I try it gets all the way done downloading it; however when it's processing the file the page tells me "There is a problem downloading the software for the iPhone. Network connection timed out.

    Why can't I update my iPhone 4 to iOS 5.1? Every time I try it gets all the way done downloading it; however when it's processing the file the page tells me "There is a problem downloading the software for the iPhone. Network connection timed out. Make sure your network settings are correct and your network connection is active. or try again later." and next to the file it has err = -3259. I have tried this 17 times and it won't work. My iTunes is completely up to date. I have made sure that my connection is fine and I have tried turning my firewall off with no avail. This has happened to me before but usually the update will go through after 2-3 tries, never to this extent. I don't know what to do. Help!

    Error -3259 is a network timeout error, usually. This article might help:
    http://support.apple.com/kb/TS2799

Maybe you are looking for

  • Error in Creation of a New View Object from Existing Entites

    I define a Complex JOIN in the expert mode of the View Object Creation Mode. On trying to access the VO, the system returns an error, unable to creat View Objecy. THe SQL Statement begins with SELECT * from ( select ...My actual Query) Is it possible

  • TextEdit no longer opens files it used to open just fine.

    Ever since I upgraded to Snow Leopard, TextEdit has been giving me an error message when I try to open various text files: "The document "CRD-FONT.TXT" could not be opened. Text encoding Unicode (UTF-8) isn't applicable." I wish I knew how to set Tex

  • IPod touch locked and can't restore - help!

    My 9 yr old son decided to reset his passcode today and must have put the new password in incorrectly both times (as it was 'cat' so easy to remember) and now he has locked his iPod. Unfortunately, the computer used to set up/sync his iPod was my lap

  • Need Help!! Errors during Local Client Copy

    Doing a Local Client Copy and getting these error messages in the log: Table Name       Component          Package /1CN/CMFSAPH0FOR                    DDIC Error        (See SE14) /1CN/CMFSAPH1FDT                    DDIC Error        (See SE14) /1CN/

  • IPhoto '11 emailing (using "Classic" template), margin issue

    Hi all, Anyone have a problem when emailing from within iPhoto '11 - when I email a portrait oriented photo using the "Classic" template, the far-right margin of the blue text box seems to 'run off the page' and become invisible. So that any text I t