Quote:
Originally Posted by Azure
So what changed?
|
Nothing, I killed the process I was running.
If you want the dirty details, the post table in the database has a field to store the IP address for each post. This is useful in one way because I can check new registrations' IP addresses against existing posts to see if there's a match.
The problem is now with millions of posts, this query can take a bit to run, like 15-20 seconds, and when it's doing that the whole forum tends to freeze up.. so approving accounts actually impacts the forum.
So I was going to add an index on that column which would make the query a lot faster.
Unfortunately since it's so big, it ate up all the temporary disk space. Which isn't a big deal, the process will still complete, but it'll take orders of magnitude longer, so instead of 10 minutes maybe 100 or 1000 minutes.
I'll just wait until I do a forum software upgrade.