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 DeLuca
Hi 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
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/ -
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 -
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 -
HI Experts,
Can some one help me to tune a oracle bpm engine 11g (11.1.1.5)
Any tuning recommendation for a mid-size engine
(if some one really implemented which gives some significant performance improvement)
Tried almost everything but engine is really slow with 5 concurrent user.
Please don’t give url to middleware performance tuning guide.
Configuration:
Hardware
Sparc-t3-2
1.65 GHz
2 Core virtual
Memory 16 GB
Setting – Total 2 containers. 1 manage server each, 1 Admin.
Heap space 4 GB, Perm Space – 1gb
Client :
50 Concurrent User.
10 BPMN Process (each process got around 10-12 activity), 8 BPEL Process,
1000-1500 Live Instances as of now. Need to cater more in future. (around 50,000))Oracle Support Document 1456488.1 (Slow startup of WebLogic Servers on SPARC Series: T1000, T2000, T5xx0 and T3-* ) can be found at:
https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?id=1456488.1 -
Planning to start the performance tuning but....
Friends,
Database OS: RHEL AS 3.0
Database: Oracle Release 9.2.0.4.0
Number of Tables: 503
TableSpace size - 1.8GB out of 3GB
Max.Records in a Table - 1 Million and its increasing..
Our DB Optimizer mode is - CHOOSE (is it RBO?)
We are not using enterprise manager and not installed any tuning scripts like statspack etc....
Currently we are taking user managed backup without any problem so we are continuing the same from 2004 onwards.
Now we want want to tune our database.(We have never tuned our database)
We would like to change our optimizer from RBO to CBO.
Can anybody tell me the first step for the performance tuning?
Please dont suggest me oracle doc im already studying.....its taking time....
In the mean time......
Step 1: Can i Analyze the table or dbms_stat package?
We have not at all used the analyze or dbms_stat. So can i start with any of the above or do u have any other suggestions for the 1st step?
Thanksour manager feels that if we tune our db the performance will be more than compared to the current one.you have a mystique manager then, ask him what kind of "feelings" does he have about my database ;) there is no place for feelings in this game, this is life cycle to be successful ; testing->reporting->analyzing->take nedded actions->re-testing->reporting->analyzing..
so while you are surely reading the documentation;
Oracle9i Database Performance Planning Release 2 (9.2)
http://download.oracle.com/docs/cd/B10501_01/server.920/a96532/toc.htm
Oracle9i Database Performance Tuning Guide and Reference Release 2 (9.2)
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/toc.htm
first thing you have to do is to setup an appropriate test environment with same os-oracle releases, parameters;
-- some of them to check
SELECT NAME, VALUE
FROM v$system_parameter a
WHERE a.NAME IN
('compatible', 'optimizer_features_enable',
'optimizer_mode', 'pga_aggregate_target', 'workarea_size_policy',
'db_file_multiblock_read_count', .. )and of course schema set and data amount. Then you run your application on load and take statspack snapshots and do the same after collecting statistics;
-- customize for your configuration, schema level object statistics
exec dbms_stats.gather_schema_stats( ownname =>'YOUR_SCHEMA', degree=>16, options=>'GATHER AUTO', estimate_percent=>dbms_stats.auto_sample_size, cascade=>TRUE, method_opt=>'FOR ALL COLUMNS SIZE AUTO', granularity=>'ALL');
-- check your system stats, with sys account
SELECT pname, pval1 FROM sys.aux_stats$ WHERE sname = 'SYSSTATS_MAIN';after you have the base report and the report after change compare the top 5 waits, the top queries which have dramatic logical I/O changes etc. At this point you go into session based tuning in order to understand why a specific query performs worser with CBO compared to RBO. You need to be able to create and read execution plans and i/o statistics at least. Here are some quick introductions;
http://www.bhatipoglu.com/entry/17/oracle-performance-analysis-tracing-and-performance-evaluation
http://psoug.org/reference/explain_plan.html
http://coskan.wordpress.com/2007/03/04/viewing-explain-plan/
and last words again goes to your manager; how does he "feel" about a 10gR2 migration? With Grid Control, AWR, ADDM and ASH performance tuning evolved a lot. Important note here, after 10g RBO is dead(unsupported).
Best Regards,
H.Tonguç YILMAZ
http://tonguc.yilmaz.googlepages.com/
Message was edited by:
TongucY -
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. -
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. -
Performance tuning in PL/SQL code
Hi,
I am working on already existing PL/SQL code which is written by someone else on validation and conversion of data from a temporary table to base table. It usually has 3.5 million rows. and the procedure takes arount 2.5 - 3 hrs to complete.
Can I enhance the PL/SQL code for better performance ? or, is this OK to take so long to process these many rows?
Thanks!
YoginiCan I enhance the PL/SQL code for better performance ? Probably you can enhance it.
or, is this OK to take so long to process these many rows? It should take a few minutes, not several hours.
But please provide some more details like your database version etc.
I suggest to TRACE the session that executes the PL/SQL code, with WAIT events, so you'll see where and on what time is spent, you'll identify your 'problem statements very quickly' (after you or your DBA have TKPROF'ed the trace file).
SQL> alter session set events '10046 trace name context forever, level 12';
SQL> execute your PL/SQL code here
SQL> exitWill give you a .trc file in your udump directory on the server.
http://www.oracle-base.com/articles/10g/SQLTrace10046TrcsessAndTkprof10g.php
Also this informative thread can give you more ideas:
HOW TO: Post a SQL statement tuning request - template posting
as well as doing a search on 10046 at AskTom, http://asktom.oracle.com will give you more examples.
and reading Oracle's Performance Tuning Guide: http://www.oracle.com/pls/db102/to_toc?pathname=server.102%2Fb14211%2Ftoc.htm&remark=portal+%28Getting+Started%29 -
SAP Conversion Agent - Performance Tuning
Hi Experts,
We are working with SAP Conversion agent..we have developed several scenarios on that...
But, Now we are worried about the performance issues on the same.
Can anybody share their experience on SAP Conversion Agent and any performance tuning guide on SAP Conversion Agent.
-SHi,
/people/bla.suranyi/blog/2006/09/29/conversion-agent--handling-edi-termination-characters
Conversion Agent
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da1e7c16-0c01-0010-278a-eaed5eae5a5f - conversion agent
Thanks,
Madhu -
Hi All,
I had given a task to tune oracle 10g database. I am really new in memory tuning although I had some SQL Tuning earlier. My server is in remote location and I can not login to Enterprise Manager GUI. I will be using SQL Developer or PL/SQL Developer for this. My application is web based application.
I have following queries with this respect:
- How should I start... Should I use tkprof or AWR.
- How to enable these tools.
- How to view its reports
- What should I check in these reports
- Will just increasing RAM improves performance or should we also increase Hard Disk?
- What is CPU Cost and I/O?
Please help.
Thanks & Regards.dbdan wrote:
Hi All,
I had given a task to tune oracle 10g database. I am really new in memory tuning although I had some SQL Tuning earlier. My server is in remote location and I can not login to Enterprise Manager GUI. I will be using SQL Developer or PL/SQL Developer for this. My application is web based application.
I have following queries with this respect:
- How should I start... Should I use tkprof or AWR.
- How to enable these tools.
- How to view its reports
- What should I check in these reports
- Will just increasing RAM improves performance or should we also increase Hard Disk?
- What is CPU Cost and I/O?
Please help.
Thanks & Regards.Here is something you might try as a starting point:
Capture the output of the following (to a table, send to Excel, or spool to a file):
SELECT
STAT_NAME,
VALUE
FROM
V$OSSTAT
ORDER BY
STAT_NAME;
SELECT
STAT_NAME,
VALUE
FROM
V$SYS_TIME_MODEL
ORDER BY
STAT_NAME;
SELECT
EVENT,
TOTAL_WAITS,
TOTAL_TIMEOUTS,
TIME_WAITED
FROM
V$SYSTEM_EVENT
WHERE
WAIT_CLASS != 'Idle'
ORDER BY
EVENT;Wait a known amount of time (5 minutes or 10 minutes)
Execute the above SQL statements again.
Subtract the starting values from the ending values, and post the results for any items where the difference is greater than 0. The Performance Tuning Guide (especially the 11g version) will help you understand what each item means.
To repeat what Ed stated, do not randomly change parameters (even if someone claims that they have successfully made the parameter change 100s of times).
You could also try a Statspack report, but it might be better to start with something which produces less than 70 pages of output.
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
Step for performance tuning in oracle 10g
hi,
i want to know the step of persformance tuning and sql tuning.I'd suggest you to refer to documentation: [Oracle Database 2 Day + Performance Tuning Guide 10g Release 2 (10.2)|http://download.oracle.com/docs/cd/B19306_01/server.102/b28051/toc.htm]
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
Performance tuning through OEM
Hi,
I am unable to run performance tuning pack through OEM. Initially when i was not connected with any production database it worked. Now whenever i click performance manager, performance manager over view, etc it simply hangs where as diagnositc packs such as oracle expert are all working. I have increased the java_pool_size to 50M from 24M both in the remote database machine and in server but still i unable to run it through remote database machine. I have configured rman in the remote database and taking fullbackup, logical back up through it but the performance pack hangs whenever i run it. I am new to dba. statstical report collected through statspack report gives no idea for me to tune. Please help me what to do in this regard to tune the database.
What are the vital points one has to tune and how to tune it.Brain heart,
As you have mentioned that you are new in Tuning so I shall say first is to understand what exactly we are hunting for.Please read Performance Tuning guide frm oracle docs.
You have not mentioned any version for your db so I am assumig 10g.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/toc.htm
Also there is an excellent guide from 9i docs, called Performance Planning also read that one.
And to understand tuning and its various know hows, get these books,
Optimize Oracle Performance--Carry Millsap
Oracle Wait Interface --Richmond Shee
Forecasting Oracle Performance --Craig Shallahamer
These will help you in understanding alot of things which will help for sure.
Aman.... -
Performance Tuning on PL/sql
Dear all,
I am not sure whether I am right to post this enquiry here, please correct me if I am wrong.
I have a sql stmt that run for a long time and caused a error of 'out of temp sapce' in oracle server. How can I tune my sql for better performance using command 'EXPLAIN PLAN'? How could I know the details information for those columns in the table 'PLAN_TABLE'?
Best Regards,
MariusRead the "Database Performance Tuning Guide and Reference" for your version of Oracle (available online, right here).
Richard -
BDB Performance Tuning.
Hello All,
In efforts to tune BDB JE's performance, I'd like to ask everyone what sort of things you have looked at and tried. The application looks like this: it has multi-threaded reads/writes with large number of small entries. One thread for writing and another for reading. Most the performance tuning is needed on writing to the database, preferably to support stable insertion/modification times. Each entry is no more than 4KB (keys and entries are constant size)
Some research indicates that changing page size to be equal to the size of the entry is helpful. I've looked at this: http://www.oracle.com/technology/documentation/berkeley-db/db/gsg/JAVA/dbconfig.html#pagesize
However, DatabaseConfig.setPageSize() is nowhere to be found. Am I missing something? Where can I access this setting?
I've also been having problems with database grinding to a near halt with large amounts of entries (under 1 mil) and total database file size of about 800MB. What are the general suggestions/practices for speeding things up? In this case performance is preferred over memory use.
Thank you,
Mike.Hi Mike,
Some research indicates that changing page size to be
equal to the size of the entry is helpful. I've
looked at this:
http://www.oracle.com/technology/documentation/berkele
y-db/db/gsg/JAVA/dbconfig.html#pagesize
However, DatabaseConfig.setPageSize() is nowhere to
be found. Am I missing something? Where can I access
this setting?You're looking at the docs for the wrong product -- that's the C product. The JE docs are here:
http://www.oracle.com/technology/documentation/berkeley-db/je
(Note the je suffix as opposed to the db suffix, which is the C product.)
I've also been having problems with database grinding
to a near halt with large amounts of entries (under 1
mil) and total database file size of about 800MB.
What are the general suggestions/practices for
speeding things up? In this case performance is
preferred over memory use.Have you tried increasing the JE cache size (EnvironmentConfig.setCacheSize)? In general, databases perform better with more memory. But to do performance tuning the first step is to normally print out the EnvironmentStats periodically and correlate changes in the stats with the performance you're seeing. Please see the performance section of the JE FAQ:
http://www.oracle.com/technology/products/berkeley-db/faq/je_faq.html
--mark
Maybe you are looking for
-
I can no longer find Harry Potter audio books on iTunes (April 2012)
I bought the first 3 Potter audio books in iTunes January 2012. When I search the iTunes store, the Harry Potter audio books are no longer appearing. We just purchased the first 3 ones this year 2012 and would like to purchase the rest but they dont
-
E72: Is there a new firmware for Nokia Messaging ?
Hello, I have E72 and it has integrated Nokia Messaging. But when I look up Nokia's messaging website, It talks about additional functions like social networking as part of nokia messaging. Are these available for E72 ? I also see the newer Nokia pho
-
Snow Leopard New install failed
I know there are several topics on this subject but I couldn't find one that matched my isue My Spec: Macbook, 2.4ghz (?) Intel Procsesor, 4GB Ram, superdrive, 250GB Hard Disk (purchased off of eBay about 10 months ago) I was using my Mac to rip some
-
Use different portals for authentication and collaboration
Hello, I would like to request your help on a portal issue. I have installed a dual stack(ABAP+Java) Enterprise Portal (EP 6 - NW 7). The ABAP stack is required in order to implement user collaboration. However, another requirement is that the users
-
I've been trying to reset the battery gauge on my Thinkpad X301 (Windows 7). The reset function does run the battery down and then recharge it, but the test is never officially ended, even when left running for days. The Battery Maintenance windows r