dbTalk Databases Forums  

Re: Tuning Question

comp.databases.oracle.server comp.databases.oracle.server


Discuss Re: Tuning Question in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Burton Peltier
 
Posts: n/a

Default Re: Tuning Question - 06-24-2003 , 01:01 PM






Good question... none

Anyway, if you missed the original post, I have someone who works with me
who is asking to make the change. He is running some new monitoring tool (
some free scripts) and it points at this 1 query (and several others) as
needing an index.

--

"Paul Brewer" <paul (AT) paul (DOT) brewers.org.uk> wrote

Quote:
"Burton Peltier" <burttemp1REMOVE_THIS (AT) bellsouth (DOT) net> wrote in message
news:FppJa.38266$T37.19170 (AT) fe05 (DOT) atl2.webusenet.com...

I agree and I have been doing that, usually. I didn't think this one
thru
as
I should have.

Thanks for pointing out the real issue (production change with no
testing).

I will put it back to the other DBA to show me proof of no adverse
impact
and "some" improvement. Then I will check the results myself.

Also, he and I need to talk about overall work priorities ! ... It
just
occurred to me, I cannot believe I almost sound like a manager now -
yikes!

Just one small question: what performance issues are your users
experiencing, which necessitates this tuning?

Regards,
Paul







Reply With Quote
  #2  
Old   
Brian Peasland
 
Posts: n/a

Default Re: Tuning Question - 06-24-2003 , 01:19 PM






You gotta love those tuning tools that are nothing more than glorified
expert systems. The biggest problem with these tuning tools is that you
wouldn't pay any more for it if it didn't make any suggestions.
Therefore, it always makes a suggestion! I once had a tuning tool which
told me I had problem A and to perform action A to solve it. So I did. I
ran the tuning tool again and it told me I had problem B and to perform
action B to solve it. So I did. I ran the tuning tool again and it told
me that I had problem A and to perform action A to solve it. Right then
and there I knew that tuning tools are structured to always make a
suggestion, no matter what.

Personally, I only use two tuning tools:
1) SQL*Plus
2) Oracle Trace Facility

Everything else just clouds the issue.

Cheers,
Brian

Burton Peltier wrote:
Quote:
Good question... none

Anyway, if you missed the original post, I have someone who works with me
who is asking to make the change. He is running some new monitoring tool (
some free scripts) and it points at this 1 query (and several others) as
needing an index.

--

"Paul Brewer" <paul (AT) paul (DOT) brewers.org.uk> wrote in message
news:3ef889bd_3 (AT) mk-nntp-1 (DOT) news.uk.worldonline.com...
"Burton Peltier" <burttemp1REMOVE_THIS (AT) bellsouth (DOT) net> wrote in message
news:FppJa.38266$T37.19170 (AT) fe05 (DOT) atl2.webusenet.com...

I agree and I have been doing that, usually. I didn't think this one
thru
as
I should have.

Thanks for pointing out the real issue (production change with no
testing).

I will put it back to the other DBA to show me proof of no adverse
impact
and "some" improvement. Then I will check the results myself.

Also, he and I need to talk about overall work priorities ! ... It
just
occurred to me, I cannot believe I almost sound like a manager now -
yikes!

Just one small question: what performance issues are your users
experiencing, which necessitates this tuning?

Regards,
Paul



--
================================================== =================

Brian Peasland
oracle_dba (AT) remove_spam (DOT) peasland.com

Remove the "remove_spam." from the email address to email me.


"I can give it to you cheap, quick, and good. Now pick two out of
the three"


Reply With Quote
  #3  
Old   
Volker Hetzer
 
Posts: n/a

Default Re: Tuning Question - 06-24-2003 , 02:30 PM



Daniel Morgan wrote:
Quote:
Burton Peltier wrote:

Good question... none

Anyway, if you missed the original post, I have someone who works
with me who is asking to make the change. He is running some new
monitoring tool ( some free scripts) and it points at this 1 query
(and several others) as needing an index.

--

Snipped

Then do absolutely nothing.
Why? Do you know why he is running it?

Quote:
More messes have been made fixing things that aren't broken than just
about anything else.
So what prevents those guys from dropping the index if it doesn't work out?

Right now I'm in a comparable situation to this dba. I'm the only guy who actually
sees performance data because everyone else is absolutely clueless. (Dunno whether
the cluelessnes is comparable there, but here it's a fact. Just db users, no developers
right now.)
So, my boss hears the complains but is unable to do anything about it and
thinks it's the HW anyways, our users grumble quietly but have no idea if
it has to be that way and the last thing I'd need is for some guy to go whining
about whether he should follow the advice of his dba.
Dba suggested it, the user should make clear that the dba assumes responsibility for
that change and that's it.

As for that particular change, I had this too. We installed some software together
with a db schema and it ran really slow. So, while a bigger server was being
discussed I had a look at the schema and it turned out that one rather big table
had no indexes at all. Looked at the problematic query, asked whether anyone had
a problem with me tryin out a coupla indexes and voila - five minutes later performance
was all right.

Lots of Greetings!
Volker
--
While it is a known fact that programmers
never make mistakes, it is still a good idea
to humor the users by checking for errors at
critical points in your program.
-Robert D. Schneider, "Optimizing INFORMIX
Applications"





Reply With Quote
  #4  
