database usage refinements