database usage and content provider