Print Thread
Page 1 of 2 1 2
Incorrect Explain Plan (12c and adaptative plans)
#54173 11/10/16 10:53 AM
Joined: Mar 2009
Posts: 32
M
mamv Offline OP
Member
OP Offline
Member
M
Joined: Mar 2009
Posts: 32
The new explain plans after upgrading to 12c were driving me crazy, but after some reading and debugging I found out that PL/SQL Developer is showing inactive steps from the adaptative plan.

Example:

[Linked Image]

The Hash join doesn't make any sense.

Using the dbms_xplan.display_cursor(format => 'allstats last adaptive') I get:

[Linked Image]

Where we can see that the Hash Join is inactive, so PL/SQL Developer is incorrectly showing the inactive steps.

Hope you fix this in the next release.

Regards,
Manuel

Re: Incorrect Explain Plan (12c and adaptative plans)
mamv #54174 11/10/16 10:59 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
Thanks for reporting this. We'll investigate.


Marco Kalter
Allround Automations
Re: Incorrect Explain Plan (12c and adaptative plans)
Marco Kalter #54487 11/24/16 09:35 AM
Joined: Aug 2011
Posts: 339
T
Member
Offline
Member
T
Joined: Aug 2011
Posts: 339
Can this be fixed in a PSD 12 Beta?

Re: Incorrect Explain Plan (12c and adaptative plans)
T-Gergely #54493 11/24/16 10:03 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
Yes, it's on the list.


Marco Kalter
Allround Automations
Re: Incorrect Explain Plan (12c and adaptative plans)
Marco Kalter #54990 12/13/16 01:31 PM
Joined: Aug 2011
Posts: 339
T
Member
Offline
Member
T
Joined: Aug 2011
Posts: 339
It's still the same in PSD12B5

Re: Incorrect Explain Plan (12c and adaptative plans)
T-Gergely #55184 01/02/17 12:12 PM
Joined: Aug 2011
Posts: 339
T
Member
Offline
Member
T
Joined: Aug 2011
Posts: 339
It's still a problem in PSD12B6.

Re: Incorrect Explain Plan (12c and adaptative plans)
T-Gergely #55255 01/05/17 04:19 PM
Joined: Aug 2011
Posts: 339
T
Member
Offline
Member
T
Joined: Aug 2011
Posts: 339
It's still a problem in PSD12B7.

Re: Incorrect Explain Plan (12c and adaptative plans)
T-Gergely #55496 01/23/17 02:37 PM
Joined: Aug 2011
Posts: 339
T
Member
Offline
Member
T
Joined: Aug 2011
Posts: 339
Marco?

Re: Incorrect Explain Plan (12c and adaptative plans)
T-Gergely #55616 02/01/17 01:35 PM
Joined: Feb 2006
Posts: 619
Sao Paulo, Brazil
G
Member
Offline
Member
G
Joined: Feb 2006
Posts: 619
Sao Paulo, Brazil
I work a lot with performance tuning. We're not upgrading to 12c until October, but if this issue remains until then, I'll have to look for another tool for the first time in 21 years.


There are 10 types of people: those who know binary and those who don't.
Re: Incorrect Explain Plan (12c and adaptative plans)
Gustavo #55638 02/02/17 09:54 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
We have not yet been able to find a method to determine from the plan_table column contents that a step is inactive.


Marco Kalter
Allround Automations
Page 1 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.053s Queries: 15 (0.026s) Memory: 2.5560 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-04-30 03:21:29 UTC
Valid HTML 5 and Valid CSS