Fast, lightweight in-memory/hybrid database