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 > Informix Update Statistics

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-29-04, 11:46
barrycochrane barrycochrane is offline
Registered User
 
Join Date: Dec 2004
Posts: 2
Informix Update Statistics

Good day Everyone,

I am seeking assistance in understanding how statistics are stored and updated in Informix. From one of the manuals I read, I saw that the SYSDISTRIB, SYSTABLES, SYSCOLUMNS and SYSINDEXES are the tables that are updated, however the data residing in these tables do not make much sense to me....

What I would really like to find out is where information for when the last update statistics statement was run for given tables. Using Sybase I can obtain this information using the 'Optdiag <tablename>' command... is there an Informix equivalent?


Barry Cochrane
Reply With Quote
  #2 (permalink)  
Old 12-29-04, 13:39
barrycochrane barrycochrane is offline
Registered User
 
Join Date: Dec 2004
Posts: 2
Informix Update Statistics - Solution Found

Good day again,

I was able to obtain a solution to my earlier post... (browsing through previous messages in this forum )


For those interested:-


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

Apologies, if I wasted anyone's time...


Regards,

Barry Cochrane
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