RE: dbms_xplan and Statspack 12c oops
From: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Tue, 5 Jan 2016 16:33:09 +0000
Message-ID: <43D812FCDBAB8948B2F14F61C4B1CD0AFE5E05E0_at_SMXC001.trivadis.com>
Hi Uwe
Date: Tue, 5 Jan 2016 16:33:09 +0000
Message-ID: <43D812FCDBAB8948B2F14F61C4B1CD0AFE5E05E0_at_SMXC001.trivadis.com>
Hi Uwe
> ==> Quick, dirty and most certainly unsupported workaround:
>
> alter table stats$sql_plan add (timestamp date);
My advice is to make what you propose less dirty... i.e.:
ALTER TABLE perfstat.stats$sql_plan ADD timestamp INVISIBLE AS (cast(NULL AS DATE))
I don't see how adding such an invisible virtual column could cause a problem.
HTH
Chris Antognini
Troubleshooting Oracle Performance, Apress 2008/2014 http://top.antognini.ch
†Ûiÿü0ÁúÞzX¬¶Ê+ƒün– {ú+iÉ^ Received on Tue Jan 05 2016 - 17:33:09 CET