Old   
Daniel Morgan
 
Posts: n/a

Default Re: Tuning Question - 06-24-2003 , 03:42 PM



Volker Hetzer wrote:

Quote:
snipped


Right now I'm in a comparable situation to this dba. I'm the only guy who actually
sees performance data because everyone else is absolutely clueless. (Dunno whether
the cluelessnes is comparable there, but here it's a fact. Just db users, no developers
right now.)
So, my boss hears the complains but is unable to do anything about it and
thinks it's the HW anyways, our users grumble quietly but have no idea if
it has to be that way and the last thing I'd need is for some guy to go whining
about whether he should follow the advice of his dba.
Dba suggested it, the user should make clear that the dba assumes responsibility for
that change and that's it.

As for that particular change, I had this too. We installed some software together
with a db schema and it ran really slow. So, while a bigger server was being
discussed I had a look at the schema and it turned out that one rather big table
had no indexes at all. Looked at the problematic query, asked whether anyone had
a problem with me tryin out a coupla indexes and voila - five minutes later performance
was all right.

Lots of Greetings!
Volker
--
While it is a known fact that programmers
never make mistakes, it is still a good idea
to humor the users by checking for errors at
critical points in your program.
-Robert D. Schneider, "Optimizing INFORMIX
Applications"
Your situation is not comparable to the OP's. You had user complaints the OP had nothing
but the recommendation of
some scripts of unkown (at least to us here) value. In your case you had something specific
to fix and a measure to
determine success or failure. All the OP can do is satisfy a tool or create real problems.

--
Daniel Morgan
http://www.outreach.washington.edu/e...ad/oad_crs.asp
damorgan@x.washington.edu
(replace 'x' with a 'u' to reply)




Reply With Quote
  #5  
Old   
klee
 
Posts: n/a

Default Re: Tuning Question - 06-25-2003 , 12:50 AM



Is the table static? What types of queries are performed? Depending on
it's use, you could place it in the cache. An index on the table may or may
not help out, depending on the size/use/environment (other activity). Find
out if numerous inserts will be taking place...

KL

"Burton Peltier" <burttemp1REMOVE_THIS (AT) bellsouth (DOT) net> wrote

Quote:
Just looking for opinions... I have my own and another DBA I work with has
his opinion. Looking for some other opinions...

Some info on setup first...

- SunFire V880 8x900MHz CPUs
- 16Gig Memory
- 3 databases
- db1 - 360M SGA - 5 Gig allocated space
- db2 - 1200M SGA - 55Gig allocated space
- db3 - 1200M SGA - 60Gig allocated space
- all of these SGAs are mostly allocated to db buffers, but all have over
100 meg for shared pool
- all in archive log mode
- nothing else runs on this machine except these 3 Oracle databases and
only
DBAs login
- all version 8.1.7.4

Scenario: Suppose you have a small table less than 1Meg (.82) that is
queried 140,000 times a day on db2. The table currently has no index, and
the query runs in less than 1 second (100Msecs) when the server is idle
(no
other activity).

Question: Would you put an index to improve the 1 query to improve averall
system usage?

My opinion is the table is so small , if it isn't always cached, then it
should be forced to be cached.

Other DBA's opinion is to add a combo-index on the 2 columns queried in
this
1 query.

Note: I am not sure of other usage of this table. There could be other
querys on other columns or a lot of inserts ... not sure right now.

--






Reply With Quote
  #6  
Old   
Burton Peltier
 
Posts: n/a

Default Re: Tuning Question - 06-25-2003 , 10:32 PM



--
"Volker Hetzer" <volker.hetzer (AT) ieee (DOT) org> wrote

Quote:
Daniel Morgan wrote:
Your situation is not comparable to the OP's. You had user complaints
the OP had nothing but the recommendation of
some scripts of unkown (at least to us here) value. In your case you
had something specific to fix and a measure to
determine success or failure. All the OP can do is satisfy a tool or
create real problems.

Personally I see much too few complaints. It's just my opinion but
to wait til the users come to you is IMHO not a real good idea.
Since the DBA sees much more of the internal oracle stuff he should
go the the app developers and make suggestions.
Waiting for users/developers assumes that they know the optimum behavior.
And especially when it comes to speed and response time of the application
I've yet to see the user who wouldn't want a faster app.

But maybe we are talking about different environments here. If I were to
administrate a db a nuke powerplant depends on I'd be very careful
to touch a running system too.

I, and probably you too know not enough about Burtons environment.
Is the system loaded so much that for instance the impact of another
index on DML time causes a degradation serious enough to forbid
a test? Does he have a test environment with realistic load at all?
Would giving a shout to the office and just doing it if no one answers be
a problem?
Is his app still in development? How much costs an hours downtime or
data loss?

As I stated above, this is just something we will have to test in our test
environment, which is available...

Actually, after posting my original post, I can now see this as 2 issues:

1) Another DBA suggesting changing production without testing - I don't do
that for anything ... almost

2) Priorities and where do you draw the line in benefits for time spent on
this vs. time spent on other things .


Quote:
Lots of Greetings!
Volker
--
While it is a known fact that programmers
never make mistakes, it is still a good idea
to humor the users by checking for errors at
critical points in your program.
-Robert D. Schneider, "Optimizing INFORMIX
Applications"







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.