SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Table has large amount of Data querry geting delayed


Table has large amount of Data querry geting delayed

Author
Message
mpradeep23
mpradeep23
Old Hand
Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)Old Hand (380 reputation)

Group: General Forum Members
Points: 380 Visits: 408
Hi

We have a table which contains allmost 1 lak to 2 lak of records
querring on that table getting delayed give me idea how to make it faster

Thanks in advance

pradeep
Bhuvnesh
Bhuvnesh
SSChampion
SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)

Group: General Forum Members
Points: 13818 Visits: 4077
mpradeep23 (12/17/2012)
Hi

We have a table which contains allmost 1 lak to 2 lak of records
querring on that table getting delayed give me idea how to make it faster

Thanks in advance

pradeep
simple answer is "optimize your query"

Did you get any benefit from my suggestion certainly no ...same happened with me too as i too hadnt get any kind of help or clue from you question . friend , there could be multiple reason.

..bad indexes ... bad queries.... unwanted columns in queries.. heavy volumned adta manipulation .. your hardware congiguration... other backgrpund processes ..network.. etctetc


to get faster result see link in my signature

-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
Bhuvnesh
Bhuvnesh
SSChampion
SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)

Group: General Forum Members
Points: 13818 Visits: 4077
see this link http://msdn.microsoft.com/en-us/library/ms177500(v=sql.105).aspx

-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
crazy4sql
crazy4sql
SSCarpal Tunnel
SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)

Group: General Forum Members
Points: 4401 Visits: 4514


We have a table which contains allmost 1 lak to 2 lak of records
querring on that table getting delayed give me idea how to make it faster


Time has come to start reading about filegroup and/or archiving/purging. then apply whatever fit best in your environment.

----------
Ashish
anthony.green
anthony.green
One Orange Chip
One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)

Group: General Forum Members
Points: 25588 Visits: 6519
Duplicate post http://www.sqlservercentral.com/Forums/Topic1397177-146-1.aspx

Please follow the link in my signature on posting performance problems.

But have you checked the execution plan, index fragmentation, use of indexes, missing indexes, general troubleshooting steps etc etc etc?



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
When a question, really isn't a question - Jeff Smith
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger


jyuan68
jyuan68
SSC Journeyman
SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)SSC Journeyman (84 reputation)

Group: General Forum Members
Points: 84 Visits: 91
Please provide the table,index structure and T-SQL statement.
saidapurs
saidapurs
Right there with Babe
Right there with Babe (771 reputation)Right there with Babe (771 reputation)Right there with Babe (771 reputation)Right there with Babe (771 reputation)Right there with Babe (771 reputation)Right there with Babe (771 reputation)Right there with Babe (771 reputation)Right there with Babe (771 reputation)

Group: General Forum Members
Points: 771 Visits: 414
Hi Pradeep,
My advice is, first you check the table structure and then check the query execution plan. It will help to which column is using more.

Satish
rhythm.varshney
rhythm.varshney
SSC Veteran
SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)SSC Veteran (258 reputation)

Group: General Forum Members
Points: 258 Visits: 195
mpradeep23 (12/17/2012)
Hi

We have a table which contains allmost 1 lak to 2 lak of records
querring on that table getting delayed give me idea how to make it faster

Thanks in advance

pradeep


Hey Pradeep,
As mentioned by Bhuvnesh, if you need help ,please provide more info like table DDL, sample records,query you are using, index on columns etc. Infact the more info you'll provide the better solution you'll get here.

Anyway some folks have provided the urls for optimization on this forum.Please refer those.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search