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 INFORMIX

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-23-03, 11:50
linux linux is offline
Registered User
 
Join Date: Nov 2003
Location: sweden
Posts: 17
Post update statistics INFORMIX

I do have a database which is about 150 GB. Today I use the useual update statisticis.
In this database there is big tables about 15 - 20 GB, which is fragmented.
The update statictics takes about 18 houres.

I would like to know if I run the right update statistics or should I chang it ? at last time I did test to run update statistics high for cople of tables and I did note a faster query result.

my script is
update statistics DBNAME

the test script

update statistics high for table order;


Thanks in advance
__________________
Linux
Reply With Quote
  #2 (permalink)  
Old 11-23-03, 21:51
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Have you tried update statistics medium/low -- Each level has its appropriate use - for high, the table should be small.
Reply With Quote
  #3 (permalink)  
Old 11-23-03, 22:01
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Read the following link about the Informix Optimizer and update statistics (for more information on appropriate use of low/medium/high):

link
Reply With Quote
  #4 (permalink)  
Old 11-24-03, 09:02
linux linux is offline
Registered User
 
Join Date: Nov 2003
Location: sweden
Posts: 17
Quote:
Originally posted by rnealejr
Have you tried update statistics medium/low -- Each level has its appropriate use - for high, the table should be small.
what u mean by samll ? the column size or the how meny record there is the table ?
__________________
Linux
Reply With Quote
  #5 (permalink)  
Old 11-24-03, 17:07
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Number of rows.
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