Split hosts and databases