Database Problems and the "fix"

Hescominsoon

CGA\TOJ Hosting Manager
For about a month or so now I have been noticing performance issues with the forums. It started with me noticing large cpu spikes on an hourly basis. After weeks of troubleshoting i found out it was one certain query. This query goes thorugh and deletes deleted pm's. See when you delete a pm in vbull it's not actually deleted..it's just marked as such. the garbage cleaning script comes through every hour and removes the deleted entries. However this query has been hanging the server for long periods(about 10 minutes) while not producing any errors or results. I then got vbulletin support involved. after them telling me it was our server being messed i then proceeded to prove them wrong by copying the database, loading into another server, and running the same query. It produced the exact same results. I finally had to file a bug report and it turns out it's a known design flaw.

So how do we fix it? I have to shutdown the pm system, manually clear all the pm tables of all data(this erases them) and then bring the pm system bakc online. There is a way to backup your pm's:

go into your pm area.
select all the messages in whatever folder you want to backup
then at the bottom right you can delete them, or save them as xml, csv or txt.

I will be clearing hte affected database tables on sept 26/27. When i start this process i will turn off the pm system. It will remain off until the cleanup is completed. The rest of the forums will remain active.
 
Last edited:
So how do we fix it? I have to shutdown the pm system, manually clear all the pm tables of all data(this erases them) and then bring the pm system bakc online.
/cry

I know this is the only way to fix the problem (believe me, I think I asked Hescominsoon if there was another way about four times), but MAN I don't like it.

Ironically, I'm the one who had to approve the measures and I'm probably the one who's going to grumble about it the most.
 
Thanks for the warning. Here's hoping the working goes smoothly.

The unenviable (but appreciated) job of forum admin. :)
 
This thread still makes me sad. I know we have to clear out the PMs to fix the forums, but...

;_;
 
I recieved the Email about the PM wipe today, I go to the link, read, click to backup my pm's and it is too late, but thanks for the email :p
 
Back
Top