It's all about the answers!

Ask a question

Should I run db statistics twice during one maintainance window?

Krzysztof Ka┼║mierczyk (7.4k371103) | asked Jan 25 '17, 4:48 a.m.

I am upgrading from 4.0.6 to 6.0.2 through 5.0.2 during one maintenance window. Is it needed to update database statistics before upgrade from 5.0.2? Or it is enough to run it only once?

2 answers

permanent link
Grazielle Codogno (1536) | answered Jan 25 '17, 6:01 a.m.

You're right. you only need once. The purpose is to keep the plans updates to the best
Although make sure you're not collecting only a sample, and running it to all tables, ok?

Oracle :
DB2 :

permanent link
Krzysztof Ka┼║mierczyk (7.4k371103) | answered Jan 25 '17, 4:49 a.m.

There is no need to run database statistics twice. You can run it only before upgrade from 4.0,6.

Your answer

Register or to post your answer.