Regarding Checkpoint & Dirty Buffers
It's very misleading. Some explainaton say that "During checkpoint, dirty buffers are written into the disk" and at someother point we also come across statements like "A checkpoint occurs when the dirty buffers are written to the disk". I mean, which one of them is true? There is a sea of difference between the two hypothesises. Can someone clarify my obscurity?
Many thanks in advance..
Re: Regarding Checkpoint & Dirty Buffers
Hi,
The truth is "During checkpoint ,dirty buffers are written to the disk".From Oracle 7.3 ,there is a event called the checkpoint event.This event occurs because DBWR is very lazy in writing the dirty database buffers from database buffer cache to the datafiles.Whenever a checkpoint happens,LGWR writes the contents of the redolog buffer to the online redolog files.It then signals DBWR to write the contents of the database buffer cache to the datafiles. Also checkpoint occurs due to various situations such as a log switch,when the database is shutdown normal,transactional or immediate option,when u put ur tablespace in read-only mode or when you take ur tablespace offline with normal option or through checkpoint parameters in ur init.ora parameter file i.e LOG_CHECKPOINT_TIMEOUT and LOG_CHECKPOINT_INTERVAL.
Regards,
Rohit nirkhe,oracle/Apps DBA,OCP 8i
[email protected]
Regarding Checkpoint & Dirty Buffers
Quote:
Originally posted by Sameer
Its wrong... By writting dirty blocks to datafile doesn't force or occure checkpoint. You can force checkpoint to write dirty blocks to datafile.. The question is quite well answered by Sanjay.
It is definetely under the auspicious of the LRU mechanism but the Dirty blocks are subjected to the mechanism of MRU due to which the checkpoint is enforced writing the dirty block back to the datafile.
So far very good discussion.
VAST
Regarding Checkpoint & Dirty Buffers
Quote:
Originally posted by quester
First of all thanks for all the responses. I am clear that the First point is right and SYBEX has made a mistake either "theoritically" or "English Language Based".
..Well.. again, you see you may derive your own way of understanding things to benefit your convinience of notions. But 'ENGLISH' remains the same. A statement of meaning can only be precise..it cannot be "Subjective" left to the imaginations of the reader. A "technical statement" ought to be precise and not poetry. I hope you will agree.
Your words of "Allows" and "Requires" are your imaginations to suit your notion, it has no bearing on what SYBEX has said as "A checkpoint occurs when the dirty buffers are written to the disk" . To me, I am in no-way supportive to this statement of SYBEX, regardless of how one would want to interpret based on their convinences. In My Honest Opinion, it's a GROSS MISTAKE on SYBEX's part of either "understanding the concepts" or "English Usage". Period.
Irrespective of what the SYBEX is saying is not to our discomfiture.
Nevertheless whatever database might be it is all for the sole reason of basic nomenclature and same can be construed for all databases as ORACLE being one of them.
It is very interesting and misleading when the AUTHOR of this query poser mentioned the misleading factor of Checkpoint behaviour.
Perhaps there should be misconstrued by readers and the same can be interpreted.
Anyhow very nice discussion and good understanding
VAST
Re: Regarding Checkpoint & Dirty Buffers
Quote:
Originally posted by vastdba
It is very interesting and misleading when the AUTHOR of this query poser mentioned the misleading factor of Checkpoint behaviour.
Anyhow very nice discussion and good understanding
VAST
I think nothing was so interestng as this paragraph of yours:) Anyways, I take it as a compliment:cool: