From: sxfla@orca.alaska.edu (Frank Abney)
Subject: Re: OSF/1 + Oracle7 performance with interactive & batch jobs
Date: Thu, 15 Sep 1994 19:50:04 GMT [thread overview]
Message-ID: <sxfla-150994114018@sxfla.uacn.alaska.edu> (raw)
In-Reply-To: 1994Sep7.215208.1@cc.helsinki.fi
> >>We have a DEC 4000/610 with OSF/1 V1.3 running Oracle7 7.0.15.4.
> >>We have about 55 interactive SQL*Forms 3.0 users and we run at the same
> >>time about 5..10 batch reports. We use MTS with 10 server processes. We
> >>have 196 MB RAM and the exp dump file size is about 500MB.
> >>
> >>We have a performance problem: when we have many large batch reports
> >>running the interactive response time is slow. And when I look at
> >>"vmstat" output, the run queue is about 15. I think that the problem is
> >>that the big reports are very CPU intensive (after having loaded all
> >>their data into Oracle databases buffers in RAM) and that they use all
> >>of their CPU timeslice. So the interactive processes have to wait long
> >>before they get their slice of the CPU - i.e. the run queue is long.
The problem that has been created may not be at the system level. There
are some very significant Oracle processes going on at this point.
Large batch jobs have a way of hogging the rollback segments time in
Oracle. If a large batch job does not to relatively frequent commits, it
can make a user seem like they are hung. I have had users waiting on a
commit for 20 minutes because a batch job was doing some heavy process on a
set of about 2500 records without a commit and was hitting away at the same
rollback segment.
Have the DBA look at the data cache miss ratio. If your shared_pool_area
is not large enough, a great to of i/o happens in processing the SQL
statments. If an sql statement is not maintained in this area, it has to
be reparced when it is needed again. If you are continually flooding this
are with statements, you may be moving data through this memory area to
quickly.
The database buffers have a similar affect. If a user reads a record into
the database buffer in the SGA, then a batch process dumps large amounts of
data into the buffer, the users data may be swapped out. When the users
try to access there data again, they have to do another physical read. If
your batch jobs to large amounts of database access, this would be a very
likely place for your problem.
Your DBA should try to run the bstat and estat process during these heavy
times to seen how Oracle is performing and where contention at the database
level may to occuring.
next prev parent reply other threads:[~1994-09-15 19:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-05 17:19 OSF/1 + Oracle7 performance with interactive & batch jobs jaakola
1994-09-07 3:41 ` cherkus
1994-09-07 19:52 ` jaakola
1994-09-15 19:50 ` Frank Abney [this message]
1994-09-07 16:35 ` Frank Abney
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox