Simplify mem-db example