You are here

What is the right database for me?

GNUnet supports three databases, sqlite, MySQL and Postgres. Which of these should I use?


If you are not experienced with databases or GNUnet, you should stick to the default which is sqlite.

Postgres has the advantage of being a "real" database which has some security, reliability and availability advantages, especially after system crashes. However, Postgres is currently slower than both sqlite and MySQL and requires some additional manual configuration.

The mysql module requires configuration of the MySQL database, which can seem complicated for those unfamiliar with system administration. mysql has good performance and recovery after failures is likely more reliable than with sqlite. While it is significantly faster, it is also more difficult to install than any of the alternatives.