From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e7be033efe10b44 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-16 16:13:31 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!howland.reston.ans.net!spool.mu.edu!news.clark.edu!netnews.nwnet.net!raven.alaska.edu!sxfla.uacn.alaska.edu!user From: sxfla@orca.alaska.edu (Frank Abney) Subject: Re: OSF/1 + Oracle7 performance with interactive & batch jobs Message-ID: Followup-To: comp.unix.osf.osf1 Sender: news@raven.alaska.edu (USENET News System) Organization: University of Alaska References: <1994Sep5.191932.1@cc.helsinki.fi> <1994Sep7.215208.1@cc.helsinki.fi> Date: Thu, 15 Sep 1994 19:50:04 GMT > >>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.