Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > SQL Language
| Search | Today's Posts | Mark Forums Read
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 28th, 2006, 05:00 AM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default query tuning using DBMS_STATS

Hi,
   Can anyone give me tips how to tune the following query by using DBMS_STATS package in oracle - 9i.

SELECT a.customer_id , a.customer_code custCode
FROM A a ,B b
WHERE ROWNUM < 1000
AND a.Country_code = 'US'
AND UPPER(b.first_name) LIKE (:QueryStrFN)
AND (a.is_master = 'Y' OR a.is_master IS NULL)
AND b.customer_id = a.customer_id
ORDER BY custCode

Or else give me any other suggestions ASAP.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Performance Tuning vikaspatyal ASP.NET 2.0 Professional 3 October 23rd, 2007 07:32 AM
performance tuning of asp.net web application swati_joshi ASP.NET 1.0 and 1.1 Basics 3 July 24th, 2006 09:42 AM
performance tuning of asp.net web application swati_joshi ASP.NET 1.0 and 1.1 Professional 1 July 14th, 2006 08:46 PM
query tuning ramanadyv SQL Language 1 April 5th, 2006 12:12 AM
Performance Tuning rekha_jsr Excel VBA 0 August 31st, 2005 05:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.