Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > Optimization advice
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 31st March 19:42
andy reynolds
External User
 
Posts: 1
Default Optimization advice



I am looking for information, books, websites, etc that will help me figure
out the following things in MSSQL and Oracle:

1. Optimizing the database configuration itself.
2. Optimal table and index design.
3. Optimizing SQL statement lookups.
4. Anything else that might help to speed up our database applications.

Any advice at all would be useful.

Thanks alot.

Andy Reynolds
ajreynolds@san.no.spam.rr.com (remove the no.spam to send email)
  Reply With Quote


 


2 31st March 19:42
jim kennedy
External User
 
Posts: 1
Default Optimization advice



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
  Reply With Quote
3 31st March 19:42
mark clark
External User
 
Posts: 1
Default Optimization advice


Andy

There are several good works on these subjects, check out Amazon for a
few ideas.

Can recommend High Performance Oracle by Ingram -- it touches on all
of the points you raise and is a good intro text.

Rgds Mark
  Reply With Quote
4 31st March 19:43
hans forbrich
External User
 
Posts: 1
Default Optimization advice


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
  Reply With Quote
5 2nd April 06:37
bob murphy
External User
 
Posts: 1
Default Optimization advice


Try http://www.oracle.com/technology//index.html for info on Oracle.
Registration is free.
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666