Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
  SQL Server Tips by Burleson

Rewrite and Benchmark

When the SQL is valid, the objects are in order, and object-based resolutions have been investigated, it is time to begin trying different code combinations in hopes of improving the query’s performance. This is where SQL tuning becomes an art.

Using hints, changing subqueries to joins, switching UNION’s to UNION ALL’s can become time consuming but rewarding as tuning becomes easier.

Once the DBA has assembled a suite of new SQL combinations for the existing query, it is time to actually send them through the database to see if anything is being accomplished. When performing these informal benchmarks, it is important to do them correctly.

For example, each query should not just be executed one time and the measurements recorded. First time executions typically take longer than subsequent tries due to parse activity and data being read in the first time from disk. At a minimum, each new query should be sent through three to four times with the high and low readings thrown out.


The above book excerpt is from:

High-Performance SQL Server DBA
Tuning & Optimization Secrets

ISBN: 0-9761573-6-5
Robin Schumacher

 http://www.rampant-books.com/book_2005_2_sql_server_dba.htm  

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2017 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks
 

Hit Counter