Help needed in index creation and its impact on insertion of records

Hi All,
I have a situation like this, and the process involves 4 tables.
Among the 4 tables, 2 tables have around 30 columns each, and the other 2 has 15 columns each.
This process contains validation and insert procedure.
I have already created some 8 index for one table, and an average of around 3 index on other tables.
Now the situation is like, i have a select statement in validation procedure, which involves select statement based on all the 4 tables.
When i try to run that select statement, it takes around 30 secs, and when checked for plan, it takes around 21k memory.
Now, i am in a situation to create new index for all the table for the purpose of this select statement.
The no.of times this select statement executes, is like, for around 1000 times of insert into table, 200 times this select statement gets executed, and the record count of these tables would be around one crore.
Will the no.of index created in a table impacts insert statement performace, or can we create as many index as we want in a table ? Which is the best practise ?
Please guide me in this !!!
Regards,
Shivakumar A

Hi,
index creation will most definitely impact your DML performance because when inserting into the table you'll have to update index entries as well. Typically it's a small overhead that is acceptable in most situations, but the only way to say definitively whether or not it is acceptable to you is by testing. Set up some tests, measure performance of some typical selects, updates and inserts with and without an index, and you will have some data to base your decision on.
Best regards,
Nikolay

Similar Messages

  • Change in existing Payroll Area and its impact on existing PA records.

    Hello,
    Can anyone let me know please how easy / difficult it would be to change the description of the existing payroll area lets say "AB" to be the one as per requirment lets say "AC" so that it will show employees as AC rather than AB in the future? Also, if this can be done, would there be any impact on existing PA records (eg, how would they get updated to show the new code & description)?
    Many Thanks,
    Rachana.

    Could you please tell the name of that custom report?
    One more question is that do the change in payroll area could create the problem while running the retro for the previous payroll area for those employees?
    Many thanks
    Rachana.
    Edited by: Rachana L on Jul 21, 2010 1:06 PM

  • Help needed on "Archiving in R/3 and its impact"

    Hi All,
    I will be pleased if Any one who can guide me or send me a document on "Archiving in R/3 and its impact"
    Thanks in advance.

    i don't remember such a document ...
    some extractors like lo cockpit 11 and 13 can extract data from archive, but most of the extractors can't.
    the workaround is, to reload the data from archive in a new r3 table and build an generic extractor on it. then you can load the data to bw. after that you can refresh the table.
    i also heard of direct loading from archive, but i never tried.

  • Help on Business Function "Reporting Financials 2" and its impact

    Hi All,
    I am looking at 'SAP Help' for Reporting Financials 2 (EhP4).
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/6a/cd7dbd74694af3ac13b3c24a10def4/frameset.htm
    basically I want to use the standard extractor 0FI_AA_20 FI-AA: Transactions and Depreciation . when i try to run the extractor i get an error saying: Business Function "Reporting Financials 2" is not switched on
    In order to use the new data sources the pre requisites are:
    1. SAP Enhancement Package 4 for SAP ERP 6.0
    2. Activated the Reporting Financials 2 business function.
    The EnP4 is already implemented what i have do next is to activate the business function.
    Can any one help me with more details on what all gets activated with this business function 'Reporting Financials 2' and its impact.
    With Best Regards
    Shilpa.

    Hi,
    in SFW5 you can get an overview over the business functions. There you could activate the appropriate Business Function.
    But I would recommend you strongly before to read some information and documentation about business functions and the enhancement package concept.
    Regards,
    Markus

  • Color management help needed for adobe CS5 and Epson printer 1400-Prints coming out too dark with re

    Color management help needed for adobe CS5 and Epson printer 1400-Prints coming out too dark with reddish cast and loss of detail
    System: Windows 7
    Adobe CS5
    Printer: Epson Stylus Photo 1400
    Paper: Inkjet matte presentation paper with slight luster
    Installed latest patch for Adobe CS5
    Epson driver up to date
    After reading solutions online and trying them for my settings for 2 days I am still unable to print what I am seeing on my screen in Adobe CS5. I calibrated my monitor, but am not sure once calibration is saved if I somehow use this setting in Photoshop’s color management.
    The files I am printing are photographs of dogs with lots of detail  I digitally painted with my Wacom tablet in Photoshop CS5 and then printed with Epson Stylus 1400 on inkjet paper 20lb with slight luster.
    My Printed images lose a lot of the detail & come out way to dark with a reddish cast and loss of detail when I used these settings in the printing window:
    Color Handling: Photoshop manages color, Color management -ICM, OFF no color adjustment.
    When I change to these settings in printer window: Color Handling:  Printer manages color.  Color management- Color Controls, 1.8 Gamma and choose Epson Standard it prints lighter, but with reddish cast and very little detail and this is the best setting I have used so far.
    Based on what I have read on line, I think the issue is mainly to do with what controls are set in the Photoshop Color Settings window and the Epson Printer preferences. I have screen images attached of these windows and would appreciate knowing what you recommend I enter for each choice.
    Also I am confused as to what ICM color management system to use with this printer and CS5:
    What is the best ICM to use with PS CS5 & the Epson 1400 printer? Should I use the same ICM for both?
    Do I embed the ICM I choose into the new files I create? 
    Do I view all files in the CS5 workspace in this default ICM?
    Do I set my monitor setting to the same ICM?
    If new file opens in CS5 workspace and it has a different embedded profile than my workspace, do I convert it?
    Do I set my printer, Monitor and PS CS5 color settings to the same ICM?
    Is using the same ICM for all devices what is called a consistent workflow?
    I appreciate any and all advice that can be sent my way on this complicated issue. Thank you in advance for your time and kind help.

    It may be possible to figure out by watching a Dr.Brown video on the subject of color printing. Adobe tv
    I hope this may help...............

  • I bought an iphone and the guy has not used it in a year now i need to activate it and its linked to his icloud account so i cannot turn the phone on what can i do ???

    i bought an iphone and the guy has not used it in a year now i need to activate it and its linked to his icloud account so i cannot turn the phone on what can i do ???

    Here's what you can do:
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    If you can't get the info needed, you can't use the device, sorry.

  • Internal order and its link to equipment master record

    What is internal order?
    How it is created and its link to equipment master record?

    Hi,
    Maintenance Orders can be linked with Equipment while creating in IW31.
    Other Internal Orders will have their own featues. If the orders to be posted directly to some cost centers or some cost receivers, CO people may create the orders directly using KO01.
    Regards,
    Maheswaran.

  • Index creation online - performance impact on database

    hi,
    I have oracle 11.1.0.7 database running on Linux as 3 node RAC.
    I have a huge table which has more than 255 columns and is about 400GB in size which is also highly fragmented because of constant DML activities.
    Questions:
    1. For now i am trying to create an index Online while the business applications are running.
    Will there be any performance impact on the database to create index Online on a single column of a table 'TBL' while applications are active against the same table? So basically my question will index creation on a object during DML operations on the same object have performance impact on the database? is there a major performance impact difference in the database in creating index online and not online?
    2. I tried to build an index on a column which has NULL value on this same table 'TBL' which has more than 255 columns and is about 400GB in size highly fragmented and has about 140 million rows.
    I requested the applications to be shutdown, but the index creation with parallel of 4 a least took more than 6 hours to complete.
    We have a Pre-Prod database which has the exported and imported copy of the Prod data. So the pre-Prod is a highly de-fragmented copy of the Prod.
    When i created the same index on the same column with NULL, it only took 15 minutes to complete.
    Not sure why on a highly fragmented copy of Prod it took more than 6 hours compared to highly defragmented copy of Pre-Prod where the index creation took only 15 minutes.
    Any thoughts would be helpful.
    Thanks.
    Phil.

    How are you measuring the "fragmentation" of the table ?
    Is the pre-prod database running single instance or RAC ?
    Did you collect any workload stats (AWR / Statspack) on the pre-prod and production systems while creating (or failing to create) the index ?
    Did you check whether the index creation ended up in-memory, single pass or multi pass in in the two environments ?
    The commonest explanation for this type of difference is two-fold:
    a) the older data needs a lot of delayed block cleanout, which results in a lot of random I/O to the undo tablespace - slowing down I/O generally
    b) the newer end of the table is subject to lots of change, so needs a lot of work relating to read-consistency - which also means I/O on the undo system
      --  UPDATED:  but you did say that you had stopped the application so this bit wouldn't have been relevant.
    On top of this, an online (re)build has to lock the table briefly at the start and end of the build, and in a busy system you can wait a long time for the locks to be acquired - and if the system has been busy while the build has been going on it can take quite a long time to apply the journal file to finish the index build.
    Regards
    Jonathan Lewis

  • Alternate unit of measure and its impact on CO module

    Hi
    We are in CPG company, our client has decided to use CAR (i.e. Carton) as base unit of measure and TO (tonnage) as alternate unit of measure. CO users and client management wants to run planning, allocation and CO-PA analysis in TO (tonnage).
    Some of activities like cost estimates will be run using CAR. We have come to know that we might have to use COPA0005 enhancement.
    We need to know how it will impact CO module as TO is not base unit of measure for finished goods?
    Thanks in advance.
    Chris

    Thanks Ajay for your reply. My point is that we need to know the impact on CO module because our Client will use CAR (carton) as base unit of measure and CO users have to use TO (tonnage) for planning, allocation,  profitability analysis, etc.
    We will define the UoM conversion relationship in material master, say 1 TON = 125 CAR.
    We have come to know that cost estimate can only be run using base unit of measure (i.e. CAR) so client will have to run cost estimate using CAR.
    What about other functionality like allocations, planning, CO reports, etc. What will be the impact on CO module as TO is not the base unit of measure and our client have to use TO for allocations, reporting, CO-PA, etc.

  • Help needed in redoing networking and home entertainment

    I realize that this is a site dedicated to all things Apple, but I am hoping I can't get some honest and impartial help on building the best home network and entertainment system.
    I currently have an XP Media Center desktop computer in an office of my home where all of the network stuff is at and is connected via ethernet. I also have a Mac G4 MDD 1.0 that I am using in another room for Adobe Creative Suite to do my own promotional items and I have about a 50' Cat 6 cable running back to the router in the office. I also have a Vista laptop that is connected wirelessly but believe it is only a "g" network? I don't really use this a whole lot but take it out to job sites and such so there is information I need to send back and forth to my external drives hooked up via ethernet to my router. I am in the process of getting a new MacBook Pro as well.
    I have a PS3 hooked up to my home entertainment center but unsure of how to make everything work the way that I want. Here is what I would like to be able to do. 1) Networking of all computers and external drives, 2) Operate my Mac G4 Wirelessly, 3) Addition of internal bluetooth to G4 so I can get a wireless keyboard and mouse, 4) Ability to play iTunes from external hard drives on home entertainment center, 3) Ability to stream media from internet and hard drives to HDTV in home entertainment center
    I am looking to upgrade my router to dual band with either the Airport Extreme or the Netgear WNDR3700. I don't know which to get and have found about the same amount of pros and cons for each on the web. Any suggestions and why?
    Do I need an Apple TV or a Netgear WNHDEB111 or other Digital Media Reciever???
    What else would you recommend to accomplish my goals and why do you recommend the part and brand that you do.
    Thank you in advance for any and all assistance I can get.

    Hello, I will gladly assist you with these steps. Have you already set the printer up physically? Are the ink cartridges set in and the printer is ready, just waiting to be downloaded to the computer? If you still have the CD that came with the 8600 printer, all you have to do is place the CD in and click SETUP. This will guide you step by step to install. 
    Now the tricky part is how you want the 2 PC's connected. You can go USB (hardwire from printer to computer), Wireless (set the printer up on network and PC on network with NO cords attached, or you can go Ethernet (a cord going from the printer to the router).
    Let me know how you are able to connect, and I can guide you through those steps.
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

  • Help Needed in Query Creation

    Hi,
    I have two tables,
    A) User Groups
    PKID      Group      User
    pk797      G1      U1
    pk2      G1      U2
    pk42     G1      U3
    pk422     G2      U1
    pk423     G2      U6
    pk424     G2      U7
    pk43     G2      U4
    pk435     G3     U5
    pk435     G3     U6
    pk435     G3     U7
    B) EventGroup Table
    PKID      Event      Group      User
    pk1      E1      G1     
    pk2      E1      G1     U1
    pk3      E2      G2
    pk4      E2      G2     U1
    pk5      E2      G2     U6
    pk6      E4     G1
    pk7     E5     G3
    I need a view which combines this two tables and give me columns based on Event
    Expected Output
    EVENT     GROUP     USER
    E1     G1     U2
    E1     G1     U3
    E2     G2     U7
    E2     G2     U4
    E4     G1     U1
    E4     G1     U2
    E4     G1     U3
    E5     G3     U5
    E5     G3     U6
    E5     G3     U7
    Explaination: If the 'USER'column in 'EventGroup' Table is NULL then, We need all the users from that group But If a record is available with user column as in 'pk2' in EventGroup Table
    then we have to exclude the user from the list.

    user8635057 wrote:
    Explaination: If the 'USER'column in 'EventGroup' Table is NULL then, We need all the users from that group But If a record is available with user column as in 'pk2' in EventGroup Table
    then we have to exclude the user from the list.
    with user_groups as (
                         select 'pk797' pkid,'G1' grp,'U1' usr from dual union all
                         select 'pk2','G1','U2' from dual union all
                         select 'pk42','G1','U3' from dual union all
                         select 'pk422','G2','U1' from dual union all
                         select 'pk423','G2','U6' from dual union all
                         select 'pk424','G2','U7' from dual union all
                         select 'pk43','G2','U4' from dual union all
                         select 'pk435','G3','U5' from dual union all
                         select 'pk435','G3','U6' from dual union all
                         select 'pk435','G3','U7' from dual
         event_group as (
                         select 'pk1' pkid,'E1' event,'G1' grp,null usr from dual union all
                         select 'pk2','E1','G1','U1' from dual union all
                         select 'pk3','E2','G2',null from dual union all
                         select 'pk4','E2','G2','U1' from dual union all
                         select 'pk5','E2','G2','U6' from dual union all
                         select 'pk6','E4','G1',null from dual union all
                         select 'pk7','E5','G3',null from dual
    select  a.event,
             a.grp,
             b.usr
       from  event_group a,
             user_groups b
       where a.usr is null
         and b.grp = a.grp
    minus
    select  event,
             grp,
             usr
       from  event_group
       where usr is not null
    order by event,
             grp,
             usr
    EV GR US
    E1 G1 U2
    E1 G1 U3
    E2 G2 U4
    E2 G2 U7
    E4 G1 U1
    E4 G1 U2
    E4 G1 U3
    E5 G3 U5
    E5 G3 U6
    E5 G3 U7
    10 rows selected.
    SQL> SY.

  • Help Needed: 5.1 PC and Cons

    Hi,
    I have just bought a Creative Inspire GD580 from eBay as they've been discontinued and its the only place I could find one. And I've come across a problem, I've got a X-Fi Xtreme Audio sound card an I'm using the Optical port for my Xbox 360 and the surround sound works perfectly, but I have to use the Digital Out port, using the Coaxial cable supplied, but of course it's only out putting at 2., is there any way that I can get my pc to encode on the fly everything into AC3 so that it outputs at 5.
    Or is there another system that I am able to buy that will allow the optical cable from my 360 and the surround sound from my pc to be connected to the same speakers? (I don't mind having to keep swapping). I know there are other sound cards out there that support Optical Out but I'm much prefer for it to be a Creative one, if there is such a thing?
    Thanks.

    SirDigby,
    You can get the DTS-60 to encode on the fly.
    http://us.creative.com/products/prod...y=6&product=49
    Jason

  • Help: Process control - kill itself and its phater

    Friends,
    If I use the Process control. Is it possible to use the Process Control 'Cancel workflow' to kill ONLY the actual sub-wf and its phater, without killing its grandfhater ?
    Grandfhater - WF
    Fhater - Sub-WF
    Actual Sub-WF (Using Process control here)
    I want to kill only this actual and its fhater. I want the grandfhader alive and go on.

    Create Container element[like status] in Father SUB-WF and In Actual SUB-WF.
    Based on condition if you want to terminate Actual SUB_WF and Father SUB-WF then set the set container element status = 'X' and then use process control [terminate workflow] this will terminate Actual SUB-WF.
    then do the binding fo container element status from Actual SUB WF to Father SUB WF.
    Then in the father SUB WF check the container element status . if Status = 'X'. then use process control to terminate the Father SUB WF.
    In the process control use terminate workflow.

  • Need help with an index creation

    Hi,
    Oracle 8.0.6,
    Win 2000 server
    SELECT PT_CODE,BUS_UNIT,TOP_BRASS_YN,ROOM_CLASS_CODE,WARD_CODE,
    ADMIT_STATUS_FLAG,PT_ADMIT_DATE,PT_ADMIT_TIME,MD_CODE,REQUEST_NO,REG_NO,
    INP_REG_NO,MOTHER_PT_CODE,CRE_NOTES,PT_DIAGNOSIS_NOTE,
    TMP_CLINIC_DISCHARGE_DATE,ROOM_CODE,BED_CODE,ROWID
    FROM
    A_INP_PATIENTS_ADMT WHERE bus_unit = :1 and admit_status_flag = 'C' and
    nvl(clinical_discharge_yn,'N') not in ('Y','C') and (ward_code = :2 or :3 =
    '007') order by room_code
    call         count       cpu    elapsed       disk      query    current        rows
    Parse 1 0.00 0.03 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 4 0.14 26.61 2306 47604 0 33
    total 6 0.14 26.64 2306 47604 0 33
    I want to create a function based index on column nvl(clinical_discharge_yn,'N').
    I issued the following command,
    create index new_index on A_INP_PATIENTS_ADMT (bus_unit, admit_status_flag, nvl(clinical_discharge_yn,'N'), ward_code)
    But i am getting the error ORA-00907:missing right parenthesis.
    Could you plss tell me where am i missing the parenthesis
    Best Regards,

    If I remember correctly function-based indexes weren't introduced until the 8.1.x versions of Oracle.

  • Ok the button where u go to the main screen is brokein im never rough with my ipod but i need help is it coverd with tech support or defect help i really like it and its my phone and i have ipod touch 4g

    i need to know where i can send it back to get repairs only the home button is broken

    Here you go, http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipod

Maybe you are looking for