Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Synchronous writes & TEMP

Re: Synchronous writes & TEMP

From: VC <boston103_at_hotmail.com>
Date: Sat, 15 May 2004 02:23:08 GMT
Message-ID: <gafpc.51658$iF6.4691955@attbi_s02>


Jonathan,

"Jonathan Lewis" <jonathan_at_jlcomp.demon.co.uk> wrote in message news:c83o56$qf5$1_at_hercules.btinternet.com...
>
> Note inline
>
> --
> Regards
>
> Jonathan Lewis
>
> http://www.jlcomp.demon.co.uk
>
> http://www.jlcomp.demon.co.uk/faq/ind_faq.html
> The Co-operative Oracle Users' FAQ
>
> http://www.jlcomp.demon.co.uk/seminar.html
> Optimising Oracle Seminar - schedule updated May 1st
>
>
> "Frank van Bortel" <fvanbortel_at_netscape.net> wrote in message
> news:c838er$fsc$1_at_news1.tilbu1.nb.home.nl...
> > VC wrote:
> >
> >
> > I'd say Karsten had a plausible explanation: the process
> > that needs temp to be written has nothing better to do
> > than wait - so why bother with an extra communications
> > process and async writes when there's a synchronous write,
> > that will only return when done?
> >
>
> I think the point that VC is making is that when you
> open a file with ODSYNC, a call from the end-user
> process blocks until the write is on the disk. However,
> if the file is not opened with ODSYNC, then the
> end-user process will be notified as soon as the
> write has reached the file-system buffer.
>
> Since a "sort to disk" could (presumably) re-read from
> the file-system buffer, even when the data had not
> yet reached the disc, and could benefit from faster
> performance if it did so, it seems pointless to insist
> that a write to TEMP should be forced to disc.

Precisely.

Now, the original question remains: why does Oracle use synchronous (also known as 'delayed') writes ?

Regards.

VC
>
>
Received on Fri May 14 2004 - 21:23:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US