last run date of update statistics
Posted in 2008
Topics: General Discussion
Hi,
how can i find the last update statistics run date for a table. i do not collec
t distributions ie i run the following statement-
UPDATE STATISTICS LOW FOR TABLE glpca
here 'glpca' is a table.
i do not get the correct value in 'constructed' field from the 'sysdistrib'
table. where else should i look in ?
vartika.
I don't believe that the date of the last LOW is recorded. In
sysdistrib Constructed contains last time a Medium or High.
MW
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
VARTIKA AGRAWAL
Sent: Saturday, 12 January 2008 8:03 p.m.
To: ids@iiug.org
Subject: last run date of update statistics [10893]
Hi,
how can i find the last update statistics run date for a table. i do not
collec
t distributions ie i run the following statement-
UPDATE STATISTICS LOW FOR TABLE glpca
here 'glpca' is a table.
i do not get the correct value in 'constructed' field from the
'sysdistrib'
table. where else should i look in ?
vartika.
************************************************************************
*******
Forum Note: Use "Reply" to post a response in the discussion forum.
See you at the IIUG Informix 2008 Conference
The Power Conference for Informix Professionals
April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas
http://www.iiug.org/conf
Registration Now Open!!
In version 11 the time of the last update statistics low is recorded in=
systables:ustlowts
John
=
"Murray Wood" =
<Murray.Wood@inte =
gralgroup.co.nz> =
To
Sent by: ids@iiug.org =
ids-bounces@iiug. =
cc
org =
Subj=
ect
RE: last run date of update =
01/13/2008 11:47 statistics [10897] =
AM =
=
=
Please respond to =
ids@iiug.org =
=
=
I don't believe that the date of the last LOW is recorded. In
sysdistrib Constructed contains last time a Medium or High.
MW
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
VARTIKA AGRAWAL
Sent: Saturday, 12 January 2008 8:03 p.m.
To: ids@iiug.org
Subject: last run date of update statistics [10893]
Hi,
how can i find the last update statistics run date for a table. i do no=
t
collec
t distributions ie i run the following statement-
UPDATE STATISTICS LOW FOR TABLE glpca
here 'glpca' is a table.
i do not get the correct value in 'constructed' field from the
'sysdistrib'
table. where else should i look in ?
vartika.
***********************************************************************=
*
*******
Forum Note: Use "Reply" to post a response in the discussion forum.
See you at the IIUG Informix 2008 Conference
The Power Conference for Informix Professionals
April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas
http://www.iiug.org/conf
Registration Now Open!!
***********************************************************************=
********
Forum Note: Use "Reply" to post a response in the discussion forum.
See you at the IIUG Informix 2008 Conference
The Power Conference for Informix Professionals
April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas
http://www.iiug.org/conf
Registration Now Open!!
=
VARTIKA AGRAWAL wrote:
> Hi,
> how can i find the last update statistics run date for a table. i do not
> collec
> t distributions ie i run the following statement-
>
> UPDATE STATISTICS LOW FOR TABLE glpca>
> here 'glpca' is a table.
>
> i do not get the correct value in 'constructed' field from the 'sysdistrib'
> table. where else should i look in ?
>
This question was asked and answered just a week or two ago. It's not
recorded anywhere in any version before 11.10. Only the date and time
of distribution collection (ie UPDATE STATISTICS HIGH/MED) is stored, as
you surmised in the sysdistrib table. But UPDATE STATSTICS LOW only
updates systables, syscolumns and sysindexes/sysindices NOT sysdistrib.
Art S. Kagel
> vartika.