Consider a vBulletin forum with about 500,000 posts 10,000 members and about 100 online at any time - like one of mine. (It's on my own server, not shared hosting.) I'm having a problem with some queries running slowly and making the board unavailable for a few seconds at a time or longer. Should indexing of the MySQL tables be necessary for a forum of this size? What's your experience?
what version of vb are you using what mods do you have installed what are some specs on your server a site of that size shouldn't run slow
Thanks Loco.M 3.7.6 Patch Level 2 Hardly anything. Just three plugins that shouldn't affect anything - Advanced Reputation Checks, Analytics in Archive and Archive Adsense. 1 Xeon CPU Core 1024MB Memory
How did you know that, did you enable slow query log? If not then do so. How many pages you serve daily? There are number of ways to optimize high traffic sites/forums e.g. identify slow queries and optimize them (either by creating indexes or rewriting them), applying cache (memcached, APC) and serving static content from a different web server like lighttpd with a subdomain like images.yourdomain.com. In your case, initially you can go for database indexes, serving images from different web server and tune MySQL server configuration (my.cnf). It depends on the table size and the number of rows scanned by queries.