| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.oracle -> Re: Optimization advice
Jim Kennedy wrote:
> > "Andy Reynolds" <ajreynolds_at_san.removethis.rr.removethis.com> wrote in > message news:Xtt2d.7869$XW.206_at_twister.socal.rr.com...
> figure
> Optimize the application. > Use bind variables > Get data efficiently, use array interface. > Avoid unnecessary parsing. > write efficient queries. > > If you don't do the above then the rest is useless or of little value. > Jim
Your list being in context of Oracle. Supporting your list ...
... as described in Jonathan Lewis' "Practical Oracle8i" (and valuable even now with 10g), Thomas Kyte's "Effective Oracle by Design", other books by OakTable members (http://www.oaktable.org), and in the Oracle documents such as "Application Developer's Guide - Fundamentals" at http://docs.oracle.com
And adding to your list ...
Don't use DDL (creates, drops, alters) at run time
Learn Oracle's Global Temp Tables before diving into the Temp Table mill
Don't commit in loops
Don't use procedures where set operations will do
Do use stored procedures
Don't reinvent the wheel. Consider using Oracle's built-in
- workflow
- message queueing
- geospatial (Locator), Document (Text), multimedia (Intermedia)
- security (Row Level Security & Policy-based statement re-write)
- auditing
- direct http interaction (frequently replaces ASP, Perl)
- direct file, tcp interaction
- job scheduler
- external procedures
- external tables
- and so on
Don't use same development techniques for Oracle and MS SqlServer
- due to different locking internals, different techniques MUST be used!
(BTW - the comp.database.oracle.* heirarchy and the group comp.databases.oracle are rogue - please help bring the lost souls back to comp.databases.oracle.* per the charters copied at http://orafaq.com)
/Hans Received on Fri Sep 17 2004 - 09:19:35 CDT
![]() |
![]() |