read configurations from db and not pset as per request of ALCA gruop

include also the change in the pull request #6328