get db proxies optimization