How did you make sure it was 100% the same query? CPE significantly modifies the SQL to what you would think it should be.
The only way is to activate database tracing , find the relevant statement in the convoluted output and try that...
If you did that and it is still fast chances are your pool size is too small, but then the query would be fast after a restart...
BR,
/Gerold
#FileNet#Support#SupportMigration