Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Will dump block make dirty block written to disk?
Hmm....
Correct me if I'm wrong, Chris, but unless I misunderstand something, "dirty" only really means something in the context of the block in current mode, of which there can be only one in the buffer cache at any time. So, the consistent read copies should just be ignored.
So, something like:
select file#, block# from v$bh where status = 'xcur' and dirty='Y';
should show you the list of dirty blocks in the cache....right?
-Mark
-- Mark J. Bobak Senior Oracle Architect ProQuest Information & Learning "Exception: Some dividends may be reported as qualified dividends but are not qualified dividends. These include: * Dividends you received on any share of stock that you held for less than 61 days during the 121-day period that began 60 days before the ex-dividend date. The ex-dividend date is the first date following the declaration of a dividend on which the purchaser of a stock is not entitled to receive the next dividend payment. When counting the number of days you held the stock, include the day you disposed of the stock but not the day you acquired it. See the examples below. Also, when counting the number of days you held the stock, you cannot count certain days during which your risk of loss was diminished. See Pub. 550 for more details." --IRS, Form 1040-A Instruction Booklet, Line 9b: Qualified Dividends -----Original Message----- From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Christian Antognini Sent: Monday, March 13, 2006 9:59 AM To: Leyi Zhang (Kamus) Cc: oracle-l_at_freelists.org Subject: RE: Will dump block make dirty block written to disk? LeyiReceived on Mon Mar 13 2006 - 11:52:13 CST
>I've been told another most simple method to get the answer.
>Check the v$bh.dirty, if Y means still dirty, if N means written to
>disk already.
This is possible. The problem I see is that in the buffer cache you may have multiple versions of the same block. Some of them with the flag DIRTY set to N, some other with Y. Therefore, to be sure, I prefer to directly get this information from the datafile. Regards, Chris -- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-l
![]() |
![]() |