Common tasks for database management