Continual library cache misses in trace file for spatial queries

Hi all,
Could somebody explain to me how the SQL parse engine works for spatial queries.
My understanding is that Oracle creates a hash value for SQL that is parsed with no errors. This hash value is then stored in the library cache ready to be matched against other incoming SQL statements. This provides one of the main reasons for using parametising SQL in languages such as PL/SQL, .Net etc and improves performance on query intensive applications.
However i have noticed that for spatial, any queries except for refreshes of identical ones already sent, the SQL engines re parses the query. This can take upto 0.2 seconds which is causing a performance bottle neck.
When looking at the full trace file of a single spatial query using SDO_FILTER with a query window the amount of additional internal queries that are performed is quiet a lot. Are these additional queries included in the total parse time?
I am wondering why for spatial queries the only way to get a hit in the library cache was to refresh an exact same SQL that had been previously sent?
Thanks
Daniel

Those additional internal queries are not included in the parse time,
if they are used in the execution time.
Edited by: yhu on Mar 4, 2011 10:52 AM

Similar Messages

  • Missing LIBRFC32.DLL file for 64bit - x64 Windows Server

    Dear Folks,
    I have installed SAP ECC6 with BI7 system on Windows Server 2003 on x64. But I am not able to get data from SAP BW from Crystal Report 2008. I also did  MDX PARSER connection test through t.code SM59. I got list of error messages.
    Logon     Cancel
    Error Details     timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host ns2 / sapgw00
    Error Details     DETAIL: no connect of TP mdxsvr from host ns2 after 20 sec
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 798
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 5873
    Error Details     RETURN CODE: 242
    Error Details     VERSION: 2
    I have been read other forums, most probably I am missing LIBRFC32.DLL file for x64 Windows Server. I couldnu2019t find any where this specific file for Windows Server x64 64bit version. It is available on Sap Market place, since I donu2019t have super user rights, I canu2019t download it.
    If any one of you already have this file. Please share with me.
    thanks
    Obaid

    Hello Ingo
    Thanks to read my problem and for your reply, I have already read that SAP Note 1032461,  I  have the same problem as clearly defined in the note, and suggesting to put LIBRFC32.DLL file in <windows-dir>/system32 folder.
    My SAP ECC and BI7 (Kernl 7.00) is installed on 64-bit, x64 Windows Server 2003 Enterprise. I need to download that file from RFC library available on SAP Market place. But, I don't have any super user rights.
    If someone has similar setup and has already that file or could download for me. I need to get that file. I appreciated your kindly help.
    thanks
    Obaid

  • Unable to find trace file for a particular sid

    Hi all,
    I have a oracle 9.2.0.6 on solaris platform.I have to use tkrpof for PT for a particular sid.But when i checked out the trace file for that particular sid, i am not able to find out the same.....
    SQL> select c.value || '\' || lower(d.value) || '_ora_' ||  to_char(a.spid, 'fm0
    0000') || '.trc' "TRACE FILE"
      2  from v$process a, v$session b, v$parameter c, v$parameter d where a.addr =
    b.paddr
      3  and b.audsid = userenv('sessionid') and c.name   = 'user_dump_dest'
      4  and d.name   = 'db_name';
    TRACE FILE
    /arch/dump/udump\icai_ora_02464.trc-rw-r----- 1 oracle dba 2526 Nov 9 04:27 icai12_ora_1314.trc
    -rw-r----- 1 oracle dba 2528 Nov 9 04:41 icai12_ora_1541.trc
    -rw-r----- 1 oracle dba 689 Nov 9 14:26 icai11_ora_14071.trc
    -rw-r----- 1 oracle dba 6414 Nov 9 23:56 icai12_ora_456.trc
    -rw-r----- 1 oracle dba 1427 Nov 10 12:02 icai11_ora_1867.trc
    -rw-r----- 1 oracle dba 613 Nov 10 12:02 icai12_ora_292.trc
    -rw-r----- 1 oracle dba 678 Nov 10 12:07 icai11_ora_2356.trc
    -rw-r----- 1 oracle dba 613 Nov 10 12:12 icai12_ora_490.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:12 icai11_ora_2275.trc
    -rw-r----- 1 oracle dba 613 Nov 10 12:12 icai12_ora_505.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:15 icai11_ora_2430.trc
    -rw-r----- 1 oracle dba 613 Nov 10 12:15 icai12_ora_286.trc
    -rw-r----- 1 oracle dba 625 Nov 10 12:42 icai11_ora_2378.trc
    -rw-r----- 1 oracle dba 625 Nov 10 12:45 icai11_ora_2549.trc
    -rw-r----- 1 oracle dba 625 Nov 10 12:46 icai11_ora_2514.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:48 icai11_ora_2626.trc
    -rw-r----- 1 oracle dba 731 Nov 10 12:49 icai11_ora_2322.trc
    -rw-r----- 1 oracle dba 1312 Nov 10 12:49 icai11_ora_2096.trc
    -rw-r----- 1 oracle dba 625 Nov 10 12:50 icai11_ora_2315.trc
    -rw-r----- 1 oracle dba 625 Nov 10 12:50 icai11_ora_1390.trc
    -rw-r----- 1 oracle dba 729 Nov 10 12:51 icai11_ora_1990.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:52 icai11_ora_2485.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:52 icai11_ora_2063.trc
    -rw-r----- 1 oracle dba 644 Nov 10 12:53 icai11_ora_2605.trc
    -rw-r----- 1 oracle dba 626 Nov 10 12:54 icai11_ora_2299.trc
    -rw-r----- 1 oracle dba 625 Nov 10 13:07 icai11_ora_2333.trc
    -rw-r----- 1 oracle dba 626 Nov 10 13:07 icai11_ora_2380.trc
    -rw-r----- 1 oracle dba 729 Nov 10 13:07 icai11_ora_2174.trc
    -rw-r----- 1 oracle dba 625 Nov 10 13:08 icai11_ora_2851.trc
    -rw-r----- 1 oracle dba 613 Nov 10 13:08 icai12_ora_627.trc
    -rw-r----- 1 oracle dba 626 Nov 10 13:11 icai11_ora_2894.trc
    -rw-r----- 1 oracle dba 1365 Nov 10 13:12 icai11_ora_2443.trc
    -rw-r----- 1 oracle dba 1640016 Nov 10 13:42 icai12_ora_427.trc
    -rw-r----- 1 oracle dba 676 Nov 10 13:48 icai11_ora_2183.trc
    -rw-r----- 1 oracle dba 626 Nov 10 13:48 icai11_ora_2230.trc
    -rw-r----- 1 oracle dba 645 Nov 10 13:55 icai11_ora_3220.trc
    -rw-r----- 1 oracle dba 675 Nov 10 13:57 icai12_ora_276.trc
    -rw-r----- 1 oracle dba 625 Nov 10 14:07 icai11_ora_3198.trc
    -rw-r----- 1 oracle dba 1376 Nov 10 14:08 icai11_ora_2935.trc
    -rw-r----- 1 oracle dba 625 Nov 10 14:09 icai11_ora_3273.trc
    -rw-r----- 1 oracle dba 677 Nov 10 14:10 icai11_ora_2465.trc
    -rw-r----- 1 oracle dba 634 Nov 10 14:17 icai12_ora_1137.trc
    -rw-r----- 1 oracle dba 687 Nov 10 14:21 icai11_ora_1971.trc
    -rw-r----- 1 oracle dba 688 Nov 10 14:23 icai11_ora_2973.trc
    -rw-r----- 1 oracle dba 626 Nov 10 14:25 icai11_ora_2144.trc
    -rw-r----- 1 oracle dba 770 Nov 10 14:32 icai12_ora_399.trc
    -rw-r----- 1 oracle dba 718 Nov 10 14:37 icai12_ora_917.trc
    -rw-r----- 1 oracle dba 644 Nov 10 14:48 icai11_ora_3510.trc
    -rw-r----- 1 oracle dba 645 Nov 10 15:31 icai11_ora_2957.trc
    -rw-r----- 1 oracle dba 730 Nov 10 15:33 icai11_ora_1973.trc
    -rw-r----- 1 oracle dba 688 Nov 10 15:56 icai11_ora_3830.trc
    -rw-r----- 1 oracle dba 2527 Nov 10 16:11 icai12_ora_364.trc
    -rw-r----- 1 oracle dba 687 Nov 10 16:34 icai11_ora_4150.trc
    -rw-r----- 1 oracle dba 1332 Nov 10 16:35 icai11_ora_3760.trc
    -rw-r----- 1 oracle dba 715 Nov 10 16:38 icai11_ora_3723.trc
    -rw-r----- 1 oracle dba 687 Nov 10 16:46 icai11_ora_4295.trc
    -rw-r----- 1 oracle dba 714 Nov 10 16:56 icai11_ora_2598.trc
    -rw-r----- 1 oracle dba 615 Nov 10 17:06 icai12_ora_2232.trc
    -rw-r----- 1 oracle dba 615 Nov 10 17:09 icai12_ora_2290.trc
    -rw-r----- 1 oracle dba 2527 Nov 10 17:13 icai12_ora_1875.trc
    -rw-r----- 1 oracle dba 688 Nov 10 17:18 icai11_ora_4473.trc
    -rw-r----- 1 oracle dba 978 Nov 10 17:25 icai12_ora_2265.trc
    -rw-r----- 1 oracle dba 645 Nov 10 17:29 icai11_ora_4582.trc
    -rw-r----- 1 oracle dba 730 Nov 10 17:36 icai11_ora_4084.trc
    -rw-r----- 1 oracle dba 616 Nov 10 17:46 icai12_ora_2281.trc
    -rw-r----- 1 oracle dba 615 Nov 10 17:46 icai12_ora_1811.trc
    -rw-r----- 1 oracle dba 730 Nov 10 17:50 icai11_ora_4225.trc
    -rw-r----- 1 oracle dba 2528 Nov 10 18:08 icai12_ora_2352.trc
    -rw-r----- 1 oracle dba 626 Nov 10 18:10 icai11_ora_2501.trc
    -rw-r----- 1 oracle dba 738 Nov 10 18:10 icai11_ora_2790.trc
    -rw-r----- 1 oracle dba 688 Nov 10 18:28 icai11_ora_3768.trc
    -rw-r----- 1 oracle dba 626 Nov 10 18:33 icai11_ora_4029.trc
    -rw-r----- 1 oracle dba 626 Nov 10 18:33 icai11_ora_3965.trc
    root@ai2 #

    You seem to have RAC with multiple instances.
    Anyhow, lower(d.value) --> icai, doesn't occur in any filename. This is because the instance name is in the trace filename, not the database name.
    You are aware you can set the tracefile_identifier?
    This will be simply appended to the original filename.
    Sybrand Bakker
    Senior Oracle DBA

  • Generating Trace file for ODI Sessions

    ODI Gurus
    am new to ODI, for one of our integration project am using ODI for transforming data from Source to Target Instance.
    Oracle Database is installed on both Source and Target instances. Is there a way to generate Database Trace files for ODI sessions triggered.
    If yes can you provide the steps to enable/disable database trace for ODI sessions.
    Regards
    Uma Shankar

    Hi Uma Shankar,
    My assumptions:
    1.) You want to selectively enable Oracle tracing when only the ODI scenarios are executed and not otherwise.
    If that is the case then you will have to add some external steps comprising of OS commands and variables that will control if those steps are to be executed or not. These steps will invoke the OS commands to start Oracle tracing.
    2.) You know the steps to create a package and know how to use Interfaces and other ODI utilities in the flow of the package.
    3.) You know how to create and execute scenarios
    Steps to Selectively enable tracing.
    1.) Add a variable named V_START_TRACE to the package. This variable will be passed a value from scenario which will determine if you want to enable to trace or not. This variable type is EVALUATE and can have 2 values - TRUE or FALSE. You will have to check for the condition and depending on the condition you will take a path forward.
    2.) Add 2 OS commands to the package - OS_START_TRACE and OS_END_TRACE
    3.) Create 2 shell scripts (or bat files) - odi_start_trace.sh and odi_end_trace.sh with the following commands:
    odi_start_trace.sh :-
    sqlplus session - ALTER SYSTEM SET trace_enabled = TRUE;
    odi_end_trace.sh :-
    sqlplus session - ALTER SYSTEM SET trace_enabled = FALSE;
    You need to invoke SQLPLUS sessions from the above shell scripts to enable/disable the oracle level tracing.
    4.) Add the above shell scripts to the OS commands created in Step 2.
    5.) Join the steps in the following order in the package :
    V_START_TRACE (OK) ->OS_START_TRACE (OK) -> <<+Your Actual Integration Code+>>(OK) -> OS_END_TRACE
    V_START_TRACE (KO) -> <<+Your Actual Integration Code+>>(OK)
    The above KO variable statement doesnt start the trace if the evaluated value doesnt = TRUE. So this will let you do a selective trace.
    6.) Create the scenario from the package and execute the scenario by passing it a value "TRUE" for variable V_START_TRACE.
    Check the startscen.sh syntax, something like:
    *>startscen.sh ... "GLOBAL.V_START_TRACE=TRUE"*
    The above is a general solution for enabling trace for any RDBMS
    If you need any more information, feel free to ping back.

  • Generate trace file for a certain transaction

    Experts,
    I am trying to generate a trace file for a certain transaction for a period of time.
    I used tx st03 > transaction profile > double click on transaction and am able to get a list for the day. How do I set the date to generate for the month for example?
    Thanks,
    Iqbal

    Since you post the question in security forum, not peformance or platform forum, I guess are looking for system auditing function.
    then SM19/SM20 might be the choice, you can read through
    http://help.sap.com/saphelp_nw70/helpdata/EN/c7/69bcb7f36611d3a6510000e835363f/frameset.htm

  • Generate trace file for a certain transaction by dates

    Experts,
    I am trying to generate a trace file for a certain transaction for a period of time.
    I used tx st03 > transaction profile > double click on transaction and am able to get a list for the day. How do I set the date to generate for the month for example?
    Thanks,
    Iqbal

    Hi Iqbal,
    In Tr. ST03 itself, you have three ranges. Day, Week and Month.
    Just select the month. Expand it. Select which month you want.
    Then check Transaction Profile. It should give you the details for the whole month.
    Cheers....,
    Raghu

  • User Library "Caches" missing/invisible?

    This is a problem that seems to have happened since I installed SL.
    I am scanning my CD booklets into my Macbook Pro, basically so I can read them more easily using the zoom facility. Using an app called CdPedia, they were stored as follows:
    file:///Users/meng/Library/Caches/Metadata/CDpedia/eli-b-f.jpg
    However, the Caches folder containing all my jpg's has vanished (although the Main Library Caches folder is still there). No problem, I thought, I'll just restore from Time Capsule.
    But no - I go into TC (backups back to March 2009) and there's no User Caches in there either, no matter which backup I look at. (As a separate issue, spotlight doesn't seem to work in TC either so I am unable to search for any jpg's.)
    So can anyone speculate as to whether I've lost all my pics, or are they still there somewhere but hidden from me? And why doesn't Spotlight work in TC?
    I'd appreciate any thoughts or speculation. Thanks.

    Peter Wilson1 wrote:
    This is a problem that seems to have happened since I installed SL.
    I am scanning my CD booklets into my Macbook Pro, basically so I can read them more easily using the zoom facility. Using an app called CdPedia, they were stored as follows:
    file:///Users/meng/Library/Caches/Metadata/CDpedia/eli-b-f.jpg
    However, the Caches folder containing all my jpg's has vanished (although the Main Library Caches folder is still there). No problem, I thought, I'll just restore from Time Capsule.
    But no - I go into TC (backups back to March 2009) and there's no User Caches in there either, no matter which backup I look at. (As a separate issue, spotlight doesn't seem to work in TC either so I am unable to search for any jpg's.)
    So can anyone speculate as to whether I've lost all my pics, or are they still there somewhere but hidden from me? And why doesn't Spotlight work in TC?
    I'd appreciate any thoughts or speculation. Thanks.
    Time Machine excludes most caches. It backs-up the <user>/Library/Caches folder to preserve the structure, but excludes the contents.

  • I am not able to see the trace files for SQL query

    Hello, I am using windows vista OS.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    SQL>
    I enabled the trace as below
    alter system set timed_statistics=TRUE
    alter system set sql_trace=TRUE
    After this, I ran sql query from scott as below.
    select count(*) from emp;
    After this, i checked in user dump directory. The trace files are generating... But this sql code is not appearing in the trace files...
    Am i missing anything... Any help is appreciated.
    Thanks

    This may happen when the trace file is not completely closed.You may try again doing like this,
    alter session set sql_trace=true;
    select * from emp;
    alter session set sql_trace=false;After this,disconnect and exit from your session as well. This should close the file completely and you should be able to see your command in it.
    HTH
    Aman....

  • Library cash statistic in trace file

    Hello!
    I'm get ora-00600, and in one of trace files I see library cash statistic :
    LIBRARY CACHE STATISTICS:
    namespace gets hit ratio pins hit ratio reloads invalids
    My question - is this statistic cumulative or current ?
    Please advise .
    Thanks and regards,
    Paul

    Paul wrote:
    I'm get ora-00600, and in one of trace files I see library cash statistic :
    LIBRARY CACHE STATISTICS:
    namespace gets hit ratio pins hit ratio reloads invalids
    My question - is this statistic cumulative or current ? In a trace file dump it's the current contents of the structure under v$librarycache, which means it's the stats since instance startup.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    Author: <b><em>Oracle Core</em></b>

  • How to find username from trace file for deadlock due to user

    This is the info from the trace file.
    *** 2003-08-18 08:07:40.590
    *** SESSION ID:(560.60728) 2003-08-18 08:07:40.560
    DEADLOCK DETECTED
    Current SQL statement for this session:
    SELECT S.AVAILABLE,GET_AVAIL(S.PRODUCT_ID),S.ON_HAND,S.W_PL,S.PRODUCT_GROUP,S.SIZE_ID,S.COLOR_ID,S.ONEZ,S.COST,IS_IT_KIT(:b1),
    NVL(PR.R_AVAIL,0),NVL(PR.R_SOLD,0),NVL(PR.UNIT_OF_MEASURE,'QTY'),NVL(DECODE(PR.AV_CT,0,1,PR.AV_CT),1) FROM ACNTV.SKU S,ACNTV
    .PRERED_QUANTITIES PR WHERE S.PRODUCT_ID = PR.PRODUCT_ID (+) AND S.PRODUCT_ID = :b1 FOR UPDATE OF S.ON_HAND,
    S.W_PL,PR.R_AVAIL
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-0021004b-000125d8 366 560 X 329 135 X
    TX-0008003b-000125fc 329 135 X 366 560 X
    session 560: DID 0001-016E-00000002 session 135: DID 0001-0149-00000002
    session 135: DID 0001-0149-00000002 session 560: DID 0001-016E-00000002
    Rows waited on:
    Session 135: obj - rowid = 00017FAC - AAAX+sAAPAAAS9/AAP
    Session 560: obj - rowid = 0001586C - AAAVhsABXAAAAIRAAN
    We know the objects ,but how to find out the username ?
    Thanks

    Hi;
    Please see:
    How To Check If a Profile Option Is Set In Oracle Application [ID 470102.1]
    How to list E-Business Suite Profile Option values for all levels using SQLPlus [ID 201945.1]
    How to Search all of the Profile Options for a Specific Value [ID 282382.1]
    Regard
    Helios

  • How to use forms trace file for performance tuning

    I am trying to use forms trace file in order to find cause of forms application performance problem.
    I have read the document B14032-03 where is described how to turn on tracing and how to convert binary trace file to xml or html format. However these xml/html files are useless because they only contain series of forms events, without possibility for grouping or sorting. Actually, they are like to database raw trace file. I need some tool, like tkprof for database trace, that will process xml/html file and generate some more useful format.
    Further, I have tried to load forms trace file into relational database tables in order to use SQL for performance problem investigation. I have followed procedure described in document A92175-01, but without success.
    Is there any way to process xml/html file with grouping, orderering or summing event duration or way to load either binary, xml or html trace file into structured data in database.

    Al-Salamu Alikum user630033
    It's not : elegant at all to thank people 4 No help,it's not their problem that u don't search enough, or u don't have access to db.
    We should always say thank ,or 'Jazak Allah Khiern' on both cases even they could or couldn't help u.
    Finally,i expect ' an appologize or even a thankful word ' and the kindness i am sure u had to publish the solution u found in order to share it with people who had same problem or at least to give them the info to get the appreciation or the thanksful word u deserve.
    Rem.Never give a bad feedback to people who tried to help u.
    Regards,
    Abdetu..

  • Time drift detected. Please check VKTM trace file for more details

    Running 11.2.0.2 on windows 64 bit virtualized..
    VKTM, oracles virtual keeper of time is throwing a lot of warnings in the alert log. According to my research this is not a great concern (if someone could explain why that would be great as well) but you should be able to supress the trace file if you are at 11.2.0.2 by setting event = "10795 trace name context forever, level 2" in the the paramater file. I am using a spfile and did not use "alter system", i cretaed pfile and edited it , opened with it and created a new spfile then opened with that. I am however still receiving the trace files and the messages in the alert log, I am getting approximately 10 a day now so the alert log is filling rather quickly. Has anyone else encountered this or have any advice on how to solve this? Thanks

    user12243721 wrote:
    Running 11.2.0.2 on windows 64 bit virtualized..
    VKTM, oracles virtual keeper of time is throwing a lot of warnings in the alert log. According to my research this is not a great concern (if someone could explain why that would be great as well) but you should be able to supress the trace file if you are at 11.2.0.2 by setting event = "10795 trace name context forever, level 2" in the the paramater file. I am using a spfile and did not use "alter system", i cretaed pfile and edited it , opened with it and created a new spfile then opened with that. I am however still receiving the trace files and the messages in the alert log, I am getting approximately 10 a day now so the alert log is filling rather quickly. Has anyone else encountered this or have any advice on how to solve this? ThanksI get this as well on Windows 64-bit with a multi-CPU machine, with the VM set up with 2 virtual CPUs.
    Since it's not a production machine it hasn't bothered me, but there are three other side effects
    a) the "tim=" values in 10046 trace files look as if they have two parallel clocks running out of synch with each other - with the reported values jumping from one clock to the other every few milliseconds.
    b) sometimes the database refuses to restart with "vktm didn't start in time" error messages
    c) a couple of times a call to dbms_lock.sleep(0.01) has slept for a very long time - possibly because the timer started on the faster of the two clocks, and the system then jumped to the slower.
    I never trust the machine for performance tests, so the timing anomalies aren't a big issue for me, so I haven't followed it up; but I'd guess it's a vmware issue with the way it has virtualised the multiple CPUs.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    Author: <b><em>Oracle Core</em></b>

  • Missing Graphic Styles files for navigation in Muse Tutorial

    I'm on the fourth video tutorial for Muse where graphic styles panel to the nav bar are applied. The files: top nav active and top nav normal over down are missing under the Graphics Panel. Also the files included under the States Panel to apply to the nav bar.  Where can they be downloaded? The tutorial indicates they should be there. Otherwise the Tutorial videos have been working great so far.

    Hello herdywick,
    Just going off the screenshot you provided, I don't actually see your Graphic Styles panel open, I only see the Paragraph Styles panel.  If this is the issue, you can open the Graphic Styles panel by going to Window >> Graphic Styles.  Then you should be able to see the the missing styles as you can in the screenshot I included.
    Also, be sure you opened the right file for this part (the Widgets.muse file.)
    If this was not your issue, please let me know.  Glad to hear that so far you have found the project helpful.
    Thank you,
    Ed Sullivan

  • Missing Oracle trace file

    I gained a new database - and if it didnt have data in it or a PRODUCTION box I'd rebuild!
    Windows Server 2003 Enterprise x64 Edition SP2 running 10g 10.2.0.3
    Management Packs active: Database Diagnostics, Database Tuning, Database Configuration
    user_dump_dest = c:\oracle\admiprod\udump
    Executing:
    select
    u_dump.value || '/' ||
    db_name.value || '_ora_' ||
    v$process.spid ||
    nvl2(v$process.traceid, '_' || v$process.traceid, null )
    || '.trc' "Trace File"
    from
    v$parameter u_dump
    cross join v$parameter db_name
    cross join v$process
    join v$session
    on v$process.addr = v$session.paddr
    where
    u_dump.name = 'user_dump_dest' and
    db_name.name = 'db_name' and
    v$session.audsid=sys_context('userenv','sessionid');
    Results: C:\oracle\admin\prod\udump/prod_ora_388.trc (NOTE THE "/" IS CODED TO RETURN AS SUCH)
    YET prod_ora_388.trc is NOT found at C:\oracle\admin\prod\udump OR anywhere on the C or associated D drives - any idea what is going on here, and if so how to correct it so the trc does show up?

    Did You enabled session tracing for that particular user?
    If not, the of course You will find no trace file, just the possible name will be returned and path.
    For first enable tracing, then look at trace directory for particular file.
    And / is returned just because script is for unix. In your case you should replace it with \ as it is windows env.
    and it's easier to identify trace files just adding some identifier to them with
    alter session set tracefile_identifier ="some_name";
    then in udump dierctory just search for this name.

  • How to generate the trace files for remote db link session's?

    User are complaining, the db link queries are performing slowness..
    how to enable the sql trace session for db link's in remote database...
    Is there any way to enable sqltrace for the dblink session ?
    if not how to enable the sql trace for entire database level, rather than session based...

    An explain plan of the SQL being ran on the local database will review the SQL being passed to the remote db. You can then explain that SQL on the remote db.
    I have had to tune a few distribued queries so more than likely the explain plan alone will be enough to allow you to tune the query to improve performance. If not then you can go to the trouble of trying to set up dual traces.
    HTH -- Mark D Powell --

