Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from puck1183.startdedicated.com (localhost [127.0.0.1])
 by puck1183.startdedicated.com (Postfix) with ESMTP id CDE2C1961232
 for <oracle-l@orafaq.com>; Tue,  9 Sep 2014 14:28:57 +0200 (CEST)
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by puck1183.startdedicated.com (Postfix) with ESMTP
 for <oracle-l@orafaq.com>; Tue,  9 Sep 2014 14:28:57 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D9F202F35D;
 Tue,  9 Sep 2014 08:28:55 -0400 (EDT)
X-Virus-Scanned: Debian amavisd-new at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id EPgEPcn8dgAS; Tue,  9 Sep 2014 08:28:55 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 002222F29E;
 Tue,  9 Sep 2014 08:28:14 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 09 Sep 2014 08:27:34 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7977B2F174
 for <oracle-l@freelists.org>; Tue,  9 Sep 2014 08:27:33 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id iajDhUmhvxuE for <oracle-l@freelists.org>;
 Tue,  9 Sep 2014 08:27:33 -0400 (EDT)
Received: from mail1.bemta3.messagelabs.com (mail1.bemta3.messagelabs.com [195.245.230.165])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id DD9672EFEF
 for <oracle-l@freelists.org>; Tue,  9 Sep 2014 08:27:10 -0400 (EDT)
Received: from [85.158.137.3:21064] by server-5.bemta-3.messagelabs.com id 45/68-30889-D12FE045; Tue, 09 Sep 2014 12:27:09 +0000
X-Env-Sender: John.Hallas@morrisonsplc.co.uk
X-Msg-Ref: server-2.tower-38.messagelabs.com!1410265447!25653270!17
X-Originating-IP: [91.208.239.183]
X-StarScan-Received:
X-StarScan-Version: 6.11.3; banners=morrisonsplc.co.uk,-,-
X-VirusChecked: Checked
Received: (qmail 3537 invoked from network); 9 Sep 2014 12:25:39 -0000
Received: from unknown (HELO tlsmail1.morrisonsplc.co.uk) (91.208.239.183)
  by server-2.tower-38.messagelabs.com with RC4-SHA encrypted SMTP; 9 Sep 2014 12:25:39 -0000
Received: from EXCH1.morrisonsplc.co.uk ([10.3.221.7]) by
 wmm9999hts001.morrisonsplc.co.uk ([10.3.221.25]) with mapi; Tue, 9 Sep 2014
 13:25:07 +0100
From: John Hallas <John.Hallas@morrisonsplc.co.uk>
To: "jeremy.schneider@ardentperf.com" <jeremy.schneider@ardentperf.com>,
 Oracle-L <oracle-l@freelists.org>
Date: Tue, 9 Sep 2014 13:25:06 +0100
Subject: RE: sysaux purge problems
Thread-Topic: sysaux purge problems
Message-ID: <EC65ECF8123FEE4D8FC5B212637C304001667B5F1A27@EXCH1.morrisonsplc.co.uk>
References: <CA+fnDAbD4=SXhW+A1JjrKvR62Yqjmhr_27qZw-jXxmyS7PXNsA@mail.gmail.com>
In-Reply-To: <CA+fnDAbD4=SXhW+A1JjrKvR62Yqjmhr_27qZw-jXxmyS7PXNsA@mail.gmail.com>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-GB
Content-Type: multipart/alternative;
 boundary="_000_EC65ECF8123FEE4D8FC5B212637C304001667B5F1A27EXCH1morris_"
MIME-Version: 1.0
X-archive-position: 56272
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: John.Hallas@morrisonsplc.co.uk
Precedence: normal
Reply-To: John.Hallas@morrisonsplc.co.uk
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:mark.bobak@proquest.com>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
--_000_EC65ECF8123FEE4D8FC5B212637C304001667B5F1A27EXCH1morris_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Have a look at the comments on a recent blog entry of mine  - This was rel=
ated to a 11.2.0.4 database but it did seem to be a bug
Sorry I have not got more time to investigate myself - just tidying up my =
Oracle-L folder and I noticed this
http://jhdba.wordpress.com/2014/07/09/tidying-up-sysaux-removing-old-snaps=
hots-which-you-didnt-know-existed/

