<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OS与Oracle &#187; storage</title>
	<atom:link href="http://www.os2ora.com/tag/storage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.os2ora.com</link>
	<description>专注于现实世界Oracle数据库的高性能，高可扩展性与新一代数据库Exadata架构</description>
	<lastBuildDate>Mon, 19 Sep 2011 09:10:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Oracle中已经废弃和可能废弃的参数 &#8211; 存贮管理</title>
		<link>http://www.os2ora.com/deprecated-clause-about-storage/</link>
		<comments>http://www.os2ora.com/deprecated-clause-about-storage/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 09:20:36 +0000</pubDate>
		<dc:creator>Kaya</dc:creator>
				<category><![CDATA[Oracle管理与维护]]></category>
		<category><![CDATA[数据库性能调优]]></category>
		<category><![CDATA[deprecated]]></category>
		<category><![CDATA[DMT]]></category>
		<category><![CDATA[extent management]]></category>
		<category><![CDATA[LMT]]></category>
		<category><![CDATA[pctfree]]></category>
		<category><![CDATA[segment space management]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.os2ora.com/deprecated-clause-about-storage/</guid>
		<description><![CDATA[Oracle总在不停的前进，于是，新的管理方式出现了，旧的管理方式慢慢地退出了历史舞台，与之相联系的参数也就慢慢的销声匿迹了。 
这里要说的是空间管理方面。首当其冲的是Dictionary Managed Tablespaces......]]></description>
			<content:encoded><![CDATA[<p>Kaya 发表于 <a href="http://www.os2ora.com">os2ora.com</a></p>
<p>Oracle总在不停的前进，于是，新的管理方式出现了，旧的管理方式慢慢地退出了历史舞台，与之相联系的参数也就慢慢的销声匿迹了。<br />
这里要说的是空间管理方面。首当其冲的是Dictionary Managed Tablespaces。<br />
在10g里，SYSTEM表空间默认是locally managed的，在这种情况下，dictionary managed tablespaces是不能被创建的。<br />
所以，下面假定所有的叙述基于Locally Managed Tablespace。</p>
<p>对于Locally Managed Tablespace，有两个子选项:<br />
EXTENT MANAGEMENT LOCAL<br />
   AUTOALLOCATE<br />
   UNIFORM SIZE 1M<br />
AUTOALLOCATE指定让Oracle负责决定Extent的大小。一般的规则是先创建的extent比较小，后面创建的extent比较大。<br />
UNIFORM指定让所有的Extent一样的大小。大小由后面的Size子句决定。</p>
<p>在SEGMENT SPACE MANAGEMENT方面，也有两种方式<br />
SEGMENT SPACE MANAGEMENT<br />
    AUTO<br />
    MANUAL<br />
AUTO指定用bitmap的方式管理free space。<br />
Manual指定用freelists的方式管理free space。</p>
<p>于是，在创建表时， 根据这个表所在的表空间的类型，有些参数就显得过时了。</p>
<p>INITIAL, NEXT, PCTINCREASE, 和 MINEXTENTS这四个参数只是用来决定当一个对象创建时，要分配的extent的数量。之后，这些参数都被忽略。分配空间的大小等于INITIAL * MINEXTENTS。而MINEXTENTS的值默认为1,所以一般只用INITIAL就可以了。</p>
<p>MAXEXTENTS 不管在什么情况下都被忽略。</p>
<p>如果是采用SEGMENT SPACE MANAGEMENT AUTO，那么PCTUSED, FREELIST 和 FREELIST GROUPS都被忽略。</p>
<p>总结一下，<br />
1. 对于ASSM, 只有两个参数可以/值得配置：PCTFREE, INITIAL<br />
2. 对于MSSM，除了PCTFREE, INITIAL之外, PCTUSED, FREELIST 和 FREELIST GROUPS也可以配置。</p>
<p>从dictionary managed 到locally managed, 从MSSM再到ASSM，整个世界一下子清静下来了，或许从8i及以前版本升级上来的DBA会有更深的体会 ……</p>
]]></content:encoded>
			<wfw:commentRss>http://www.os2ora.com/deprecated-clause-about-storage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

