Topic: SQLite vs MySQL or PostgreSQL
I currently have a FluxBB 1.2.21 installation using SQLite.
When setting up the forums, I did not have access to MySQL or PostgreSQL databases. However, now I do.
My first question is is it worth switching over?
I know that SQLite can suffer from write starvation if too many users are accessing the forums.
Basically, what are the pros/cons of using the various databases for FluxBB?
Form what I can tell:
SQLite is "self-contained" so there are less places things can go wrong, but it cannot write if there is always something locking the database reading.
MySQL/PostgreSQL does not suffer from that problem?
Also I want to balance the administration complexity, and I feel that MySQL/PostgreSQL may be slightly more complicated.
While I can probably handle them, I want to unsure that the people after me can run the forums easily. In fact, that was one of the reasons I chose FluxBB.
Then there is the speed issue. Currently I've only invited a few users to test it out and it isnt that busy yet. It doesn't seem too slow, but its isn't all that snappy either (this may just be the server itself? Or is this from SQLite?). I expect a fair amount of additional users once I officially announce it to our club, and I'd like to pick a final DB before I do this.
So would my choice of DB affect the speed significantly? If so, how? And which one is "best"?
Since I'm not a database wizard, and I don't really have much experience running a forum so I seek your collective expertise.
My second question would be how do I convert it?
I would assume I need to just change settings in config.php and move the database by dumping it to an SQL file and then importing that into the other database.
But I guess I'll cross that bridge when I come to it. First I'd like to make an informed decision about what database to be using.
Thanks for any help you can give me and sorry if this is a lot of questions!
Last edited by meep (2009-05-23 06:24:53)