Deleting or emptying sections
A bug in 2.1.2, submitted by Nils on 03 January 2011
Announcement
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
Browse
Closed#458: Deleting or emptying sections
But isn’t that just a PHP/server config issue? Is the thinking here that the system should throttle the process on its own?
Is the thinking here that the system should throttle the process on its own?
I’m not sure but I thought it might be worth discussing.
Another possibility could be to rewrite the delete all-logic to use MySQL’s ability to delete all rows in a table in an instance:
DELETE FROM sym_entries_data_100;
and
DELETE FROM sym_entries WHERE `section_id` = $id;
TRUNCATE TABLE table_name
Truncate operations drop and re-create the table, which is much faster than deleting rows one by one, particularly for large tables.
More information: dev.mysql.com/doc/refman/4.1/en/truncate-table.html
See if this works: https://github.com/symphonycms/symphony-2/pull/85
This issue cannot be solved by simply changing SQL queries. See brendo’s comment here.
Won’t fix for S2.2. Annoying bug, but it’s necessary to maintain compatibility with extensions.
This issue is closed.
It seems like Symphony has a problem with deleting or emptying large sections:
http://www.getsymphony.com/discuss/thread/58421/1/