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: Locally managed tablespaces

RE: Locally managed tablespaces

From: Chuck Hamilton <chuck_hamilton_at_yahoo.com>
Date: Wed, 31 Jan 2001 09:25:30 -0800 (PST)
Message-Id: <10758.127913@fatcity.com>


--0-1313800269-980961930=:17778
Content-Type: text/plain; charset=us-ascii

 Where did you get the number 505 from? I read somewhere that 64k is allocated at the beginning of each datafile in a LMT for a bitmap yielding approximately 256k bits for the bitmap per datafile. If each bit represents one extent, I'd expect to be able to have a lot more than 505 extents.   paquette stephane <stephane_paquette_at_yahoo.com> wrote: When using locally managed tablespace, you should not have more extents than the number of extents that the segment header can hold in 1 block.

For a 8K block you should not have more than 505 extents.

The main drawback I see with lmt using uniform extent is if you want to change the extent size. You must drop/recreate the tablespace or migrate it to dictionnary managed ,make the change than migrate it back to locally managed.

Also, If all your tbs are locally managed you must have an online rollback segment in the system tablespace before putting all the other rbs offline (like in Oracle 7.1) .


Stephane Paquette
DBA Oracle
stephane_paquette_at_yahoo.com

Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?paquette=20stephane?=
INET: stephane_paquette_at_yahoo.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).


---------------------------------
Do You Yahoo!?
- Get personalized email addresses from Yahoo! Mail Personal Address  - only $35 a year!
--0-1313800269-980961930=:17778
Content-Type: text/html; charset=us-ascii

<P> Where did you get the number 505 from? I read somewhere that 64k is allocated at the beginning of each datafile in a LMT for a bitmap yielding approximately 256k bits for the bitmap per datafile. If each bit represents one extent, I'd expect to be able to have a lot more than 505 extents.
<P>&nbsp; <B><I>paquette stephane &lt;stephane_paquette_at_yahoo.com&gt;</I></B> wrote: <BR>
<BLOCKQUOTE style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">When using locally managed tablespace, you should not<BR>have more extents than the number of extents that the<BR>segment header can hold in 1 block.<BR><BR>For a 8K block you should not have more than 505<BR>extents.<BR><BR>The main drawback I see with lmt using uniform extent<BR>is if you want to change the extent size. You must<BR>drop/recreate the tablespace or migrate it to<BR>dictionnary managed ,make the change than migrate it<BR>back to locally managed.<BR><BR>Also, If all your tbs are locally managed you must<BR>have an online rollback segment in the system<BR>tablespace before putting all the other rbs offline<BR>(like in Oracle 7.1) .<BR><BR><BR>--- "Malkuns, Skip" <SMALKUNS_at_SYSTEMS.TEXTRON.COM>a<BR>écrit&nbsp;: &gt; Is anyone using LMTSs? What is the largest<BR>number of<BR>&gt; extents that an object<BR>&gt; has?<BR>&gt; Notice any performance difference between LMTS and<BR>&gt!
; Locally managed<BR>&gt; tablespaces??<BR>&gt; Had any problems with LMTS?<BR>&gt; Skip<BR>&gt; <BR>&gt; &gt; -----Original Message-----<BR>&gt; &gt; From: The Oracle DBA [SMTP:theoracledba_at_lycos.com]<BR>&gt; &gt; Sent: Tuesday, January 30, 2001 2:11 PM<BR>&gt; &gt; To: Multiple recipients of list ORACLE-L<BR>&gt; &gt; Subject: Re: Locally managed tablespaces<BR>&gt; &gt; <BR>&gt; &gt; Has anyone taken a PROD DB and changed it to using<BR>&gt; LMTSs and then noticed<BR>&gt; &gt; a perf change + or -?<BR>&gt; &gt; <BR>&gt; &gt; ---<BR>&gt; &gt; <BR>&gt; &gt; TheOracleDBA<BR>&gt; &gt; theoracledba_at_lycos.com<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; On Tue, 30 Jan 2001 10:30:29 <BR>&gt; &gt; Bunyamin K.Karadeniz wrote:<BR>&gt; &gt; &gt; But some had claimed that Locally managed<BR>&gt; tablespaces are slower. I<BR>&gt; &gt; do<BR>&gt; &gt; &gt;not know if it is correct but you must consider<BR>&gt; it .<BR>&gt; &gt; &gt; And I wonder the performance results too.<BR>!
&gt; &gt; &gt;----- Original Message -----<BR>&gt; &gt; &gt;To: Multiple recipients of list ORACLE-L<BR>&gt; <ORACLE-L_at_FATCITY.COM><BR>&gt; &gt; &gt;Sent: Tuesday, January 30, 2001 3:35 PM<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt;&gt; I have always been concerned with fragmentation<BR>&gt; of tablespaces, whether<BR>&gt; &gt; it<BR>&gt; &gt; &gt;&gt; be lots of extents, honeycomb or<BR>&gt; &gt; &gt;&gt; bubble fragmentation. Now I am reading that in<BR>&gt; Oracle 8i with the use<BR>&gt; &gt; of<BR>&gt; &gt; &gt;&gt; locally-managed table spaces,<BR>&gt; &gt; &gt;&gt; these concerns are a thing of the past as<BR>&gt; Oracle now uses bit maps<BR>&gt; &gt; within<BR>&gt; &gt; &gt;&gt; the tablespaces themselves to<BR>&gt; &gt; &gt;&gt; do space management. This seems foreign to me<BR>&gt; that even though Oracle<BR>&gt; &gt; will<BR>&gt; &gt; &gt;&gt; use up all the space in<BR>&gt; &gt; &gt;&gt; the tablespaces with no coalescing, it is OK<BR>&gt; that extents will!
 go into<BR>&gt; &gt; &gt;the<BR>&gt; &gt; &gt;&gt; thousands with no performance degradation.<BR>&gt; &gt; &gt;&gt; Could folks who are currently using locally<BR>&gt; managed tablespaces please<BR>&gt; &gt; &gt;&gt; comment on how well it<BR>&gt; &gt; &gt;&gt; is working for them and if they have<BR>&gt; experienced any problems in using<BR>&gt; &gt; &gt;them.<BR>&gt; &gt; &gt;&gt; Thanks<BR>&gt; &gt; &gt;&gt; Skip<BR>&gt; &gt; &gt;&gt; Here is a good white paper on the subject.<BR>&gt; &gt; &gt;&gt;<BR>&gt; http://www.embarcadero.com/news/white_papers.htm<BR>&gt; &gt; &gt;&gt; --<BR>&gt; &gt; <BR>&gt; -- <BR>&gt; Please see the official ORACLE-L FAQ:<BR>&gt; http://www.orafaq.com<BR>&gt; -- <BR>&gt; Author: Malkuns, Skip<BR>&gt; INET: SMALKUNS@SYSTEMS.TEXTRON.com<BR>&gt; <BR>&gt; Fat City Network Services -- (858) 538-5051 FAX:<BR>&gt; (858) 538-5051<BR>&gt; San Diego, California -- Public Internet<BR>&gt; access / Mailing Lists<BR>&gt;<BR>----------------------------------!
