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

Home -> Community -> Usenet -> c.d.o.tools -> Re: database buffer cache / SGA

Re: database buffer cache / SGA

From: stevek <stefano1_at_att.net>
Date: Fri, 20 Jul 2001 11:35:47 GMT
Message-ID: <3B58076B.E08B8BFB@att.net>

Thomas,

Please ignore the book question, little slow this am. Ordered your book. Thanks

Thomas Kyte wrote:
>
> In article <3B577825.1BB18144_at_att.net>, stevek says...
> >
> >Oracle server receives a request from a client, run sql through sqlarea
> >in cache, if there runs,if not runs through plan process then executes,
> >if data in buffer cache uses that data otherwise get block(s) from
> >tablespace.
> >
> >Question: oracle deals with data in blocks only, block 8K, record 1K.
> >Does oracle take 7 additional records on the block read? Does it use the
> >same block size/number of records when it puts changed data in redo logs
> >and rbs?
>
> data is cached in blocks, you get the block cached, even if you want just 1 of
> the rows on that block.
>
> redo -- changed bytes (not even entire rows), unless the tablespace is in HOT
> backup mode then the first time a block is modified the entire block is written
> to redo and then changed bytes only after that.
>
> rollback -- changed bytes only.
>
> --
> Thomas Kyte (tkyte@us.oracle.com) http://asktom.oracle.com/
> Expert one on one Oracle, programming techniques and solutions for Oracle.
> http://www.amazon.com/exec/obidos/ASIN/1861004826/
> Opinions are mine and do not necessarily reflect those of Oracle Corp
Received on Fri Jul 20 2001 - 06:35:47 CDT

Original text of this message

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