database storage interface