Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database Design 800 Pound Gorilla
Message
From
29/04/2004 09:35:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
28/04/2004 21:45:38
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00899183
Message ID:
00899305
Views:
13
If RI is the main problem, take a look at the free TaxRI download (search the download section for "builder"). Its code uses about 1/10 of the space of the one created with the built-in VFP RI-builder; it might also be faster, although that was not relevant in my case.

Do the testing on a COPY of your database; it is easy to change to TaxRI, but more difficult to switch back.


As to the database design, you may want to check whether some of the 250 tables have similar structures, and combine them. This may, or may not, be possible.

>I have an application tracking social services delivery that has about a dozen modules for a wide variety of purposes, but they all focus on a single entity, the “client.” Consequently, the data design is a single DBC with many tables that have a persistent relationship to a “client_id” field that is used for RI, primarily cascading deletes.
>
>The problem is it has grown into a monster. There are over 250 tables, and managing the whole thing in VFP’s Database Designer is a bear simply because of the physical on-screen size, number of tables, and a massive spaghetti bowl of relationship lines. Changing RI code takes forever, and the whole thing makes me very nervous. Now I need to add a new module, and I dread adding yet more tables to this DBC, but they still need to reference that base “clients” table.
>
>What’s your opinion on the best way to handle this? Should I just forge ahead with the current database, and hope the whole thing holds together, go to another tool like xCase, break it out into separate databases and write a bunch of convoluted, home-brewed RI code to handle cascading deletes, or something else I haven’t even thought of? Any suggestions from someone who has “been there” would be appreciated.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform