BZ1014071 - DataModelOracle: Performance issues when model is large

(cherry picked from commit 711b69ef54807aaa1f867d3ab6bfe67baa02cd28)