Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Miscellaneous > Re: HowTo find ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 14 of 14 Topic 6839 of 7280
Post > Topic >>

Re: HowTo find out used (useful) and unused (usesless) indexes?

by joel garry <joel-garry@[EMAIL PROTECTED] > Apr 21, 2008 at 11:46 AM

On Apr 18, 4:01=A0pm, yf...@[EMAIL PROTECTED]
 (Malcolm Dew-Jones)
wrote:
> joel garry (joel-ga...@[EMAIL PROTECTED]
) wrote:
>
> : On Apr 18, 2:29=3DA0am, Andreas Mosmann
<mosm...@[EMAIL PROTECTED]
 group.org> wrote:
>
> : > Thank both of you,
> : >
> : > I will try it out.
> : > Is there also a way to determine what index is still needed/useful
for=
 a
> : > special query?
> : >
> : > Andreas Mosmann
> : >
> : > --
> : > wenn email, dann AndreasMosmann <bei> web <punkt> de
>
> : I do believe that is the downside of deleting indices based on usage.
> : It only shows what's been used during the observation. =A0That implies
a=

> : bad assumption that the usage is completely stable. =A0To me, this
seems=

> : worse than just dropping an index and seeing who screams, since when
> : there is a problem in the future, you have to go through an entire
> : performance tuning workup because the linkage to the act of dropping
> : the index is obscured. =A0Maybe I'm missing the concept. =A0What about
a=
n
> : index that would be used when you pass some tipping point or boundary
> : condition or upgrade or change a session parameter?
>
> You can disable an index. =A0That way the definition exists but the
index =
is
> never used or maintained (i.e. no overhead). =A0If you decide it is
needed=

> you simply enable it.

But that's my point.  The decision is being made on past performance,
why would you decide it is needed?  Certiainlly if you are using
method-r the users would be complaining about it far too late, it
could have been needed for years between the time it was dropped and
the time a complaint is made - people tend to think "that's how the
system works" and not complain if something gets slower slowly.  I
still don't see what synapses would have to be fired (thanks for that
one, Dan!) to make this tool useful.  In my experience, either the
system has been well-vetted over time (like an enterprise system sold
to many customers), or it's newly developed and the thought have been
tested and decisions made (or, it's just a crappy system).  It ought
to be useful for the enterprise, as vendors can't know what parts of
the system the customer will use, but I haven't seen much of that, as
a DBA I've only seen missing indices, and sometimes it takes quite a
bit of work to figure that out.  Has anybody actually found this tool
useful?  (not a rhetorical question, I'm curious, and always wondering
about it when I see some new feature trumpeted everywhere, but not
success stories.  Of course, I don't see everything.).

Since it does take work to figure missing indices out, I can't help
but wonder if this tool is counterproductive, by making it too quick
on the draw to delete indices, making more work later.  If you have to
make a big project out of it with dbms_stats, with no one complaining
about performance... in a complicated enterprise system, you may not
know how the future data growth will be impacted by business changes
and software upgrades.

>
> "when you pass some tipping point"
>
> If an index is enabled then presumably it will only be used when the CBO
> decides it is useful for a query.

Again, that's my point.  The decision is being made before the CBO can
decide that.

jg
--
@[EMAIL PROTECTED]
 is bogus.
=93It was them saying, 'We need to stick our hands up your back and move
your mouth for you.' =94 - Robert Bevelacqua, retired Army Green Beret
and former Fox News analyst.
http://www.signonsandiego.com/uniontrib/20080420/news_1n20mil.html
 




 14 Posts in Topic:
HowTo find out used (useful) and unused (usesless) indexes?
Andreas Mosmann <mosma  2008-04-17 11:38:22 
Re: HowTo find out used (useful) and unused (usesless) indexes?
"fitzjarrell@[EMAIL   2008-04-17 05:45:26 
Re: HowTo find out used (useful) and unused (usesless) indexes?
DA Morgan <damorgan@[E  2008-04-17 10:02:24 
Re: HowTo find out used (useful) and unused (usesless) indexes?
Andreas Mosmann <mosma  2008-04-18 11:29:40 
Re: HowTo find out used (useful) and unused (usesless) indexes?
joel garry <joel-garry  2008-04-18 14:45:00 
Re: HowTo find out used (useful) and unused (usesless) indexes?
yf110@[EMAIL PROTECTED]   2008-04-18 15:01:06 
Re: HowTo find out used (useful) and unused (usesless) indexes?
"Shakespeare" &  2008-04-19 11:37:36 
Re: HowTo find out used (useful) and unused (usesless) indexes?
DA Morgan <damorgan@[E  2008-04-19 10:09:08 
Re: HowTo find out used (useful) and unused (usesless) indexes?
"Shakespeare" &  2008-04-20 10:05:17 
Re: HowTo find out used (useful) and unused (usesless) indexes?
DA Morgan <damorgan@[E  2008-04-20 13:33:34 
Re: HowTo find out used (useful) and unused (usesless) indexes?
DA Morgan <damorgan@[E  2008-04-19 10:06:22 
Re: HowTo find out used (useful) and unused (usesless) indexes?
Andreas Mosmann <mosma  2008-04-21 18:37:17 
Re: HowTo find out used (useful) and unused (usesless) indexes?
Robert Klemme <shortcu  2008-04-21 01:24:52 
Re: HowTo find out used (useful) and unused (usesless) indexes?
joel garry <joel-garry  2008-04-21 11:46:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 0:35:25 CST 2008.