Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Joerg Bruehe <joerg@sql.de>
Subject: Re: Datafile buffering w/ OSF1
Date: 2000/05/09	[thread overview]
Message-ID: <3917D494.9BD32895@sql.de> (raw)
In-Reply-To: m33dnt15hg.fsf@cs72168.pp.htv.fi

Hi Antti ! 

Antti Jarvinen wrote:
> 
> I'm having a slight swapping problem with digital unix 4.0 and oracle804:
> [  vmstat  shows high swapping  ] 
> ...
> and almost all processes (including ora*) are regularly swapped out and in
> causing pretty ugly slowdown.
> 
> I'm thinking this might be a file system buffering problem. Our application
> for most part does things periodically: there are processes that do things,
> then go to sleep() for some time, wake up and begin stressing the DB again.
> Every wakeup seems to cause swapping. Because this application does not use
> files, database is the storage for all necessary stuff then I'm not sure where
> the file access are coming from and therefore:
> 
>  - does 8.0.4.3.0 on 4.0d open datafiles in such a mode that the filesystem
>    does not cache the datafile contents again?
> 
> As this uses datafiles in AdvFS-disks, no raw partitions are used.
> 
> [...] 

I have no special Oracle experience, but I never understood why their 
preference is to use files for their "tablespaces". 
IMHO, this will _always_ cause double cacheing (in the Oracle RAM 
structure plus in the Unix file I/O buffer pool) and so cause problems 
like you describe. 

With our Adabas D, we always recommend using raw partitions (for this 
and other reasons, one being that file I/O takes more CPU than raw 
disk I/O in the DBMS case). 

Regards, Joerg Bruehe 

-- 
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
     (speaking only for himself)
mailto: joerg@sql.de



  parent reply	other threads:[~2000-05-09  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-08  4:00 Datafile buffering w/ OSF1 Antti Jarvinen
2000-05-08  4:00 ` Job
2000-05-09  4:00 ` Waco Johnny D
2000-05-09  4:00 ` Joerg Bruehe [this message]
2000-05-10  4:00   ` Antti Jarvinen
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