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: Mark Leith <mark_at_cool-tools.co.uk>
Date: Wed, 31 Jan 2001 18:35:25 -0000
Message-Id: <10758.127924@fatcity.com>


This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C08BB4.93FDC5B0 Content-Type: text/plain;

        charset="US-ASCII"
Content-Transfer-Encoding: 7bit

I have an 8k block size on 8.1.6 Win2K system, with LMT - UNIFORM extent size of 516k and a DEFAULT MAXEXTENTS of 2147483645 ! This I take it was the default, as I didn't specify that on creation.. A little more than 505...

Regards

Mark
  -----Original Message-----
  From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Chuck Hamilton
  Sent: Wednesday, January 31, 2001 05:28   To: Multiple recipients of list ORACLE-L   Subject: RE: Locally managed tablespaces

  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 Lis! ! ts



    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!

------=_NextPart_000_0008_01C08BB4.93FDC5B0
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dus-ascii" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D615322918-31012001>I have=20
an 8k block size on 8.1.6 Win2K system,&nbsp; with LMT - UNIFORM extent =
size of=20
516k and a DEFAULT MAXEXTENTS of 2147483645 ! This I take it was the =
default, as=20
I didn't specify that on creation.. A little more than 505...=20
</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D615322918-31012001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D615322918-31012001>Regards</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D615322918-31012001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D615322918-31012001>Mark</SPAN></FONT></DIV>
<BLOCKQUOTE>
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> root_at_fatcity.com=20
  [mailto:root_at_fatcity.com]<B>On Behalf Of </B>Chuck =
Hamilton<BR><B>Sent:</B>=20
  Wednesday, January 31, 2001 05:28<BR><B>To:</B> Multiple recipients of =
list=20
  ORACLE-L<BR><B>Subject:</B> RE: Locally managed=20
  tablespaces<BR><BR></DIV></FONT>
  <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=20
  approximately 256k bits for the bitmap per datafile. If each bit =
represents=20
  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>=20
  wrote: <BR>
  <BLOCKQUOTE=20
  style=3D"BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; =
PADDING-LEFT: 5px">When=20
    using locally managed tablespace, you should not<BR>have more =
extents than=20
    the number of extents that the<BR>segment header can hold in 1=20
    block.<BR><BR>For a 8K block you should not have more than=20
    505<BR>extents.<BR><BR>The main drawback I see with lmt using =
uniform=20
    extent<BR>is if you want to change the extent size. You=20
    must<BR>drop/recreate the tablespace or migrate it to<BR>dictionnary =
managed=20
    ,make the change than migrate it<BR>back to locally =
managed.<BR><BR>Also, If=20
    all your tbs are locally managed you must<BR>have an online rollback =
segment=20
    in the system<BR>tablespace before putting all the other rbs=20
    offline<BR>(like in Oracle 7.1) .<BR><BR><BR>--- "Malkuns, Skip"=20
    <SMALKUNS_at_SYSTEMS.TEXTRON.COM>a<BR>icrit&nbsp;: &gt; Is anyone using =
LMTSs?=20
    What is the largest<BR>number of<BR>&gt; extents that an =
object<BR>&gt;=20
    has?<BR>&gt; Notice any performance difference between LMTS =
and<BR>&gt;! ! ;=20
    Locally managed<BR>&gt; tablespaces??<BR>&gt; Had any problems with=20
    LMTS?<BR>&gt; Skip<BR>&gt; <BR>&gt; &gt; -----Original =
Message-----<BR>&gt;=20
    &gt; From: The Oracle DBA [SMTP:theoracledba_at_lycos.com]<BR>&gt; &gt; =
Sent:=20
    Tuesday, January 30, 2001 2:11 PM<BR>&gt; &gt; To: Multiple =
recipients of=20
    list ORACLE-L<BR>&gt; &gt; Subject: Re: Locally managed =
tablespaces<BR>&gt;=20
    &gt; <BR>&gt; &gt; Has anyone taken a PROD DB and changed it to=20
    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;=20
    TheOracleDBA<BR>&gt; &gt; theoracledba_at_lycos.com<BR>&gt; &gt; =
<BR>&gt; &gt;=20
    <BR>&gt; &gt; <BR>&gt; &gt; On Tue, 30 Jan 2001 10:30:29 <BR>&gt; =
&gt;=20
    Bunyamin K.Karadeniz wrote:<BR>&gt; &gt; &gt; But some had claimed =
that=20
    Locally managed<BR>&gt; tablespaces are slower. I<BR>&gt; &gt; =
do<BR>&gt;=20
    &gt; &gt;not know if it is correct but you must consider<BR>&gt; it=20
    .<BR>&gt; &gt; &gt; And I wonder the performance results too.<BR>! ! =
