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 take long time

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-04-05, 07:41
linux linux is offline
Registered User
 
Join Date: Nov 2003
Location: sweden
Posts: 17
update statistics take long time

Hi!
I do have problem with update statistics. This update did take about 35 min and now take 1 hour. I did reorg the database and after that it did take 20 minuts and after a week it start agien to take 1 houer. well the data hase been increesed but it is not so much that give this effect.
Any body have an idee what kind of problem could be ?

Linux
__________________
Linux
Reply With Quote
  #2 (permalink)  
Old 12-05-05, 07:20
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,
Please run update statistics in parallel process.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 12-10-05, 14:01
linux linux is offline
Registered User
 
Join Date: Nov 2003
Location: sweden
Posts: 17
Hi,
What you mean ? how I can do that ? I do have 4 CPU on this maskin and 3 of them is for informix databases.
__________________
Linux
Reply With Quote
  #4 (permalink)  
Old 12-13-05, 07:11
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,
Arm a file with the sentences of update statistics by each table in all database and then divide into various files ".sql" and execute them with dbaccess in parallel.

Gustavo.
Reply With Quote
  #5 (permalink)  
Old 12-13-05, 16:37
linux linux is offline
Registered User
 
Join Date: Nov 2003
Location: sweden
Posts: 17
Thanks , now I understand what you mean. well it is a good idee. It should work, but what you think if you there is a diffrens between running update statistics for the whole database and update statistics for just applikations tables ? and what happend to the systables and other Informix tables ? do they need an update statistics ?
__________________
Linux
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