dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

Responsiveness of Server at high CPU load - Database Discussions

This is a discussion on Responsiveness of Server at high CPU load - Database Discussions ; Rick Denoire wrote > >4. there is a significant design flaw in Oracle that allows it to be > >saturated by a single, errant query > > That worries me a lot. Why worry about smelly statements? If you, in ...


Home > Database Forum > Database and Unix Discussions > Database Discussions > Responsiveness of Server at high CPU load

Reply

 

LinkBack Thread Tools Display Modes
  #81  
Old 12-19-2003, 01:14 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Responsiveness of Server at high CPU load

Rick Denoire <100.17706@germanynet.de> wrote

> >4. there is a significant design flaw in Oracle that allows it to be
> >saturated by a single, errant query

>
> That worries me a lot.


Why worry about smelly statements?

If you, in ignorance or stupidity, perform a cartesian join on a VLT
or something similar, Oracle will do what you ask.

It will use all the resources at its disposal to do it.

And if you do not have a cap on the resource limits that Oracle is to
put to use, it will push the hardware to its limits.

Calling that a design flaw is BS.

--
Billy
Reply With Quote
  #82  
Old 12-19-2003, 01:14 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Responsiveness of Server at high CPU load

Rick Denoire <100.17706@germanynet.de> wrote

> >4. there is a significant design flaw in Oracle that allows it to be
> >saturated by a single, errant query

>
> That worries me a lot.


Why worry about smelly statements?

If you, in ignorance or stupidity, perform a cartesian join on a VLT
or something similar, Oracle will do what you ask.

It will use all the resources at its disposal to do it.

And if you do not have a cap on the resource limits that Oracle is to
put to use, it will push the hardware to its limits.

Calling that a design flaw is BS.

--
Billy
Reply With Quote
  #83  
Old 12-19-2003, 11:29 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Responsiveness of Server at high CPU load

Why not use statspack do determine those queries (hopefully they use
binds), and then tune 'em.

On Thu, 18 Dec 2003 23:13:05 +0100, Rick Denoire
<100.17706@germanynet.de> wrote:

>People don't know which queries are running. They access the DB via a
>Web GUI, which was programmed in PHP. It was developed by a
>contractor, who came, worked, and disappeared.
>
>Bye
>Rick Denoire
>
>
>


........
We use Oracle 8.1.7.4 on Solaris 2.7 boxes
remove NSPAM to email
Reply With Quote
  #84  
Old 12-19-2003, 11:29 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Responsiveness of Server at high CPU load

Why not use statspack do determine those queries (hopefully they use
binds), and then tune 'em.

On Thu, 18 Dec 2003 23:13:05 +0100, Rick Denoire
<100.17706@germanynet.de> wrote:

>People don't know which queries are running. They access the DB via a
>Web GUI, which was programmed in PHP. It was developed by a
>contractor, who came, worked, and disappeared.
>
>Bye
>Rick Denoire
>
>
>


........
We use Oracle 8.1.7.4 on Solaris 2.7 boxes
remove NSPAM to email
Reply With Quote
  #85  
Old 12-19-2003, 11:29 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Responsiveness of Server at high CPU load

Why not use statspack do determine those queries (hopefully they use
binds), and then tune 'em.

On Thu, 18 Dec 2003 23:13:05 +0100, Rick Denoire
<100.17706@germanynet.de> wrote:

>People don't know which queries are running. They access the DB via a
>Web GUI, which was programmed in PHP. It was developed by a
>contractor, who came, worked, and disappeared.
>
>Bye
>Rick Denoire
>
>
>


........
We use Oracle 8.1.7.4 on Solaris 2.7 boxes
remove NSPAM to email
Reply With Quote
  #86  
Old 12-19-2003, 11:31 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Responsiveness of Server at high CPU load

Join instead

On Thu, 18 Dec 2003 01:17:39 +0100, Rick Denoire
<100.17706@germanynet.de> wrote:

>Sybrand Bakker wrote:
>
>
>>Preferred course of action:
>>1 fix your statements
>>2 fix your statements
>>3 fix your statements
>>4 stop symptom fighting
>>if all fails ...
>>look in to using resource plans

>
>Mr. Bakker, you might be so right. I will analyze the statement more
>thoroughly. It has something like
>
>select these, those
>from this, that
>where this IN (select .... from where
>etc.)
>
>If the subselect returns many rows, IN is a nightmare.
>
>I will let you know.
>
>But: this is not MY statement!
>
>Bye
>Rick Denoire
>

........
We use Oracle 8.1.7.4 on Solaris 2.7 boxes
remove NSPAM to email
Reply With Quote
  #87  
Old 12-19-2003, 11:31 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Responsiveness of Server at high CPU load

Join instead

On Thu, 18 Dec 2003 01:17:39 +0100, Rick Denoire
<100.17706@germanynet.de> wrote:

>Sybrand Bakker wrote:
>
>
>>Preferred course of action:
>>1 fix your statements
>>2 fix your statements
>>3 fix your statements
>>4 stop symptom fighting
>>if all fails ...
>>look in to using resource plans

>
>Mr. Bakker, you might be so right. I will analyze the statement more
>thoroughly. It has something like
>
>select these, those
>from this, that
>where this IN (select .... from where
>etc.)
>
>If the subselect returns many rows, IN is a nightmare.
>
>I will let you know.
>
>But: this is not MY statement!
>
>Bye
>Rick Denoire
>

........
We use Oracle 8.1.7.4 on Solaris 2.7 boxes
remove NSPAM to email
Reply With Quote
  #88  
Old 12-19-2003, 11:31 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Responsiveness of Server at high CPU load

Join instead

On Thu, 18 Dec 2003 01:17:39 +0100, Rick Denoire
<100.17706@germanynet.de> wrote:

>Sybrand Bakker wrote:
>
>
>>Preferred course of action:
>>1 fix your statements
>>2 fix your statements
>>3 fix your statements
>>4 stop symptom fighting
>>if all fails ...
>>look in to using resource plans

>
>Mr. Bakker, you might be so right. I will analyze the statement more
>thoroughly. It has something like
>
>select these, those
>from this, that
>where this IN (select .... from where
>etc.)
>
>If the subselect returns many rows, IN is a nightmare.
>
>I will let you know.
>
>But: this is not MY statement!
>
>Bye
>Rick Denoire
>

........
We use Oracle 8.1.7.4 on Solaris 2.7 boxes
remove NSPAM to email
Reply With Quote
  #89  
Old 06-05-2007, 02:32 AM
Database Newbie
 
Join Date: Jun 2007
Posts: 1
dhairyasheel is on a distinguished road
Exclamation

Hi,
I'm encountering similar problems. here are the observations.

system = IBX X346, 4GB RAM, 300GB X 5 HDD IN RAID 5. 1 INTEL XEON CPU.
os = Redhat Linux AS 4.
db = Oracle 10.1.0.3

ISSUE =
An Oracle stored procedure is called from a jsp screen, this process runs for
almost 1 hr.
During this process, it consumes 99% cpu leading to slowdown of other processes. VB reports with truncate statements time out with error user requested cancel of current operation. Same reports run perfectly when
the cpu consumption issue is absent.

The last time a similar process was stuck for almost 1 hr, the process was tuned with an index created and the process completed in under 3 seconds.

The mystery =
After a server restart, the same process with vb reports running simultaneously run normally for around 3 weeks after which this slowdown starts.
Also it is observed that with oracle database closed and all application servers closed, the memory consumption on the Database server is
2.8gb out of 4gb.
also during peak processing times the free memory is around 3mb.

sheel@insolutionsglobal.com
D.B.A Group Head.
Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 12:00 PM.