cache translated sql statements