<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: extent issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081896#M811237</link>
    <description>U have  very good set of replies in your previous thread,their replies should work and very great info also given there.First thanks to them.&lt;BR /&gt;&lt;BR /&gt;Can u please give the version info,Which tablespace(temp, rollback e.t.c) of your database.&lt;BR /&gt;Is that a table of Frequent delete/inserts e.t.c (i mean to come by steps)is that for a table ?&lt;BR /&gt;If it is 7.2, it depends on block size which restricts max extents (with 2K its 121,with 4K its upto 249 and if 8K upto 505).&lt;BR /&gt;One thing we can do is Export the related data, reorganise with (tablespace/table)with  proper values and  NEXT taken care and now import your data.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
    <pubDate>Tue, 30 Sep 2003 12:11:11 GMT</pubDate>
    <dc:creator>Hari Kumar</dc:creator>
    <dc:date>2003-09-30T12:11:11Z</dc:date>
    <item>
      <title>extent issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081892#M811233</link>
      <description>Hi &lt;BR /&gt;I have a Oracle Database which has reached it's max extents of a 121. i have set this to unlimited but still get the same error message. &lt;BR /&gt;&lt;BR /&gt;sql &lt;BR /&gt;&lt;BR /&gt;alter tablespace &lt;TABLESPACE-NAME&gt; default storage (maxextents unlimited); &lt;BR /&gt;&lt;BR /&gt;when i query it with the following i get: &lt;BR /&gt;&lt;BR /&gt;SELECT SUBSTR(owner||'.'||segment_name,1,50) OBJECT, &lt;BR /&gt;EXTENTS, MAX_EXTENTS &lt;BR /&gt;FROM DBA_SEGMENTS &lt;BR /&gt;WHERE MAX_EXTENTS - EXTENTS &amp;lt; 4 &lt;BR /&gt;ORDER BY EXTENTS; &lt;BR /&gt;&lt;BR /&gt;can anyone advise how to trouble shoot this &lt;BR /&gt;&lt;BR /&gt;it appeared when i looked at the orignal tablespace it appeared with it changed ok.&lt;BR /&gt;&lt;BR /&gt;select t.initial_extent,t.next_extent,t.min_extents,t.max_extents,t.pct_increase&lt;BR /&gt;from dba_tablespaces t&lt;BR /&gt; where t.tablespace_name = 'PMDB_NDX1';&lt;BR /&gt;&lt;BR /&gt;regards &lt;BR /&gt;grace&lt;/TABLESPACE-NAME&gt;</description>
      <pubDate>Tue, 30 Sep 2003 11:24:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081892#M811233</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-09-30T11:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: extent issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081893#M811234</link>
      <description>Hi Grace,&lt;BR /&gt;&lt;BR /&gt;Could you post the exact error message ?&lt;BR /&gt;Check the alert log file for error messages too and post them as well.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Tue, 30 Sep 2003 11:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081893#M811234</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-09-30T11:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: extent issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081894#M811235</link>
      <description>Hi &lt;BR /&gt; PLease find enclosed if you look around &lt;BR /&gt;Tue Sep 30 16:54:03 2003.&lt;BR /&gt;&lt;BR /&gt;It is there &lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Grace&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Sep 2003 12:00:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081894#M811235</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-09-30T12:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: extent issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081895#M811236</link>
      <description>This is the index not the table&lt;BR /&gt;But same idea :&lt;BR /&gt;&lt;BR /&gt;ALTER INDEX &lt;INDEXNAME&gt; STORAGE ( MAXEXTENTS 400);&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;ADMUSER.NDX_TASKACTV_TASK&lt;BR /&gt;ALTER INDEX ADMUSER.NDX_TASKACTV_TASK&lt;BR /&gt; STORAGE ( MAXEXTENTS 400);&lt;BR /&gt;&lt;BR /&gt;You can also change the extent size&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jean-luc&lt;BR /&gt;&lt;/INDEXNAME&gt;</description>
      <pubDate>Tue, 30 Sep 2003 12:09:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081895#M811236</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-09-30T12:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: extent issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081896#M811237</link>
      <description>U have  very good set of replies in your previous thread,their replies should work and very great info also given there.First thanks to them.&lt;BR /&gt;&lt;BR /&gt;Can u please give the version info,Which tablespace(temp, rollback e.t.c) of your database.&lt;BR /&gt;Is that a table of Frequent delete/inserts e.t.c (i mean to come by steps)is that for a table ?&lt;BR /&gt;If it is 7.2, it depends on block size which restricts max extents (with 2K its 121,with 4K its upto 249 and if 8K upto 505).&lt;BR /&gt;One thing we can do is Export the related data, reorganise with (tablespace/table)with  proper values and  NEXT taken care and now import your data.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Tue, 30 Sep 2003 12:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081896#M811237</guid>
      <dc:creator>Hari Kumar</dc:creator>
      <dc:date>2003-09-30T12:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: extent issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081897#M811238</link>
      <description>Grace,&lt;BR /&gt;&lt;BR /&gt;ALTER INDEX ADMUSER.NDX_TASKACTV_TASK&lt;BR /&gt;STORAGE ( NEXT 4096K );&lt;BR /&gt;&lt;BR /&gt;This is an example to chnage the next extent size to 4Mb.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Tue, 30 Sep 2003 12:12:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081897#M811238</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-09-30T12:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: extent issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081898#M811239</link>
      <description>Thanks Guys for pointing me in the right direction this is now resolved.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Grace&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Sep 2003 12:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081898#M811239</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-09-30T12:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: extent issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081899#M811240</link>
      <description>fine dude u have done it, &lt;BR /&gt;great  !! how fast u r responding, i am just typing Click!! Jean with Good solution !! again typing Click!!! Grace had Done it !!&lt;BR /&gt;Thanks friends!! Go   support Cheers!!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Sep 2003 12:20:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081899#M811240</guid>
      <dc:creator>Hari Kumar</dc:creator>
      <dc:date>2003-09-30T12:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: extent issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081900#M811241</link>
      <description>hi grace!&lt;BR /&gt;*&lt;BR /&gt;Once again, LMT will be the way to go! Locally managed tablespaces will be the solution and END of all the problems you are having and will continue to have in the future!&lt;BR /&gt;*&lt;BR /&gt;read:&lt;BR /&gt;&lt;A href="http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/tspaces.htm#9633" target="_blank"&gt;http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/tspaces.htm#9633&lt;/A&gt;&lt;BR /&gt;*&lt;BR /&gt;below another useful quote from Thomas Kyte:&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;A dictionary managed tablespace, the only type of tablespace prior to Oracle8i, manages extents in a set of database tables.  A locally managed tablespace does this extent managed in a bitmap in the header of a datafile.  A zero bit means that space is free, a one bit means it is allocated.&lt;BR /&gt;-&lt;BR /&gt;Using the dictionary approach, we can see a lot of contention in the database when you do lots of extends.  Dictionary updates are done serially (so one user at a time) and the SQL to get the free space can be somewhat time consuming.  We need to query a free space table to find the BEST free extent that is as big or bigger then the extent you want.  If we cannot find that, we have to go back and try to coalesce free space (rows in the free space table that are "adjacent" to eachother) and try again.  When we finally find one, we have to delete it from free space and add it into allocated space.  &lt;BR /&gt;-&lt;BR /&gt;Dictionary managed tablespaces allow for extents of any size which can (and frequently does) lead to free space fragmentation.  That is -- you might have 500meg of free space in a tablespace but you find that your largest CONTIGOUS &lt;BR /&gt;free chunk is 1m and lots are less.  This is a real problem when your next extents for objects in this tablespace are all greater than 1m.  You might have 500meg free but no object will be able to extend.&lt;BR /&gt;-&lt;BR /&gt;Contrast this to a locally managed tablespace.  Free space is managed in a bitmap at the head of the file.  Instead of serializing ALL space requests for a database -- we serialize for a shorter period of time at the file.  If you have &lt;BR /&gt;more then 1 file, you can have more then 1 space request being processed -- hence it removes contention.  The process of finding free space is faster as well -- space is typically managed in a UNIFORM fashion in a locally managed tablespace -- each extent is exactly the same size as every other extent.  No long search for the "best" fit -- the first fit is the best fit.  So, its faster at finding space.  Additionally -- free space coalescing happens automagically. Free up an extent and its bit goes to zero.  If the bit in front of it and behind it were zero -- we now have 3 zero bits to indicate three free chunks. &lt;BR /&gt;-&lt;BR /&gt;Most importantly -- it is IMPOSSIBLE to have free space fragmentation in a locally managed tablespace with uniform extents.  Since every extent is the size of every other extent -- ANY extent is the correct size for ANY objects next extent.  If you have 500m free in a locally managed uniform tablespace -- you really do have 500meg free.  In a dictionary managed tablespace, that same tablespace might be "full".&lt;BR /&gt;-&lt;BR /&gt;In Oracle8i, use locally managed tablespaces with uniform extents.  Oh yeah, if someone says "but that'll cause our objects to have many extents" just say "so what, who cares".  It is perfectly OK to have objects with many 100's of extents. &lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;*&lt;BR /&gt;Hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Wed, 01 Oct 2003 23:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081900#M811241</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-10-01T23:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: extent issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081901#M811242</link>
      <description>Thanks alot from me too Yogeeraj !&lt;BR /&gt;Very great info!&lt;BR /&gt;&lt;BR /&gt;Learning alot from forums.............</description>
      <pubDate>Wed, 01 Oct 2003 23:37:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extent-issue/m-p/3081901#M811242</guid>
      <dc:creator>Hari Kumar</dc:creator>
      <dc:date>2003-10-01T23:37:06Z</dc:date>
    </item>
  </channel>
</rss>