----------------------------------<BR>&gt; To REMOVE yourself from this mailing list, send an<BR>&gt; E-Mail message<BR>&gt; to: ListGuru@fatcity.com (note EXACT spelling of<BR>&gt; 'ListGuru') and in<BR>&gt; the message BODY, include a line containing: UNSUB<BR>&gt; ORACLE-L<BR>&gt; (or the name of mailing list you want to be removed<BR>&gt; from). You may<BR>&gt; also send the HELP command for other information<BR>&gt; (like subscribing).<BR><BR><BR>=====<BR>Stephane Paquette<BR>DBA Oracle<BR>stephane_paquette@yahoo.com<BR><BR>__________________________________________________<BR>Get personalized email addresses from Yahoo! Mail - only $35 <BR>a year! http://personal.mail.yahoo.com/<BR>-- <BR>Please see the official ORACLE-L FAQ: http://www.orafaq.com<BR>-- <BR>Author: =?iso-8859-1?q?paquette=20stephane?=<BR>INET: stephane_paquette@yahoo.com<BR><BR>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051<BR>San Diego, California -- Public Internet access / Mailing Lis!
ts<BR>--------------------------------------------------------------------<BR>To REMOVE yourself from this mailing list, send an E-Mail message<BR>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in<BR>the message BODY, include a line containing: UNSUB ORACLE-L<BR>(or the name of mailing list you want to be removed from). You may<BR>also send the HELP command for other information (like subscribing).</BLOCKQUOTE><p><br><hr size=1><b>Do You Yahoo!?</b><br>
- Get personalized email addresses from <a href=http://personal.mail.yahoo.com/>Yahoo! Mail Personal Address</a>  - only $35 
Received on Wed Jan 31 2001 - 11:25:30 CST

Original text of this message

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