<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://wiki.kogite.fr/index.php?action=history&amp;feed=atom&amp;title=R%C3%83%C2%A9duire_le_tablespace_TEMP</id>
		<title>RÃ©duire le tablespace TEMP - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.kogite.fr/index.php?action=history&amp;feed=atom&amp;title=R%C3%83%C2%A9duire_le_tablespace_TEMP"/>
		<link rel="alternate" type="text/html" href="https://wiki.kogite.fr/index.php?title=R%C3%83%C2%A9duire_le_tablespace_TEMP&amp;action=history"/>
		<updated>2026-06-19T09:35:18Z</updated>
		<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.kogite.fr/index.php?title=R%C3%83%C2%A9duire_le_tablespace_TEMP&amp;diff=6025&amp;oldid=prev</id>
		<title>Frank le 14 octobre 2014 à 15:10</title>
		<link rel="alternate" type="text/html" href="https://wiki.kogite.fr/index.php?title=R%C3%83%C2%A9duire_le_tablespace_TEMP&amp;diff=6025&amp;oldid=prev"/>
				<updated>2014-10-14T15:10:14Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version du 14 octobre 2014 à 15:10&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot; &gt;Ligne 23 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 23 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Le déclarer défaut pour la base :&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Le déclarer défaut pour la base :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SQL&amp;gt; ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;SQL&amp;gt; ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Et supprimer le tablespace &amp;quot;temporaire temporaire&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Et supprimer le tablespace &amp;quot;temporaire temporaire&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SQL&amp;gt; DROP TABLESPACE temp2 INCLUDING CONTENTS AND DATAFILES;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;SQL&amp;gt; DROP TABLESPACE temp2 INCLUDING CONTENTS AND DATAFILES;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Oracle 11 =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Oracle 11 =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Beaucoup plus simple !&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Beaucoup plus simple !&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; SQL&amp;gt; alter tablespace TEMP shrink space keep 1G;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; SQL&amp;gt; alter tablespace TEMP shrink space keep 1G;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Frank</name></author>	</entry>

	<entry>
		<id>https://wiki.kogite.fr/index.php?title=R%C3%83%C2%A9duire_le_tablespace_TEMP&amp;diff=6024&amp;oldid=prev</id>
		<title>Frank : Page créée avec « Le tablespace temporaire a trop grossi suite à une opération sur la base. Comment le réduire ?  SQL&gt; SELECT tablespace_name, file_name, bytes/1024/1024/1024  2  FROM db... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.kogite.fr/index.php?title=R%C3%83%C2%A9duire_le_tablespace_TEMP&amp;diff=6024&amp;oldid=prev"/>
				<updated>2014-10-14T15:09:36Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « Le tablespace temporaire a trop grossi suite à une opération sur la base. Comment le réduire ?  SQL&amp;gt; SELECT tablespace_name, file_name, bytes/1024/1024/1024  2  FROM db... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Le tablespace temporaire a trop grossi suite à une opération sur la base. Comment le réduire ?&lt;br /&gt;
 SQL&amp;gt; SELECT tablespace_name, file_name, bytes/1024/1024/1024&lt;br /&gt;
 2  FROM dba_temp_files WHERE tablespace_name like 'TEMP%';&lt;br /&gt;
&lt;br /&gt;
= Oracle 10 et inférieurs =&lt;br /&gt;
Créer un tablespace &amp;quot;temporaire temporaire&amp;quot; pour le remplacer :&lt;br /&gt;
 SQL&amp;gt; CREATE TEMPORARY TABLESPACE temp2&lt;br /&gt;
 2  TEMPFILE '/the/full/path/to/temp2_01.dbf' SIZE 5M REUSE&lt;br /&gt;
 3  AUTOEXTEND ON NEXT 1M MAXSIZE unlimited&lt;br /&gt;
 4  EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M;&lt;br /&gt;
&lt;br /&gt;
Déclarer ce second tablespace par défaut pour la base :&lt;br /&gt;
 SQL&amp;gt; ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp2;&lt;br /&gt;
&lt;br /&gt;
Supprimer l'ancien tablespace trop gros :&lt;br /&gt;
 SQL&amp;gt; DROP TABLESPACE temp INCLUDING CONTENTS AND DATAFILES;&lt;br /&gt;
&lt;br /&gt;
Recréer un tablespace (pour retrouver le nom de tablespace de départ, c'est plus propre):&lt;br /&gt;
 SQL&amp;gt; CREATE TEMPORARY TABLESPACE temp&lt;br /&gt;
 2  TEMPFILE '/the/full/path/to/temp01.dbf' SIZE 256M REUSE&lt;br /&gt;
 3  AUTOEXTEND ON NEXT 128M MAXSIZE unlimited&lt;br /&gt;
 4  EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M;&lt;br /&gt;
&lt;br /&gt;
Le déclarer défaut pour la base :&lt;br /&gt;
SQL&amp;gt; ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;&lt;br /&gt;
&lt;br /&gt;
Et supprimer le tablespace &amp;quot;temporaire temporaire&amp;quot;&lt;br /&gt;
SQL&amp;gt; DROP TABLESPACE temp2 INCLUDING CONTENTS AND DATAFILES;&lt;br /&gt;
&lt;br /&gt;
= Oracle 11 =&lt;br /&gt;
Beaucoup plus simple !&lt;br /&gt;
 SQL&amp;gt; alter tablespace TEMP shrink space keep 1G;&lt;/div&gt;</summary>
		<author><name>Frank</name></author>	</entry>

	</feed>