When comparing SQLite vs MariaDB, the Slant community recommends MariaDB for most people. In the question“What are the best relational databases?” MariaDB is ranked 2nd while SQLite is ranked 3rd. The most important reason people chose MariaDB is:
e.g. GIS since 5.3
Ranked in these QuestionsQuestion Ranking
Pro Great language support
An SQLite database is a single ordinary disk file that can be located anywhere in the directory hierarchy. It works by sending requests to a single file where all the data is kept instead of communicating with a hosted database which gives access to an interface by making use of sockets and ports. The file format used is also cross-platform, so can easily be migrated to various machines.
This makes SQLite extremely portable throughout different applications, all that's needed to transfer the whole database is to make a copy of the file.
SQLite is also only 350KiB in size.
Pro Not unnecessarily fiddly
Pro Great for testing and first stages of development
Because of it's ability to scale and with the portability that a single-file database gives you without losing much of the power and features that SQL gives developers, it's a great choice for testing applications and for the early stages of development when the workload and the data that needs to be stored is not that large.
Pro Zero configuration
There is literally no configuration required to get SQL lite up and running. This is mainly due to SQLite being serverless, there is no separate server process to install, setup, configure, initialize, manage, and troubleshoot.
SQLite is largely self-contained. It requires very minimal support from external libraries or from the operating system.
With less complication, there is less to go wrong.
Pro More cutting edge features
e.g. GIS since 5.3
Pro Dynamic column support
MariaDB has dynamic column support which allows for some NoSQL type functionality. So one database interface can provide both SQL and NoSQL for different software development needs.
Pro Truly open development community
All development decisions for MariaDB can be reviewed and debated on a public mailing list or in the public bug tracker. Contributing to MariaDB is easy and the patch flow is fully transparent and public. But it's not all about the code contribution either - MariaDB also has very active documentation efforts and other related things that help developers in their day-to-day database administration.
Con Some SQL features are missing
SQLite is made to be extremely lightweight and portable, but it still uses SQL. However, some SQL features such as
RIGHT OUTER JOIN and
FOR EACH STATEMENT are missing.