Oracle 10G Performance Tuning
A colleague of mine supplied me with a tuning script to help in my performance analysis of a 10.2.0.1 Oracle database. The script is called:
responsetimebreakdown.sql
Apparently this was designed for 8i as it cannot find the sys.x_$ksles (session events) view or table in my Oracle 10.2.0.1 database. I receive:
ORA-00942: table or view does not exist
Any one know the equivalent of this object in 10G or has access to this script designed for use against a 10.2.0.1 Oracle database?
Thanks.
I don't know what your script does, but here's the table you're looking for. <br>
SQL> select name from v$fixed_table where name like '%KSLES%';
<br>
<br>
NAME<br>
------------------------------<br>
X$KSLES<br><br>
If you really want to tune, you should also try<br>
SQL> @$ORACLE_HOME/rdbms/admin/awrrpt
<br><br>
Dave <br>
Lehr.servehttp.com
Message was edited by:
DaveLehr
Similar Messages
-
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 advancehttp://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14211.pdf
-
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 Database 10g: Performance Tuning guide
Oracle Database 10g: Performance Tuning guide
can any one help me where i can get above mentioned guide
thanx in Advance
regards,There's this wonderful website called Google: http://www.google.com. If you type in the exact same thing as this thread title, the first results listed will no doubt shock, surprise and amaze you ...
Enjoy !!
Cheers
Richard Foote
http://richardfoote.wordpress.com/ -
Oracle Database 10g: Performance Tuning
Does Oracle Database 10g: Performance Tuning hands on course requirement qualify for both OCP and OCM credential..?
waiting for reply...........Check the Certification Requirements here
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=47#2 -
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 advanceDo 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 -
Good book for Oracle 9i Performance Tuning
Hi Can anybody suggest good book in Oracle 9i performance Tuning (All the Tuning methods and I/O, tuning Memeory Tuning .......)
I done my OCP 9i and I worked as Junior DBA and now I want to concentrate only on Tuning.
Thanks
Venkataragavan.SIf you are looking generalized, not exactly 9i performance, but,good in terms of oracle tuning, I would suggest the below apart from the above given,
Oracle Performance by Cary Milsap and Jef Holt
Jonathan Lewis, 'Practical Oralce 8i', dont go on 8i name.
Sql Tuning by Dan Tow
Jaffar -
Oracle Application Performance Tuning
Hello all,
Please forgive me if I am asking this in the wrong section.
I am a s/w engineer with 2 years of exp. I have been working as a performance tuning resource for Oracle EBS in my company. The work mostly involved SQL tuning and dealing with indexes etc. In this time I took up interest in DBA stuff and I completed my OCA in Oracle 10g. Now my comany is giving me an oppurtunity to move into an Application DBA team and I am totally confused about it.
Becoming an Apps DBA will mean that the effort I put into the certification in 10g will be of no use. There are other papers for Apps DBA certification. Should I stay put in performance tuning & wait for a Core DBA chance or shall I accept the Apps DBA oppurtunity.
Also, does my exp. in SQL performace tuning hold any value as such with out an exposure to DBA activities?
Kindly guide me in this regards as I am very confused at this juncture.
Regards,
JithinJithin wrote:
Hello bigdelboy , Thank you for your reply.
Yes, By oracle Apps DBA I meant Oracle EBS.
Clearing 1Z0-046 is an option. However, my doubt is will clearing both the exams Admin I and Admin II be of any help without having practical expericnce? The EBS DBA work involves support and patching, cloning, and new node setup etc.
Also, is my performance tuning experience going to help me in any way in the journey forward as a DBA/ EBS DBA?
Thank you for your valuable time.
Regards,
Jithin SarathThe way I read it is this.
People notice you are capable of understanding and performance tuning SQL. And you must have some knowledge of Oracle EBS. And in fact you also have a DBA OCA.
So there is a 98% + chance you can be made into a good Oracle Apps DBA (and core DBA). If I was in their position I'd want you on my team too; this is the way we used to bring on DBA's in the old days before certification and it has a lot of merit still. Okay you can only do limited tasks at first ... but the number of taks you can do will increase dramatically over a number of months.
I would imagine the Oracle Apps DBA will be delighted to have someone on board who can performance tune SQL which sometimes can sometimes seem more like an art than a science. The patching etc can be taught in small doses. If they are a good team they wont try to give you everything at once, they'll get you to learn one procedure at a time.
And remember, if in doubt ask; and if you dont understand ask again. And be safe rather than sorry on actions that could be critial.
If your worried about liinux: Linux Recipes For Oracle Dbas (Apress) might be a good book to read but could be expensive in India
Likewise: (Oracle Applications Dba Field Guide) may suit and even (Rman Recipes For Oracle Database 11 G: A Problem-solution Approach) may have some value if you need to get up to speed quickly in those areas.
These are not perfect but they sometimes consolidate the information neatly; however only buy if you feel they are cheap enough. You may well buy them and feel disappointed (These all happen to be by Apress who seem to have produced a number of good books ... they've also published some rubbish as well)
And go over the 2-day dba examples as well and linux install examples n OTN as well ... they are free compared to the books I mentioned.
Rgds -bigdelboy. -
Which tool is used for Oracle 11g performance tuning?
Hi all
I used statspack for 9i's performance tuning.
But with 11g R2 now I want to know which way are you using to do performance tuning?
Statspack? OSW? RDA? ADDM? Or other ways?
Thank you.schavali wrote:
I would start with Automatic Workload Repository (AWR) reports to identify the bottleneck
MOS Doc 390374.1 - Oracle Performance Diagnostic Guide (OPDG)
MOS Doc 748642.1 - What is AWR( Automatic workload repository ) and How to generate the AWR report?
HTH
SriniThanks for your answer.
To read the MOS documents I need a Oracle Customer ID , is that right ?
(Where to get that ID ? Our company bought Oracle 10g without any Customer IDs in it )
Best Wishes. -
Oracle 11g Performance tuning approach ?
Hello Experts,
Is it the right forum to follow oracle performance tuning discussions ? If not, let me know what will be the forum to pick up some thread on this subject.
I am looking for performance tuning approach for oracle 11g. I learned there are some new items in 11g in this regard. For persons, who did tuning in earlier versions of Oracle,
what will be the best way adopt to 11 g?
I reviewed the 11g performance tuning guide, but I am looking for some white papers/blogs with case studies and practical approaches. I hope that you have used them.
What are the other sources to pick up some discussions?
Do you mind, share your thoughts?
Thanks in advance.
RIThe best sources of information on performance tuning are:
1. Jonathan Lewis: http://jonathanlewis.wordpress.com/all-postings/
2. Christian Antognini: http://www.antognini.ch/
3. Tanel Poder: http://blog.tanelpoder.com/
4. Richard Foote: http://richardfoote.wordpress.com/
5. Cary Millsap: http://carymillsap.blogspot.com/
and a few dozen others whose blogs you will find cross-referenced in those above. -
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 -
Oracle query performance tuning
Hi
I am doing Oracle programming.Iwould like to learn Query Performance Tuning.
Could you guide me , like how could i learn this online, which books to refer.
Thank youI would recommend purchasing a copy of Cary Millsap's book now:
http://www.amazon.com/Optimizing-Oracle-Performance-Cary-Millsap/dp/059600527X/ref=sr_1_1?ie=UTF8&qid=1248985270&sr=8-1
And Jonathan Lewis' when you feel you are at a slightly more advanced level.
http://www.amazon.com/Cost-Based-Oracle-Fundamentals-Experts-Voice/dp/1590596366/ref=pd_sim_b_2
Both belong in everyone's bookcase. -
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 RemmertWe 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 -
Help request for Oracle DB Performance tuning
I need some help on Oracle performance tuning.
My environment is VB 6 frontend & Oracle 8
in backend.
The problem I am facing is particularly in
muli-user environment. Some query which takes
20 seconds to when there is only one user
working in the network, takes more time
(3 minutes to even 5 minutes) when there are
4-5 users working in the network.
What may be wrong ?
Are there any parameters that I can
fine tune ?
We checked the resource utilization at the
server level CPU utilization is max 50 %,
Memoery utilization is 50 % (250 MB out of available 512 KB)
nullHi Vinay,
There can be many reasons for time delay.
Here are some--
1) You may not be releasing the locks on objects quickly after use.
This can be obtained by querying v$locked_object.
2) You may be holding many sessions concurrently and not closing the older ones.
This u can get by querying v$session.
These are some common problems in multi-user platform.
R u using MTS?
Yogesh. -
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
Maybe you are looking for
-
Index page won't load images in flash gallery
this is the first time I have used a .us extension for a domain. I created a lighroom flash image gallery, exported it from lightroom into a folder called the domain name (pearlconcepts) which is located in my sites folder on my computer. I uploade
-
Displaying a double in a text field, converting to text
I want to do something like the following: textField.setText(object.getDouble()); so that I can display the value returned by object.getDouble(), which is a double, in a text field. It gives me an error that it's expecting a string though. It will no
-
Ordering Repeating All-Day Events on the calendar
Is it possible to order a list of all-day events that are repeating on multiple days of a calendar?
-
Still available for purchase?
Hi, I just recently had my 5th generation yellow iPod nano stolen and it looks like it's not coming back to me. I was on the Apple store website trying to see if it was available to repurchase, but I don't see it. Does anyone know if I'm just not see
-
Not receiving e-mails on iPad Mini 2
I am not able to get a verification e-mail for the App Store on my iPad Mini 2, 32 GB. I am not sure why I am not receiving this e-mail and I need to download apps and content.