Oracle performance tips

Soldato
Joined
15 Nov 2008
Posts
5,060
Location
In the ether
Hi,

Could anyone point me to some top draw articles / papers / resources on how to optimize large Oracle databases. Even better if there is a give for people transitioning from MySQL to Oracle what would be great.

Thanks

D a n g e r s t a t
 
Oracle 10g + does its own diagnostics

There are two packages that come in the default enterprise installation
$ORACLE_HOME/rdbms/admin/awrrpt.sql
$ORACLE_HOME/rdbms/admin/addmrpt.sql (this is part of the Tunning pack and "Requires" an additional license"


Oracle 10g (and 11G) runs a diagnostics snapshot every hour by default. You run the database as per usual for a while, then run the addmrpt.sql follow the instructions and it lobs out a nice HTML webpage that details all the improvements you can make. (if you don't pay for the Tuning license then awrrpt will produce a text file with the raw data, which you can either analyze yourself or plug into one of many free Oracle Tuning websites)
 
Make sure indexes are correct, you should only see hash joins if queries use > 5% of tables.

Check pl/sql. Most big problems come from there.

Redo, redo ,redo. Your database will only be fast if you can write/archive redo very quick.
 
Platform: Linux x64

thanks for the tips guys

In terms of optimising the platform, it will do it's own check of kernel parameters and offer to change them.

If you're specifically on Red Hat/CentOS there is a good document on redhat.com about tuning for Oracle.
 
Back
Top Bottom