SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Performance problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

msrs
Starting Member

India
32 Posts

Posted - 06/18/2007 :  01:42:19  Show Profile  Reply with Quote
Dear All,

Edited by - msrs on 01/09/2008 03:54:34

Kristen
Test

United Kingdom
22415 Posts

Posted - 06/18/2007 :  02:21:34  Show Profile  Reply with Quote
"it is taking around 20 sec for 41000 records...."

Maybe your network is taking that long to "ship" the 41,000 records across the network?

How long does a
SELECT COUNT(*) FROM VRPT_FIN_GL_SEGMENTSDATA WHERE ...
take?

Kristen

Edited by - Kristen on 06/18/2007 02:21:52
Go to Top of Page

msrs
Starting Member

India
32 Posts

Posted - 06/18/2007 :  02:50:23  Show Profile  Reply with Quote
without where condition it is taking 14 sec
Go to Top of Page

Kristen
Test

United Kingdom
22415 Posts

Posted - 06/18/2007 :  05:23:11  Show Profile  Reply with Quote
Is that 41,000 records, or more?

You need to compare like-with-like, so you should use the same condition as before to get 41,000 records (I don't know if you were using a WHERE condition, or not )

Kristen
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30277 Posts

Posted - 01/09/2008 :  05:29:38  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Or he realized SQL is not his cup of tee and decided to leave the business?


E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000