Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete lots, slow cascade
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00189428
Message ID:
00190076
Views:
17
Hi, Bret-

I really don't know the answer to your question. It could be that it would more efficient for you to write your own cascade delete in this--at least to experiment.

The RI is general purpose...and, in my experience, the more general purpose something is, the more code it has that's not needed for a specific case. So, of course, the trade off must be weighed.

Is it a straight delete in the child tables that you need? They aren't related with RI to any tables themselves? If that's the case then perhaps a combination of table buffering and transaction processing is all you need?

>When I leave table1 related to just one of the children, the DELETE FROM table1 takes 15 or 20 minutes

...snip
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform