<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Reacties op: Opschonen van tablespaces in Oracle</title>
	<atom:link href="http://www.cilissen.nl/2007/10/23/opschonen-van-tablespaces-in-oracle/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cilissen.nl/2007/10/23/opschonen-van-tablespaces-in-oracle</link>
	<description>www.cilissen.nl</description>
	<lastBuildDate>Mon, 23 Jan 2012 10:40:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>Door: Frans van Bree</title>
		<link>http://www.cilissen.nl/2007/10/23/opschonen-van-tablespaces-in-oracle/comment-page-1#comment-7048</link>
		<dc:creator>Frans van Bree</dc:creator>
		<pubDate>Mon, 17 Aug 2009 07:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.cilissen.nl/2007/10/23/opschonen-van-tablespaces-in-oracle#comment-7048</guid>
		<description>Helaas, Bob, dit werkt enkel vanaf versie 11.

Unfortunately, Bob, this is only possible as of version 11.</description>
		<content:encoded><![CDATA[<p>Helaas, Bob, dit werkt enkel vanaf versie 11.</p>
<p>Unfortunately, Bob, this is only possible as of version 11.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Door: Bob</title>
		<link>http://www.cilissen.nl/2007/10/23/opschonen-van-tablespaces-in-oracle/comment-page-1#comment-1290</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Thu, 12 Mar 2009 11:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.cilissen.nl/2007/10/23/opschonen-van-tablespaces-in-oracle#comment-1290</guid>
		<description>Shrinking a Locally Managed Temporary Tablespace

Large sort operations performed by the database may result in a temporary tablespace growing and occupying a considerable amount of disk space. After the sort operation completes, the extra space is not released; it is just marked as free and available for reuse. Therefore, a single large sort operation might result in a large amount of allocated temporary space that remains unused after the sort operation is complete. For this reason, the database enables you to shrink locally managed temporary tablespaces and release unused space.

You use the SHRINK SPACE clause of the ALTER TABLESPACE statement to shrink a temporary tablespace, or the SHRINK TEMPFILE clause of the ALTER TABLESPACE statement to shrink a specific tempfile of a temporary tablespace. Shrinking frees as much space as possible while maintaining the other attributes of the tablespace or tempfile. The optional KEEP clause defines a minimum size for the tablespace or tempfile.

Shrinking is an online operation, which means that user sessions can continue to allocate sort extents if needed, and already-running queries are not affected.

The following example shrinks the locally managed temporary tablespace lmtmp1 to a size of 20M.
ALTER TABLESPACE lmtemp1 SHRINK SPACE KEEP 20M;

The following example shrinks the tempfile lmtemp02.dbf of the locally managed temporary tablespace lmtmp2. Because the KEEP clause is omitted, the database attempts to shrink the tempfile to the minimum possible size.
ALTER TABLESPACE lmtemp2 SHRINK TEMPFILE &#039;/u02/oracle/data/lmtemp02.dbf&#039;;</description>
		<content:encoded><![CDATA[<p>Shrinking a Locally Managed Temporary Tablespace</p>
<p>Large sort operations performed by the database may result in a temporary tablespace growing and occupying a considerable amount of disk space. After the sort operation completes, the extra space is not released; it is just marked as free and available for reuse. Therefore, a single large sort operation might result in a large amount of allocated temporary space that remains unused after the sort operation is complete. For this reason, the database enables you to shrink locally managed temporary tablespaces and release unused space.</p>
<p>You use the SHRINK SPACE clause of the ALTER TABLESPACE statement to shrink a temporary tablespace, or the SHRINK TEMPFILE clause of the ALTER TABLESPACE statement to shrink a specific tempfile of a temporary tablespace. Shrinking frees as much space as possible while maintaining the other attributes of the tablespace or tempfile. The optional KEEP clause defines a minimum size for the tablespace or tempfile.</p>
<p>Shrinking is an online operation, which means that user sessions can continue to allocate sort extents if needed, and already-running queries are not affected.</p>
<p>The following example shrinks the locally managed temporary tablespace lmtmp1 to a size of 20M.<br />
ALTER TABLESPACE lmtemp1 SHRINK SPACE KEEP 20M;</p>
<p>The following example shrinks the tempfile lmtemp02.dbf of the locally managed temporary tablespace lmtmp2. Because the KEEP clause is omitted, the database attempts to shrink the tempfile to the minimum possible size.<br />
ALTER TABLESPACE lmtemp2 SHRINK TEMPFILE &#8216;/u02/oracle/data/lmtemp02.dbf&#8217;;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

