DATABASE TUNING GUIDE.
Hi,
I have 9i database, can anybody give me
1. Unix Important Command(like sar , top, vmstat, iostat, netstat), Please don't tell me how to use this command. Instead please tell me when is the bottleneck(generally how much oracle process should used and at what % we should consider cpu or memory or io usage is high).
2. Tunning database document quick quide.
Hi,
I have 9i database, can anybody give me
1. Unix Important Command(like sar , top, vmstat,
iostat, netstat), Please don't tell me how to use
this command. Instead please tell me when is the
bottleneck(generally how much oracle process should
used and at what % we should consider cpu or memory
or io usage is high).
2. Tunning database document quick quide.hi,
Generally I look at the 'wait' class in top/vmstat to see if the system is waiting on disks.
database tuning is an iterative process. You would need to post back some parameters e.g.
show parameter sga
show parameter pga
etc etc.
By asking your question, do we assume that your database needs tuning?
Also as you are on UNIX, have you enable async servers?
rgds
alan
Similar Messages
-
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/ -
Performance Tuning Guide Needed.
I've seen numerous references to a "Performance Tuning Guide" Is there
any way this document could be posted on the weblogic customer
downloads.
We desperately need this information. Even with working with Support so
far the process has been trial and error. Try this, then try that. I've
burnt many days just playing around with the properties and so far no
luck.
I've read just about every post in the performance newsgroup. Some seem
to be the same types of problems we are currently facing. Great
response when there are about 50 users. Horrible around 65. Slowness
doesn't seem to be gradual. All of a sudden it starts to crawl. So far
I haven't seen any posts regarding solutions (weblogic.properties
settings) which I could try and use.
We are currently using weblogic 4.0.3 on AIX 4.3 with Oracle 8.i. No
native performance pack for that release. Will upgrading to 4.5.1
increase performance dramatically? Our application is very database
dependent. We use a the weblogic connection pool using Oracle's jdbc
thin driver. Note Oracle's OCI driver has numerous bugs related to CLOB
and BLOB retrieval which are used heavily in our database.
Thanks,
Don DeLucaHi Don,
I can't comment on the public posting of the Capacity Planning document.
However, I can say that there is no magic formula for optimizing your
WebLogic application. The biggest things to look at are the application
design and code (e.g., unnecessary synchronization code), DBMS configuration
and database design, JVM heap size (bigger is not always better), number of
execute threads (more is not always better), number of database connections
in the pool, whether or not you are using the performance pack, how much
other activity is happening on the server machine, etc. I can tell you that
trying to simulate a large number of clients from a single JVM client (using
lots of threads) will lead you to believe that the server is having problems
when it is really the client software/hardware that is often the limiting
factor. In many of our large benchmarks, we end up using significantly more
hardware for driving the clients than for running the server(s).
Sorry I don't have any better answers for you,
Robert
Don DeLuca wrote:
I've seen numerous references to a "Performance Tuning Guide" Is there
any way this document could be posted on the weblogic customer
downloads.
We desperately need this information. Even with working with Support so
far the process has been trial and error. Try this, then try that. I've
burnt many days just playing around with the properties and so far no
luck.
I've read just about every post in the performance newsgroup. Some seem
to be the same types of problems we are currently facing. Great
response when there are about 50 users. Horrible around 65. Slowness
doesn't seem to be gradual. All of a sudden it starts to crawl. So far
I haven't seen any posts regarding solutions (weblogic.properties
settings) which I could try and use.
We are currently using weblogic 4.0.3 on AIX 4.3 with Oracle 8.i. No
native performance pack for that release. Will upgrading to 4.5.1
increase performance dramatically? Our application is very database
dependent. We use a the weblogic connection pool using Oracle's jdbc
thin driver. Note Oracle's OCI driver has numerous bugs related to CLOB
and BLOB retrieval which are used heavily in our database.
Thanks,
Don DeLuca -
Invalid statement in Performance Tuning Guide
Oracle® Database Performance Tuning Guide
10g Release 2 (10.2)
Part Number B14211-01
13 The Query Optimizer
http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/optimops.htm#sthref1324
excerpt:
"You can specify fast full index scans with the initialization parameter OPTIMIZER_FEATURES_ENABLE or the INDEX_FFS hint. Fast full index scans cannot be performed against bitmap indexes."
Emphasis mine - Gints
Here is counterexample:
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL> create table blah (sex varchar2(1) not null, data varchar2(4000));
Table created.
SQL> insert into blah select 'F', lpad('a', 4000, 'a') from user_objects where rownum<=10;
10 rows created.
SQL> insert into blah select 'M', lpad('a', 4000, 'a') from user_objects where rownum<=10;
10 rows created.
SQL> commit;
Commit complete.
SQL> create bitmap index sexidx on blah(sex);
Index created.
SQL> exec dbms_stats.gather_table_stats(user, 'blah', cascade=>true)
PL/SQL procedure successfully completed.
SQL>
SQL> set autot traceonly expl
SQL> set lines 100
SQL> select count(*) from blah where sex = 'F';
SQL> /
Execution Plan
Plan hash value: 1028317341
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 2 | 1 (0)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 2 | | |
| 2 | BITMAP CONVERSION COUNT | | 10 | 20 | 1 (0)| 00:00:01 |
|* 3 | BITMAP INDEX FAST FULL SCAN| SEXIDX | | | | |
Predicate Information (identified by operation id):
3 - filter("SEX"='F')
SQL> set autot off
SQL> alter session set events '10046 trace name context forever, level 12';
Session altered.
SQL> select count(*) from blah where sex = 'F';
COUNT(*)
10
SQL> disconn
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining optionsand here is relevant section from tkprofed trace file assuring that bitmap index fast full scan really was performed.
select count(*)
from
blah where sex = 'F'
call count cpu elapsed disk query current rows
Parse 1 0.00 0.02 0 0 0 0
Execute 1 0.00 0.03 0 0 0 0
Fetch 2 0.00 0.00 0 3 0 1
total 4 0.00 0.05 0 3 0 1
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 60
Rows Row Source Operation
1 SORT AGGREGATE (cr=3 pr=0 pw=0 time=74 us)
1 BITMAP CONVERSION COUNT (cr=3 pr=0 pw=0 time=55 us)
1 BITMAP INDEX FAST FULL SCAN SEXIDX (cr=3 pr=0 pw=0 time=43 us)(object id 98446)Gints Plivna
http://www.gplivna.euHello Gints. I've reported this to the writer responsible for the Performance Tuning Guide. One of us will get back to you with the resolution.
Regards,
Diana -
Hello Gurus,
We have 10.2.04 RAC database running in production.The application does lot of DML.I need to tune query regularly.
Could anybody sugggest a good book for Oracle SQl tuning.
Thanks and Regards,
jitender
Edited by: user10552550 on Feb 22, 2010 5:53 AMThe Oracle Database Performance Tuning Guide in the Oracle Database documentation library has a lot of information. Several chapters have "SQL" in their titles, including "SQL Tuning Overview".
However, if you're looking for third-party books, I don't know know enough about them to recommend one versus another. -
How to install the Oracle Enterprise Manager Database Tuning ?
Hi,
How to install the Oracle Enterprise Manager Database Tuning with the Oracle Tuning Pack
Release 9.0.1
And where to get download this.
Thank u..!The only way you can get 9iR1 release software is by asking it to your Oracle representative. The oldest 9i release available for public download is 9iR2.
You could try the administrative 9iR2 client, it can work with 9iR1 releases.
~ Madrid. -
I was looking though the Database Adapter samples and came across this statement in the readme file.
Ways to avoid this problem are known as 'Polling Strategies', see the Database
Adapter guide 'Choosing a Polling Strategy' to learn more.
Where is the Database Adapter Guide located? I could not find it on my system, or doing a search on Oracle or Google.
Any help is greatly appreciated.
Thanks,
JimTry looking here
http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/toc.htm -
Oracle 11g R1(11.1) Database Upgrade Guide.
Where can I find the SAP documentation for:
Database Upgrade guide > Upgrade to Oracle Database 11g Release 1(11.1):UNIX.
I am able to find Upgrade to Oracle Database 11g Release 2(11.2). We are planning to upgrade to 11g Release 1(11.1) and I am not able to find any SAP documentation for 11g Release 1(11.1):
Does SAP support 11g Release 1(11.1)?
We are using Business Object XIR3 and want to upgrade from Oracle 9i to Oracle 11g R1.
Thanks
Edited by: Sherry Barkodar on Jan 7, 2011 1:52 AMWe are using Oracle 9i for our Business Object repository for CMS / Audit repository purpose and we want to upgrade to Oracle 11g. What is the impact of this upgrade (from Oracle 9i to Oracle 11g) on Business Object repository?
Can you please provide some information for upgrade to Oracle 11g R2 and impact on business Object Repository?
Bellow is information about our platform:
- The BOE XI 3.1 installation is on Sun Solaris.
- Upgrading from Oracle 9i to Oracle 11g to be used for CMS / Audit repository purpose.
- We want to use Oracle 11g for CMS repository and reporting purposes.
Thanks,
Sherry -
SAP Business Objects Performance Tuning Guides
Hello everyone,
I'm currently looking for Performance Tuning guides for the hardware/software. In particular, parameters for the hardware. I'm having a hard time finding any kind of guides on the server side of Business Objects. So I'm wondering if anybody knows of some that are available on the internet or SAP site?
I've found very few in the software department. However, I'm looking more for the hardware portion of Business Objects. Basically the goal is to get the server as optimal as possible (As far as memory, parameters, CPU, etc) is concerned so we know it can't be a hardware issue. It's kind of narrowing down the potential problems we can have later on down the road so that's why this is very important right now.
Any help with this will be greatly appreciated. Thanks in advance. -Victor
Edited by: Victor Munker on Jul 14, 2010 3:52 PMHere´s an updated version of that document:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50770d8f-5606-3010-28a6-9e3bb14ec6a7?QuickLink=index&…
Cheers,
Esteban -
Where to learn about database tuning from?
Hello,
I need to learn more about database tuning - practical aspect. Are there any sites/services that could help me? I can't use production environment of course, I need to prepare my own ones (Oracle DBs on linux and windows too) and workload too. How to simulate workload from many users?
Thanks in advance for help
AliqHow do you learn to paint? You can read every book on the subject, attend lectures by famous artists on paints and brushes and styles and what not..
None of this will turn you into an artist that can paint. Theory only goes that far.
And this is as true in performance tuning as in painting. You need to run into that brick wall called experience over and over again - and each time learn hard lessons that no theory can ever teach.
If performance tuning was that easy, we would have had fully automated tuning software in operating systems and database systems that could detect and fix all our performance woes on the fly.
Does not work like that.
Also, performance tuning is many times seen as an "after the fact" thing. Design the system. Code the software. Implement it. Then tune it.
Wrong. Also does not work like that.
Performance tuning begins at the very first workshop when brainstorming the basic design of the system. If performance and scalability are not part of that process, they cannot easily (if at all) be made to be part of the final system as a tuning exercise.
If I need to pass a single fundamental "uber-alles" principle for performance tuning - when dealing with it after the fact (as many of us do), then it is:
Identify The Problem
Do not confuse symptoms as the actual problem.
PS. Performance tuning is also many time (IMO) a situation where you have lost. Why? Because of if the code was designed and coded correctly, then there would not have been a performance issue. If the Oracle architecture was understood correctly, there would not be a problem. Which makes the advice by the other 2 posters so important. Understand Oracle. Understand how to design and code in Oracle. If done well, what is there left to performance tune? -
Error in 12.1 Oracle Database Concepts guide
Dear Oracle team,
I found the following issues when go through Database Concepts guide in Chapter - 2 [ Tables and Table Clusters ].
1. In the example section of Invisible columns topic, table name is provided incorrectly.
CREATE TABLE products ( prod_id INT, count INT INVISIBLE );
ALTER TABLE names products MODIFY ( count VISIBLE );
2. Employee id is given incorrectly in the Example 2-3 in Example of Create Table and Alter table Statements.
Employee id 104 does not exists in the Rows list displayed in Example 2-3.
Please correct me If I am wrong.
Thanks,
Shalini.No. Privilege is granted locally (in root container). Documentation is OK.
There is no term "globally". There is "commonly" (in all containers) or "locally" (in current container).
-Zoran -
After applying SAP XI tuning guide
Hi experts,
we applied the sap xi tuning guide, and would you have any recommandations on what indicators to check to make sure we have improvement on performances ?
Thanks a lot,
any help would be greatly appreciated
Regards,
JamalHi,
>>>we applied the sap xi tuning guide, and would you have any recommandations on what indicators to check to make sure we have improvement on performances ?
run some flows and compare in RWB in performance monitoring link
(a flow's runtime before you used the tuning guide and the same flow after)
Regards,
Michal Krawczyk -
SAP Exchange Infrastructure Tuning Guide
My problem is to apply of tuning guide.
There is a table at page:8
<b>3.1.1 SAP Profile Parameters</b>
<b>Question 1:</b>I know I must use RZ10 to input these parameter.But which profile must I use?
there are 3 profiles
1- DEFAULT
2- BXD_DVEBMGS00_BRCKXITS
3- START_DVEBMGS00_BRCKXITS
<b>Question2:</b> If I don't want to use RZ10, can I apply that parameter manually inside the pnecessary profile?
ThanksHi Cemil,
<i>Question 1:I know I must use RZ10 to input these parameter.But which profile must I use?</i>
U should use <SID>_<instance name>_<hostname>.
So in my opinion BXD_DVEBMGS00_BRCKXITS according to this
http://help.sap.com/saphelp_nw04/helpdata/en/ad/4b09411d57ef23e10000000a155106/content.htm
<i>Question2: If I don't want to use RZ10, can I apply that parameter manually inside the pnecessary profile? </i>
You can edit this file by using a text editor (when you have a Java-only installation) or by using transaction RZ10 (when you have a double-stack system). When editing this file, make sure that there is an empty line at the end of the file.
For RZ10 limitation - SAP Note 579190
For double-stack systems, see also SAP Note 741289
Regards,
Prateek
Message was edited by:
Prateek Srivastava -
Remove Diagnostics Pack, Database Tuning Pack :Oracle 10g
Hi All,
I want to remove Application Server Configuration Pack, Application Server Diagnostics Pack, Database Configuration Pack, Database Diagnostics Pack, Database Tuning Pack from 10g due to license restriction. How can I remove these packs from command line syntax in 10g as I don't have GUI access so unable to perform from OEM?
RegardsThanks Srini,
According to link provided by you we can revoke license with emcli tool but it is not installed with current database (10.2.0.4.0).
Please advice is there any procedure available which can disable all these packs in 10g.
Regards -
Dears,
I found many references to iMS Tuning Guide in many forum posts.
Unfortunately, I can not get it.
I found the following link but it seems like it is down since long time: ims.balius.com/resources/downloads/files/iMS-Tuning-Guide.21.pdf
I'd appreciate if somebody could send me a copy.
Thanks and best regards,msr-egypt wrote:
I found many references to iMS Tuning Guide in many forum posts.This guide is primarily useful for iMS5.2 (and early MS6 releases) installations which nobody should still be running.
Why exactly do you believe you need to "tune" your environment? What problem do you have?
I'd appreciate if somebody could send me a copy.How exactly?
Regards,
Shane.
Maybe you are looking for
-
Adobe Acrobat Reader DC - Unable to print a form
Hi guys I hope you can help me. I have just downloaded Acrobat Reader DC and I am currently trying to print a PDF. However, it won't print because it wants me to fill the form in first I'm printing it for my very technology allergic father in law, an
-
Photo gallery subscribe -anybody?
i have uploaded my site on a non .mac account. works fine. i have some baby picts in a gallery i want to have family subscibe too. when you hit the subscribe button, 1. open iphoto 2. shows how may pict are on the online gallery 3. displays dotted bo
-
WARPING OF ALUMINUM!!! NO DROPS!!! ***??
I got a macbook in october. About 2 weeks later, these warps started showing up. they are mainly around the bottom right corner, around the IR receiver, and the left corner too. This thing is my CHILD. I haven't let it out of my sight. I am getting a
-
It is just 2 days old, s not many songs or photos in it!
-
Html code(source code) for a web page
hi all i want to get the source code for a web page throgh my java program .please can you tell me how to do it. thanks