Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Table has large amount of Data querry geting delayed Expand / Collapse
Author
Message
Posted Monday, December 17, 2012 12:16 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, July 17, 2014 5:46 AM
Points: 68, Visits: 293
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
Post #1397108
Posted Monday, December 17, 2012 3:27 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 1:45 AM
Points: 2,836, Visits: 3,952
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
Post #1397183
Posted Monday, December 17, 2012 3:29 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 1:45 AM
Points: 2,836, Visits: 3,952
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
Post #1397185
Posted Monday, December 17, 2012 4:05 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 8:47 AM
Points: 880, Visits: 4,082


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
Post #1397193
Posted Monday, December 17, 2012 4:17 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 5:51 AM
Points: 5,142, Visits: 4,937
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
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

Post #1397195
Posted Monday, December 17, 2012 8:57 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, March 18, 2014 2:45 PM
Points: 26, Visits: 91
Please provide the table,index structure and T-SQL statement.
Post #1397530
Posted Tuesday, December 18, 2012 12:05 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, May 29, 2013 8:06 AM
Points: 167, 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
Post #1397580
Posted Tuesday, December 18, 2012 12:58 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, September 19, 2013 4:30 AM
Points: 78, 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.
Post #1397591
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse