How can one decide which queries need BIA to enhance their performance?

How can one decide which queries need BIA to enhance their performance?

Queries with high data access times will usually require BIA. This can be found by using the Event IDs...
Please do not post across forums - your earlier post was deleted as duplicate.
Also search the forums before posting... this question has been answered earlier...
Edited by: Arun Varadarajan on May 5, 2009 7:24 PM

Similar Messages

  • How can I decide which one I use whethe Call Transaction or Session Method?

    Hi ,
    How can I decide Whether I have to use Call Transaction or Session? I know the differences and working procedure of them.
    thanks in advance.

    HI.
    check diff between both and choose ur requirement!!!
    What is the difference between batch input and call transaction in BDC?
    Session method.
    1) synchronous processing.
    2) can tranfer large amount of data.
    3) processing is slower.
    4) error log is created
    5) data is not updated until session is processed.
    Call transaction.
    1) asynchronous processing
    2) can transfer small amount of data
    3) processing is faster.
    4) errors need to be handled explicitly
    5) data is updated automatically
    Reward all helpfull answers.
    Regards.
    Jay

  • How can I tell which machines need a given patch?

    So when I run WSUS and view the Updates Report I can type in the specific patch I'm working on (MS14-066) and it tells XX computers have it, YY computers need it, etc.
    How can I tell which are the YY computers that need the patch so I can go fix them up?  Is there an easy way to do that?
    Thanks.

    How can I tell which are the YY computers that need the patch so I can go fix them up?
    Run the Detailed View version of the report. There will be one (or more) pages for each update. The detailed pages list each computer, the approval status, and installation state.
    However, the conventional way to address this question is to create target groups based on some classification of how you would approve updates (e.g. Desktops, Win2008R2, .NET4) and approve the updates for the *groups* of computers that should install the
    updates.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • How can I know which queries run in the TEMP tbs (Oracle 9i and 10g) ?

    Dear friends, do you have a query which can shows which statements are running currenly in the TEMP tablespace?
    Many Thanks in advance, Marcelo.

    Marcelo,
    you can check DBMS_XPLAN.DISPLAY_CURSOR - if you find a column TempSpc there, it's using Temp space.
    select source from sys.source$ order by source;
    select * from table(dbms_xplan.display_cursor(NULL, NULL, NULL));
    PLAN_TABLE_OUTPUT
    SQL_ID  5ywbw0z6gupwk, child number 0
    select source from sys.source$ where rownum < 555555 order by source
    Plan hash value: 1381731087
    | Id  | Operation           | Name    | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT    |         |       |       |       | 11492 (100)|          |
    |   1 |  SORT ORDER BY      |         |   555K|    37M|    87M| 11492   (1)| 00:02:18 |
    |*  2 |   COUNT STOPKEY     |         |       |       |       |            |          |
    |   3 |    TABLE ACCESS FULL| SOURCE$ |   572K|    38M|       |  1834   (1)| 00:00:23 |
    ---------------------------------------------------------------------------------------or for all your statements currently available:
    SELECT t2.*
    FROM v$sql s, table(DBMS_XPLAN.DISPLAY_CURSOR(s.sql_id, s.child_number)) t ,
         table(DBMS_XPLAN.DISPLAY_CURSOR(s.sql_id, s.child_number)) t2
    WHERE t.PLAN_TABLE_OUTPUT like '%TempSpc%';Edit: Sorry, I didn't see you are also asking for 9i. DISPLAY_CURSOR is only available in 10g+ - but Tom Kyte and others have shown WorkArounds to use DBMS_XPLAN.DISPLAY from 9i to show the information for all available SQLs.
    2nd Edit:
    TempSpc only shows the estimation the optimizer makes.
    You can check V$SQL_PLAN_STATISTICS_ALL for the columns max_tempseg_size and tempseg_size. In Addition please have also a look on [http://antognini.ch/about/] Blog [http://antognini.ch/2009/05/wrong-information-about-temporary-space-usage/] .
    I used:
    select PARENT_ID, ID, DEPTH, POSITION,
           MAX_TEMPSEG_SIZE, LAST_TEMPSEG_SIZE
    from v$SQL_PLAN_STATISTICS_ALL
    where MAX_TEMPSEG_SIZE > 0;hth,
    Martin
    Edited by: berx on Jun 17, 2009 4:11 AM
    Edited by: berx on Jun 17, 2009 6:18 AM

  • How can i decide how many dimensions are needed here.and which charactersti

    Hi,
            i am planning to create custom defined cube for sale order line item data.  how can i decide how many dimensions are needed here.and which characterstics are suitable for that dimensions.
    Thanks,
    chandu.

    Hi Chandra,
    How many dimensions are needed and which characteristics to be used totally depends upon the data model you are using.
    for instance  take an example of school.
    teachers , students are the imp terms in this example .
    you can choose these two as dimensions .
    teacher's name , address  , subject , class , designation etc can be its characteristics . and for students also the important terms describing them can be its characteristics.
    for more understanding of the Dimensional Modeling you can refer to following link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6ce7b0a4-0b01-0010-52ac-a6e813c35a84
    Hope It Helps .
    Regards
    Pratap

  • Analyzing AWR reports, how can i decide i need to increase my SGA

    Hi,
    I am analyzing my Production server AWR reports, how can i decide on which basis i can increase SGA.
    Thanks,
    Mahi

    You need to make sure that the corresponding memory areas are not having any waits associated with them. Changing the memory parameters is generally not an option to pick in 10g as the instance management is automatic( shouldbe) and this makes the allocations done in an optimal manner depending upon the workloads. Still the change in the parameters can be there when we see some specific wait event related to that memory area. For example, if you see lots of Shared Pool latch contention and you are assure that you have no duplicate sqls coming up in your system than may be you have an undersized shared pool so it can be increased.
    You are using AWR.What about the recommendations from ADDM?Is there any advice coming up to change the memory components ? Did you elliminate all teh other areas which may be a problematic reason rather than a low memory value for parameters?
    Aman....

  • I know some of my photos have NOT been imported in to the iPhoto library. How can I find which ones?

    In error, for a period, I had iPhoto set up such that photos were not imported into the iPhoto library but left scattered around my iMac. How can I find which ones without selecting each individual photo - there are nearly 9,000?

    Are you able to view them in full size in the library, i.e. don't get this
    when you try to view the photo in full size?  If you can then you can do the following to consolidate all of the master image files inside the library.
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.>Click on the Add Library button,
    2 -  select the library you want to add from those in the selection window.
    3 - make sure that in the rebuild window the checkbox  "Scavange orphaned photos" is checked.
    4 - now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option
    5 - in the next  window name the new library and select the location you want it to be placed. Click on the Create button.
    Note 1: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost.
    Note 2:  Your current library will be left untouched for further attempts at a fix if so desired.

  • How can i no which SATA driver do I need for Satellite L300-03C

    How can i no which SATA driver do I need for Satellite L300-03C so i can do nlite

    Hi
    Your notebook seems to be a Satellite L300-03C PSLB8C-03C01X.
    As already suggested in your first thread visit the Toshiba Canada page and choose this notebook model on the driver page.
    http://209.167.114.38/support/Download/ln_bymodel.asp
    Then download the Intel Matrix Storage Manager (SATA) - Floppy drive image. Its for Vista but the files in this package should work with Win XP too.
    Include these files using nLite in order to create new Win XP disk containing the SATA drivers.
    Finally use this disk for booting.

  • I am trying adobe Photoshop and adobe illustrator because I can't decide which one to buy so I want to try both, after I downloaded Photoshop I can not see the option "free trial" for adobe Illustrator, it is because I can only free try one at the time??

    I am trying adobe Photoshop and adobe illustrator because I can't decide which one to buy so I want to try both, after I downloaded Photoshop I can not see the option "free trial" for adobe Illustrator, it is because I can only free try one at the time??

    Bryan,
    You can download both at the same time.
    But you may wish to start off with one and use it full time, then download the other later, so you get the maximum possible time with both.
    If you have trouble getting the free trial on the Adobe site, you may try here or here:
    http://prodesigntools.com/tag/ddl
    http://technolux.blogspot.co.nz/2011/02/adobe-direct-download-links-less-akamai.html#more

  • I have lots of duplicate songs in ITunes. How can I tell which ones were purchased vs ripped?

    I am trying to delete duplicate songs in iTunes library. How can I tell which ones were iTunes purchases and which ones I ripped from CD's.

    If you turn on the Kind column your purchases will read Purchased AAC audio file or Protected AAC audio file.
    BTW I've written a script called DeDuper which can help remove unwanted duplicates. See this  thread for background.
    tt2

  • I am going to college this fall and can't decide which MacBook pro to buy!

    I am going to college this fall and can't decide which MacBook pro to buy the 13in or the 15in. Mainly to type, browse the web, watch videos, and maybe some light gaming. I am worried that the 15in might be too big to carry around all the time.  And worried about the 13in being too small and hurting my eyes over time. Once I do get one, I am most likely going to use it for the full 4 years. Please Help !

    The 13" will do the trick for what you describe as your needs, Be sure to consider how you will backup your data -- need an external drive?
    Also be sure to check with your college or division of study to see what they recommend. If they are hostile to Macs, you may be on your own for finding support. But in most major cities, that will not be too hard.

  • How can I determine which computer a share is connected to in /Volumes from terminal or a script?

    I run a set of virtual machines via Fusion on an iMac that we run automated tests on for our website.  There is a folder on each VM called /Automation that is shared. 
    I have a python script that runs on the host, that will find an open VM, start it up and then mount the VM's /Automation folder.  So if there is only 1 VM powered on, the folder shows up in /Volumes as /Volumes/Automation.  The  problem is when there are 2 or more VM's powered on, because then the shares start being named /Volumes/Automation-1 and Automation-2 etc.  So my question is, how can I determine which computer each share belongs to from terminal or a script?
    In other words, I'm looking for something like:
    /Volumes/Automation = "FirstVirtualMachineName.local"
    /Volumes/Automation-1 = "SecondVirtualMachineName.local"
    Is there any way to determine which computer a mounted share is connected to?  In the past, I've just unmounted all /Automation folders, and then mounted them in a particular order, but that's unreliable and messy in my opinion.  If anyone knows a better way, please let me know.  Any help is appreciated.
    Thanks,

    Well I think I have a workable solution.  It's not perfect, but I think it will do the trick. I can put a spotlight comment on the folder similar to 'HostName=OSX-Automation-1.local' and can then retrieve that value from our server with the following python snippet:
    import subprocess
    out,err = subprocess.Popen(['osascript','-e','tell application \"Finder\" to get comment of \"Macintosh HD:Volumes:Automation-1\"'],stdout=subprocess.PIPE, stderr=subprocess.PIPE).communciate()
    So I could just loop through each 'Automation*' folder in /Volumes and grab the name from the spotlight attributes on the directories.  I don't think I really need to worry about the comments being overwritten, but I may have one of our launch daemons that run on the VM check that spotlight comment once a minute or something to ensure that the correct value is there.
    If it ends up not working well in practice, I'm going to give your suggestion about a config script a shot.  It would require a little more up front work, but seems as if it would be pretty solid after that. 
    Thanks again for helping me think it through

  • How can I combine two queries ? QoQ does not work

    I have one query where I just count the total qty coming in per month, something like:
    <cfquery name="qryIn" datasource="dbname">
    select count(orderNO) as totalIN,month
    where status = "IN"
    group by month
    </cfquery>
    I then have a second query to count the total qty going out per month
    <cfquery name="qryOut" datasource="dbname">
    select count(orderNO) as totalOut,month
    where status = "OUT"
    group by month
    </cfquery>
    I then use QoQ to combine both:
    <cfquery="qryTotal" dbtype="query">
    select
    totalIN,
    totalOUT
    from qryIN,qryOUT
    where qryIN.month = qryOUT.month
    </cfquery>
    The problem I am running into is that QoQ does not allow LEFT JOIN, so that if the month is in one query but not the other, it will not pick up that record. And that is throwing off my counts.
    How can I combine  both queries, and bypass QoQ to get a qty IN and qty Out value, per month ? and, for example, if qty in exists for one month and qty Out does not exists for that month, then qty Out will be zero for that month.
    I need this data to plot a chart.
    Thanks for any help provided.

    Do it in a single query to your database.  Here is part of it.
    select month
    , sum(case when when status = "IN" then 1 else 0 end) total_in

  • How can i know which index will be used when executing the query ?

    1 ) I have query in which i have 3-4 tables but there multiple index on one column .
    so how can i know which index will be used when executing the query ?
    2) I have a query which ia taking too much time . how can i know which table is taking too much time ?
    3) Please Provide me some document of EXplain plan ?

    Hi Jimmy,
    Consider the below example
    /* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
    CREATE TABLE FIRST AS
    SELECT * FROM all_objects;
    UPDATE FIRST
    SET object_name = 'TEST'
    WHERE owner != 'SCOTT';
    CREATE INDEX idx_first ON FIRST(object_name);
    SELECT *
    FROM FIRST
    WHERE object_name = 'TEST';
    It has not used index
    Execution Plan
    Plan hash value: 2265626682
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 58678 | 7334K| 163 (4)| 00:00:02 |
    |* 1 | TABLE ACCESS FULL| FIRST | 58678 | 7334K| 163 (4)| 00:00:02 |
    /* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
    SELECT *
    FROM FIRST
    WHERE object_name = 'emp';
    This has used the index
    Execution Plan
    Plan hash value: 1184810458
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 128 | 1 (0)| 00:00:01 |
    | 1 | TABLE ACCESS BY INDEX ROWID| FIRST | 1 | 128 | 1 (0)| 00:00:01 |
    |* 2 | INDEX RANGE SCAN | IDX_FIRST | 1 | | 1 (0)| 00:00:01 |
    From this we can come to the conclusion that, whether to use one index or not by oracle
    would also depend on the data which is present in the table. This has to be this way as
    we see in the bind peeking, if oracle sticks to only one plan, say only use the full table
    scan, it would be a performance hit when it searches for the second query ie where object_name
    ='emp';
    2.
    If we have a query like below.
    select * from emp
    where upper(ename) = upper(:p_ename);
    Evenif we have the index on ename column, oracle wouldn't be able to use the index, as there is a function in the predicate column. If you need oracle to use the index, we need to create a function based index as below.
    Create index idx_ename on emp(upper(ename));
    Regards,
    Cool

  • How can one create a paint color generated from a photo using Kuler?

    How can one create a paint color generated from a photo using Kuler?

    The best way to remove a pattern is to use a Fast Fourier Transform.  There's a free plugin (as well as examples and instructions) here:
    http://dl.dropboxusercontent.com/u/6795661/4N6site/improc/fftplugin/examples.htm
    Using the plugin requires editing the individual colour channels, which PSE does not natively allow.  You'll need the reasonably-priced Elements+ addin:
    http://elementsplus.net/
    Here's a crop at 100% of the result I got:
    The pattern is much reduced.  With some experimenting, you can probably do a little better.
    Ken

Maybe you are looking for

  • How to use session in Struts

    Hello, there: It's a simple question. I have a web app which has a login page, in its action class I create an object, user, and save it into session by using request.getSession(true).setAttribute("user", user). In another action class, I want to use

  • Run Java program in Netware

    Hi, I'd like to run a particular piece of software on the JVM 1.3.1 on a Netware platform. It's a program which monitors a device via the serial port. After extending the Classpath to the path where the program resides, I can boot it, but it gives me

  • How Do I Get back scroll bar arrows Back

    Is there a way to get back scroll bar arrows back in OS 10.8.4  ? Thats all.

  • Fixing a Messed-With Library

    I tried in August to make a slide show out of an album, noticed that some of the photos were not actually appearing, and the slide show won't start. Just now getting around to fixing it, found a notice that it is not OK to mess with the data in my iP

  • Need Instance Recovery?

    I have a very strange situation right now: 1) Turn on Archive log Mode 2) Everything works fine ( both database & oracle apps) 3) Weekly full backup successful 4) Daily backup successful 5) Oracle databas hangs (shutdown & startup the database, same