Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > SQL Language
|
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
 
Old November 28th, 2006, 08:11 AM
Authorized User
 
Join Date: Oct 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default Slow Query Execution

HI FRNDS,

          I have one database with 10 lacs records. But the problem is that when I am searching one particular data, it is taking few seconds to search. Is there any way to reduce this time???

Thanks in advance...


 
Old November 30th, 2006, 07:35 AM
Authorized User
 
Join Date: Sep 2006
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi ,
1) Have u used Index. U can index the colum which u use in ur where condition.
2) are u using Stored Procedure . Do it if not.

If still it runs slow. We must look at other options







Similar Threads
Thread Thread Starter Forum Replies Last Post
Execution Plan of a Query asuni SQL Server 2005 0 August 6th, 2008 03:42 AM
Select query execution rashi Access VBA 4 November 2nd, 2007 08:50 AM
Slow Query Execution prasanta2expert SQL Server 2000 1 November 28th, 2006 09:58 AM
Query execution error chayanvinayak PHP Databases 0 May 3rd, 2006 05:30 AM
Slow Speed In Query Amanjain75 SQL Server 2000 1 December 12th, 2005 10:47 AM





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