John

From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org]=
 On Behalf Of Jeremy Schneider
Sent: 05 September 2014 18:36
To: Oracle-L
Subject: sysaux purge problems

I've reviewed the various MOS docs and bugs related to sysaux purge proble=
ms already.  I'm just wondering if anyone else out there has specifically =
seen inconsistencies where it seems that the AWR is purging fine except fo=
r only the ASH table?  Or where DBMS_STATS.GET_STATS_HISTORY_AVAILABILITY =
reports that data has been purged, but a select on dba_tab_stats_history s=
hows otherwise?

maybe one of the existing bugs causes this behavior, just seemed to me fro=
m the descriptions that get_stats_history_availability is generally accura=
te.  i'll work the SR and everything, just wondered if this problem was al=
ready solved and I just missed the doc.  the initial support guys aren't b=
ad, but sometimes oracle-l buddies correct my search misses faster.  :)

btw this is on 11.2.0.3 psu11.

=3D=3D=3D=3D=3D=3D=3D=3D AWR/ASH:
SQL> select min(begin_interval_time) from dba_hist_snapshot;
MIN(BEGIN_INTERVAL_TIME)
--------------------------------------------------------------------------=
-
2014-05-23 01:30:11

SQL> select min(sample_time) from DBA_HIST_ACTIVE_SESS_HISTORY;
MIN(SAMPLE_TIME)
--------------------------------------------------------------------------=
-
2013-10-09 02:00:01

=3D=3D=3D=3D=3D=3D=3D=3D stats history:
SQL> SELECT DBMS_STATS.GET_STATS_HISTORY_AVAILABILITY FROM DUAL;
GET_STATS_HISTORY_AVAILABILITY
--------------------------------------------------------------------------=
-
2014-08-05 00:01:08

SQL> select min(STATS_UPDATE_TIME) from dba_tab_stats_history;
MIN(STATS_UPDATE_TIME)
--------------------------------------------------------------------------=
-
2013-09-15 01:01:06

SQL> select min(savtime) from WRI$_OPTSTAT_HISTHEAD_HISTORY;
MIN(SAVTIME)
--------------------------------------------------------------------------=
-
2013-08-04 21:19:35


--
http://about.me/jeremy_schneider

______________________________________________________________________
Wm Morrison Supermarkets Plc is registered in England with number 358949. =
The registered office of the company is situated at Gain Lane, Bradford, W=
est Yorkshire BD3 7DL. This email and any attachments are intended for the=
 addressee(s) only and may be confidential.=20

If you are not the intended recipient, please inform the sender by replyin=
g to the email that you have received in error and then destroy the email.=
=20
If you are not the intended recipient, you must not use, disclose, copy or=
 rely on the email or its attachments in any way.=20

This email does not constitute a contract in writing for the purposes of t=
he Law of Property (Miscellaneous Provisions) Act 1989.

Our Standard Terms and Conditions of Purchase, as may be amended from time=
 to time, apply to any contract that we enter into. The current version of=
 our Standard Terms and Conditions of Purchase is available at: http://www=
.morrisons.co.uk/gscop

