Shared and instance db connections