&gt;=20
    &gt; &gt;----- Original Message -----<BR>&gt; &gt; &gt;To: Multiple=20
    recipients of list ORACLE-L<BR>&gt; <ORACLE-L_at_FATCITY.COM><BR>&gt; =
&gt;=20
    &gt;Sent: Tuesday, January 30, 2001 3:35 PM<BR>&gt; &gt; =
&gt;<BR>&gt; &gt;=20
    &gt;<BR>&gt; &gt; &gt;&gt; I have always been concerned with=20
    fragmentation<BR>&gt; of tablespaces, whether<BR>&gt; &gt; =
it<BR>&gt; &gt;=20
    &gt;&gt; be lots of extents, honeycomb or<BR>&gt; &gt; &gt;&gt; =
bubble=20
    fragmentation. Now I am reading that in<BR>&gt; Oracle 8i with the=20
    use<BR>&gt; &gt; of<BR>&gt; &gt; &gt;&gt; locally-managed table=20
    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=20
    management. This seems foreign to me<BR>&gt; that even though =
Oracle<BR>&gt;=20
    &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=20
    will! ! go into<BR>&gt; &gt; &gt;the<BR>&gt; &gt; &gt;&gt; thousands =
with no=20
    performance degradation.<BR>&gt; &gt; &gt;&gt; Could folks who are =
currently=20
    using locally<BR>&gt; managed tablespaces please<BR>&gt; &gt; =
&gt;&gt;=20
    comment on how well it<BR>&gt; &gt; &gt;&gt; is working for them and =
if they=20
    have<BR>&gt; experienced any problems in using<BR>&gt; &gt;=20
    &gt;them.<BR>&gt; &gt; &gt;&gt; Thanks<BR>&gt; &gt; &gt;&gt; =
Skip<BR>&gt;=20
    &gt; &gt;&gt; Here is a good white paper on the subject.<BR>&gt; =
&gt;=20
    &gt;&gt;<BR>&gt; =
http://www.embarcadero.com/news/white_papers.htm<BR>&gt;=20
    &gt; &gt;&gt; --<BR>&gt; &gt; <BR>&gt; -- <BR>&gt; Please see the =
official=20
    ORACLE-L FAQ:<BR>&gt; http://www.orafaq.com<BR>&gt; -- <BR>&gt; =
Author:=20
    Malkuns, Skip<BR>&gt; INET: SMALKUNS_at_SYSTEMS.TEXTRON.com<BR>&gt; =
<BR>&gt;=20
    Fat City Network Services -- (858) 538-5051 FAX:<BR>&gt; (858)=20
    538-5051<BR>&gt; San Diego, California -- Public Internet<BR>&gt; =
access /=20
    Mailing Lists<BR>&gt;<BR>----------------------------------! !=20
    ----------------------------------<BR>&gt; To REMOVE yourself from =
this=20
    mailing list, send an<BR>&gt; E-Mail message<BR>&gt; to:=20
    ListGuru_at_fatcity.com (note EXACT spelling of<BR>&gt; 'ListGuru') and =

    in<BR>&gt; the message BODY, include a line containing: =
UNSUB<BR>&gt;=20
    ORACLE-L<BR>&gt; (or the name of mailing list you want to be =
removed<BR>&gt;=20
    from). You may<BR>&gt; also send the HELP command for other=20
    information<BR>&gt; (like =
subscribing).<BR><BR><BR>=3D=3D=3D=3D=3D<BR>Stephane=20
    Paquette<BR>DBA=20
    =
Oracle<BR>stephane_paquette_at_yahoo.com<BR><BR>____________________________=
______________________<BR>Get=20
    personalized email addresses from Yahoo! Mail - only $35 <BR>a year! =

    http://personal.mail.yahoo.com/<BR>-- <BR>Please see the official =
ORACLE-L=20
    FAQ: http://www.orafaq.com<BR>-- <BR>Author:=20
    =3D?iso-8859-1?q?paquette=3D20stephane?=3D<BR>INET:=20
    stephane_paquette_at_yahoo.com<BR><BR>Fat City Network Services -- =
(858)=20
    538-5051 FAX: (858) 538-5051<BR>San Diego, California -- Public =
Internet=20
    access / Mailing Lis! !=20
    =
ts<BR>-------------------------------------------------------------------=
-<BR>To=20
    REMOVE yourself from this mailing list, send an E-Mail =
message<BR>to:=20
    ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and =
in<BR>the=20
    message BODY, include a line containing: UNSUB ORACLE-L<BR>(or the =
name of=20
    mailing list you want to be removed from). You may<BR>also send the =
Received on Wed Jan 31 2001 - 12:35:25 CST

Original text of this message

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