« Older | Newer » Web site design:

Forums search on UKClimbing

by Nick Smith 10th November 2008

Example page from UKC UKClimbing.com has always had a very efficient and fast design, but as the popular forums have got more and more busy, the database behind the forums has grown to over 3 million messages and 2Gb+ of data.

We recently split the database into more manageable chunks - most activity is done on threads from the last 6 months (still 240,000 messages!). That 120Mb table changes every few seconds, but can be cached in memory on the server, and is very fast.

Older threads are split into separate tables of approximately 240Mb (plus another 140Mb of indexes) each, and we use the MySQL MERGE table facility to work on the entire set of threads, if required. These older thread tables change far less frequently, and are much easier to back up.

At the same time we've dramatically improved the quality and speed of the forums searching facility:

Read more: UKC Search Forums
Permalink | Quiklnk | Email