|
From: SJ.Stanaitis <sst...@dp...> - 2007-02-02 13:21:12
|
(Accidentally posted with wrong subject earlier) I had set up a script on my Slackware box to re-assign tickets older than 1 year to a specific Archive user, as I discovered that either due to performance issues on my system or MM when an active user gets a LARGE number of tickets (say over 20K) the entire system would slow down. Long story short, the script ran the other night, or tried to, and now MM is CRAWLING. The queries still go through without error, but the PSQL database is taking its sweet time to respond. I'm running PSQL 8.0.6 and MM 2.0.9. Awhile back I had inquired as to how I might delete tickets from the database manually, and did not receive a response so I used the following query: DELETE FROM mm_ticket WHERE date_closed LIKE "200x- %"; Now I've discovered that while the mm_ticket table gets updated, and the tickets are no longer displayed, the messages are still stored in the mm_message table. Could that be part of the speed issue, all those un-linked messages? Is there any way to sync up the two tables, or export the active tickets, wipe the tables, and restore them? Thanks, Sam SJ.Stanaitis - Network Administrator Decorative Product Source E-commerce Network |