On Db2 for i the indexes are always up to date.
Also the (Key) Tree Structure in an Binary Radix Tree index is always
optimized contrary to other databases, where you have to rebuilt your
indexes regularly for to optimize the tree structure.
If the tree structure is not optimized performance can decrease.
... another advantage having the database integrated in the operating
system.
So recreating indexes and logical files on Db2 for i will not result in a
better performance.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
Modernization ? Education ? Consulting on IBM i
IBM Champion since 2020
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
?Train people well enough so they can leave, treat them well enough so they
don't want to.? (Richard Branson)
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Mark
Murphy
Sent: Thursday, 30 March 2023 14:48
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Do any of you have a policy on rebuilding indexes?
We have a client who wants to rebuild indexes, just because they haven't
been built for a long time (3-4 years). They think it will improve
performance. I've never rebuilt indexes to improve performance. Does anyone
have an opinion on this?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.