SQL Performance (MOSC)

MOSC Banner

Slow select in RAC environment when using exactly 101 and 201 bind variables

edited Nov 27, 2019 3:12PM in SQL Performance (MOSC) 2 commentsAnswered

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center