Oracle 10g performance issues

Hi,
We were using Oracle 9i in Solaris 5.8 and it was working fine with some minor performance issues. We formatted the Solaris server with new Solaris 5.10 and installed Oracle 10g.
Now we are experiencing some performance issues in Oracle 10g. This issue is arising when using through Websphere 5.1.
We have analyzed the schema, index is rebuild, SGA is 4.5 GB, PGA is 2.0 GB, Solaris RAM is 16 GB. Also we are having some Mat Views (possibly this may cause performance issues - not sure) due to refresh.
Also I have changed some parameters in init.ora file like query_rewrite = STALE_TOLERATED, open_cursors = 1500 etc.
Is is something due to driver from which the data is accessed. I guess it is not utilizing the indexes on the table.
Can anyone please suggest, what could be the issue ?

<p>There are a lot of changes to the optimizer in the upgrade from 9i to 10g, and you need to be aware of them. There are also a number of changes to the default stats collection mechanism, so after your upgrade your statistics (hence execution paths) could change dramatically.
</p>
<p>
Greg Rahn has a useful entry on his blog about stats collection, and the blog al,so points to an Oracle white paper which will give you a lot of ideas about where the optimizer changes - which may help you spot your critical issues.
</p>
<p>Otherwise, follow triggb's advice about using Statspack to find the SQL that is the most expensive - it's reasonably likely to be this SQL that has changed execution plans in the upgrade.
</p>
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk

