Looking at the Ad Hoc Trends resource on the Exchange, it supports more multiple SQL flavors, not just MongoDB.
If you don't want to use a database at all, you could probably throw together something simple that saves the config in a session prop on an onShutdown event and loads the config on an onStartup event. This would not persist per user across logins though - for that you'll need to use a database.