Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server slower than VFP?
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
SQL Server slower than VFP?
Miscellaneous
Thread ID:
00250319
Message ID:
00250319
Views:
52
Hello!
I have a table setup in a SQL Server 7.0 database with 1.5 million records. Doing a very simple query, on an indexed field, in the Query Analyzer on the server machine itself, seems very slow. -Considerably slower than running the same query on a VFP table on the same machine. I'm talking about 27 seconds for a return of 12,000 records from a query like:

SELECT MyField FROM MyDBC.dbo.MyTable WHERE MyField = 'MyValue'

There is an index on MyField.
The statistics report usually shows about 23 logical reads.

There has to be something I'm doing wrong. Any suggestions would be very appreciated!
Mark
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Next
Reply
Map
View

Click here to load this message in the networking platform