Hi
we have a main table that has many tables coming off it (e.g. 1000 tables), each table has a fk reference with 'on update cascade on delete cascade'
when we delete anything from the main table it takes a very long time to delete.
We understand this is due to the amount of tables it has to cascade down to but is there any way to opimise this?
thanks
we have a main table that has many tables coming off it (e.g. 1000 tables), each table has a fk reference with 'on update cascade on delete cascade'
when we delete anything from the main table it takes a very long time to delete.
We understand this is due to the amount of tables it has to cascade down to but is there any way to opimise this?
thanks