Suggestions for partiton of tables

I have a table which has nearly 2 crores records.
I decided to do a hash partition for the table.
I just want to know the following things.
1. Can i able to do partition for the table which has records in that ?
2. Whether it will be tedious for making partition for the table which already has
large amount of values in it?
Your suggestions are most welcome

> 2. Whether it will be tedious for making partition for the table which
already has large amount of values in it?
Not really. Nothing "tedious". The only issue would be the time (and resources) it will take to copy the contents of the original table into the new table.
But it should be well worth the effort. Partitioning can cause a significant drop in I/O with the associated performance benefits of doing less I/O.

Similar Messages

  • Suggestions for Inventory Costs Tables - Retail

    Hello All,
    I am trying to calculate the Econoimic order quantity. I am looking for SAP tables that contains Ordering costs, logistic costs and storage costs.
    I did find the tables:
    MARC - Item data
    MARA -  General material data
    VFKP - Logistics
    VFKK - Logistics
    Are these the right tables? If not, are there any tables specifically for retail inventory costs?
    Any suggestions would be highly appreciated.
    Thanks

    Dear Silvia,
    Would you please tell us how you can adapt this requirement?
    Appreciate your reply asap.
    Thank you very much in advance!
    Best Regards,
    Duc Lam.

  • Need Suggestion for Archival of a Table Data

    Hi guys,
    I want to archive one of my large table. the structure of table is as below.
    Daily there will be around 40000 rows inserted into the table.
    Need suggestion for the same. will the partitioning help and on what basis?
    CREATE TABLE IM_JMS_MESSAGES_CLOB_IN
    LOAN_NUMBER VARCHAR2(10 BYTE),
    LOAN_XML CLOB,
    LOAN_UPDATE_DT TIMESTAMP(6),
    JMS_TIMESTAMP TIMESTAMP(6),
    INSERT_DT TIMESTAMP(6)
    TABLESPACE DATA
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    LOB (LOAN_XML) STORE AS
    ( TABLESPACE DATA
    ENABLE STORAGE IN ROW
    CHUNK 8192
    PCTVERSION 10
    NOCACHE
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOCACHE
    NOPARALLEL;
    do the needful.
    regards,
    Sandeep

    There will not be any updates /deletes on the table.
    I have created a partitioned table with same struture and i am inserting the records from my original table to this partitioned table where i will maintain data for 6 months.
    After loading the data from original table to archived table i will truncating the original table.
    If my original table is partitioned then what about the restoring of the data??? how will restore the data of last month???

  • Reg :-maintain a table maintenance view for the z table.suggest me the code

    i have question.i have created a z table related to pp module.the requirement is to maintain {table maintenance view} for this z table.how could this be done.can any one suggest me the code for this?

    Hi ,
    We have a lots of queries on table maintainance creation in the forum posted and replied to.Pls have a look at it first.
    In se11 -> change mode of the ztable -> goto -> utilities -> table maintainance generator -> click on it...
    it will give a new screen-> enter the required details like function group , authorisation(use &NC& or leave it blank if you dont know)  and screens
    2 step and 1 step means=> number of screens displayed in maintainace
    if step1 is selected then we have a screen which will be like a table control for data entry.........
    for step2 we have a table control screen and a more detailed individual field display as second screen
    click on the button 'find screen numbers' so that system automatically proposes the screen numbers
    after which click on the "create" button and follow the required instructions/messages
    once done go to SM30 enter the table name to check if maintainance has been created properly
    Hope it helps,Pls check and revert
    Regards
    Byju

  • Suggestions for table partition for existing tables.

    I have a table as below. This table contains huge data. This table has so many child tables .I am planning to do a 'Reference Partitioning' for the same.
    create table PROMOTION_DTL
      PROMO_ID              NUMBER(10) not null,
      EVENT                 VARCHAR2(6),
      PROMO_START_DATE      TIMESTAMP(6),
      PROMO_END_DATE        TIMESTAMP(6),
      PROMO_COST_START_DATE TIMESTAMP(6),
      EVENT_CUT_OFF_DATE    TIMESTAMP(6),
      REMARKS               VARCHAR2(75),
      CREATE_BY             VARCHAR2(50),
      CREATE_DATE           TIMESTAMP(6),
      UPDATE_BY             VARCHAR2(50),
      UPDATE_DATE           TIMESTAMP(6)
    alter table PROMOTION_DTL
      add constraint PROMOTION_DTL_PK primary key (PROMO_ID);
    alter table PROMOTION_DTL
      add constraint PROMO_EVENT_FK foreign key (EVENT)
      references SP_PROMO_EVENT_MST (EVENT);
    -- Create/Recreate indexes
    create index PROMOTION_IDX1 on PROMOTION_DTL (PROMO_ID, EVENT)
    create unique index PROMOTION_PK on PROMOTION_DTL (PROMO_ID)
    -- Grant/Revoke object privileges
    grant select, insert, update, delete on PROMOTION_DTL to SCHEMA_RW_ROLE;I would like to partition this table .Most of the queries contains the following conditions.
    promo_end_date >=   SYSDATE
    and
    (event = :input_event OR
    (:input_Start_Date <= promo_end_date           
    AND promo_start_date <= :input_End_Date))Any time the promotion can be closed by updating the PROMO_END_DATE.
    Interval partioning on PROMO_END_DATE is not possible as PROMO_END_DATE is a nullable and updatable field.
    I am now to table partition.
    Any suggestions are welcome...

    DO NOT POST THE SAME QUESTION IN MULTIPLE FORUMS PLEASE!
    Suggestions for table partition of existing tables

  • Error while determining ref.mov.type for WM via Table 156S: 647/ / / /L/ /

    Guyz,
    Firstly despite the plant+storage location + warehouse no. assignments are done , my replenishment delivery (delivery for stock transport order between plants under same company code) is not picking up storage location and warehouse no and thus stopping me from doing picking and PGI (post goods issue).
    However in VL02N when i'm trying to change storage location for line item, i'm getting following weird error
    *Error while determining ref.mov.type for WM via Table 156S: 647/ / / /L/ /*
    I found a SAP Note(133223) regarding this error and VL02 transaction but that note was specific to older versions. I'm on ECC 6.0
    Any suggestions please ?
    Thanks

    Warehouse managment has its own movement types, most identical to inventory management movement types.
    These WM movement types are determined via reference movement types.
    the error you have just looks like your customizing is not complete.
    IMG > LE > WM > Interfaces > IM > define movement types.

  • Logical level for logical fact table sources

    it is clear that for fact aggregates, we should use the Content tab of the Logical Table Source dialog to assign the correct logical level to each dimension.
    question is : is it mandatory to assign even for non-aggregates fact tables the logical level for each dimension (which normally should be set to the most detailed level of each dimension) ? is it any known issue if "logical levels"in content tab are not set ?
    the reason I'm asking this is a strange bug I have (I'm not going to discuss it here) and then only workaround seems to be NOT setting the logical levels (on content tab) for logical fact table sources.
    thank you !

    If levels are not set: By default levels are considered as lowest level
    It should not matter if you set or not
    Generally we set for facts explicitly when we are using Aggregate tables.
    Your current issue might be a case by case; I would suggest to check implicit fact, any table mapped to the source to force a join etc
    Mark if helps
    Let me know how it helps
    Edited by: Srini VEERAVALLI on Feb 5, 2013 8:33 AM
    Any updates on this?+_
    Edited by: Srini VEERAVALLI on Feb 14, 2013 9:09 AM

  • Report S_ALR_87013105 : no authorization for the report/ table 7KU6_001

    Hi Gurus,
    While executing the program S_ALR_87013105 (Detailed Reports 
    For Sales Order : Plan/Actual Comparison ) system showing the selection log.
    "Have no authorization for the report/table  7KU6_001 and 7KU6_002".
    But for the user the authorization check through SU53 was successful.
    Pl can any one suggest on this issue.
    Thanks in advance,
    Vijay

    Hi,
    Contact your basis consultant to provide the missing authorisation. This is one of the authorisation object.
    Regards,
    Sankar

  • Suggestion for a trick i will do to overcome my problem with PO history

    Dear MM consultant,
    i will explain my problem first then i will tell u my trick to overcome this problem and plz give me ur suggestion about this trick it will success or not.
    first we have a PO with about 2100 items + 7 conditions for 5 vendors after we make goods reciept and make our first invoice for the first vendor the PO history for delivery cost table EKBZ will contain about 22000 records...
    the problem here my user first creat a park invoice then when he need to post this parked, MIRO take long time reach to 15 minutes and some time it through time out exception to open this parked invoice, after depuging i found it loop on the 2100 items and inside this loop it loop on the 22000 records of PO history table with small calculation it do 46200000 loop !!!!!!
    Function "ME_READ_COND_INVOICE"
    SELECT * FROM ekbz INTO TABLE l_bzt WHERE ebeln EQ i_ebeln.
        LOOP AT l_bzt ASSIGNING <ls_bzt>.
          PERFORM bzt_selektion USING <ls_bzt>.
        ENDLOOP.         
    i send this error to SAP and they said the only soultion for the PO history is to use PO aggregation in SAP Note 311089
    iin some reason i didn't success to do this PO aggregation i think its need other note or something else and olse if i do PO aggregation and i need to cancel any goods reciept i can't do this until i make PO disaggregation and it is other story....
    my solution here before post the parked invoice i run a custom program that update the EKBZ table to set PO#(ebeln) = PO#+'t' where DOC#(BELNR) <> parked inv, the result from this the above select statement will only return the records of this parked invoice not all the history and then after we post, i will run the program again and change all PO# to their right number
    what do u thing about this solution ??????

    >
    liza starozhilets wrote:
    > Hi All !
    > I have a problem with PO History for Service Orders.
    > Value of field "Reference" ( ESSR-XBLNR ) from SES don't recorded to table EKBE.
    > So, I can't see this value in po history for po  history category 'D'.
    > Anyone know why?
    >
    > Thanks,
    > Liza
    It will be updated after invoice verification in p.o history.

  • How do I Create a Tabular Form for an Intersection Table

    Situation
    There are three tables involved (PROJECT, STAFF, TASK)
    PROJECT(PROJECT_ID, PROJECT_NAME)
    STAFF(STAFF_ID, STAFF_NAME)
    TASK(PROJECT_ID, STAFF_ID, HOURS)
    There is a many to many relationship between PROJECT and STAFF. The intersection table is TASK.
    Issue
    I would like to create a tabular form for the TASK table. I would like to be able to click on a button (Add Row) to add a row to the existing tabular form. The row will have a LOV for the PROJECT_ID (showing PROJECT_NAME) and one for the STAFF_ID (showing STAFF_NAME) and a free form text field for the hours.
    I've tried a bunch of different ways but am unable to acheive this functionality. I must be doing something wrong. This sort of thing is trivial.
    Any guidance/suggestions are greatly appreciated.
    Thanks

    Adding a new surrogate key column to an existing table is not that big a deal.
    alter table t add (pk int primary key);
    create a before-insert row-level trigger to populate the key;Other than that, you are out of luck w.r.t the wizards. Yes, you can define a 2nd PK column in the wizard, but then the 2 PK columns becomes read-only (but you want to update them).
    You can write your own tabular form using htmldb_item APIs and your own after submit processes to process the updates. See the manual Tabular Form Howto in the documentation.
    Thanks

  • Using javascript to dynamically generate the html for a  Spry table

    I have some javascript which generates html code for a Spry
    table which displays the content of a Spry data set. The problem is
    that after I generate the html, Spry never fills in the values for
    the table.
    Here's what I'm doing:
    Using a data set observer, check for onPostLoad and generate
    the html code
    Using innerHTML, stuff the code into the appropriate
    <div>
    Use regionName.updateContent() to update the region I just
    created with the html code I generated
    Interestingly, if I take the generated source for my page and
    remove the data set observer, the Spry table displays correctly
    with all the expected values. This suggests to me that my generated
    html code is correct, but that there is some sort of timing issue
    (i.e. Spry doesn't know about the new code I generated).
    Any suggestions?

    jalperin wrote:
    > Here's what I'm doing:
    >
    Using a data set observer, check for
    onPostLoad and generate the html
    > code
    >
    Using innerHTML, stuff the code into
    the appropriate <div>
    >
    Use regionName.updateContent() to
    update the region I just created
    > with the html code I generated
    >
    > Interestingly, if I take the generated source for my
    page and remove the data
    > set observer, the Spry table displays correctly with all
    the expected values.
    > This suggests to me that my generated html code is
    correct, but that there is
    > some sort of timing issue (i.e. Spry doesn't know about
    the new code I
    > generated).
    >
    > Any suggestions?
    I'd guess that it is a timing issue as well. I haven't looked
    much at the dataset capability in Spry, but it may be that the
    dataset "finds" all of the regions and code that it applies to
    before the onPostLoad event is triggered. If that is the case, then
    your generated code doesn't exist yet,and so the dataset thinks
    that there is nothing for it to apply to.
    Will the HTML that you generate change based upon the dataset
    that is actually returned? I guess I'm looking for the reason why
    the HTML is being generated when it could be in the page itself and
    avoid this issue completely.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • How to configure ActiveSync for a database table in IdM 7.0

    Hi All,
    Please suggest me the steps to configure ActiveSync in IdM 7.0.
    when i try it by resource-->activeSync wizard it gives
    "The ActiveSync Wizard has been deprecated in Identity Manager 7.0 in favor of using MetaView and the resource action "Edit Synchronization Policy". "
    how to configure ActiveSync for a database table.
    Thanx
    Shant

    Hi,
    You need to a script and run it on os level. Here is an example:-
    emcli relocate_targets -src_agent=agentmachine1.domain:3872
    -dest_agent=agentmachine2.domain:3872 -target_name=RACDB
    -target_type=oracle_database -copy_from_src -force=yes
    -changed_param=MachineName:agentmachine2.domain
    Regards
    Jomon
    Edited by: JohnJomon on Nov 17, 2011 2:27 PM

  • Suggestion for tunning

    Hi,
    One query is taking more time.
    Query:
    SELECT GEO_WID,
      ROW_WID,
      SPECIALTY,
      CON_ID,
      POSTN_ID,
      DATASOURCE_NUM_ID
    FROM NNOLAP.W_POSTN_CON_D
    ORDER BY CON_ID,
      POSTN_ID,
      DATASOURCE_NUM_ID,
      GEO_WID,
      ROW_WID,
      SPECIALTY
    Explain plan:
    | Id  | Operation          | Name          | Rows  | Bytes |TempSpc| Cost (%CPU)|
    |   0 | SELECT STATEMENT   |               |    36M|  1661M|       |   580K  (1)|
    |   1 |  SORT ORDER BY     |               |    36M|  1661M|  2224M|   580K  (1)|
    |   2 |   TABLE ACCESS FULL| W_POSTN_CON_D |    36M|  1661M|       |   308K  (1)|
    Please suggest for tunning this query.

    Hi,
    After specifying paraller hint,the following explain plan is coming;
    PLAN_TABLE_OUTPUT                                                                                                                                                                                                                                                                                           
    Plan hash value: 2331297115                                                                                                                                                                                                                                                                                 
    | Id  | Operation               | Name          | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |    TQ  |IN-OUT| PQ Distrib |                                                                                                                                                                              
    |   0 | SELECT STATEMENT        |               |    35M|  1056M|       | 21481   (1)| 00:04:18 |        |      |            |                                                                                                                                                                              
    |   1 |  PX COORDINATOR         |               |       |       |       |            |          |        |      |            |                                                                                                                                                                              
    |   2 |   PX SEND QC (ORDER)    | :TQ10001      |    35M|  1056M|       | 21481   (1)| 00:04:18 |  Q1,01 | P->S | QC (ORDER) |                                                                                                                                                                              
    |   3 |    SORT ORDER BY        |               |    35M|  1056M|  1509M| 21481   (1)| 00:04:18 |  Q1,01 | PCWP |            |                                                                                                                                                                              
    |   4 |     PX RECEIVE          |               |    35M|  1056M|       | 10875   (1)| 00:02:11 |  Q1,01 | PCWP |            |                                                                                                                                                                              
    |   5 |      PX SEND RANGE      | :TQ10000      |    35M|  1056M|       | 10875   (1)| 00:02:11 |  Q1,00 | P->P | RANGE      |                                                                                                                                                                              
    |   6 |       PX BLOCK ITERATOR |               |    35M|  1056M|       | 10875   (1)| 00:02:11 |  Q1,00 | PCWC |            |                                                                                                                                                                              
    |   7 |        TABLE ACCESS FULL| W_POSTN_CON_D |    35M|  1056M|       | 10875   (1)| 00:02:11 |  Q1,00 | PCWP |            |                                                                                                                                                                              
    ------------------------------------------------------------------------------------------------------------------------------    Thanks,

  • Suggestion for future release

    Where should I post suggestions for future releases of SQL Developer or/and Data Modeler?
    Please give me a link.
    Thanx,
    Chris
    One suggestion for Data Modeler:
    In the "Model Properties" of a relational model, there should be a "scripts" folder like in the "Table Properties".
    In this script I'd like to generate some global statements for the DDL generation,
    for example:
    before (=begin of generated script): set define off; alter session set nls_numeric_characters='.,'; nls-config
    after (=end of generated script): commit; (when table inserts are used and no ddl-statement is following; otherwise you have to use 'commit' in each table-script; After the last table create (ddl-) statement there is no implicit 'commit')
    I know, that I can edit the generated script to add my statements, but if you often generate code there is a good change to forget to change the script afterwards.

    Hi,
    You can submit any feature requests at Oracle SQL Developer Exchange - https://apex.oracle.com/pls/apex/f?p=43135:1:2266866887402592:::::

  • One BMP for several postgresql tables

    Hi all,
    I want to solve a problem with a BMP which represent many tables in a Postgres database. Each tables have 3 columns : id, name and image.
    My problem is when I want to get the lines from a table, the ejbLoad() method is not done by the bean when the id have ever been known before for an other table :
    example :
    Table1
    id=1 ; name=toto ; image=toto.jpg
    id=2 ; name=tata ; image=tata.jpg
    id=3 ; name=titi ; image=titi.jpg
    Table2
    id=2 ; name=tutu ; image=tutu.jpg
    When I get all lines from Table1, it works fine but when I ask for Table2, it returns : id=2 ; name=tata ; image=tata.jpg instead of id=2 ; name=tutu ; image=tutu.jpg.
    Is somebody knows how to force the ejbLoad() to look in the database or knows another solution to solve this problem ???
    Thanks a lot for response.
    Nicolas

    Hello Nicolas,
    I'm not an expert in this field by any means so please feel free to question anything I say :)
    Please correct me if I'm wrong, but I don't think you can manage (without terrible pain and suffering, if even then :)) a BMP Entity Bean representing more then one table unless the relationship between the represented tables is one-to-one (even then I see a lot of problems with primary keys).
    I understand that this might be a software design requirement, but I think you'll have a lot of problems with it. Also, if you consider Table 2 to be an 'extension' to Table 1 (which I don't suggest doing) then you have a referential integrity problem.
    In my opinion (and this I interpreted from people that are experts and authority in the field) an Entity Bean is really meant to be mapped to only one table in a (relational) database.
    Please consider this if it's an option.
    Nikola

Maybe you are looking for