I'm using IDfQuery.execute() to run a DQL query that is expected to return ~14m results. This is on a D6.7 docbase with an Oracle DB. I'm trying it with "ENABLE(RETURN_TOP limit)" hint in order to try to improve performance. When I set the limit to 999,999, the query returns within a few minutes without a problem. But when I increase the limit to 19,999,999 in order to try to get the complete result set, I immediately get DM_SESSION_E_DEADLOCK exception every time. Am I exceeding some upper limit for the RETURN_TOP hint?