a lightweight sql database with key-value compatibility