Query behavior after upgrade from 12.1 to 18c
Oracle 12.1.0.2 SE2 and Oracle 18c SE2, both on the same OL6 server
Oracle Restart/Standalone ASM 18c.
Am in the midst of regression testing an upgrade from 12.1.0.2 to 18c. Both databases on same server. Both duplicated from 12.1.0.2 production (rman DUPLICATE DATABASE FROM BACKUP). One still at 12.1.0.2, same as prod. Call it STG. The other has been upgraded to 18c. Call it DEV. This is primarily a DW application.
Testing turned up a query that completes in a few seconds in the 12.1.0.2 STG database, but in the 18c DEV, it always runs so long we end up killing it. Let it run for 40 minutes one time. The query is actually in a cursor driving a data load.