Table re-org

hi,
we have less space in the server about only 1 GB free space in the server.
we planned to re-org the tables of production to recover the space. i just proposed the below suggestions. any improvements can be added here?
1. alter table <schema>.<table> move <present tablespace> ; (getting dynamic sql from dba_segments and run )
2. re-build the indexes online
3. re-size the datafiles to recover the space in the OS
we are running in oracle 9.2.0.7 on windows platform.
Thanks.

user13051945 wrote:
hi,
we have less space in the server about only 1 GB free space in the server.
we planned to re-org the tables of production to recover the space. i just proposed the below suggestions. any improvements can be added here?
1. alter table <schema>.<table> move <present tablespace> ; (getting dynamic sql from dba_segments and run )
2. re-build the indexes online
3. re-size the datafiles to recover the space in the OS
we are running in oracle 9.2.0.7 on windows platform.What makes you think that moving things around makes them smaller ?
How are you going to pick the things that are worth moving ?
What makes you think that maving things around will conveniently leave the free space at the end of the file ?
There doesn't seem to be any point in using the online option for the index rebuild. It probably won't add much wasted effort, though.
Are you running dictionary managed or locally managed tablespaces - it affects the way space is re-used on move/rebuild
Regards
Jonathan Lewis

Similar Messages

  • Table Re-org using OEM - Space did not released

    All,
    I'm in the process of doing online table re-org using oem segment advisor.
    But even after the i re-organized the table it is showing the same space that means the recommended was not reclaimed.
    Any one having idea about table re-org using OEM
    Version : 10.2.0.3
    OEM Version : 10.2.0.5

    select 'alter table '||table_name||' move tablespace YOUR_TS'||chr(10)||
    'LOB ('||column_name||') store as '||segment_name||chr(10)||
    '(tablespace YOUR_TS);'
    from user_lobs
    /

  • Table re-org with BLOB object

    Hello,
    Did any one have experience table re-org with BLOB object column?
    Please let me know the best way doing it to claiming space.
    I appreicate your help.
    thanks
    -AV

    select 'alter table '||table_name||' move tablespace YOUR_TS'||chr(10)||
    'LOB ('||column_name||') store as '||segment_name||chr(10)||
    '(tablespace YOUR_TS);'
    from user_lobs
    /

  • Tables for ORG model

    Hi friends
    Could any one please tell me the table names which stores the ORG model and position and Job.
    Earlier reply would be appreciated
    Thanks in advance
    Rao

    In three steps you can retrieve the BP number(s) related to an Org. Model position.
    <b>[1]</b>
    Positions are registered in HRP1000:
    OTYPE = 'S' (Position)
    STEXT : description
    <b>[2]</b>
    Relations between position and persons are registered in HRP1001:
    OTYPE = 'S' (Position)
    OBJID = HRP1000-OBJID
    SOBID : link to person-ID
    <b>[3]</b>
    Relations between persons and BP numbers are gistered in HRP1000:
    OTYPE = 'CP' (Person)
    OBJID = HRP1001-SOBID
    SHORT : BP number
    STEXT : First and Last name of Person

  • Table for Org unit information

    Hi All,
    Is there a table or FM, through which we can get the Org unit name by giving the org unit ID?
    It is there in table HRP1000 with the fields SHORT and STEXT. But it is taking hell lot of time to give the output. Is there any other table or FM for this?
    Please advise.
    Thanks,
    SS

    hi SS
    many FM are available for your requireemnt
    1.BBP_OUTPUT_GET_COMPANY_ADDRESS  - i/p bp of your company code o/p you will get address of company
    2.BP_CENTRALPERSON_GET - input your user name and you may get central person name.
    br
    muthu

  • ORA-01555: table Re-org

    Hi,
    While doing Re-org ,we getting Ora-01555.We using 11g.
    Alter table CMAR.HISTT move;
    ERROR at line 1:
    ORA-01555: snapshot too old: rollback segment number 85 with name "_SYSSMU85_4050276716$" too small.
    Can we restart again?
    Thanks

    user13809017 wrote:
    Hi,
    While doing Re-org ,we getting Ora-01555.We using 11g.
    Alter table CMAR.HISTT move;
    ERROR at line 1:
    ORA-01555: snapshot too old: rollback segment number 85 with name "_SYSSMU85_4050276716$" too small.
    Can we restart again?I give up.
    Can you?
    I would expect the same error as log as DML occurs against CMAR.HISTT table

  • Puroduct Category, Object Id, Purchase Group Tables of Org Structure

    Hi Experts,
    We have so 1000s of Purchase Group and Hundreds of Product Category and so many Organization units. We want to know who is responsible buyer(s) for a particular Product Category and Object Id. Going through Org Structure (PPOSA_BBP) through each and every Purchase Group and finding the Product Category is the laborious one. So can any one tel me the easy way to find out responsible buyer like going through tables or any other method.
    Thanks in Advance

    Hi
    Check this thread
    Re: Can't replicate vendors from ECC
    regards
    Muthuraman

  • V/05 - Condition Table (Sls Org & Customer Grp)

    Hello all
    I need to create a Condition Table (t-code: V/05) with 2 fields: Sales organization and Customer Group.
    However I need to pick the Customer Group Data from SH (ship-to party) partner function.
    This SH has a specific Account Group.
    This mean the condition table should get the customer group from ship to party with specific account group.
    Would someone explain me how to do that by SAP stand?
    Thanks a lot in advance.
    Regards,
    Barbara

    Hello all,
    Many thanks for all answers!!!!
    Here the table VBPA is not activated.
    Well, I understood about Sls Org/ Customer Grp/Acct Grp.
    Although I think the customer would prefer just Sls Org & Customer Grp.
    Thanks for the Oss Note. I will take a look.
    There is a table KNPV (Customer Master Partner Function). In this table there is 2 Customer Fields entries.
    1º - Customer (KUNNR) = KNVP-KUNNR
    2º - Customer (KUNN2)  = KNVP-KUNN2
    1º Question
    Do you think I can use the field KNVP-KUNN2 in my condition table?
    2º Question
    How to insert a the field KNN2 in the field catalog from Conditions Table?
    When I try to enter with field KNN2, it is not possible.
    And SAP shows the message: u201CField KUNN2 does not exist in table KOMG, KOMK, or KOMPu201D.
    What that means? What should I do?
    Regards,
    Barbara

  • Tables contain org-hierarchy or structure

    Hi all can any body tell me the tables that contain the information of hierarchy of organization like the main operating unit and all the sub-orgs associated with it??
    Thanks in advance
    Koushik

    Hi Vibhu,
    Have you checked the XSL files that control the images? I believe they are EmployeePictureXSL.xsl and EmployeePictureCondensedXSL.xsl. You might need to amend them to fit your solution.
    I hope that helps.
    Luke

  • 8i Table re-org

    Hi,
    We have one of our databases running on 8i. we are planning to upgrade it to later this year. i have a task to re-org a table which hasn't been done for several years.
    This is one of the largest tables in the database,sizing 30G(non-paritioned table) with 24m rows.
    The down time we have is 12hrs.
    I have proposed and tested some of them.
    method - 1
    =========
    Tried export and import.
    export using direct=y - 7.30hrs
    export using buffer -11hrs.
    Import(just data) - - 13hrs.
    method - 2
    =========
    used IAS(within a pl/sql block to commit after 1m rows) which took 17hrs.
    method - 3
    using, Alter table move tablespace ( redefining the storage) - 16hrs.
    Any idea how to improve any of the above process to make it better to achieve within the time frame.
    Thanks in advance.

    Here's the background. the database is in 4k block size in 8i and we are moving to 10g with 8k blocksize in a while.
    we do have a separate timelines for this conversion(moving from 8i in 4k to 10g in 8k). As we tested, we saw a performance improvement for datapump after re-org this table in 8i.
    Since its affecting our conversion timelines,we would like to perform the re-org few weeks before the actual conversion of the database. so that, we can achieve the conversion process within the time lines.

  • Weird behaviour while inserting in a table

    Hi All,
    I am coming across a wierd problem.
    We are using Oracle 10.2.0.3.0.
    There is a collection system where by we give snapshot of the entire database in a pre-requisite format.
    Recently a strange thing is happenning.
    When we try to insert into a table data for 3 Lac individual (1 row per customer shud be inserted) customers from 12 different tables, it inserts more than 4 million rows.
    Another observation is that for one account there are 39,98,300 rows and rest has data for some customers and not all.
    When i printed the count of the select query, it returned exactly 3 Lac rows.
    But when i run the proc from SQL prompt, it inserted exactly 3 Lac rows.
    Has anyone come across such a problem.
    Thanks in advance.
    Ameya.

    Ameya wrote:
    I am coming across a wierd problem.Problems are always weird,interesting etc until you know how to fix them.
    Recently a strange thing is happenning.Since when, was there a change in your code, table re-org, some objects/code dropped etc.
    When we try to insert into a table data for 3 Lac individual (1 row per customer shud be inserted) customers from 12 different tables, it inserts more than 4 million rows.How do you define individual customer, do you have unique constraint on the table, what is your business rule for unique customer identification etc.?
    Does your 12 different tables same structure or 12 different structures.
    What process inserts data - list the code.
    Another observation is that for one account there are 39,98,300 rows and rest has data for some customers and not all.
    When i printed the count of the select query, it returned exactly 3 Lac rows.Your code ?
    But when i run the proc from SQL prompt, it inserted exactly 3 Lac rows.can you recreate problem using some sample representative code.
    SS

  • How to get Org Key description

    Hi,
    I have a query. In table pa0001 there is a field Org Key(VDSK1). when i execute this table for the personnel number i am able to see vdsk1 in the output.When i ress F4 on it i am able to see its description.
    For example VDSK1 is 10 when i press F4 i am able to see descripions here. I need the table which gives the org key description.. I have seen the domain of VDSK1 here i am able to see T5270 is table to get description.
    When i write select query as below i am getting T5270 is a table does not exist or not active. Its a polled table.
    "-- Org Key description
                SELECT SINGLE TEXT1
                  FROM T5270
                  INTO wa_disp_list-org_description
                WHERE MANDT = sy-mandt AND
                      HIRAR = '1' AND
                      ORGKY = wa_disp_list-vdsk1.
    anybody can tell me which table i have to use to get org key description.
    Thanks,
    Maheedhar

    Hello
    This is table T527O - last symbol letter O, not 0 (zero).  

  • HR ABAP:  table/infotype relationships

    Hi.
    I'm experienced in doing ABAP programming for all the rest of the modules, but with ABAP HR, I am new and doing one for the first time.  I need your help regarding how to find tables/infotypes and relationships to each other.
    Specific work example/scenario: 
    From selection criteria of requisition information, I am supposed to have an output report with application and candidacy information.
    1.) How can I relate Infotype 5125 with info type 5132 and 5102? 
    I am more comfortable with select statements hence I prefer explanation using the transparent tables HRP5125, HRP5132, etc.
    2.) How can I make use of the table HRP1001 to establish relationships between different tables/infotypes of HR?
    Also, kindly send any links and documents that can give an at-a-glance summary of what I can use when doing ABAP for HR for the first time. 
    Thanks for your help and expertise and may God bless us all!
    Celeste

    More exactly look at tables
    - [HRP1000 |https://www.sdn.sap.com/irj/sdn/advancedsearch?query=hrp1000+&cat=sdn_all]: org. units, positions, etc.
    - [HRP1001|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=hrp1001&adv=false&sortby=cm_rnd_rankvalue] : links between org. units, positions, etc.
    Look at this thread Tables for ORG model  and FM [RH_STRUC_GET|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=rh_struc_get&cat=sdn_all]
    Regards

  • Document table and paragraph with POI

    Hi wrotten the following program in order to read paragraph and tables
    in a word document:
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package prezziarioreader;
    import org.apache.poi.hwpf.HWPFDocument;
    import org.apache.poi.hwpf.usermodel.Range;
    import org.apache.poi.hwpf.usermodel.Paragraph;
    import org.apache.poi.hwpf.usermodel.Table;
    import org.apache.poi.hwpf.model.ListTables;
    //import org.apache.poi.hwpf.usermodel.CharacterRun;
    import java.io.*;
    * @author Enrico
    public class Main {
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    try{
    HWPFDocument doc = new HWPFDocument(new FileInputStream("d:\\prova.doc"));
    Range r = doc.getRange ();
    int sectionLevel = 0;
    int lenParagraph = r.numParagraphs ();
    boolean inCode = false;
    String text;
    Paragraph p;
    for (int x = 0; x < lenParagraph; x++){
    p = r.getParagraph (x);
    if (p.isInTable()){                  
    Table tab = r.getTable(p);
    System.out.println("Paragraph " + x + ":"+"Table with " tab.numRows() "rows.");
    else{
    text = p.text ();
    System.out.println("Paragraph " + x + ":" + text);
    catch (IOException e){
    System.err.println(e);
    I got a problem during the execution; It read well the simple paragraphs but
    when there's a table i got the following error message:
    Exception in
    thread "main" java.lang.IllegalArgumentException: This paragraph is not
    the first one in the table
    at org.apache.poi.hwpf.usermodel.
    Range.getTable(Range.java:873)
    What's worng?

    Welcome to the forum. Please don't post in threads that are long dead and don't hijack other threads. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    Also, replying to old threads with links to a personal site is link spamming.
    I'm locking this thread now.

  • Wrong condition table for condition type

    Hi,
    I have a big problem during pricing. while creating the sales order the system takes the wrong condition table for the specified condition type (I have created a new condition table and changed the access seq, did the initial load and in customizing everything looks fine). To picture the customing i have created ZXXX access seq with a 901 cindition table (sales org, dist ch. and product hierarchy 2 with a standard field PRODH2) unfortunately I had to change the field to ZPRODH2 I decided to create a new table 902 with the Z field. The new access seq has now 902 table in customizing. In CRM the two condition tables and view exists for 901 and 902. Acording to customizing the system should take the 902 condition table but insteed he takes the old 901 which shouldn't be used.
    Do anybody has some ideas why the system responds like that ? I have tried to delete the old table with the standard report and it didn't worked.
    What can I do ?
    Thanks for some ideas !!
    BR
    Tomasz

    Hi Tomasz
    Please check assignment of that new access seq to c.type in v/06
    That table might hv used somewhere in another acc.seq so unable to delelte
    Regards
    Sachin

Maybe you are looking for

  • RAW images no longer recognized after upgrade

    Greetings, I have a mid-2010 iMac which I have been using iPhoto along with my Nikon D70 without issues for some time. I jsut recently upgraded to Lion and I went to download the pictures on my camera and now it does not recognize the RAW (.NEF) imag

  • Need help sizing pictures for a catalogue please

    I'm making a catalogue of greetings cards, so I need to place pictures of the cards (about 30 to an A3 size page) so far they are coming out really bad quality and detail- what would be the best way to save the originals (currently in photoshop)- and

  • Can anyone help with an invalid pin on an iTunes card

    I purchased an iTunes card today and i entered the code correctly but a message states that the code is not a valid code. Has any one had problems with this before and how can I fix it? Online support was no help because it wasn't working.

  • Sync Entourage Projects between computers?

    I'm running OS 10.4.8 and Entourage 11.2.5 and I'd like to be able to sync/share the Entourage Projects I create with my laptop. I haven't seen any specific instructions on how to do this. I have a .Mac account, too. I know that might come in handy.

  • SMS_NOTIFICATION_SERVER is in critical status

    Hello Everyone, SMS_NOTIFICATION_SERVER is in critical status Message ID 4951: Site Component Manager failed to install this component, because the Microsoft Installer File for this component (bgbisapi.msi) could not install. Message ID 1016: Site Co