Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Stary
  Where is Stary?
 Ljubljana
 Slovenia
 Stary
 To: Tom Saddul
  Where is Tom Saddul?
 Manila
 Philippines
 Tom Saddul
 Tags
Subject: RE: Slow access to DBF on network
Thread ID: 203810 Message ID: 203860 # Views: 42 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Sunday, November 16, 2008 9:03:19 PM         
   


> This is where SHARED databases slow down in performance.
> You should rethink of using a SQL Server in the backend and VFP in the frontend.
> In this technique, you retrieve only the records you need.

Well, I actually use SQL server in other projects, but I never felt that VFP can't compete with SQL server's speed in accessing database within small multi-user networks.


> SELECT * FROM table WHERE .t.
> is a bad SQL command if you don't need all the records from the table in the workstation.

I agree this is a bad SQL command, but it isn't the point of my problem. I only use it to measure the maximum time for creating the cursor. It is acceptable that it takes a couple of seconds if there is a large DBF with hundred thousands of records. But the real problem is that the second user (and all next users) increase this time to unreasonable duration and I wonder if there is workaround to avoid it.



COMPLETE THREAD
Slow access to DBF on network Posted by Stary @ 11/16/2008 5:17:31 AM
RE: Slow access to DBF on network Posted by Tom Saddul @ 11/16/2008 2:07:09 PM
RE: Slow access to DBF on network Posted by Stary @ 11/16/2008 9:03:19 PM
RE: Slow access to DBF on network Posted by Mike Yearwood @ 11/16/2008 2:32:26 PM
RE: Slow access to DBF on network Posted by Stary @ 11/16/2008 8:35:24 PM
RE: Slow access to DBF on network Posted by Mike Yearwood @ 11/17/2008 3:20:12 PM
RE: Slow access to DBF on network Posted by Stary @ 11/17/2008 9:05:38 PM