Probably because its doing a account each time.

Do this

Select * from tablex where recno() > 600000

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Jean Haidar
Sent: Monday, September 09, 2013 4:52 PM
To: [email protected]
Subject: Slow on Reccount

one of  our developer is  experiencing long delays when running this Select
Statement

Select  *  from  TableX where reccount() > 600000

I looked at table Record count under Data  Session and it is showing about
798,000 records.

as I understand that VFP uses  Rushmore Query Optimization to Speed Data
Access for  RECCOUNT


Why the  RECCOUNT comamnd is taking more than 10 minutes.


the tables are stored  under Citrix Servers ( NAS) Directories..



 
Thanks,
Jean Haidar


--- StripMime Report -- processed MIME parts --- multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to