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: What is lock type 'KO' in v$lock table?

Re: What is lock type 'KO' in v$lock table?

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Sun, 24 Sep 2006 08:04:11 +0100
Message-ID: <PtadnXbCv6lzs4vYRVnytw@bt.com>


"Mladen Gogala" <mgogala.spam-me-not_at_verizon.net> wrote in message news:pan.2006.09.24.05.38.42.467739_at_verizon.net...

>

> Why would that be? Other then that, I lived without object
> checkpoints from the version 4 to version 10.1 and things were
> fine.

    No you didn't, you just didn't know they were happening.

> Why would a direct read trigger a checkpoint?

    Because there may be blocks in the buffer with commited     changes that have not been written to disc. Since a direct     path read goes to disc, bypassing the buffer, it won't see     those changes. So you have to issue a "localised" checkpoint     for the object just before the query starts to run.

    This feature existed back in (at least) 7.2 where I first met it     as the "extent checkpoint" - where I think Oracle issued a     checkpoint once per extent. At some point this turned into     a tablespace checkpoint because "extent checkpoints" were     a disaster (no checkpoint queue until 8.1). The it became the     segment checkpoint - then in 10.2 Oracle put a linked list     into the buffer header to deal with all the problems if handling     a single segment in large buffers.

-- 
Regards

Jonathan Lewis
http://www.oracle.com/technology/community/oracle_ace/ace1.html#lewis

The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html

Cost Based Oracle: Fundamentals
http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html
Received on Sun Sep 24 2006 - 02:04:11 CDT

Original text of this message

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