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
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1008 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
SSC-Dedicated
SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)

Group: General Forum Members
Points: 32558 Visits: 4079
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
SSC-Dedicated
SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)SSC-Dedicated (32K reputation)

Group: General Forum Members
Points: 32558 Visits: 4079
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
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10774 Visits: 4556


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
SSC Guru
SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)

Group: General Forum Members
Points: 63262 Visits: 8598
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?



How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger


jyuan68
jyuan68
SSC Veteran
SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)

Group: General Forum Members
Points: 212 Visits: 91
Please provide the table,index structure and T-SQL statement.
saidapurs
saidapurs
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1863 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
SSChasing Mays
SSChasing Mays (600 reputation)SSChasing Mays (600 reputation)SSChasing Mays (600 reputation)SSChasing Mays (600 reputation)SSChasing Mays (600 reputation)SSChasing Mays (600 reputation)SSChasing Mays (600 reputation)SSChasing Mays (600 reputation)

Group: General Forum Members
Points: 600 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