Similar Messages

  • Oracle 10g performance issue

    Hi all,
    In sunfire v890 we have installed oracle 10g release 2 on solaris 10.
    prstat -a command shows :
    NPROC USERNAME SIZE RSS MEMORY TIME CPU
    105 root 9268M 6324M 20% 1:21:57 0.4%
    59 oracle 24G 22G 71% 0:04:33 0.1%
    2 nobody4 84M 69M 0.2% 0:11:32 0.0%
    2 esbuser 13M 9000K 0.0% 0:00:46 0.0%
    1 smmsp 7560K 1944K 0.0% 0:00:00 0.0%
    4 daemon 12M 7976K 0.0% 0:00:00 0.0%
    and top utility shows :
    last pid: 8639; load avg: 0.09, 0.09, 0.09; up 2+06:05:29 17:07:50
    171 processes: 170 sleeping, 1 on cpu
    CPU states: 98.7% idle, 0.7% user, 0.7% kernel, 0.0% iowait, 0.0% swap
    Memory: 32G phys mem, 22G free mem, 31G swap, 31G free swap
    therefore from prstat we come to know that memory used by oracle is 71%
    where as top says 31.25% used.....
    which one is true in this scenario.....
    shall we go ahead in trusting top utility????
    Advance thanks to you.

    Hi darren
    The main thing is,, prstat -a command showing oracle
    user occupied 70%.In top utility showing 22gb memory
    free out of 32 gb.That means 10gb was occupied by all
    users.In percentage calculation its comes
    31.25%...i.e top shows all users occupied only
    31.25%Right. That's all memory in use, correct? From your first message I thought you meant it said that was the amount used by Oracle.
    It's easy to calculate total memory in use.
    It's hard to calculate memory in use by a subset of processes (perhaps those owned by a particular user).
    but prstat -t command shows 70% occupied by oracle.
    which one i want to believe??????The prstat command showing memory in use by a user will be incorrect because it does not calculated shared pages properly.
    As far as I am aware, 'top' has no similar display.
    Darren

  • Oracle 10G Performance Tuning Documents

    Hi all
    Can any one tell where can I get the oracle 10G Performance Tuning materials(PDF),Documents.
    Thanks in advance

    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14211.pdf

  • Oracle 10g performance is slow

    Dear Exports
    how we can imporve the Oracle 10g performance........we are upgrading from Oracle 8 to Oracle 10g. Windows platform. and using Oracle developer 6 as front end .
    thanks in advance

    Do you have statistics gathered on the tables in the 8i database? Can you post the explain plan for the query in both databases?
    Since you know what SQL is having poor performance you can use TKPROF and SQL TRACE to see where your query is spending its time.
    Try the following:
    alter session set timed_statistics=true;
    alter session set max_dump_file_size=unlimited;
    alter session set tracefile_identifier='BAD_SQL';
    alter session set events '10046 trace name context forever, level 12';
    <insert sql with poor response time>
    disconnect
    Use the TKPROF utility on the file found in USER_DUMP_DEST that contains the string BAD_SQL.
    For information on how to interrupt the TKPROF output, see the following link.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm

  • Oracle 10G performance problems

    Hello,
    we have a lot of performance problems with oracle 10G. Especially tables scan on DRAW or AEN1 have long response times. It seems that the CBO uses the wrong strategy. The latest merge fix is already installed. Any idea to solve the problem is welcome.
    Best regards
    Juergen Remmert

    We had similar performance issues in our environment, once we upgraded from 9.2.0.2 to 10.2.0.2.
    Oracle: 10.2.0.2
    SAP: 4.7x110
    OS: SOLARIS 9 64bit
    The above mentioned notes were very helpful. We had to install an oracle patch as well (found on marketplace)  --  6321245
    and make the following oracle parameters changes:
    pga_aggregate_target - 144MB (default = 25MB)
    *.event="10027 trace name context forever, level 1"
    *.event="10028 trace name context forever, level 1"
    *.event="10162 trace name context forever, level 1"
    *.event="10183 trace name context forever, level 1"
    *.event="10191 trace name context forever, level 1"
    *.event="10629 trace name context forever, level 32"
    *.event="38068 trace name context forever, level 100"
    *.event="38043 trace name context forever, level 1"
    *.optimizer_index_caching=50
    *.optimizer_index_cost_adj=20
    *.parallel_execution_message_size=16384
    *._b_tree_bitmap_plans=FALSE
    *._index_join_enabled=FALSE
    *._optim_peek_user_binds=FALSE
    *._optimizer_mjc_enabled=FALSE
    *._sort_elimination_cost_ratio=10
    Remove
    *.optimizer_features_enable='9.2.0'
    HTH

  • Oracle 10g Installation issue on Windows 7

    Hi,
    I tried to install Oracle 10g downloaded from the below link on my laptop which runs in Windows 7.
    http://www.oracle.com/technetwork/database/10204-winx64-vista-win2k8-082253.html
    The Oracle version is 10g release 2 for windows 7. I got this DB version no. for Windows 7 from this forum only. But still, I got the error message stated below and unable to install 10g.
    ------------------------------------------------------ Error --------------------------------------------------------------------------
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be 5.0, 5.1, 5.2 or 6.0 . Actual 6.1
    Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at C:\Program Files (x86)\Oracle\Inventory\logs\installActions2010-10-22_07-37-48AM.log
    Please press Enter to exit...
    ------------------------------------------------------ Error End -------------------------------------------------------------------
    Could you please let me know how I can fix this issue? Or is there any other oracle 10g release/patch to fix this issue? I need to install only Oracle 10g and not 11g.
    Also, I need to install Oracle Forms 10g too.
    It would be great if you could guide me on installing these two softwares in my laptop.
    Your help will be very much appreciated.
    Thanks,
    Arun
    Edited by: 804404 on Oct 22, 2010 7:52 AM

    Welcome to the forums !
    This issue has been discussed many times before. Pl use the search feature. The only versions supported in Win 7 (Professional or higher) are 10.2.0.5 and 11gR2. 10.2.0.5 is only available on My Oracle Support, while 11gR2 can be downloaded for free from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    Re: Oracle for Windows 7
    Re: which version of oracle works on windows 7
    HTH
    Srini

  • Symantec & Oracle 10g Compatibility issues

    Hi all,
    Recently i had virus attack on two of my database servers running oracle 10g. one is running on xp and the other on server 2003 r2.
    i cleaned the viruses applied windows patches and then installed symantec endpoint protection 11.
    after installing this teh system started crashing givin bsd.
    in the xp machine i did a bit of r&d and found out that there was a problem with oracle and symantec together.
    then i unsinstalled symantec made everything ok with the db and stopped db services and installed symantec back
    this worked and sytem was up and running again
    but the problem still continues with the windows server 2003
    as soon as i uninstalled oracle the system crashed and now its not starting.
    are there any compatibility issues between symantec and oracle 10g?
    or something should be taken care on the oracle server before installing symantec?
    Any suggestions or experience would really help.
    Regards
    Deepak

    Hi,
    I guess the problem is with Symantic and the Virus .
    As I know there is no direct ill-impact upon Oracle and Symantic together.
    There might be another cause... So some more R&D :)
    Edited by: The Human Fly on Jan 25, 2010 1:12 AM

  • Oracle 10g Performance

    Hi All,
    We have are facing some performance issue with Oracle. We have created an table with some fields and a BLOB object. Our application continuously inserts and deleted data from that table. These data operations at a very high rate. We have Enabled NoCache for the BLOB object and are BLOB object is stored in different tablespace. Using some monitoring tool we observed that inserts into the table is taking more time on further digging we found that the time is taken by the BLOB object. We also observed that the Waiting time is more for db file sequential read while doing an insert. As i mentioned Earlier we are also deleting records from this table that is done by other threads. Is this problem occuring as we are inserting and deleting the same data at a high rate. Also Oracle is doing a full table scan on inserts.
    Please Help
    Thanks in Advance.

    No database version?
    No table structures?
    No example data?
    No code?
    No way we can really help unfortunately.
    [How to post a SQL statement tuning request|http://forums.oracle.com/forums/thread.jspa?threadID=863295&tstart=0]
    however, as it sounds a little more like a whole application issue rather than just a single SQL statement you may want to post all your details over in the Database-General forum where the DBA's tend to hang out.

  • Oracle 9i Performance Issue High Physical Reads

    Dear All,
    I have Oracle 9i Release 9.2.0.5.0 database under HP Unix, I have run the query and got following output. Can any body just have a look and advise what to do in the following situation? We have performance issues.
    Many thanks in advance
    Buffer Pool Advisory for DB: DBPR Instance: DBPR End Snap: 902
    -> Only rows with estimated physical reads >0 are displayed
    Size for Size Buffers for Est Physical Estimated
    P Estimate (M) Factr Estimate Read Factor Physical Reads
    D 416 .1 51,610 4.27 1,185,670,652
    D 832 .2 103,220 2.97 825,437,374
    D 1,248 .3 154,830 2.03 563,139,985
    D 1,664 .4 206,440 1.49 412,550,232
    D 2,080 .5 258,050 1.32 366,745,510
    D 2,496 .6 309,660 1.23 340,820,773
    D 2,912 .7 361,270 1.14 317,544,771
    D 3,328 .8 412,880 1.09 301,680,173
    D 3,744 .9 464,490 1.04 288,191,418
    D 4,096 1.0 508,160 1.00 276,929,627

    Hi,
    Actually you didnt give the exact problem statement.
    Seems to be your database is I/O bound. Ok, do the following one by one:
    1. Identify the FTS queries and try to create the optimal indexes (depending on the disk reads factor!!) on the problem queries.
    2. To reduce the 276M physical reads, you need to allocate more memory to db_cache_size. try 8GB (initially) and then depending on the buffer advisery you can increase further if you have more memory on the box.
    3. as a Next step , configure KEEP and RECYCLE cache to get the benefits of reduced I/O by multiple pools. Allocate objects to the KEEP/RECYCLE pools.
    Thanks,

  • Oracle 10g performance tuning tools

    hi,
    can anyone please suggest me any oracle database tuning tool to use for improving the performance of the database?(oracle 10g)

    Hi,
    Do you want a tuning tool that does not require the user to have in-depth Oracle knowledge? If so, try here:
    http://images.google.com/images?&q=ouija+board&um=1&ie=UTF-8&sa=N&tab=wi
    Seriously, I like to use AWR and STATSPACK reports, and there are some freeware tools to help analyze them, one that I sponsor:
    http://www.statspackanalyzer.com
    For online tools, Oracle SQL Developer is a great way to get started, as-is the Oracle performance pack:
    http://www.oracle.com/technology/products/database/sql_developer/index.html
    For third-party tuning tools, look at Confio, quite good:
    http://www.confio.com/
    Hope this helps. . .
    Don Burleson
    Oracle Press author
    Author of “Oracle Tuning: The Definitive Reference”
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Oracle 10g Speed issue

    Hi.
    1. I am using Oracle 10g Enterprise Edition.
    2. on Windows Xp SP2.
    3. System configuratoin are: Intel Core2 Due 2.20Ghz, 512MB ram.
    But after installing Oracle 10g on the above mentioned system, the speed of my system gradually down/reduced.
    How we can set/fix this issue/problem.
    Regards!

    Did you install software only or created a sample database as well?
    Just installing the software won't make it slower. If you have created a database, how much SGA have you configured for this database?
    512MB RAM is definitely on lower side considering you are running Oracle 10g database and (some) other applications along with that.

  • ORACLE 10g PERFORMANCE ON SOLARIS 10

    Hi all,
    In sunfire v890 we have installed oracle 10g release 2 on solaris 10.
    prstat -a command shows :
    NPROC USERNAME SIZE RSS MEMORY TIME CPU
    105 root 9268M 6324M 20% 1:21:57 0.4%
    59 oracle 24G 22G 71% 0:04:33 0.1%
    2 nobody4 84M 69M 0.2% 0:11:32 0.0%
    2 esbuser 13M 9000K 0.0% 0:00:46 0.0%
    1 smmsp 7560K 1944K 0.0% 0:00:00 0.0%
    4 daemon 12M 7976K 0.0% 0:00:00 0.0%
    and top utility shows :
    last pid: 8639; load avg: 0.09, 0.09, 0.09; up 2+06:05:29 17:07:50
    171 processes: 170 sleeping, 1 on cpu
    CPU states: 98.7% idle, 0.7% user, 0.7% kernel, 0.0% iowait, 0.0% swap
    Memory: 32G phys mem, 22G free mem, 31G swap, 31G free swap
    therefore from prstat we come to know that memory used by oracle is 71%
    where as top says 31.25% used.....
    which one is true in this scenario.....
    shall we go ahead in trusting top utility????
    Advance thanks to you.

    therefore from prstat we come to know that memory
    used by oracle is 71%
    where as top says 31.25% used.....
    which one is true in this scenario.....
    shall we go ahead in trusting top utility????In this case top is more accurate. prstat pretends all the memory used by each Oracle process is used only by that process. But lots of the memory used by Oracle is shared between several processes. prstat is counting that shared memory over and over for each process... resulting in the higher figure.
    http://forum.java.sun.com/thread.jspa?threadID=5114263&tstart=105
    Regards,
    [email protected]
    http://www.HalcyonInc.com

  • Oracle 10g http issue. always ask for XDB and APEX password

    As i m uses oracle 10g express edition, it ask for XDB and Apex password frequently.
    i changed the port from 8080 to 8181 but still same problem.
    Any solution?

    If you wish to enable anonymous access to the ML DB repository, the following code creates the "<allow-repository-anonymous-access>" element if it is missing, or updates it if it is already present in the xdbconfig.xml file.
    CONN sys/password AS SYSDBA
    SET SERVEROUTPUT ON
    DECLARE
    l_configxml XMLTYPE;
    l_value VARCHAR2(5) := 'true'; -- (true/false)
    BEGIN
    l_configxml := DBMS_XDB.cfg_get();
    IF l_configxml.existsNode('/xdbconfig/sysconfig/protocolconfig/httpconfig/allow-repository-anonymous-access') = 0 THEN
    -- Add missing element.
    SELECT insertChildXML
    l_configxml,
         '/xdbconfig/sysconfig/protocolconfig/httpconfig',
         'allow-repository-anonymous-access',
         XMLType('<allow-repository-anonymous-access xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">' ||
         l_value ||
         '</allow-repository-anonymous-access>'),
         'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
    INTO l_configxml
    FROM dual;
    DBMS_OUTPUT.put_line('Element inserted.');
    ELSE
    -- Update existing element.
    SELECT updateXML
    DBMS_XDB.cfg_get(),
    '/xdbconfig/sysconfig/protocolconfig/httpconfig/allow-repository-anonymous-access/text()',
    l_value,
    'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
    INTO l_configxml
    FROM dual;
    DBMS_OUTPUT.put_line('Element updated.');
    END IF;
    DBMS_XDB.cfg_update(l_configxml);
    DBMS_XDB.cfg_refresh;
    END;
    /

  • Oracle 10g Installation issue

    While Installing Oracle 10g, I get the following warning
    Checking Network Configuration requirements ...
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
    Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses; However, before you can do this, you must configure the Microsoft LoopBack Adapter to be the primary network adapter on the system. See the Installation Guide for more details on installing the software on systems configured with DHCP.
    ========================================================
    When I ignored this warning and proceeded with the installation tnsnames.ora was not getting created.
    Please help on this.

    Hi,
    You need to configure the Loop Back Adapter on your system, Since ORACLE does not support the dynamic IP Address. Do the Loop Adapater the Problem will be solved.
    Refer :-
    http://youngcow.net/doc/oracle10g/install.102/b14316/reqs.htm#BABGCEAI
    Check for "Installing a Loopback Adapter"
    - Pavan Kumar N

  • Oracle 10g connection issue..

    Hi ,
    I have oracle 10g installed on one unix box and i need to connect to this oracle 10g from another unix box
    using the sqlplus client version 9.2.0.7.0.
    When i try to connect using sqlplus 9.2.0.7.0 i am not getting any response.
    is it possible to connect to oracle10g using sqlplus 9.2.0.7.0?
    Thanks.

    Zymson wrote:
    I have oracle 10g installed on one unix box and i need to connect to this oracle 10g from another unix box
    using the sqlplus client version 9.2.0.7.0.
    When i try to connect using sqlplus 9.2.0.7.0 i am not getting any response.You failed to provide any meaningful information in order to diagnose the problem.
    I suggest that you start off with some basic tests first.
    1. Ping
    Can you ping the remote server? On the local Unix box, use the dotted IP address of the remote Unix box and determine if it responds. E.g.
    ping <IP_ADDRESS>
    2. Hostname resolution
    Ideally you want to use the hostname (instead of dotted IP) of remote Unix box. Determine if the local Unix box resolves the remote Unix box's hostname. E.g.
    ping <HOSTNAME>
    3. Oracle port connectivity
    Next you need to test if the TCP port used by the Oracle Listener on that remote Unix box is reachable from the local box (and not firewalled for exampled). Telnet into this port (if the connection is accepted, press enter a few times and the telnet connection will be terminated by the listener). E.g.
    telnet <HOSTNAME> 1521
    4. Test SQL*Plus connectivity
    Once you've established that connectivity to the remote Listener is working, you need to test the TNS connection string and ensure that the connection parameters (such as ORACLE SID) that is passed to the Listener is correct. E.g.
    sqlplus scott/tiger@"(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP)(HOST=<HOSTNAME>)(PORT=1521)) (CONNECT_DATA= (SID=<ORACLE_SID>) (SERVER=dedicated)))"
    Once all ths is working, should you update the local Unix box's tnsnames.ora file with the TNS connection string and use that TNS alias for connecting via SQL*Plus.
    If any of these steps do not work, post the full details of the step PLUS the actual error information (error codes and error messages).

Maybe you are looking for

  • Problem in validating menu item

    hi, everybody. i have created a main window using JInternalFrame. The window has a menu bar in which document menu is used for closing the main window, while employee menu is used for adding new frame for the employee. while the login frame is displa

  • I can log into my apple id, but it won't let me on Itunes

    I'm studying abroad in two days and I wanted to update my ipod, mostly with a lot of apps since my flight is 9 hours. I tried logging into Itunes using my normal email and what I thought my password was. I wasn't sure on the password so I had my pass

  • How to load a text file int JEditorPane and highlight some words (Urgent !)

    I want to load a text file into a JEditorPane and then highlights some keywords such as while,if and else.I am using an EditorKit in order to style the JEditorPane. I have no difficulty while giving the input through the keyboard but lots of exceptio

  • Enhanced status of Purchase Order

    Hi Experts, Is it possible to enhance the status of purchase order in ECC? The client requested to custermize the status and the sequence which is I'm not sure. Please advise if you have any ideas. Rgs, Michelle

  • HT1222 My daughter put a security code on her ipod and we cannot remember it.

    My daughter has locked her ipod with a security code and I have no idea how to contact someone to delete it.  Any ideas????