Slow select in RAC environment when using exactly 101 and 201 bind variables
We have a small testapplication that can holds a simple select using different number of bind values. Normally this query runs in a few milliseconds, but jumps to about 1s when we have exactly 101 and 201 bind values. Using 100, 102 or 200 or 202 och even 301 bind values and the query finishes in just a few milliseconds.
Very strange.
We are using Oracle 12.2 RAC. Cannot get exact subversion just now, will update when I'm connected to the production environment.