Hello, you are not logged in.  Login or sign up
Community >> Blogs
  Search

Do you have a topic that you'd like discussed?  We'd love to hear from you.  Send us your idea for a blog topic.

Richard To's Blog
 
Author: RichardTo Created: Monday, October 30, 2006 2:28 PM
Solving problems in your SQL code, tune queries, and share new tips, tricks, and techniques

Let me give you a hint on using database Optimization Hints - Part Three
RichardTo Friday, July 27, 2007 7:49 AM

Be sure to read

Comments (0) Read More...

Let me give you a hint on using database Optimization Hints - Part Two
RichardTo Friday, July 20, 2007 9:03 AM

To read part one in this series on O ...

Comments (0) Read More...

Let me give you a hint on using database Optimization Hints - Part One
RichardTo Friday, July 13, 2007 2:12 PM
Should you use Optimization Hints?
The use of Hints in your SQL statements will fix the execution plan so that Oracle Optimizer will not switch to a better (or a worse) execution plan when the database environment changes. Therefore, many people say, we should use H ...
Comments (0) Read More...

Quest Recursive SQL Transformation Technology
RichardTo Wednesday, June 20, 2007 4:58 AM

Quest Recursive SQL Transformation technology is an innovative AI technology that simulates human SQL transformation technique. It incorporates a set of transformation rules to transform SQL statements on a section-by-section basis. This replaces the trial and error method used by human to rewrite the syntax of a SQL statement. Each t ...

Comments (0) Read More...

From SQL Optimization Hints to Plan Instructions
RichardTo Wednesday, May 02, 2007 7:05 AM
Most database vendors provide optimization hints which enable a user to influence the decision the database SQL optimizer will make when determining which execution plan it will choose. Oracle provides a full set of optimization hints to help users to rectify an i ...
Comments (0) Read More...

Is SQL Optimization an Unsolvable Problem?
RichardTo Monday, April 02, 2007 12:27 PM

In

Comments (0) Read More...

Dummy SQL Transformation Rules?
RichardTo Thursday, March 01, 2007 10:33 AM

I have been asked many times that why there are some dummy SQL transformations/rewrites that look meaningless, but it works in certain situations.  Let me give you some examples that may help to explain what theory on behind of Quest SQL Optimizer.

Comments (0) Read More...

Transformation Rules Relating to Index Usage
RichardTo Friday, February 09, 2007 8:25 AM

In Quest SQL Optimizer, transformation rules relating to index usage are designed to guide the database SQL optimizer as to how it should use the indexes for a specific SQL statement.  Although those rules may familiar to most of SQL developers, but it is still worth to illustrate some commonly used rules for SQL beg ...

Comments (0) Read More...

How to control many table join
RichardTo Wednesday, January 03, 2007 3:42 PM
In my last blog, I use two tables join to illustrate the simple path control, now let’s use a three table join SQL statement to demonstrate a more complicated scenario. Let’s assume that A.key, B.key and C.key are all indexed.
Comments (0) Read More...

How to Control Two Tables Join Path?
RichardTo Thursday, December 07, 2006 3:06 PM

In old version of Oracle database, it is easy to control the join path by reordering the tables in table list after the FROM clause, but it is getting difficult to control the join path in today’s cost based SQL optimizer, I am going to introduce method that is applicable in most databases such as Oracle, Sybase, DB2 and SQL Server in the following:

To control a join path, we cannot tell the database SQL optimizer which path is the best one to select. Instead, we add something to the syntax of the SQL statement that causes an increase to the cost of the current join path selected by database SQL optimizer. Let’s take a look at the following example of two table join scenarios.

Comments (0) Read More...

Search Blog Entries
 
Copyright 2008 by Quest Software  | Terms Of Use | Privacy Statement | Contact Us