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 > last update statistics time/date

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-29-03, 13:34
GoldenBoy GoldenBoy is offline
Registered User
 
Join Date: Sep 2003
Posts: 10
Smile last update statistics time/date

Can anyone tell me how to tell when the last time update statistics was run for a table (or all tables)? I was surprized that this wasnt in the online.log, but I am new to informix. thx
__________________
Karma...it works regarless of your belief in it.
Reply With Quote
  #2 (permalink)  
Old 09-29-03, 23:52
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Re: last update statistics time/date

Quote:
Originally posted by GoldenBoy
Can anyone tell me how to tell when the last time update statistics was run for a table (or all tables)? I was surprized that this wasnt in the online.log, but I am new to informix. thx
Hi there,

Try the below statement

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

Regards,

lloyd
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