From: "Tim Nickason" <tnickasn@axionet.com>
Subject: CPU and virtual memory on DEC unix 3.2f running Oracle 7.3
Date: 1997/08/14 [thread overview]
Message-ID: <01bca881$f1a4fae0$e5be11d1@tnickasn> (raw)
greetings,
I maintain an Oracle(7.3.2) based datamart on a dec 4100 running Dec
unix(3.2f). I'm not very familiar
with UNIX (I come from the VMS world). I have some questions regarding the
stats I see when run
vmstat. hopefully someone can help me out.
1. The column FREE (as in free pages) is typically under 120, the ACT is
approx 52K and pin is approx
in the 9,000 range. Based on my limited reading, the total should be
approx close to the total physical
memory of the server (512megs). The book also says that a value of
less than 128 (FREE) could
mean I have virtual memory problems. It does not elaborate. can
someone please explain further??
The oracle instance total sga is approx 120meg.
Is this too large for the size of main memory??
(note, that no other apps use this server and during the day only
10-20 connections to the
database are active at a given time).
2. I read somewhere that having a large buffer cache is not much use in a
data warehouse app unless
it can fit mostly in memory. Is that reasonable??? I have a nightly
batch job that reads approx
19 million records from one table and creates a summary table from it.
since this means a full table
scan, it makes sense that a larger buffer cache would have limited
afect anyway since
the buffer would be filled up rather quickly as the scan takes place
and would be
flushed out as the table is continually read. (Comments????)
It also makes more sense to me to lower the buffer cache and increase
the sort area size for the
query processes, since building the summary table is one BIG 'group
by'. Again...any comments...
please.
3. Finally, In the vmstat report, the columns regarding cpu utilization are
interesting, in that
during the nightly batch job (above) the values of UR (user) is usually
less than 40% and
ID (idle0 is around 55-60%. Since reading 19 million records is rather
i-o intenseive, do these
example stats suggest an IO bottleneck???. Note: The system is only
running the single oracle
instance and the normal unix background processes.
Again...help appreciated
4. I lied, one more question. in the 'ps aux' command, the status column
amongst other things
tells you if a process is swapped out (status W). I find that when I
do the 'ps aux', of the 60 or so processes, at least 15-20 are in
status W at any one time. In most cases these processes are also flagged
with an 'I' which I think means they are dormant/sleeping.
Given the above info, does this also suggest that I have too little
real memory with the SGA sized
as it is?????
Thanks in advance
PS: please reply directly to my email address is at all possible.
tnickasn@axionet.com
reply other threads:[~1997-08-14 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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