|
For any database may be correct ... except Db2 for i!!!They just have someone there who believes that index rebuilds should be normal maintenance for any database :)
May I suggest an alternative, or, rather, a middle course? Tell them--
you did rebuild them, and then ask if things are running faster.
Oftentimes perception trumps reality.
On the other hand, they are the client. I assume they are paying the
bill.
I've gone both ways in the last 50+ years.
Jerry C. Adams
IBM i Programmer/Analyst
The greatest lesson in life is to know that even fools are right
sometimes. -Winston Churchill
--
NMM&D
615-585-2175
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On
Behalf Of Jim Oberholtzer
Sent: Thursday, March 30, 2023 9:48 AM
To: Midrange Systems Technical Discussion
Subject: Re: [ EXTERNAL ] Re: Do any of you have a policy on
rebuilding indexes?
Additionally: does the application reuse deleted records? Are there
many deleted records that are no longer needed if they are not reused?
I agree with Rob, just wholesale rebuilding of the indexes may not be
the wiser choice. I doubt it will hurt anything but then again that's
quite a bit of work to do with no perceived benefit.
As Ken and Rob both point out a bit of detective work is needed before
too much is done. It's likely that a simple reorg of the files in
question would fix the issue. That may require a quieced system
(meaning no applications running) so it might not be tolerable.
--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects
On Thu, Mar 30, 2023 at 9:33 AM Ken Meade <kmeade@xxxxxxxxxxxxxxxxx>
wrote:
This raised a question for me. How could you investigation yourthat
indices to determine last use, number of records affected, etc
across all your files.
Perhaps indices are no longer required and could be deleted and
would
improve performance?midrange-l@xxxxxxxxxxxxxxxxxx
Ken
----- Original Message -----
From: "Rob Berendt" <robertowenberendt@xxxxxxxxx>
To: "Midrange Systems Technical Discussion" <
maySent: Thursday, March 30, 2023 10:25:16 AM
Subject: [ EXTERNAL ] Re: Do any of you have a policy on rebuilding
indexes?
Basically, if they're going to just shotgun blast an index rebuild
they
end up shooting themselves in the foot.robertowenberendt@xxxxxxxxx>
On Thu, Mar 30, 2023 at 10:22 AM Rob Berendt <
wrote:in
In general I do not see the benefit. However it may make a
difference
orderthe order the indexes were built. For example, which is the
proper
haven'tto build these two indexes?wrote:
order, line, receipts (handles partials) order, line or order,
line order, line, receipts
On Thu, Mar 30, 2023 at 8:48 AM Mark Murphy
<jmarkmurphy@xxxxxxxxx>
We have a client who wants to rebuild indexes, just because they
listrelatedbeen 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
--questions.
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,list
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.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
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.
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.
--
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.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.