Hi all,
I'm very sorry if this is very vague but i'm about at my wits end.
I am comparing a very intensive query in 11g vs 12c and getting very different results.
In 11g, the response is approximately 6 seconds (not hitting cache).
In 12c, the response is approximately 214 seconds (not hitting cache).
The environments are set up exactly the same.
The only difference is 12c has 32gb of memory allocated to bi-server whereas 11g has 8gb.
Looking at the session details and it looks like the SQL generated is a little different in 12c (adding distinct to some select statements where 11g doesn't for example).
It also looks like the majority of time is spent in BI Server and not in the DB (query has a lot of unions).
Does anyone have a suggestion on how I could start diagnosing this one? I've been at it all day and am yet to have any sort of breakthrough.
Thanks.
Adam