How to reduce IO COST???

Dear All,
Any one know how to reduce the IO COST?
Thanks In advance.

Your question is as generic as it could possibly be, and therefore it's not easy to help you. But in a nutshell, IO can be improved by spreading your tablespaces on different different disk readers/writers (not the correct word I'm sure, but hopefully you understand what I mean). Might be good for example to store your indexes in a different tablespace (disk) than the tables, so that there is not too much contention when using the index and table concurrently for a query. You could also reduce the amount of IO by creating new indexes when FTS against large tables are run (if enough of the rows are filtered out). Sorry, that was a very generic answer to a very generic question.
Daniel

Similar Messages

  • How to reduce the cost for this select script

    Hi,
    "select id from order where cmd like 'Error ID %'"
    This s my script. And the order table has morethan *5lakhs* records, when i select id for the above condition, my sql script cost is - *2200*,and cpu_cost is -- *235660697* i got this above information thro' plan_table, could anyone plz give suggestion to reduce the cost. (fyi -- cmd field has index with not null constraint).
    Thanks.

    user13294228 wrote:
    "select id from order where cmd like 'Error ID %'"
    This s my script. And the order table has morethan *5lakhs* records, when i select id for the above condition, my sql script cost is - *2200*,and cpu_cost is -- *235660697* i got this above information thro' plan_table, could anyone plz give suggestion to reduce the cost. (fyi -- cmd field has index with not null constraint).What does these cost numbers mean? Do you know what it means and what measurement unit is used for these costs? Will a cost of 2000 be fine? 1500? What specific number will make you sit back and think that the cost is now acceptable?
    Or instead, do you not think it is more important to rather look at what the query does and why.. and then determine if there are methods to do that better and faster?
    So let's look at what the query does. It uses a a LIKE predicate. This means that if an index is available, it cannot be used to find a specific indexed value... as the query is not sure what the value is. All that the query knows is what the first couple of characters are for the value.
    So how would an index be used? Have you looked at the execution plan? Do you understand why the CBO made the decision it did?
    Now - how do you expect the CBO to find the relevant rows any faster? The index benefits the query how? As the CBO cannot put the index to any better use than what it is already doing, what other options are there? Can alternative indexing or data structures be considered? Can parallel processing be used?
    These questions are intended to make you analyse the problem - and understand the problem. That is always the 1st step.. solving the problem only comes after this 1st step.

  • How to reduce shipping cost..

    Dear All SAP Guru's,
    Our biggest distributor Ingram Micro and our EMT want to reduce shipping costs.Ingram Micro wants less handling of the boxes so there is less damage.
    Currently SAP Consolidation is not working properly for consolidating the smaller boxes.  We need to have SAP Consolidation work for multiple deliveries into one pallet for one shipment.  The bill of lading sapscript must show the correct information. Currently the bill of lading is not showing the correct information when trying to consolidate.  The ASN labels need to work properly and hopefully have one label per pallet.
    They are using ADC(Advance data Collector)guns to consolidate delieveries into a cartoon.what they want to achieve is;ability to consolidate delieveries into a pallet while continue to use ASN(Advance shipping notification) which requires separation of delieveries according to PO etc. The ADC is outside SAP and they have some 3rd party who service and support it.it has its own server that send data to SAP.
    Please guide how to proceed.
    Thanks in advance.
    With best regards,
    BHarat B

    Any response...

  • How to reduce development cost by NetWeaver PI

    Hello,
    We have decided to use NetWeaver PI for developing between SAP ERP and Legacy,
    and have not decided which protocol we would use such as BAPI, SOAP and File.
    I would like to know how to lower the cost of development for interfaces between them.
    These inferfaces are daily transaction data.
    My ideas are
    -Standardization of message types
    -Standardization of business logic
    Thanks,
    Koji Nagai

    Hi Koji ,
    ---> go thorugh SAP standard PI documentation will help a lot on this .
    /docs/DOC-7995#section4 [original link is broken]
    /people/udo.paltzer/blog/2008/12/11/real-customer-scenarios-with-sap-netweaver-process-integration-71
    Regards ,

  • How to reduce the cost of procedure?

    hi,
    Suppose i have a procedure of more than 1000 lines,during normal processing it takes few seconds.So, how can one reduce the processing for the same.
    Thanx ,
    Piyush

    DBMS_PROFILER is one way to analyse where the time is being spent. You can use this from the command line, or many GUI tools such as PL/SQL Developer provide a convenient interface.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/tuning.htm
    http://www.dbasupport.com/oracle/ora10g/Unleashing-DBMS_Profiler.shtml
    http://www.allroundautomations.com/plsprofiler.html

  • How to reduce cost for SAP Fiori Trial on CAL?

    Hi,
    I have created an account in Cloud Appliance Library with AWS as per OpenSAP  Course.
    It's showing the cost per hour as 3.30 USD  and per month 2379.20 USD.
    Can anyone suggest me how to reduce this cost per month to the minimum.
    I can't pay this much amount.
    Please guide how to utilize this at the optimum w.r.t to the cost.
    Regards,
    Ramana.

    Hi Ramana,
    The easiest way to optimize the costs is to suspend the instance when not used. The scheduling options in SAP CAL could help here.
    Best regards,
    Stanimir

  • How to Reduce cost of full table scan or remove full table scan while execu

    Dear Experts
    need your help.
    I execute a query and create a explain plan in that plan i found cost of a table is very high (2777) and it was full table scan.
    Please guide me How to Reduce cost of full table scan or remove full table scan while execute the query.
    Thanks

    Need your help to tune this query..
    SELECT DISTINCT ool.org_id, ool.header_id, ooh.order_number, ool.line_id,
    ool.line_number, ool.shipment_number,
    NVL (ool.option_number, -99) option_number, xcl.GROUP_ID,
    xcl.attribute3, xcl.attribute4
    FROM oe_order_headers ooh,
    xxcn_comp_header xch,
    xxcn_comp_lines xcl,
    fnd_lookup_values_vl fvl,
    oe_order_lines ool
    WHERE 1 = 1
    AND ooh.org_id = 1524
    AND xch.src_ref_no = TO_CHAR (ooh.order_number)
    AND xch.src_ref_id = ooh.header_id
    AND xch.org_id = 1524
    AND xcl.header_id = xch.header_id
    AND ool.line_id = xcl.oe_line_id
    AND ool.flow_status_code IN
    ('WWD_SHIPPED',
    'FULFILLED',
    'SHIPPED',
    'CLOSED',
    'RETURNED'
    AND ool.org_id = 1524
    AND ool.header_id = ooh.header_id
    AND xch.org_id = 1524
    AND fvl.lookup_type = 'EMR OIC SOURCE FOR OU'
    AND fvl.tag = '1524'
    AND fvl.description = xch.SOURCE
    AND EXISTS (
    SELECT 1
    FROM oe_order_lines oe
    WHERE oe.header_id = ool.header_id
    AND oe.org_id = 1524
    AND oe.line_number = ool.line_number
    AND oe.ordered_item = ool.ordered_item
    AND oe.shipment_number > ool.shipment_number
    AND NVL (oe.option_number, -99) =
    NVL (ool.option_number,
    -99)
    AND NOT EXISTS (
    SELECT 1
    FROM xxcn_comp_lines xcl2
    WHERE xcl.GROUP_ID = xcl2.GROUP_ID
    AND oe.line_id = oe_line_id))
    call count cpu elapsed disk query current rows
    Parse 1 0.07 0.12 12 25 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 2 103.03 852.42 176206 4997766 0 12
    total 4 103.10 852.55 176218 4997791 0 12
    In this LIO is very high...can u please help in resolving this performance issue

  • How to reduce costs and increase efficiency of pho...

    Dear Skype community! 
    I need to find some information about how to reduce costs and increase efficiency of phone calls in sales organisation? 
    What are advantages of Skype contarry to the concurrence ? I'm Inside Sales manager SEMEA
    Is there anyone who can explaine ? 
    thanks a lot !
    Solved!
    Go to Solution.

    Tilly_in_action,
    Review the following link:
    http://blogs.skype.com/2012/05/24/5-real-benefits-of-using-skype/
    Thanks,
    Kent C.

  • How to reduce Costing

    I have following query but the query takes too high costing, how should i reduce the cost.
    TRANCHE_BALANCE table having partition.
    query is
    SELECT /* + NO_USE_HASH(tbb) index(tbb XIE3TRANCHE_BALANCE) index (tbb XIE4TRANCHE_BALANCE) */
    tbb.project_id, tbb.tranche_nbr,
    tbb.summary_date,
    tbb.product_sub_type_code,
    tbb.product_type_code,
    CAST (tbb.crmcmt_usd_amt AS NUMBER) crmcmt_usd_amt,
    CAST (tbb.crmdout_usd_amt AS NUMBER) crmdout_usd_amt,
    CAST (tbb.crmmtm_usd_amt AS NUMBER) crmmtm_usd_amt,
    CAST (tbb.crmoleq_usd_amt AS NUMBER) crmoleq_usd_amt,
    CAST (tbb.crmunds_usd_amt AS NUMBER) crmunds_usd_amt,
    CAST (tbb.crmamtm_usd_amt AS NUMBER) crmamtm_usd_amt
    FROM mis.tranche_balance tbb,
    mis.product_categorization pc
    Where tbb.product_type_code = pc.product_type_code
    AND tbb.product_sub_type_code = pc.product_sub_type_code;
    PLAN SHOWS
    SELECT STATEMENT CHOOSE
    Cost :18,846 Bytes 97,768,6-368 Cardinality: 2,036,841
    # HASH JOIN
    Cost:18,846 Bytes :252 Cardinality : 2,036,841
    INDEX FULL SCAN UNIQUE MIS.XPKPRODUCT_CATGORIZATION
    Cost : 2 Bytes:252 Cardinality :36
    PARTITION RANGE ALL
    Partition #:3 Partition acessed #1 - #122
    TABLE ACCESS FULL MIS.TRANCHE_BALANCE
    Cost :18,789 Bytes : 83,510,481 Cardinality:2,036,841
    Partition #:3 Partition acessed #1 - #122
    Thanks for advance

    debasishghosh wrote:
    I have following query but the query takes too high costing, how should i reduce the cost.
    TRANCHE_BALANCE table having partition.Firstly, regardless of the "cost", is the query performant? If not, take a read of the following thread...
    When your query takes too long ...
    Secondly, it would be helpful, when you post code or data, if you put {noformat}{noformat} tags before and after it so that the formatting is retained on the forum.  I'll do that here for you for now...SELECT /* + NO_USE_HASH(tbb) index(tbb XIE3TRANCHE_BALANCE) index (tbb XIE4TRANCHE_BALANCE) */
    tbb.project_id, tbb.tranche_nbr,
    tbb.summary_date,
    tbb.product_sub_type_code,
    tbb.product_type_code,
    CAST (tbb.crmcmt_usd_amt AS NUMBER) crmcmt_usd_amt,
    CAST (tbb.crmdout_usd_amt AS NUMBER) crmdout_usd_amt,
    CAST (tbb.crmmtm_usd_amt AS NUMBER) crmmtm_usd_amt,
    CAST (tbb.crmoleq_usd_amt AS NUMBER) crmoleq_usd_amt,
    CAST (tbb.crmunds_usd_amt AS NUMBER) crmunds_usd_amt,
    CAST (tbb.crmamtm_usd_amt AS NUMBER) crmamtm_usd_amt
    FROM mis.tranche_balance tbb,
    mis.product_categorization pc
    Where tbb.product_type_code = pc.product_type_code
    AND tbb.product_sub_type_code = pc.product_sub_type_code;
    SELECT STATEMENT CHOOSE
    Cost :18,846 Bytes 97,768,6-368 Cardinality: 2,036,841
    # HASH JOIN
    Cost:18,846 Bytes :252 Cardinality : 2,036,841
    INDEX FULL SCAN UNIQUE MIS.XPKPRODUCT_CATGORIZATION
    Cost : 2 Bytes:252 Cardinality :36
    PARTITION RANGE ALL
    Partition #:3 Partition acessed #1 - #122
    TABLE ACCESS FULL MIS.TRANCHE_BALANCE
    Cost :18,789 Bytes : 83,510,481 Cardinality:2,036,841
    Partition #:3 Partition acessed #1 - #122
    Without knowing your tables and what indexes you have defined on them and without knowing the number of rows of data as well as the cardinality and selectivity of the data, we're not going to be able to give any real advice.
    What happens if you leave out the Hints?  (Index and Optimiser Hints shouldn't be used in production code, they should only be used for debugging - with the exception of the APPEND hints for inserts)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • In  a SQL query whihc has join, How to reduce Multiple instance of a table

    in a SQL query which has join, How to reduce Multiple instance of a table
    Here is an example: I am using Oracle 9i
    is there a way to reduce no.of Person instances from the following query? or can I optimize this query further?
    TABLES:
    mail_table
    mail_id, from_person_id, to_person_id, cc_person_id, subject, body
    person_table
    person_id, name, email
    QUERY:
    SELECT p_from.name from, p_to.name to, p_cc.name cc, subject
    FROM mail, person p_from, person p_to, person p_cc
    WHERE from_person_id = p_from.person_id
    AND to_person_id = p_to.person_id
    AND cc_person_id = p_cc.person_id
    Thnanks in advance,
    Babu.

    SQL> select * from mail;
            ID          F          T         CC
             1          1          2          3
    SQL> select * from person;
           PID NAME
             1 a
             2 b
             3 c
    --Query with only ne Instance of PERSON Table
    SQL> select m.id,max(decode(m.f,p.pid,p.name)) frm_name,
      2         max(decode(m.t,p.pid,p.name)) to_name,
      3         max(decode(m.cc,p.pid,p.name)) cc_name
      4  from mail m,person p
      5  where m.f = p.pid
      6  or m.t = p.pid
      7  or m.cc = p.pid
      8  group by m.id;
            ID FRM_NAME   TO_NAME    CC_NAME
             1 a          b          c
    --Expalin plan for "One instance" Query
    SQL> explain plan for
      2  select m.id,max(decode(m.f,p.pid,p.name)) frm_name,
      3         max(decode(m.t,p.pid,p.name)) to_name,
      4         max(decode(m.cc,p.pid,p.name)) cc_name
      5  from mail m,person p
      6  where m.f = p.pid
      7  or m.t = p.pid
      8  or m.cc = p.pid
      9  group by m.id;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 902563036
    | Id  | Operation           | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT    |        |     3 |   216 |     7  (15)| 00:00:01 |
    |   1 |  HASH GROUP BY      |        |     3 |   216 |     7  (15)| 00:00:01 |
    |   2 |   NESTED LOOPS      |        |     3 |   216 |     6   (0)| 00:00:01 |
    |   3 |    TABLE ACCESS FULL| MAIL   |     1 |    52 |     3   (0)| 00:00:01 |
    |*  4 |    TABLE ACCESS FULL| PERSON |     3 |    60 |     3   (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
       4 - filter("M"."F"="P"."PID" OR "M"."T"="P"."PID" OR
                  "M"."CC"="P"."PID")
    Note
       - dynamic sampling used for this statement
    --Explain plan for "Normal" query
    SQL> explain plan for
      2  select m.id,pf.name fname,pt.name tname,pcc.name ccname
      3  from mail m,person pf,person pt,person pcc
      4  where m.f = pf.pid
      5  and m.t = pt.pid
      6  and m.cc = pcc.pid;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 4145845855
    | Id  | Operation            | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT     |        |     1 |   112 |    14  (15)| 00:00:01 |
    |*  1 |  HASH JOIN           |        |     1 |   112 |    14  (15)| 00:00:01 |
    |*  2 |   HASH JOIN          |        |     1 |    92 |    10  (10)| 00:00:01 |
    |*  3 |    HASH JOIN         |        |     1 |    72 |     7  (15)| 00:00:01 |
    |   4 |     TABLE ACCESS FULL| MAIL   |     1 |    52 |     3   (0)| 00:00:01 |
    |   5 |     TABLE ACCESS FULL| PERSON |     3 |    60 |     3   (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    |   6 |    TABLE ACCESS FULL | PERSON |     3 |    60 |     3   (0)| 00:00:01 |
    |   7 |   TABLE ACCESS FULL  | PERSON |     3 |    60 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - access("M"."CC"="PCC"."PID")
       2 - access("M"."T"="PT"."PID")
       3 - access("M"."F"="PF"."PID")
    PLAN_TABLE_OUTPUT
    Note
       - dynamic sampling used for this statement
    25 rows selected.
    Message was edited by:
            jeneesh
    No indexes created...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to capture planned cost

    Dear experts ,
    please help me in the following scenario.
    At one of our location we have PP-PS scenario. production order is made for production in PP module.
       in that location mostly JOB production is done, there about 30 % of the total cost of equipment is given to outside contractors. our problem is how to capture that cost in budget ( WBS system is being followed ) in PO WBS is assigned.  we have created an activity and rate is maintained in KP26 for that activity so that planned cost is arrived at ( we have to capture the planned cost in production order) , our problem is in WBS amount is coming twice
    1)as remaining order plan in WBS and the available budget amount is getting reduced
    2) when the SR is made again the same amount is appearing in the commitment in WBS.and the available budget amount is reduced once again
    our requirement is budget what is to be done so that budget amount is not reduced twice , we also want to capture the planned cost in production order.
    Thanks and regards
    sanjiv

    HI,
    Inorder to get all the actual costs on activity which is actually on WBS. You can do an enhancement. This enhancement should find the all POs against PR which belongs to an activity and will repost the costs that is being posted on WBS on GR to the concerned activity.
    Regards,
    Anjali

  • Migrate 6i to what for reducing licensing costs???????

    Using oracle engine, Forms and Reports Developer 6i, we Developed a software
    consisting of about 2000 forms and 2000 reports in the past 12 years...
    THE MAIN ISSUE IS:
    "Forms and Reports 6i" licensing is very expensive for our customers,
    so we are searching for a better solution...
    1) Now we are asking which is the best solution to reduce these licensing costs
    for our customers????
    2) To which extent will be this reduction of licensing costs???
    3) How this solution will affect our Software
         a) Will it change in the database schema or just in the interface.
         b) The Technological aspect.
    If the best solution is "Migrating our Forms and Reports to JAVA",
         We found many Java Technologies ( JEE, ADF, JHeadStart.......),
    also JSP without ADF components!!!!!!!!!!!!!!!
         Which is the best solution to solve the cost reduction issue mentioned above,
    and "MANUALLY MIGRATING"...

    duplicate - see Re: HOW TO REDUCE FORMS 6i LICENSING COSTS??? WHERE TO MIGRATE??

  • Hi, I was just wondering how much it would cost to repair the rear camera of my iPhone 4s. I dropped it and it won't work and I hear something rattling inside when I shake it. How much would it cost to fix?

    Hi, I was just wondering how much it would cost to repair the rear camera of my iPhone 4s. I dropped it and it won't work and I hear something rattling inside when I shake it. How much would it cost to fix?

    If you have a tool, try removing the battery cover and chech out. Some times the camera pin may have been misplaced. If so, you can fix it yourself.

  • Update New Records is taking much time to complete. How to reduce

    Hi,
    Iam having a Table with 200 Clumns and trying to Update 5 columns and the table has 5lakh Records. It is taking very much time 2hours to complete. Pls let me know why is this taking time how to reduce....
    In my ssis Package iam using
    Oracle Source
    Look up
    Oledb Command for the Update.
    Please help ism stuck?

    I have somthing like this..
    Update table
    Set column1 =@column1, column2=@column2,column3=@column3,column4=@column4,column5=@column5
    where column1=@column1
    in this case i need to add a index on column1 right? Pls llet me know
    Yes, an index in column1 (preferably clustered) would avoid the table scan for each update. The ELT the staging table alternative Jim suggested will likely perform better than individual updates for a large process like this.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • How to find the cost center group from cycle/ segment in CO module?

    Hi All,
    I need to fetch the list of cost centers in the cost center group against the cycle.
    Is there any table which will store the list of cost centers against the cycle?
    or else, what I was thinking is use of BAPI BAPI_COSTCENTERGROUP_GETDETAIL, which will give me the list of cost centers,
    but we need to pass the controlling area + cost center grp to fetch the cost centers from BAPI, I have controlling area with me but not the cost center grp name, only I have Cycle info lke cycle name, segment name, seq number. so how to find the cost center grp name from the cycle name?
    Regards,
    Mrunal

    FM: RK_AL_CYCLE_READ
    CHECK TABLE: T811K

