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 > update statistics

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-22-02, 03:38
amaiwei amaiwei is offline
Registered User
 
Join Date: Apr 2002
Posts: 5
update statistics

hi,

who can give a simple explanation of the difference between update statistics low/medium/high ?

thanks
Reply With Quote
  #2 (permalink)  
Old 05-22-02, 05:37
ladwig ladwig is offline
Registered User
 
Join Date: May 2002
Location: Osnabrueck Germany
Posts: 59
Hi,
i didn't know it either,
but found an explanation:

2-638 Informix Guide to SQL: Syntax
UPDATE STATISTICS
LOW The database server updates the statistical data in the
systables, syscolumns, and sysindexes system catalog
tables. This mode causes the least amount of information to
be gathered. This mode executes more quickly than the
HIGH and MEDIUM modes.
HIGH In addition to performing the functions of the LOW mode,
the database server updates the data distribution statistics
in the sysdistrib system catalog table. The constructed
distribution is exact. Because of the time required to gather
this information, this mode executes more slowly than the
LOW and MEDIUM modes.
MEDIUM In addition to performing the functions of the LOW mode,
the database server updates the data distribution statistics
in the sysdistrib system catalog table. The database server
obtains the data for the distributions by sampling rather
than by scanning all the rows. This mode executes more
quickly than the HIGH mode but more slowly than the
LOW mode.
__________________
Juergen Ladwig
Reply With Quote
  #3 (permalink)  
Old 05-22-02, 07:07
muratmy muratmy is offline
Registered User
 
Join Date: Nov 2001
Location: Germany
Posts: 14
Read the valuable article "Understanding and Tuning Update Statistics" at
http://www7b.boulder.ibm.com/dmdd/zo...203miller.html

I find it excellent...


Murat
Reply With Quote
  #4 (permalink)  
Old 05-22-02, 07:29
amaiwei amaiwei is offline
Registered User
 
Join Date: Apr 2002
Posts: 5
thanks, Murat
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