Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to organize tables
Message
From
27/10/2005 10:51:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01061776
Message ID:
01062629
Views:
20
>In my previous job we have separate databases for Lookup tables, Support tables. We also splitted data by state, e.g. we have MA.dbc, RI.dbc, CT.dbc and NH.dbc
>
>At my current work we have one huge database with lots of tables. Even stage tables are included into the same database. I would probably separate stage tables from the work tables to different databases.

I have done this sort of splitting only once - but that was back in 2.6 and we were really pushing the limits of Fox and the network then. I had split the patient's archives by year of birth, but that was just to reduce the amount of data pulled over the network.

In your opinion, is there an overhead when there's many tables in a dbc? I figure VFP reads one table at a time from it, and since the dbc is just another indexed table, it should get the data very quickly. If you have multiple dbcs, it should take some time to run whatever code there is to select the particular dbc to which the table belongs, and each dbc would need to have its own buffers. So, each way has its ups and downs. I expect the speed gain (if any) would be marginal, so the reason may rather be in the ease of coding, rather than speed.

So, I'd like to hear your experiences, since you've done both.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform