Revert "reverted DBtesting optimizations on Oracle for v.3.7"

This reverts commit 3572315d8ef81363fc6a86df0e704a81b1d48acb.