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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Does NT write to random locations on disk?

RE: Does NT write to random locations on disk?

From: Dennis Taylor <ismgr_at_pctc.com>
Date: Fri, 09 Mar 2001 16:18:28 -0800
Message-ID: <F001.002C8D41.20010309152550@fatcity.com>

At 01:55 PM 3/9/01 -0800, you wrote:
>Oracle datafiles are formatted into blocks. Data is read either physically
>by block or an indexed block number. If you compress using zip and then
>uncompress, the blocks have not changed. If you reorg the file the blocks
>will probably change and the data wont be where Oracle thinks it is.
>

I'm working from logic rather than specific knowledge of Oracle here, so I could be way off base. But if you are set up to use a cooked rather than raw file system, then the block number that Oracle uses should be file-relative rather than disk-relative, i.e. the block labelled '34' would be the 34th or 35th block *in the file* rather than *on the disk*. No matter how much you defrag, zip, unzip, copy, mash, spit on, or otherwise vilify the file, it still ends up with the same data in that block. Theoretically.

Dennis Taylor



ILLEGITIMUS NON CARBORUNDUM.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Dennis Taylor
  INET: ismgr_at_pctc.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Mar 09 2001 - 18:18:28 CST

Original text of this message

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