Oracle (smirk) (...I apologize)

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Mark Murphy
Sent: Thursday, March 30, 2023 4:15 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [ EXTERNAL ] Re: Do any of you have a policy on rebuilding indexes?

New info, the slowness was temporary, and not happening any more. They just have someone there who believes that index rebuilds should be normal maintenance for any database :)

On Thu, Mar 30, 2023 at 3:32 PM Jerry Adams <midrange@xxxxxxxx> wrote:

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 your
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
that
improve performance?

Ken
----- Original Message -----
From: "Rob Berendt" <robertowenberendt@xxxxxxxxx>
To: "Midrange Systems Technical Discussion" <
midrange-l@xxxxxxxxxxxxxxxxxx

Sent: 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
may
end up shooting themselves in the foot.

On Thu, Mar 30, 2023 at 10:22 AM Rob Berendt <
robertowenberendt@xxxxxxxxx>
wrote:

In general I do not see the benefit. However it may make a
difference
in
the order the indexes were built. For example, which is the
proper
order
to build these two indexes?
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>
wrote:

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.


--
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.


--
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.


--
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.