Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Delete with Cascade
Delete with Cascade [message #2632] Tue, 23 November 2010 08:30 Go to previous message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
I have a couple of tables which have a master/detail relationship and delete integrity set to cascade. I've noticed that if I delete a master record (from a LIST screen) the delete operation can take a long time and even occasionally times out. Typically, there may be 200 - 250 detail rows related to the master row (so not huge numbers).

As far as I know my indexes are all set correctly. Is the performance possibly related to the frameowrk iterating each detail row and deleting it separately?

If so would a better solution be for me to remove the cascade option and manually delete the details rows on deletion of a master row in a single transaction?

Thanks,

Graham
 
Read Message
Read Message
Previous Topic: add another action button to enquire form
Next Topic: grandparent - parent - child link entity
Goto Forum:
  


Current Time: Mon Nov 25 16:08:47 EST 2024

Total time taken to generate the page: 0.00817 seconds