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: Extents size.

RE: Extents size.

From: MacGregor, Ian A. <ian_at_SLAC.Stanford.EDU>
Date: Wed, 03 Oct 2001 14:40:00 -0700
Message-ID: <F001.003A1363.20011003145018@fatcity.com>

This is very noticeable when you are debugging a problem and are seeing "scattered read" events. The query against dba_EXTENTS based on file_id, block_id and owner can take an inordinate amount of time.

Ian MacGregor
Stanford Linear Accelerator Center
ian_at_slac.stanford.edu

-----Original Message-----
Sent: Wednesday, October 03, 2001 8:25 AM To: Multiple recipients of list ORACLE-L

Christopher,

Is the guideline 505 extents for the tablespace or each table in the tablespace?

Tom

Tom Terrian
Oracle DBA
WPAFB - DAASC
tterrian_at_daas.dla.mil
937-656-3844

-----Original Message-----
Sent: Wednesday, October 03, 2001 10:05 AM To: Multiple recipients of list ORACLE-L

LMT's have their own problems as well though.

Using LMT's, the bitmap on the tablespace is only used to manage free space, used space is in the segment header of the segment which represents the extents. Therefore, to do a query of DBA_EXTENTS you can hit all segment headers (of all tables and indexes in the database) as well as all the additional extent maps. This can cause a very large amount of physical reads in comparison to the dictionary-managed extents.

Although LMT's are great, they are not perfect and do have their share of concerns. And like Connor pointed out, for a 8K block size, it is highly suggested to keep the extents to 505 which would only create a single block for the segment header, anything further than that will create additional blocks for the segment. Remember, DBA_EXTENTS has to hit all the segment headers (be it one or two) as well as the extent maps.

The formula he used is (blocksize / 16)-7, which determine how many extents, can fit in the segment header of a LMT tablespace.

"Do not criticize someone until you walked a mile in their shoes, that way when you criticize them, you are a mile a way and have their shoes."

Christopher R. Spence
Oracle DBA
Phone: (978) 322-5744
Fax: (707) 885-2275

Fuelspot
73 Princeton Street
North, Chelmsford 01863  

-----Original Message-----
Sent: Tuesday, October 02, 2001 5:55 PM
To: Multiple recipients of list ORACLE-L

True - but we're all using LMT's now anyway aren't we ?

:-)


Connor McDonald
http://www.oracledba.co.uk (mirrored at http://www.oradba.freeserve.co.uk)

"Some days you're the pigeon, some days you're the statue"



Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?Connor=20McDonald?=
  INET: hamcdc_at_yahoo.co.uk

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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Christopher Spence
  INET: cspence_at_FuelSpot.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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Terrian, Tom
  INET: tterrian_at_daas.dla.mil

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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: MacGregor, Ian A.
  INET: ian_at_SLAC.Stanford.EDU

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 Wed Oct 03 2001 - 16:40:00 CDT

Original text of this message

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