RE: Bad execution plan after migrating to exadata ( 12c) from non-exadata (11g)
From: <dimensional.dba_at_comcast.net>
Date: Tue, 13 Aug 2019 00:00:12 -0700
Message-ID: <00af01d551a4$c4a03de0$4de0b9a0$_at_comcast.net>
Date: Tue, 13 Aug 2019 00:00:12 -0700
Message-ID: <00af01d551a4$c4a03de0$4de0b9a0$_at_comcast.net>
What specific version of 11g down to patches applied? (opatch lsinventory)
What specific version of 12c on Exadata down to patches applied? (opatch lsinventory)
Did you port the plan baselines/outln data to 12c?
with outline data from 11g(in 12c exa DB)
- cost ~90k, fast, elapsed time about 15 ms.
- doing index range scan on a index on a 2GB table .
12c exadata
- cost ~6k , slower , elapsed time about 4 seconds.
- FTS on the 2GB table and from sql monitor report time is spent on reading it only/processing the hash join on it.
- execution plan is having a view VW_NSO_1
Few details:
1. I have already gathered stats on all tables/indexes 2. Have gathered system statistics with 'EXADATA' 3. Don't have the access to source 11g DB . getting it will take some time.
Will post redacted version of the SQL & the execution plan ( if you prefer to look at it ) as account is very strict about security.
-- Cheers, Kunwar -- http://www.freelists.org/webpage/oracle-lReceived on Tue Aug 13 2019 - 09:00:12 CEST