Maybe you are looking for

  • Webservice configuration in SAP Netweaver CE 7.1  EHP1

    Hello, I am trying to configure the webservices(SAP ME)  in SAP Netweaver CE 7.1 EHP1. I follow the procedure below. 1.Log on to SAP NetWeaver Administrator Console by launching the following URL: http://<host>:<port>/nwa. 2. Choose SOA Management Ap

  • PGC has an error--data rate of this file is too high for DVD

    Getting one of those seemingly elusive PGC errors, though mine seems to be different from many of the ones listed here. Mine is telling me that the data rate of my file is too high for DVD. Only problem is, the file it's telling me has a datarate tha

  • Saving re-mapped midi drums

    I have just re-mapped midi drums now how do I save that as a pre-set or save it so I can load it for every session?

  • Problems Installing LabVIEW

    Problems Installing LabVIEW Run-Time Engine for Ubuntu 11.04 I'm relatively new to Ubuntu and its community, but have been pleasantly surprised with how easy troubleshooting has been. Unfortunately, I've spent the last two days trying to install the

  • Remote Collection Servers "Unavailable"

    I have a customer that has multiple remote collection servers that have been installed on "administration" pc's at remote sites. These pc's are also used by other admins (compounding the issue). The account that was used to install ZAM7.5 (inventory