control database