Slow Queries After Upgrade from 9i to 11g

We are in the process of upgrading several of our databases from 9i to 11g. I am doing some performance testing using SQL developer and I have found that some queries are executed much faster on 9i than 11g. For example, the following query ran in 0.258 seconds on 9i and 836.50 on 11g (both databases have the same tables, indexes, data and there were no other jobs running at the time when I tested this query).
SELECT a.seq_short as seq_short, a.seq_long as seq_long, a.MD5 as md5,
       a.upi as upi_key, a.len as length, a.crc64 as crc64, b.DBID as dbid,
       c.DESCR as descr, c.FULL_DESCR as full_descr, b.ac as accession, b.gi as gene_id
FROM uniparc.protein a, uniparc.xref b, uniparc.cv_database c
WHERE a.upi = b.upi
AND b.dbid = c.id
;If you have any ideas what may be causing the slow down, or suggestions on how I can speed up the 11g query please let me know.
Regards,
Steve

Welcome to the forums !
How to post a tuning request:
HOW TO: Post a SQL statement tuning request - template posting
When your query takes too long ...
HTH
Srini

Similar Messages

  • Very slow encoding after upgrade from 5.03 to 5.5 with MXO2 mini

    Hi all.
    After upgrading from CS5.03 to 5.5 my encoding now takes 5 times as long. A 2 minute HD Video file would take 2 minutes, and still does on the PC I haven't upgraded (identical almost) but now with CS5.5 it takes almost 11 minutes.
    Some explanation....
    I create HD MJPEG files on a PC with Blackmagic Decklink.
    I transfer these files to an HPz800 which used to run CS5.03 with Matrox Utils 5.1.1.37 and an MXO2 Mini with Max. (Nvidia Quadro fx4800 and 12GB of RAM)
    On a Blackmagic timeline HD 1080i MJPEG with filters of Auto Color, Fast Color Corrector and Gamma correction a 2 minute timeline would encode in 2 minutes give or take a couple of seconds.
    Now with CS5.5 and Mtx 5.5 an identical file takes 11 minutes to encode to Microsoft avi - Matrox 1920 x 1080i - 25fps.
    If I remove the filters (which I need to be able to use) it will come down to 2 minutes as it used to be.....so it seems to be the filters are now slowing things down when they never used to. I have never rendered before exporting. Ever. So this time I tried rendering first and it brought the 11 minutes down to 7 minutes but when taking into account the 4 minutes rendering time I am no better off.
    I have updated CS5.5 to CS 5.5.1 and MTX Utils to 5.5 and then 5.5.1 and it makes no difference. Still 11 minutes to decode 2 minutes with three filters, which is exactly what I have always been doing but now it doesn't work....
    Can anybody help? or make a suggestion as to why using filters in 5.5 now multiplies the encode time by 5 when it never used to. Everything else bar Matrox Utils on this machine is as it was before the upgrade to 5.5 and as I say my older machine is still 5.03 it can do it all in 2 minutes even with the filters intact.
    So have I really spent a small fortune upgrading to make my output 5 times slower. Not happy......

    To go further, every single encode that I have done is slower than it was before with CS5.01 or 5.03.
    This is odd because going from Blackmagic to any other codec doesn't necessarily need the Matrox box or Matrox utils
    Blackmagic HD or SD to
    Matrox HD
    QT HD MP4
    QT SD DV25
    DV AVI SD
    Mpeg2 - DVD
    Every single encode is slow by 2x to 6x.
    Why should Blackmagic HD to QT MOV MP4 take twice as long as it used to...... having said that The speeds I am seeing now are what it was like before I attached the box in the first place, whether a Matrox codec was involved or not.... It is acting like a blocked funnel. when it used to be a lovely wide and clear funnel.
    Anyway Matrox have reproduced the problem and are investigating, so hopefully there will be an answer soon....

  • Images after upgrade from 10g to 11g

    We recently upgraded from 10g to 11g and all the images are broke in the dashboard.
    Can anyone provide the steps needs to be done in order to fix the broken images?
    Thanks.

    Put image files at
    Drive:\Oracle\Middleware\Oracle_BI1\bifoundation\web\app\res\s_blafp\images
    Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\s_blafp\images
    If required
    Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\.appmergegen_1291264099332\analytics.ear\ukjjdc\res\s_blafp\images
    Call them using fmap
    Syntax: fmap:images/imagename.imageformat
    for e.g: fmap:images/geograph.jpg
    Pls mark correct/helpful if helps

  • ODI Procedures not working after upgrading from 10G to 11G

    Hello Gurus,
    We have run into a scenario where the procedures in ODI are not working after we upgraded it from 10G to 11G (11.1.1.6). However we can make it to run if we create the procedure from scratch.
    Also we are having issues related to packages where in the packages were running before we applied the patch 11.1.1.6.3. And after applying the patches they are not running.
    Any help will be appreciated.
    Thanks

    If you want someone to help you, please be elaborate in the exact errors you are getting.
    A general statement would do nothing but guess work.
    What is the error that you get while executing the procedure.
    What are the exact issues that you get while executing packages ?

  • Slow broadband after upgrading from Homehub 2 to 4

    Upgraded from our old, dependable Homehub 2 a couple of moths ago. Was offered Homehub 4. Since then, with nothing else changing, we found the speed to be a lot slower, both on wired (Ethernet) connections and with wireless. We have quite a few devices connected (3 PC's, 1 AppleTV box on Ethernet and a couple of IPad 2's, Wii and couple of phones on WiFi) but didn't have a problem before. I am seriously thinking about putting my Homehub 2 back. Can anyone throw any light or give any suggestions as to why we have these speed and connection issues? TIA<script charset="UTF-8" type="application/javascript" src="chrome://hdv/content/hdv.js"></script>

    welcome to the BT community forum where customers help customers and only BT employees are the forum mods
    in order for the forum members to help please can you run  btspeedtester  (MAC users may have problems). when first test completes then run diagnostic test and post the results ( do not reset the router).
    are you connected directly via a filter to the NTE5 master or test socket or to somewhere else? Is the master the only phone socket in your home?
    Have you tried the quiet line test? - dial 17070 option 2 - should hear nothing - best done with a corded phone. if cordless phone you may hear a 'dull hum' which is normal
    Someone may then be able to offer help/assistance/suggestions to your problem
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Report Navigation Issue after upgrading from 10g to 11g

    Hi Experts
    I have recently upgarded my solution from 10g to 11g. Issue is when I click on column value for navigation it doen't navigate the display remains unchanged
    1) I have created new dashboard and placed this report in new dashboard the navigation works fine.
    2) I have created new report and placed that report in old dashboard it doesn't work
    why is it so I undertand that there is problem with Dashboard and not with report but I am unable to figure it out
    what can be the problem? any suggestions
    Thanks
    Sameer

    Hi Experts
    I have recently upgarded my solution from 10g to 11g. Issue is when I click on column value for navigation it doen't navigate the display remains unchanged
    1) I have created new dashboard and placed this report in new dashboard the navigation works fine.
    2) I have created new report and placed that report in old dashboard it doesn't work
    why is it so I undertand that there is problem with Dashboard and not with report but I am unable to figure it out
    what can be the problem? any suggestions
    Thanks
    Sameer

  • Mountain Lion OSX slow response after upgrade from Lion

    I have issues now to open Microsift Outlook Mail application as it is very slow in opening and all this is after install OSX ML only, frustrating time again

    Nilhan, I believe I found my problem which affected two machines running ML 10.8.  I found two Outlook preferences files - identical but for date - that I believe were causing a conflict.
    It was intuition that led me to search for this.  I noticed the splash screen text was mentioning that Outlook was looking for identities on startup.  I'd never before noticed this, or it happened so quickly that I've never seen it.   In any event, I did a search for all files name "outlook" using the program EasyFind.  When the search completed, I sorted the found files by type.  I was looking for duplicate preferences - and I found them.
    There were two folders named "Office 2011."  One was in (user) > Library > Preferences > Microsoft.  The other was in (user) > Library > Application Support > Microsoft > Office > Preferences.  These two identically named folders each had similar items enclosed, including a file named "Outlook Preferences."  The dates on the "Outlook Preferences" files were not the same, although they were the same size.  The date on the older file corresponds to a Microsoft Office update which was supposed to move things to locations required by Mountain Lion.  The older files (some of the file dates were current - yet duplicates in name of others) were in the location: (user) > Library > Preferences > Microsoft.
    I moved the "Office 2011" folder located in (user) > Library > Preferences > Microsoft to the trash.  I did not empty the trash just out of caution, although I probably will ...or even archive them via a zip file, etc.  Next, I restarted my machine.  After logging in, I rebuilt the Outlook database using Microsoft Database Utility (hold the Option key and start Outlook to start it).  I then backed up my Main Identity to a separate disk as another caution.  Next, I once again restarted.
    After giving the machine a little time to settle down, I opened Outlook 2011.  Outlook now opened many times faster then before.  I would venture to say that it is now opening as quickly as before the 10.8 ML install.  All functions within Outlook also seem to be at normal speed.
    This process was repeated on another Mac with a new install of 10.8 ML and Office 2011.  I had tested Outlook on that machine, and it was slow.  After the deletion of the duplicate preference files, Outlook was fast as ever - noticeably very fast.  It was a vast difference on that machine.  The Main Identity database is much smaller on that machine than the previous machine, so it should be quicker.  Still, it was a tremendous difference in speed after I dumped the older preferences on it.
    I am no expert on the workings of 10.8 ML compared to earlier versions of OS X, but I do understand that certain preference files are now required to be in a certain place ...different than earlier versions, or perhaps just mandating that all preference files be in a universal spot.  Something like that...  In any event, 10.8 ML was not the problem, but seems to have brought a problem to light.  If I am going to point a finger, I will point it at a Microsoft Office update that didn't quite do its job correctly.  There was trouble with an Office update not long ago, and I suspect I was a victim of that.
    Maybe you are, too.  Hope this helps.

  • Blob column slow after upgrade from 9i to 11g

    Hello, I recently upgraded 9i to 11g and the insert for blob column in one of the table is now really slow. can anyone help me please? thanks

    Welcome to the forums !
    It would be best to trace the insert statement. Pl see these threads on how to post a tuning request -
    HOW TO: Post a SQL statement tuning request - template posting
    When your query takes too long ...
    HTH
    Srini

  • Slow table creation after upgrade from 10.2.0.3 to 11.2.0.1 using DBUA

    I've recently completed a database upgrade from 10.2.0.3 to 11.2.0.1 using the DBUA.
    I've since encountered a slowdown when running a script which drops and recreates a series of ~250 tables. The script normally runs in around 19 seconds. After the upgrade, the script requires ~2 minutes to run.
    By chance has anyone encountered something similar?
    The problem may be related to the behavior of an "after CREATE on schema" trigger which grants select privileges to a role through the use of a dbms_job call; between 10g and the database that was upgraded from 10G to 11g. Currently researching this angle.
    I will be using the following table creation DDL for this abbreviated test case:
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA;When calling the above DDL, an "after CREATE on schema" trigger is fired which schedules a job to immediately run to grant select privilege to a role for the table which was just created:
    create or replace
    trigger select_grant
    after CREATE on schema
    declare
        l_str varchar2(255);
        l_job number;
    begin
        if ( ora_dict_obj_type = 'TABLE' ) then
            l_str := 'execute immediate "grant select on ' ||
                                         ora_dict_obj_name ||
                                        ' to select_role";';
            dbms_job.submit( l_job, replace(l_str,'"','''') );
        end if;
    end;
    {code}
    Below I've included data on two separate test runs.  The first is on the upgraded database and includes optimizer parameters and an abbreviated TKPROF.  I've also, included the offending sys generate SQL which is not issued when the same test is run on a 10g environment that has been set up with a similar test case.  The 10g test run's TKPROF is also included below.
    The version of the database is 11.2.0.1.
    These are the parameters relevant to the optimizer for the test run on the upgraded 11g SID:
    {code}
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      11.2.0.1
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     8
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    SQL> column sname format a20
    SQL> column pname format a20
    SQL> column pval2 format a20
    SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
    SNAME                PNAME                     PVAL1 PVAL2
    SYSSTATS_INFO        STATUS                          COMPLETED
    SYSSTATS_INFO        DSTART                          03-11-2010 16:33
    SYSSTATS_INFO        DSTOP                           03-11-2010 17:03
    SYSSTATS_INFO        FLAGS                         0
    SYSSTATS_MAIN        CPUSPEEDNW           713.978495
    SYSSTATS_MAIN        IOSEEKTIM                    10
    SYSSTATS_MAIN        IOTFRSPEED                 4096
    SYSSTATS_MAIN        SREADTIM               1565.746
    SYSSTATS_MAIN        MREADTIM
    SYSSTATS_MAIN        CPUSPEED                   2310
    SYSSTATS_MAIN        MBRC
    SYSSTATS_MAIN        MAXTHR
    SYSSTATS_MAIN        SLAVETHR
    13 rows selected.
    {code}
    Output from TKPROF on the 11g SID:
    {code}
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          4           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.00       0.00          0          0          4           0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 324
    {code}
    ... large section omitted ...
    Here is the performance hit portion of the TKPROF on the 11g SID:
    {code}
    SQL ID: fsbqktj5vw6n9
    Plan Hash: 1443566277
    select next_run_date, obj#, run_job, sch_job
    from
    (select decode(bitand(a.flags, 16384), 0, a.next_run_date,
      a.last_enabled_time) next_run_date,       a.obj# obj#,
      decode(bitand(a.flags, 16384), 0, 0, 1) run_job, a.sch_job  sch_job  from
      (select p.obj# obj#, p.flags flags, p.next_run_date next_run_date,
      p.job_status job_status, p.class_oid class_oid,      p.last_enabled_time
      last_enabled_time, p.instance_id instance_id,      1 sch_job   from
      sys.scheduler$_job p   where bitand(p.job_status, 3) = 1    and
      ((bitand(p.flags, 134217728 + 268435456) = 0) or
      (bitand(p.job_status, 1024) <> 0))    and bitand(p.flags, 4096) = 0    and
      p.instance_id is NULL    and (p.class_oid is null      or (p.class_oid is
      not null      and p.class_oid in (select b.obj# from sys.scheduler$_class b
                               where b.affinity is null)))   UNION ALL   select
      q.obj#, q.flags, q.next_run_date, q.job_status, q.class_oid,
      q.last_enabled_time, q.instance_id, 1   from sys.scheduler$_lightweight_job
      q   where bitand(q.job_status, 3) = 1    and ((bitand(q.flags, 134217728 +
      268435456) = 0) or         (bitand(q.job_status, 1024) <> 0))    and
      bitand(q.flags, 4096) = 0    and q.instance_id is NULL    and (q.class_oid
      is null      or (q.class_oid is not null      and q.class_oid in (select
      c.obj# from sys.scheduler$_class c                          where
      c.affinity is null)))   UNION ALL   select j.job, 0,
      from_tz(cast(j.next_date as timestamp),      to_char(systimestamp,'TZH:TZM')
      ), 1, NULL,      from_tz(cast(j.next_date as timestamp),
      to_char(systimestamp,'TZH:TZM')),     NULL, 0   from sys.job$ j   where
      (j.field1 is null or j.field1 = 0)    and j.this_date is null) a   order by
      1)   where rownum = 1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.47       0.47          0       9384          0           1
    total        3      0.48       0.48          0       9384          0           1
    Misses in library cache during parse: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS   (recursive depth: 1)
    Rows     Row Source Operation
          1  COUNT STOPKEY (cr=9384 pr=0 pw=0 time=0 us)
          1   VIEW  (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=6615380 card=194570)
          1    SORT ORDER BY STOPKEY (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=11479630 card=194570)
    194790     VIEW  (cr=9384 pr=0 pw=0 time=537269 us cost=2563 size=11479630 card=194570)
    194790      UNION-ALL  (cr=9384 pr=0 pw=0 time=439235 us)
        231       FILTER  (cr=68 pr=0 pw=0 time=920 us)
        231        TABLE ACCESS FULL SCHEDULER$_JOB (cr=66 pr=0 pw=0 time=690 us cost=19 size=13157 card=223)
          1        TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=2 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
          1         INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
          0       FILTER  (cr=3 pr=0 pw=0 time=0 us)
          0        TABLE ACCESS FULL SCHEDULER$_LIGHTWEIGHT_JOB (cr=3 pr=0 pw=0 time=0 us cost=2 size=95 card=1)
          0        TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=0 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
          0         INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
    194559       TABLE ACCESS FULL JOB$ (cr=9313 pr=0 pw=0 time=167294 us cost=2542 size=2529254 card=194558)
    {code}
    and the totals at the end of the TKPROF on the 11g SID:
    {code}
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          4           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        3      0.00       0.00          0          0          4           0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       70      0.00       0.00          0          0          0           0
    Execute     85      0.01       0.01          0         62        208          37
    Fetch       49      0.48       0.49          0       9490          0          35
    total      204      0.51       0.51          0       9552        208          72
    Misses in library cache during parse: 5
    Misses in library cache during execute: 3
       35  user  SQL statements in session.
       53  internal SQL statements in session.
       88  SQL statements in session.
    Trace file: 11gSID_ora_17721.trc
    Trace file compatibility: 11.1.0.7
    Sort options: default
           1  session in tracefile.
          35  user  SQL statements in trace file.
          53  internal SQL statements in trace file.
          88  SQL statements in trace file.
          51  unique SQL statements in trace file.
        1590  lines in trace file.
          18  elapsed seconds in trace file.
    {code}
    The version of the database is 10.2.0.3.0.
    These are the parameters relevant to the optimizer for the test run on the 10g SID:
    {code}
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.2.0.3
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     8
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    SQL> column sname format a20
    SQL> column pname format a20
    SQL> column pval2 format a20
    SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
    SNAME                PNAME                     PVAL1 PVAL2
    SYSSTATS_INFO        STATUS                          COMPLETED
    SYSSTATS_INFO        DSTART                          09-24-2007 11:09
    SYSSTATS_INFO        DSTOP                           09-24-2007 11:09
    SYSSTATS_INFO        FLAGS                         1
    SYSSTATS_MAIN        CPUSPEEDNW           2110.16949
    SYSSTATS_MAIN        IOSEEKTIM                    10
    SYSSTATS_MAIN        IOTFRSPEED                 4096
    SYSSTATS_MAIN        SREADTIM
    SYSSTATS_MAIN        MREADTIM
    SYSSTATS_MAIN        CPUSPEED
    SYSSTATS_MAIN        MBRC
    SYSSTATS_MAIN        MAXTHR
    SYSSTATS_MAIN        SLAVETHR
    13 rows selected.
    {code}
    Now for the TKPROF of a mirrored test environment running on a 10G SID:
    {code}
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.01          0          2         16           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.01       0.01          0          2         16           0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 113
    {code}
    ... large section omitted ...
    Totals for the TKPROF on the 10g SID:
    {code}
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.02          0          0          0           0
    Execute      1      0.00       0.00          0          2         16           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.00       0.02          0          2         16           0
    Misses in library cache during parse: 1
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       65      0.01       0.01          0          1         32           0
    Execute     84      0.04       0.09         20         90        272          35
    Fetch       88      0.00       0.10         30        281          0          64
    total      237      0.07       0.21         50        372        304          99
    Misses in library cache during parse: 38
    Misses in library cache during execute: 32
       10  user  SQL statements in session.
       76  internal SQL statements in session.
       86  SQL statements in session.
    Trace file: 10gSID_ora_32003.trc
    Trace file compatibility: 10.01.00
    Sort options: default
           1  session in tracefile.
          10  user  SQL statements in trace file.
          76  internal SQL statements in trace file.
          86  SQL statements in trace file.
          43  unique SQL statements in trace file.
         949  lines in trace file.
           0  elapsed seconds in trace file.
    {code}
    Edited by: user8598842 on Mar 11, 2010 5:08 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

    So while this certainly isn't the most elegant of solutions, and most assuredly isn't in the realm of supported by Oracle...
    I've used the DBMS_IJOB.DROP_USER_JOBS('username'); package to remove the 194558 orphaned job entries from the job$ table. Don't ask, I've no clue how they all got there; but I've prepared some evil looks to unleash upon certain developers tomorrow morning.
    Not being able to reorganize the JOB$ table to free the now wasted ~67MB of space I've opted to create a new index on the JOB$ table to sidestep the full table scan.
    CREATE INDEX SYS.JOB_F1_THIS_NEXT ON SYS.JOB$ (FIELD1, THIS_DATE, NEXT_DATE) TABLESPACE SYSTEM;The next option would be to try to find a way to grant the select privilege to the role without using the aforementioned "after CREATE on schema" trigger and dbms_job call. This method was adopted to cover situations in which a developer manually added a table directly to the database rather than using the provided scripts to recreate their test environment.
    I assume that the following quote from the 11gR2 documentation is mistaken, and there is no such beast as "create or replace table" in 11g:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_9003.htm#i2061306
    "Dropping a table invalidates dependent objects and removes object privileges on the table. If you want to re-create the table, then you must regrant object privileges on the table, re-create the indexes, integrity constraints, and triggers for the table, and respecify its storage parameters. Truncating and replacing have none of these effects. Therefore, removing rows with the TRUNCATE statement or replacing the table with a *CREATE OR REPLACE TABLE* statement can be more efficient than dropping and re-creating a table."

  • After upgrading from acrobat 9.5 to XI pro my users have complained on slow typing when filling in form that were created in version 9.5?

    After upgrading from acrobat 9.5 to XI pro my users have complained on slow typing when filling in form that were created in version 9.5?
    The issue is they type but there is 2 second delay when it appears in the field.
    Windows 7 64bit

    I see, I misread your reference to Reader 11 to mean you were using Acrobat 11, but it looks like it worked out anyway.
    The base-14 fonts are special in PDF because they are guaranteed to be available even if they are not embedded. If you select a non-base-14 font for use with a form field, the entire font usually gets embedded, since each glyph it contains has to be available for use with the field. This can take up a lot of space if you do this a lot, and the space isn't reduced if you change back to a base-14 font later because the internal reference to it is not removed. This is caused by the bug I mentioned.
    In your case, however, the entire font doesn't get embedded because fonts like it (e.g., large asian fonts with a lot of glyphs, Arial Unicode) would take up too much space if fully embedded. If it did, a 100KB PDF could bloat to 20MB with that one change. Instead, users are expected to have such fonts installed on their system, which is why you were prompted to install the font pack. This despite the fact that the font was not actually used by anything in your document, it was simply the orphaned reference to it that triggered this. This should get fixed in Acrobat eventually so this type of thing doesn't happen again.

  • After upgrading from Snow Leopard to Mountain Lion, the text preference, Middle Eastern, causes Photoshop CS6 to slow down.  Can this be fixed?

    After upgrading from Snow Leopard to Mountain Lion, and setting the text preference, Middle Eastern, causes Photoshop CS6 to slow down.  Can this be fixed?

    I'm Win, not Mac, but I do have a couple saved messages
    Mac 10.8.3 Bug w/Encore and BluRay http://forums.adobe.com/thread/1198709
    -create folder not ISO http://forums.adobe.com/thread/1216127

  • Query slows down after upgrade

    Hi,
    After upgrade from oracle 10 to oracle 11 a simple query is slowing down alot.
    Same amount of records, same table only the execution cost time is increased
    Can someone give me some feedback over this problem?
    Can I check some things to look into the problem?
    Thx in advance.
    Greetings
    query:
    Select nvl(sum(a.BM_OPENSTAAND_DEBET- a.BM_OPENSTAAND_CREDIT),0)
    from bh.bh123gh a
    where
    a.F123_AR_NR>='4400000000' and
    a.F123_AR_NR<='4404000000' and
    a.F123_KL_LEV_AR_NR='0631001000' and
    a.SRT_REK=2 and
    a.F123_BKJR>=0000 and
    a.F123_BKJR<=2011 and
    a.F123_FIRMA=2
    explain plans
    oracle 11
    cost 1,792
    Bytes: 38
    Cardinality: 1
    oracle 10
    cost 1,594
    Bytes: 38
    Cardinality: 1

    >
    After upgrade from oracle 10 to oracle 11 a simple query is slowing down alot.
    Same amount of records, same table only the execution cost time is increased
    Can someone give me some feedback over this problem?
    Can I check some things to look into the problem?
    Thx in advance.
    >
    Is it just one query or all queries are behaving strangely? If it's just one query, do a trace and see where it's slowing down.
    In the meanwhile, you can also modify the optimizer_features_enable parameter at session level and check the explain plan.
    Alter session set optimizer_features_enable='10.2.0.5';
    Now test the query.
    By the way, if you are just worried about the COST factor, you can just ignore it. COST by itself has no real meaning. You will only have to look at the response time.
    Regards

  • Oracle Upgrade from 10g to 11g [BRANCHED BY MODERATOR]

    Hi Deepak/Folks,
    Another question that I have is that while doing the Oracle Upgrade on an EP server, the patches were not installed properly and I had to shut down the Patches installation after it did not do anything for a while.
    Now when I try to install the patches it fails telling me that the Installed patches cannot be verified, I had written to SAP and they told me to follow the
    SAP note 1862446 - Inventory
    load failed... OPatch cannot load inventory for the given Oracle Home
    and re-create the oracle  inventory.
    This has also not helped in anyway.
    Is there a solution to this problem.
    Following is the error that I am getting when I try to Install the patches
    Getting pre-run patch inventory...
    Getting pre-run patch inventory...failed.
    Cannot get pre-run patch inventory.
    Refer to log file
      $ORACLE_HOME/cfgtoollogs/mopatch/mopatch-2014_08_06-14-52-51.log
    when I open the log file specified here I get the following
    more mopatch-2014_08_06-14-52-51.log
    more /oracle/<SID>/11203/cfgtoollogs/mopatch/mopatch-2014_08_06-15-01-51.log
    MOPatch - Install Multiple Oracle Patches in One Run - 2.1.15.
    Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
    Version:       2.1.15
    Revision:      5.1.2.26
    Command-line:  /oracle/<SID>/11203/MOPatch/mopatch.sh -v -s SAP11203P_1312-20009978.zip
    Oracle Home:   /oracle/<SID>/11203
    RDBMS version: 11.2.0.3.0
    OPatch version:11.2.0.3.3
    Clean-up:      supported
    PSUs:          supported
    Log file:      $ORACLE_HOME/cfgtoollogs/mopatch/mopatch-2014_08_06-15-01-51.log
    Patch base:    .
    Patch source:  SAP11203P_1312-20009978.zip
    Link script:   ./link.mts<SID>ua.sh
    Readmes:       <none>
    Strpd. Readmes:<none>
    make utility:  /usr/ccs/bin/make
    unzip utility: /oracle/<SID>/11203/bin/unzip
    User name:     ora<SID>
    Working dir:   /oracle/stage
    System:        HP-UX mts<SID>ua B.11.31 U ia64 2468369872 unlimited-user license
    Disk free:     11734549 KBytes on /oracle/<SID>
    Disk required: 886496 KBytes on /oracle/<SID>
    Getting pre-run patch inventory...
    executing: "/oracle/<SID>/11203/OPatch/opatch" lsinventory -retry 0 -xml "./mopatch-187-21696-tmpdir/preinv.xml"
    ========================================================
    GENERIC OPATCH VERSION - FOR USE IN SAP ENVIRONMENT ONLY
    ========================================================
    Oracle Interim Patch Installer version 11.2.0.3.3
    Copyright (c) 2012, Oracle Corporation.  All rights reserved.
    Oracle Home       : /oracle/<SID>/11203
    Central Inventory : /oracle/<SID>/oraInventory
       from           : /oracle/<SID>/11203/oraInst.loc
    OPatch version    : 11.2.0.3.3
    OUI version       : 11.2.0.3.0
    Log file location : /oracle/<SID>/11203/cfgtoollogs/opatch/opatch2014-08-06_15-01-56PM_1.log
    List of Homes on this system:
    Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
    Possible causes are:
       Oracle Home dir. path does not exist in Central Inventory
       Oracle Home is a symbolic link
       Oracle Home inventory is corrupted
    LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
    OPatch failed with error code 73
    Getting pre-run patch inventory...failed.
    Cannot get pre-run patch inventory.  Exiting.
    I would appreciate if you folks can help me out on this
    Thanks
    APS

    FOLLOW UP QUESTION BRANCHED:
    Oracle Upgrade from 10g to 11g [BRANCHED BY MODERATOR]

  • After Upgrade OBI 10g to 11g:Odbc driver returned an error - SQLExecDirectW

    Hi all,
    for an OBI upgrade from 10g to 11g I used a RPD and Webcatalog based on a remote machine other than my local machine. Firstable I am making the tests on a Linux Virtual machine, which uses the Sample Lite version from Oracle.
    I made the following steps:
    1. I upgraded the RPD and Webcatalog. It worked without any errors.
    2. I set the static variable BI_EE_HOME via Administration Tool to the path in the Linux machine.
    --> Here I am not sure if the set path is correct. It begins with: \bi\ ...\instances\...\coreapplication_obis1 (... : I can't mention here the whole path name).
    --> When the OBI Server is installed in Windows, the mentioned static variable points to something like 'C:\<install folder>\...\coreapplication_obis1'
    --> Question: is the begin of my set path correct?. I set that pointing to the Linux OBI Server, because the OBI Server is installed on Linux.
    Problem:
    After login as the user in RPD: Administrator/<Password for my upgraded RPD> I can see the links in the Catalog and the Dashboards links. But I can not see any values, any Reports when going through the links.
    For example when trying to see a Dashboard with date 12.02.2011it happens:
    Odbc driver returned an error (SQLExecDirectW).
    Status: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] general error.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 43119] Query Failed:
    [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
    at OCI call OCIServerAttach.
    [nQSError: 17014] Could not connect to Oracle database. (HY000)
    SQL Issued: SELECT "Dimension_-_My Dimension"."MyDimension" saw_0 FROM "Accounting (ACC)" WHERE "Dimension_-_My Dimension"."MyDimension" LIKE 'J%' ORDER BY saw_0
    I think its not retrieving the data from the remote database, because I don't have the data of the remote database in my local. I think the OBI Server still is pointing to the local virtual machine Oracle database.
    Can anybody tell me what happens here and how can I solve this problem?.
    I would appreciate any help....

    Hi gerardnico,
    I've tried many things and did as in your articles, but I don't have success with that.
    These are the things I did:
    1. I searched for the file tnsnames.ora in my Linux virtual machine. I could find it in many paths:
    /.../Oracle_BI1/network/admin/samples/tnsnames.ora
    /.../oracle/xe/app/oracle/product/10.2.0/server/hs/admin/tnsnames.ora.sample
    /.../oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora
    /.../oracle/xe/app/oracle/product/10.2.0/server/network/admin/samples/tnsnames.ora
    /.../oracle/xe/app/oracle/product/10.2.0/server/network/admin/temp/tnsnames.ora
    /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin
    in the last path I found the listener.ora as well.
    2. I took the tnsnames.ora from the last path, because the ORACLE_HOME points to /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    3. I edited the tnsnames.ora this way:
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = host_of_the_remote_machine)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = database_name_of_the_remote_machine)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = database_SID_of_the_remote_machine)
    (PRESENTATION = RO)
    4. I made a backup of the tnsnames.ora in path /.../Oracle_BI1/network/admin/samples/tnsnames.ora
    and copied the tnsnames.ora from /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin to the Oracle_BI1 path
    5. I set the TNS_ADMIN to /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin
    6. I restarted the BI Server
    No success in what I did. The error is still there.
    7. I've tried also: sqlplus database_user_remote_machine/database_password_remote_machine@database_SID_remote_machine
    I didn't get the connection:
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 16 04:36:10 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name: database_user_remote_machine
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    What am I doing wrong here?. I am still thinking that I need the import of the database.
    Additional SID=Service-Name=Database-name in the remote machine.

  • Lost Developer Toolbar after upgrade from 4.1 to 4.2

    After upgrading from 4.1 to 4.2.1.00.08, we have lost the Developer Toolbar.
    Have others run into this with the upgrade or fresh installation of 4.2.1?
    If so, what suggestions are there for fixing, short of reinstallation mentioned in this other thread:
    {message:id=10692572}
    Following the guidance there to look at the instance ID and other preference settings, I compared our three instances. The two that are not having the problem are both at 4.2.0.00.27.
    Here are the preferences that exist on our other instances but are null on the problem instance:
    APEX_4_1_0_PATCH_12920544
    APEX_4_2_0_PATCH_14777994
    APP_EXPORT_TO_DB_ENABLED
    HPROF_DIRECTORY
    INSTANCE_ID
    MOBILE_DEVELOPMENT_ENABLED
    PRINT_SVR_HOST
    PRINT_SVR_PORT
    PRINT_SVR_SCRIPTI have asked our support team to review the upgrade log. Re-installation from scratch is an option.
    Any advice is welcome.
    Skip

    Thanks, Joel.
    You inspired me to take a closer look, and look beyond the upgrade.
    After the upgrade, my application passed a superficial checkout. Later, I exported my application and in the export file, the Instance ID was not NULL. I had not noticed any problems with how APEX was working.
    The problems of the missing Developer Toolbar, Instance ID = NULL, and a new one, did not occur until I removed my application and tested a clean installation of the workspace and application. This is the sequence of events. The immediate triggering cause is clearly one of the following:
    1. Deinstall application (ID 820) from APEX 4.2.1.00.08 instance, running 11g (11.1.0.7.0).
    2. Remove workspace (PVA_AH9_R12)
    3. (drop the parsing schema, xxpva, and related tablespace)
    4. (create tablespace and schema user, xxpva)
    5. Import workspace (PVA_AH9_R12) from an APEX 4.2.0.00.27 instance.
    6. Import application (ID 820) including supporting objects from an APEX 4.2.0.00.27 instance, running 11g (11.2.0.1.0).
    The next day I noticed the Developer Toolbar missing problem, and found that Instance ID is NULL.
    Also, after Exporting an application in Database format, I cannot download the file from the Export Repository. When I click the filename link, I get 'Access Denied' instead of the normal download dialog.
    Does this suggest anything else I should look into?
    Do you think I should post this as a new problem/question with more detail about the sequence of events?
    Skip

Maybe you are looking for

  • IPod Device not found in iTunes.

    My iPhone 4, and iPod Touch 3rd Generation are not being recognized in iTunes at all, but are recognized by my computer.(As a camera.) However, my iPod Classic is. Both my iPod Touch, and iPhone work on all other computers in my house.(Which run Wind

  • Boot Camp partition doesn't stay mounted

    After using Boot Camp Assistant to create a new partition and installing Win 7 a disk icon representing the Windows partition joined the icons for my Mac partition and Mac HD 2.  A month later I installed Parallels, but didn't like it, so I uninstall

  • Sql loader and tablespace doubt

    while i was inserting the data into a table using sqlloader and then suddenly the datafile gets full and i got sql*loader 605 error and i alloted a new datafile to the tablespace but the data didnt get inserted after that and the error was same sql*l

  • CCM 2.0 Log in problem

    Hi, We are using the CCM 2.0 and have an issue in which when the user clicks on the catalogue link in order to shop they receive a page that requests the user to log in. The configuration in SRM seems to be OK and all the relevant services and catalo

  • Macbook keeps telling me memory is full...

    Macbook keeps telling me memory is full after I removed all documents and most of my library. Any ideas why?