If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > keeping tracks of update stats history

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-22-03, 15:19
noober noober is offline
Registered User
 
Join Date: Oct 2003
Posts: 20
Question keeping tracks of update stats history

Hi all,
Does informix keep track somewhere of the last time update stats was ran on an objects and how it was ran - low, med, high, dist?
Reply With Quote
  #2 (permalink)  
Old 12-22-03, 21:40
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Re: keeping tracks of update stats history

Quote:
Originally posted by noober
Hi all,
Does informix keep track somewhere of the last time update stats was ran on an objects and how it was ran - low, med, high, dist?

Hi there,

First make sure update statistics has been run
eg. update statistics high for table customer

select distinct tabname, b.constructed, b.mode
from systables a, sysdistrib b
where a.tabid=b.tabid
order by 1

The output will be -

tabname customer
constructed 12/21/2003
mode H

Hope it helps.

Regards,

Lloyd
Reply With Quote
  #3 (permalink)  
Old 12-23-03, 00:25
vpshriyan vpshriyan is offline
Registered User
 
Join Date: Nov 2003
Location: Mumbai, India
Posts: 92
Hi,

and/or can be generated through:
dbschema -d <database> -hd <tabname>

Regards,
Shriyan
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On