Statement is getting very slow with same explain
Hello Community,
Maybe some of can help me.
We have a statement on one of our production databases which takes 7-10 ms normally, and just a few seconds later the statements takes 50-100 ms with the same data and same exection plan.
This is a good run:
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- ---------------------------------------------------
0 0 1 SORT ORDER BY (cr=10492 pr=0 pw=0 time=44830 us cost=76 size=301 card=0)
0 4 189 HASH GROUP BY (cr=10492 pr=0 pw=0 time=44807 us cost=76 size=301 card=0)
0 31 1512 NESTED LOOPS OUTER (cr=10492 pr=0 pw=0 time=44726 us cost=70 size=301 card=1)
0 31 1512 FILTER (cr=10372 pr=0 pw=0 time=44227 us)
0 31 1512 MERGE JOIN OUTER (cr=10372 pr=0 pw=0 time=44186 us cost=68 size=298 card=1)
0