Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Takes long to open DB
Message
From
08/05/2001 08:42:09
 
 
To
08/05/2001 06:20:56
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00504604
Message ID:
00504640
Views:
15
Hi!

Because VFP reads all information about views and tables into the memory. The more views you have in the database, for example, the slower database opening is. That is why read-only views are not recommended in the application, use direct query to tables instead (or SQL Pass-Through functions to send query to server if this database is for remote views). Try also to pack database (Cleanup it from menu when modifying, you require to open it when SET EXCLUSIVE is ON).

HTH.

>Morning
>
>Why does it take a second or two to open a Database - especially slow when accessing from a Server?
>
>Thanks
>Kev
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform