what database is Adagio based on