Maybe you are looking for

  • URLConnection not working in some browsers

    Hi, I have tested several examples of URLConnection to connect to a webpage from a Java applet, but it only works when Java SDK is intalled, it does not run in clients which have only the Virtual Machine or equivalent. Could you please provide me wit

  • Selecting Date in iReports

    hello.. the part of my query in ireport for selecting the date range is tran_date BETWEEN (select trunc(sysdate,'year') from dual) AND (select last_day(trunc(sysdate,'month')-1)   from  dual) and when i run this in january every year, the year value

  • I can't send mail via hotmail. I can read new mail, but can not reply or send new messages.

    I am using a mac powerbook, 2004 running MAc os x. Yes, I know it is old. But I only use if for e-mail. this week, I can't send or reply to messages via firefox or any other browser. I can't succesfully download updates. Can you advise? thanks Sharon

  • Marketing attribute sets applicable only for specific BP roles

    Hi, I have created Marketing attributes in CRM and assigned them to Attribute sets applicable only for Organizations. Now they are eligable for all BPs created independent of BP role. Since I don´t want the Potential customers to have the same attrib

  • Creative Cloud Desktop resize window.

    When you rightclick the Creative Cloud Desktop notification icon on Windows 8 and select "Open as window", the window is actually too big. The very bottom of the window is hidden behind the Task bar at the bottom. I would like to be able to change th