Although we have taken steps to ensure the email and its attachments are v=
irus-free, we cannot guarantee this or accept any responsibility,=20
and it is the responsibility of recipients to carry out their own virus ch=
ecks.=20
______________________________________________________________________
--_000_EC65ECF8123FEE4D8FC5B212637C304001667B5F1A27EXCH1morris_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-mic=
rosoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word=
" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"ht=
tp://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CON=
TENT=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"M=
icrosoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
=09{font-family:"Cambria Math";
=09panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
=09{font-family:Calibri;
=09panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
=09{margin:0cm;
=09margin-bottom:.0001pt;
=09font-size:12.0pt;
=09font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
=09{mso-style-priority:99;
=09color:blue;
=09text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
=09{mso-style-priority:99;
=09color:purple;
=09text-decoration:underline;}
span.EmailStyle17
=09{mso-style-type:personal-reply;
=09font-family:"Calibri","sans-serif";
=09color:#1F497D;}
.MsoChpDefault
=09{mso-style-type:export-only;
=09font-family:"Calibri","sans-serif";
=09mso-fareast-language:EN-US;}
@page WordSection1
=09{size:612.0pt 792.0pt;
=09margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
=09{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB link=3Dblue vl=
ink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D=
'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-far=
east-language:EN-US'>Have a look at the comments on a recent blog entry of=
 mine &nbsp;- This was related to a 11.2.0.4 database but it did seem to b=
e a bug<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size=
:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-langu=
age:EN-US'>Sorry I have not got more time to investigate myself &#8211; ju=
st tidying up my Oracle-L folder and I noticed this<o:p></o:p></span></p><=
p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";color:#1F497D;mso-fareast-language:EN-US'><a href=3D"http://j=
hdba.wordpress.com/2014/07/09/tidying-up-sysaux-removing-old-snapshots-whi=
ch-you-didnt-know-existed/">http://jhdba.wordpress.com/2014/07/09/tidying-=
up-sysaux-removing-old-snapshots-which-you-didnt-know-existed/</a><o:p></o=
:p></span></p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-fa=
mily:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p=
>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:11.0=
pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:E=
N-US'>John<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-s=
ize:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-la=
nguage:EN-US'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><b><span la=
ng=3DEN-US style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"'>F=
rom:</span></b><span lang=3DEN-US style=3D'font-size:11.0pt;font-family:"C=
alibri","sans-serif"'> oracle-l-bounce@freelists.org [mailto:oracle-l-boun=
ce@freelists.org] <b>On Behalf Of </b>Jeremy Schneider<br><b>Sent:</b> 05 =
September 2014 18:36<br><b>To:</b> Oracle-L<br><b>Subject:</b> sysaux purg=
e problems<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p>=
<div><div><p class=3DMsoNormal>I've reviewed the various MOS docs and bugs=
 related to sysaux purge problems already. &nbsp;I'm just wondering if any=
one else out there has specifically seen inconsistencies where it seems th=
at the AWR is purging fine except for only the ASH table? &nbsp;Or where&n=
bsp;DBMS_STATS.GET_STATS_HISTORY_AVAILABILITY reports that data has been p=
urged, but a select on&nbsp;dba_tab_stats_history shows otherwise?<o:p></o=
:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>maybe one of the existing bugs causes this behavior, jus=
t seemed to me from the descriptions that get_stats_history_availability i=
s generally accurate. &nbsp;i'll work the SR and everything, just wondered=
 if this problem was already solved and I just missed the doc. &nbsp;the i=
nitial support guys aren't bad, but sometimes oracle-l buddies correct my =
search misses faster. &nbsp;:)<o:p></o:p></p></div><div><p class=3DMsoNorm=
al><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>btw this is on 11.=
2.0.3 psu11.<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:=
p></p></div><div><p class=3DMsoNormal>=3D=3D=3D=3D=3D=3D=3D=3D AWR/ASH:<o:=
p></o:p></p></div><div><p class=3DMsoNormal>SQL&gt; select min(begin_inter=
val_time) from dba_hist_snapshot;<o:p></o:p></p></div><div><div><p class=3D=
MsoNormal>MIN(BEGIN_INTERVAL_TIME)<o:p></o:p></p></div><div><p class=3DMso=
Normal>-------------------------------------------------------------------=
--------<o:p></o:p></p></div><div><p class=3DMsoNormal>2014-05-23 01:30:11=
<o:p></o:p></p></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div>=
<div><p class=3DMsoNormal>SQL&gt; select min(sample_time) from DBA_HIST_AC=
TIVE_SESS_HISTORY;<o:p></o:p></p></div><div><p class=3DMsoNormal>MIN(SAMPL=
E_TIME)<o:p></o:p></p></div><div><p class=3DMsoNormal>--------------------=
-------------------------------------------------------<o:p></o:p></p></di=
v><div><p class=3DMsoNormal>2013-10-09 02:00:01<o:p></o:p></p></div><div><=
p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div><div><p class=3DMsoNo=
rmal>=3D=3D=3D=3D=3D=3D=3D=3D stats history:<o:p></o:p></p></div><div><div=
><p class=3DMsoNormal>SQL&gt; SELECT DBMS_STATS.GET_STATS_HISTORY_AVAILABI=
LITY FROM DUAL;<o:p></o:p></p></div><div><p class=3DMsoNormal>GET_STATS_HI=
STORY_AVAILABILITY<o:p></o:p></p></div><div><p class=3DMsoNormal>---------=
------------------------------------------------------------------<o:p></o=
:p></p></div><div><p class=3DMsoNormal>2014-08-05 00:01:08<o:p></o:p></p><=
/div></div><div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><div>=
<p class=3DMsoNormal>SQL&gt; select min(STATS_UPDATE_TIME) from dba_tab_st=
ats_history;<o:p></o:p></p></div><div><p class=3DMsoNormal>MIN(STATS_UPDAT=
E_TIME)<o:p></o:p></p></div><div><p class=3DMsoNormal>--------------------=
-------------------------------------------------------<o:p></o:p></p></di=
v><div><p class=3DMsoNormal>2013-09-15 01:01:06<o:p></o:p></p></div></div>=
<div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p class=3D=
MsoNormal>SQL&gt; select min(savtime) from WRI$_OPTSTAT_HISTHEAD_HISTORY;<=
o:p></o:p></p></div><div><p class=3DMsoNormal>MIN(SAVTIME)<o:p></o:p></p><=
/div><div><p class=3DMsoNormal>-------------------------------------------=
--------------------------------<o:p></o:p></p></div><div><p class=3DMsoNo=
rmal>2013-08-04 21:19:35<o:p></o:p></p></div></div><div><p class=3DMsoNorm=
al><o:p>&nbsp;</o:p></p></div><p class=3DMsoNormal><br clear=3Dall><o:p></=
o:p></p><div><div><p class=3DMsoNormal>--<br><a href=3D"http://about.me/je=
remy_schneider" target=3D"_blank"><span style=3D'color:#1155CC'>http://abo=
ut.me/jeremy_schneider</span></a><o:p></o:p></p></div></div></div></div><b=
r clear=3D"both">
______________________________________________________________________<BR>=

Wm Morrison Supermarkets Plc is registered in England with number 358949. =
The registered office of the company is situated at Gain Lane, Bradford, W=
est Yorkshire BD3 7DL. This email and any attachments are intended for the=
 addressee(s) only and may be confidential. <BR>
<BR>
If you are not the intended recipient, please inform the sender by replyin=
g to the email that you have received in error and then destroy the email.=
 <BR>
If you are not the intended recipient, you must not use, disclose, copy or=
 rely on the email or its attachments in any way. <BR>
<BR>
This email does not constitute a contract in writing for the purposes of t=
he Law of Property (Miscellaneous Provisions) Act 1989.<BR>
<BR>
Our Standard Terms and Conditions of Purchase, as may be amended from time=
 to time, apply to any contract that we enter into. The current version of=
 our Standard Terms and Conditions of Purchase is available at: http://www=
.morrisons.co.uk/gscop<BR>
<BR>
Although we have taken steps to ensure the email and its attachments are v=
irus-free, we cannot guarantee this or accept any responsibility, <BR>
and it is the responsibility of recipients to carry out their own virus ch=
ecks. <BR>
______________________________________________________________________<BR>=

</body></html>
--_000_EC65ECF8123FEE4D8FC5B212637C304001667B5F1A27EXCH1morris_--
--
http://www.freelists.org/webpage/oracle-l


