Databases like to use RAM, and Raspberry Pi doesn't have it much plus it's very slow DDR1. Also a forum means dynamic language which will use CPU to execute. Raspberry Pi won't handle such combo as efficiently as typical shared hosting.
If you would want to use the database from another server then you also need to add the network latency, but you could gain some performance margin (although more data in database the more RAM would be handy for it, when it will start using I/O it will slow down even more).
It would have to be very low traffic forum in short.
You can look also on this:
http://www.raspberrypi.org/forums/viewt ... 36&t=76539