Oracle 参数 INMEMORY_CLAUSE_DEFAULT 官方解释,作用,如何配置最优化建议


本站中文解释

INMEMORY_CLAUSE_DEFAULT是Oracle的一个隐藏参数,它用于控制如何执行In-Memory关键字。

它有两个值:DISABLE和ENABLE,默认情况下,其值为DISABLE。

当把这个参数设置为ENABLE时,当数据库不支持In-Memory,而用户在引用表时没有使用In-Memory关键字,那么这个表将被视为In-Memory表。

要正确设置INMEMORY_CLAUSE_DEFAULT,首先要在系统层面设置INMEMORY_SIZE并确保在Oracle架构中启动了In-Memory基础设施。然后,在sqlplus控制台中执行以下语句:

要设置参数的值为ENABLE
alter system set INMEMORY_CLAUSE_DEFAULT=ENABLE scope=spfile;

要设置参数的值为DISABLE
alter system set INMEMORY_CLAUSE_DEFAULT=DISABLE scope=spfile;

最后,重新启动数据库以使参数生效。

官方英文解释

window.name=’INMEMORY_CLAUSE_DEFAULT’
function footdisplay(footnum,footnote) {
var msg = window.open(‘about:blank’, ‘NewWindow’ + footnum,
‘directories=no,height=100,location=no,menubar=no,resizable=yes,’ +
‘scrollbars=yes,status=no,toolbar=no,width=598’);
msg.document.open(‘text/html’);
msg.document.write(”);
msg.document.write(‘‘);</p><p> msg.document.write(‘Footnote  ‘ + footnum);<br /> msg.document.write(”);<br /> msg.document.write(”);<br /> msg.document.write(‘ <![CDATA[ ');<br /> msg.document.write('h1 {text-align: center; font-size: 14pt;}');<br /> msg.document.write('fieldset {border: none;}');<br /> msg.document.write('form {text-align: center;}');<br /> msg.document.write(' ]]\u003e ‘);<br /> msg.document.write(‘</p><h1>Footnote  ‘ + footnum + ‘</p><p>‘);<br /> msg.document.write(footnote);<br /> msg.document.write(‘</p><fieldset>‘);<br /> msg.document.write(”);<br /> msg.document.write(”);<br /> msg.document.close();<br /> setTimeout(function() {<br /> var height = msg.document.getElementById(‘footnote’).offsetHeight;<br /> msg.resizeTo(598, height + 100);<br /> }<br /> , 100);<br /> msg.focus();<br />}</p><p>The script content on this page is for navigation purposes only and does not alter the content in any way.</p><p><code class="codeph">INMEMORY_CLAUSE_DEFAULT</code> enables you to specify a default In-Memory Column Store (IM column store) clause for new tables and materialized views. </p><p> </p><p class="notep1">Note:</p><p>The setting of his parameter has no effect on In-Memory external tables or hybrid partitioned tables. </p></p><p> </p><table cellpadding="4" cellspacing="0" class="Formal" title="" summary="This table describes the properties for this initialization parameter" width="100%" border="1" rules="rows"><thead><tr align="left" valign="top"><th align="left" valign="bottom" width="22%" id="d106125e130">Property</th><th align="left" valign="bottom" width="78%" id="d106125e133">Description</th></tr></thead><tbody><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e138" headers="d106125e130 "><p><span class="bold">Parameter type</span></p></td><td align="left" valign="top" width="78%" headers="d106125e138 d106125e133 "><p>String</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e146" headers="d106125e130 "><p><span class="bold">Syntax</span></p></td><td align="left" valign="top" width="78%" headers="d106125e146 d106125e133 "><p><code class="codeph">INMEMORY_CLAUSE_DEFAULT = '[INMEMORY] [NO INMEMORY] [other-clauses]</code>‘ </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e156" headers="d106125e130 "><p> <span class="bold">Syntax</span></p></td><td align="left" valign="top" width="78%" headers="d106125e156 d106125e133 "><p><span class="bold">other-clauses::=</span></p><p><code class="codeph">[compression-clause] [priority-clause] [rac-clause]</code></p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e169" headers="d106125e130 "><p><span class="bold">Syntax</span></p></td><td align="left" valign="top" width="78%" headers="d106125e169 d106125e133 "><p><span class="bold">compression-clause::=</span></p><p><code class="codeph">NO MEMCOMPRESS | MEMCOMPRESS FOR { DML | QUERY [ LOW | HIGH ] | CAPACITY [LOW | HIGH] }</code><sup>Foot 1</sup></p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e188" headers="d106125e130 "><p><span class="bold">Syntax</span></p></td><td align="left" valign="top" width="78%" headers="d106125e188 d106125e133 "><p><span class="bold">priority-clause::=</span></p><p><code class="codeph">PRIORITY { LOW | MEDIUM | HIGH | CRITICAL | NONE }</code><sup>Foot 1</sup></p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e202" headers="d106125e130 "><p><span class="bold">Syntax</span></p></td><td align="left" valign="top" width="78%" headers="d106125e202 d106125e133 "><p><span class="bold">rac-clause::=</span></p><p><code class="codeph">[distribute-clause] [duplicate-clause]</code><sup>Foot 1</sup></p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e216" headers="d106125e130 "><p><span class="bold">Syntax</span></p></td><td align="left" valign="top" width="78%" headers="d106125e216 d106125e133 "><p><span class="bold">distribute-clause::=</span></p><p><code class="codeph">DISTRIBUTE [ AUTO | BY ROWID RANGE ]</code><sup>Foot 1</sup></p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e230" headers="d106125e130 "><p><span class="bold">Syntax</span></p></td><td align="left" valign="top" width="78%" headers="d106125e230 d106125e133 "><p><span class="bold">duplicate-clause::=</span></p><p><code class="codeph">NO DUPLICATE | DUPLICATE [ ALL ]</code><sup>Foot 1</sup></p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e244" headers="d106125e130 "><p><span class="bold">Default value</span></p></td><td align="left" valign="top" width="78%" headers="d106125e244 d106125e133 "><p>An empty string</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e252" headers="d106125e130 "><p><span class="bold">Modifiable</span></p></td><td align="left" valign="top" width="78%" headers="d106125e252 d106125e133 "><p><code class="codeph">ALTER SESSION, ALTER SYSTEM</code></p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e261" headers="d106125e130 "><p><span class="bold">Modifiable in a PDB</span></p></td><td align="left" valign="top" width="78%" headers="d106125e261 d106125e133 "><p>Yes</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e270" headers="d106125e130 "><p><span class="bold">Basic</span></p></td><td align="left" valign="top" width="78%" headers="d106125e270 d106125e133 "><p>No</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="22%" id="d106125e278" headers="d106125e130 "><p><span class="bold">Oracle RAC</span></p></td><td align="left" valign="top" width="78%" headers="d106125e278 d106125e133 "><p>All instances should use the same value</p></td></tr></tbody></table><p> </p><p class="tablefootnote"><sup class="tablefootnote">Footnote 1 </sup>See Table 2-2 for more information about this clause. </p><p>If the <code class="codeph">INMEMORY_CLAUSE_DEFAULT</code> parameter is unset or set to an empty string (the default), only tables and materialized views explicitly specified as <code class="codeph">INMEMORY</code> will be populated into the IM column store. Setting the value of the <code class="codeph">INMEMORY_CLAUSE_DEFAULT</code> parameter to <code class="codeph">NO INMEMORY</code> has the same effect as setting it to the default value. </p><p>If the <code class="codeph">INMEMORY_CLAUSE_DEFAULT</code> parameter is set, then any <span class="italic">newly created</span> table or materialized view specified as <code class="codeph">INMEMORY</code> will inherit unspecified attributes from this parameter. This can force certain in-memory options by default that are not explicitly specified in the syntax. For example, if the <code class="codeph">INMEMORY_CLAUSE_DEFAULT</code> parameter is set to <code class="codeph">MEMCOMPRESS FOR CAPACITY LOW</code> and a table is created as <code class="codeph">INMEMORY PRIORITY HIGH</code>, then the table is treated as if it was declared as <code class="codeph">INMEMORY MEMCOMPRESS FOR CAPACITY LOW PRIORITY HIGH</code>. </p><p>If <code class="codeph">INMEMORY</code> is specified as part of this parameter, then all newly created tables and materialized views will be populated into the IM column store, except tables and materialized views explicitly specified as <code class="codeph">NO INMEMORY</code>. For example, if this parameter is set to <code class="codeph">INMEMORY MEMCOMPRESS FOR CAPACITY HIGH</code>, then all new tables will be created as if this clause were present in the SQL <code class="codeph">CREATE TABLE</code> statement. If there is a default <code class="codeph">INMEMORY</code> value for the tablespace for a given segment, then it will override the value for this parameter. </p></p><p> </p><p class="titleintable">Table 2-2 Meaning of INMEMORY_CLAUSE_DEFAULT Parameter Values</p><table cellpadding="4" cellspacing="0" class="Formal" title="Meaning of INMEMORY_CLAUSE_DEFAULT Parameter Values" summary="This table describes INMEMORY_CLAUSE_DEFAULT parameter values" width="100%" border="1" rules="rows"><thead><tr align="left" valign="top"><th align="left" valign="bottom" width="31%" id="d106125e351">Syntax</th><th align="left" valign="bottom" width="69%" id="d106125e354">Description</th></tr></thead><tbody><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e359" headers="d106125e351 "><p><code class="codeph">INMEMORY</code></p></td><td align="left" valign="top" width="69%" headers="d106125e359 d106125e354 "><p>Specifies that all newly-created tables and materialized views populate the IM column store unless they are specified as <code class="codeph">NO INMEMORY</code> in the SQL <code class="codeph">CREATE TABLE</code> or <code class="codeph">CREATE MATERIALIZED VIEW</code> statement </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e376" headers="d106125e351 "><p><code class="codeph">NO INMEMORY</code></p></td><td align="left" valign="top" width="69%" headers="d106125e376 d106125e354 "><p>Specifies that only tables and materialized views explicitly specified as <code class="codeph">INMEMORY</code> in the SQL <code class="codeph">CREATE TABLE</code> or <code class="codeph">CREATE MATERIALIZED VIEW</code> statements populate the IM column store </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e393" headers="d106125e351 "><p><code class="codeph">compression-clause</code></p></td><td align="left" valign="top" width="69%" headers="d106125e393 d106125e354 "><p>Specifies that in-memory compression should be used for the instance. Use the <code class="codeph">MEMCOMPRESS FOR</code> values to specify the in-memory compression level. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e404" headers="d106125e351 "><p><code class="codeph">NO MEMCOMPRESS</code></p></td><td align="left" valign="top" width="69%" headers="d106125e404 d106125e354 "><p>When <code class="codeph">NO MEMCOMPRESS</code> is specified, no in-memory compression is done in the IM column store. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e415" headers="d106125e351 "><p><code class="codeph">MEMCOMPRESS FOR</code></p></td><td align="left" valign="top" width="69%" headers="d106125e415 d106125e354 "><p><code class="codeph">MEMCOMPRESS FOR</code> is used to indicate the in-memory compression level for the IM column store. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e425" headers="d106125e351 "><p><code class="codeph">DML</code></p></td><td align="left" valign="top" width="69%" headers="d106125e425 d106125e354 "><p>When <code class="codeph">DML</code> is specified, the IM column store is optimized for DML operations, and some lightweight in-memory compression may be done. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e436" headers="d106125e351 "><p><code class="codeph">QUERY</code></p></td><td align="left" valign="top" width="69%" headers="d106125e436 d106125e354 "><p>When <code class="codeph">QUERY</code> is specified, the in-memory compression level is for high performance. If <code class="codeph">QUERY</code> is specified without <code class="codeph">LOW</code> or <code class="codeph">HIGH</code>, it defaults to <code class="codeph">QUERY LOW</code>. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e459" headers="d106125e351 "><p><code class="codeph">QUERY LOW</code></p></td><td align="left" valign="top" width="69%" headers="d106125e459 d106125e354 "><p>When <code class="codeph">QUERY LOW</code> is specified, the in-memory compression level provides the highest performance. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e470" headers="d106125e351 "><p><code class="codeph">QUERY HIGH</code></p></td><td align="left" valign="top" width="69%" headers="d106125e470 d106125e354 "><p>When <code class="codeph">QUERY HIGH</code> is specified, the in-memory compression level provides a balance between compression and performance, weighted toward performance. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e481" headers="d106125e351 "><p><code class="codeph">CAPACITY</code></p></td><td align="left" valign="top" width="69%" headers="d106125e481 d106125e354 "><p>When <code class="codeph">CAPACITY</code> is specified without <code class="codeph">LOW</code> or <code class="codeph">HIGH</code>, it defaults to <code class="codeph">CAPACITY LOW</code>. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e501" headers="d106125e351 "><p><code class="codeph">CAPACITY LOW</code></p></td><td align="left" valign="top" width="69%" headers="d106125e501 d106125e354 "><p>When <code class="codeph">CAPACITY LOW</code> is specified, the in-memory compression level is a balance between compression and performance, weighted toward capacity. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e513" headers="d106125e351 "><p><code class="codeph">CAPACITY HIGH</code></p></td><td align="left" valign="top" width="69%" headers="d106125e513 d106125e354 "><p>When <code class="codeph">CAPACITY HIGH</code> is specified, the in-memory compression level is for highest capacity. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e524" headers="d106125e351 "><p><code class="codeph">priority-clause</code></p></td><td align="left" valign="top" width="69%" headers="d106125e524 d106125e354 "><p>Specifies the priority to use when populating tables in the IM column store. Use the <code class="codeph">PRIORITY</code> values to specify the priority. </p><p>By default, the population of a table in the IM column store can be delayed until the database determines it is useful.</p><p>On database instance startup, tables are populated in priority order.</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e539" headers="d106125e351 "><p><code class="codeph">PRIORITY NONE</code></p></td><td align="left" valign="top" width="69%" headers="d106125e539 d106125e354 "><p>When <code class="codeph">PRIORITY NONE</code> is specified, the population of a table in the IM column store can be delayed until the database determines it is useful. </p><p>This is the default value when no priority is specified.</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e552" headers="d106125e351 "><p><code class="codeph">PRIORITY LOW</code></p></td><td align="left" valign="top" width="69%" headers="d106125e552 d106125e354 "><p>When <code class="codeph">PRIORITY LOW</code> is specified for a table or tables, the population of those tables in the IM column store is done before tables that have no priority specified. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e563" headers="d106125e351 "><p><code class="codeph">PRIORITY MEDIUM</code></p></td><td align="left" valign="top" width="69%" headers="d106125e563 d106125e354 "><p>When <code class="codeph">PRIORITY MEDIUM</code> is specified for a table or tables, the population of those tables in the IM column store is done before tables that have no priority and <code class="codeph">PRIORITY LOW</code> specified. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e577" headers="d106125e351 "><p><code class="codeph">PRIORITY HIGH</code></p></td><td align="left" valign="top" width="69%" headers="d106125e577 d106125e354 "><p>When <code class="codeph">PRIORITY HIGH</code> is specified for a table or tables, the population of those tables in the IM column store is done before tables that have no priority, <code class="codeph">PRIORITY LOW</code>, and <code class="codeph">PRIORITY MEDIUM</code> specified. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e594" headers="d106125e351 "><p><code class="codeph">PRIORITY CRITICAL</code></p></td><td align="left" valign="top" width="69%" headers="d106125e594 d106125e354 "><p>When <code class="codeph">PRIORITY CRITICAL</code> is specified for a table or tables, the population of those tables in the IM column store is done before tables that have no priority, <code class="codeph">PRIORITY LOW</code>, <code class="codeph">PRIORITY MEDIUM</code>, and <code class="codeph">PRIORITY HIGH</code> specified. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e614" headers="d106125e351 "><p><code class="codeph">rac-clause</code></p></td><td align="left" valign="top" width="69%" headers="d106125e614 d106125e354 "><p>Specifies how tables in the IM column store will be managed among Oracle Real Application Clusters (Oracle RAC) instances. Use the <code class="codeph">distribute-clause</code> and <code class="codeph">duplicate-clause</code> to specify how tables in the IM store will be managed in Oracle RAC instances. </p><p>For a non-Oracle RAC database, these settings have no effect, because the whole table or partition has to be on the single instance.</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e630" headers="d106125e351 "><p><code class="codeph">distribute-clause</code></p></td><td align="left" valign="top" width="69%" headers="d106125e630 d106125e354 "><p>Specifies how a table is distributed among Oracle RAC instances.</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e638" headers="d106125e351 "><p><code class="codeph">DISTRIBUTE AUTO</code></p></td><td align="left" valign="top" width="69%" headers="d106125e638 d106125e354 "><p>Specifies that the database will automatically decide how to distribute tables in the IM column store across the Oracle RAC instances based on the type of partitioning and the value of the <code class="codeph">duplicate-clause</code>. </p><p><code class="codeph">DISTRIBUTE AUTO</code> is the default, and it is also used when <code class="codeph">DISTRIBUTE</code> is specified by itself. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e656" headers="d106125e351 "><p><code class="codeph">DISTRIBUTE BY ROWID RANGE</code></p></td><td align="left" valign="top" width="69%" headers="d106125e656 d106125e354 "><p>Specifies that the tables in the IM column store will be distributed by rowid range to different Oracle RAC instances.</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e665" headers="d106125e351 "><p><code class="codeph">duplicate-clause</code></p></td><td align="left" valign="top" width="69%" headers="d106125e665 d106125e354 "><p>Specifies how many copies of each In-Memory Compression Unit (IMCU) of the tables in the IM column store will be spread across all the Oracle RAC instances.</p><p><span class="bold">Note:</span> The <code class="codeph">duplicate-clause</code> is only applicable if you are using Oracle Real Application Clusters (Oracle RAC) on an engineered system. Otherwise, the <code class="codeph">duplicate-clause</code> is ignored and there is only one copy of each IMCU in memory. </p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e683" headers="d106125e351 "><p><code class="codeph">NO DUPLICATE</code></p></td><td align="left" valign="top" width="69%" headers="d106125e683 d106125e354 "><p>Data is not duplicated across Oracle RAC instances. This is the default.</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e691" headers="d106125e351 "><p><code class="codeph">DUPLICATE</code></p></td><td align="left" valign="top" width="69%" headers="d106125e691 d106125e354 "><p>Data is duplicated on another Oracle RAC instance, resulting in data existing on a total of two Oracle RAC instances..</p></td></tr><tr align="left" valign="top"><td align="left" valign="top" width="31%" id="d106125e699" headers="d106125e351 "><p><code class="codeph">DUPLICATE ALL</code></p></td><td align="left" valign="top" width="69%" headers="d106125e699 d106125e354 "><p>Data is duplicated across all Oracle RAC instances. If you specify <code class="codeph">DUPLICATE ALL</code>, then the database uses the <code class="codeph">DISTRIBUTE AUTO</code> setting, regardless of whether or how you specify the <code class="codeph">distribute-clause</code>. </p></td></tr></tbody></table><p> </p><p class="subhead1" id="GUID-5772F775-2A3E-4BC8-AA03-B8FF383BEE52__GUID-5777FD8A-DB51-4DF7-A86F-380B8AD09152" role="heading">Examples</p></p><p> </p><p>The following statement causes no tables to populate the IM column store:</p><pre class="oac_no_warn" dir="ltr"><button class="copy-btn copy-btn-enabled" aria-label="Copy the following example to clipboard"><span class="copy-btn-text">Copy</span></button>alter system set INMEMORY_CLAUSE_DEFAULT='NO INMEMORY'scope=both;</pre><p>The following statement causes new tables and materialized views (except those specified as <code class="codeph">NO INMEMORY</code>) to populate the IM column store at the high capacity compression level: </p><pre class="oac_no_warn" dir="ltr"><button class="copy-btn copy-btn-enabled" aria-label="Copy the following example to clipboard"><span class="copy-btn-text">Copy</span></button>alter system setINMEMORY_CLAUSE_DEFAULT='INMEMORY MEMCOMPRESS FOR CAPACITY HIGH'scope=both;</pre><p>The following statement causes new tables (even those specified as <code class="codeph">NO INMEMORY</code>) to populate the IM column store at the highest performance compression level at <code class="codeph">LOW</code> priority: </p><pre class="oac_no_warn" dir="ltr"><button class="copy-btn copy-btn-enabled" aria-label="Copy the following example to clipboard"><span class="copy-btn-text">Copy</span></button>alter system setINMEMORY_CLAUSE_DEFAULT='INMEMORY MEMCOMPRESS FOR QUERY LOW PRIORITY LOW'scope=both;</pre><p>The following statement causes new tables (even those specified as <code class="codeph">NO INMEMORY</code>) to populate the IM column store without any in-memory compression: </p><pre class="oac_no_warn" dir="ltr"><button class="copy-btn copy-btn-enabled" aria-label="Copy the following example to clipboard"><span class="copy-btn-text">Copy</span></button>alter system setINMEMORY_CLAUSE_DEFAULT='INMEMORY NO MEMCOMPRESS'scope=both;</pre><p>The following statement causes tables in the IM column store to be duplicated on every Oracle RAC instance, unless on a non-engineered system. For a non-engineered system, the <code class="codeph">duplicate-clause</code> (<code class="codeph">DUPLICATE ALL</code>) will be ignored and tables in the column store will be automatically distributed across the Oracle RAC instance, with only one copy of each IMCU in the tables in the IM column store: </p><pre class="oac_no_warn" dir="ltr"><button class="copy-btn copy-btn-enabled" aria-label="Copy the following example to clipboard"><span class="copy-btn-text">Copy</span></button>alter system setINMEMORY_CLAUSE_DEFAULT='INMEMORY MEMCOMPRESS FOR QUERYDISTRIBUTE AUTO DUPLICATE ALL'scope=both;</pre><p>The following statement sets the value of the <code class="codeph">INMEMORY_CLAUSE_DEFAULT</code> parameter back to its default value, the empty string: </p><pre class="oac_no_warn" dir="ltr"><button class="copy-btn copy-btn-enabled" aria-label="Copy the following example to clipboard"><span class="copy-btn-text">Copy</span></button>alter system setINMEMORY_CLAUSE_DEFAULT=''scope=both;</pre><p class="notep1">See Also:</p><ul style="list-style-type: disc"><li><p><span class="q">“INMEMORY_FORCE”</span></p></li><li><p><span class="q">“INMEMORY_QUERY”</span></p></li><li><p><span class="q">“INMEMORY_SIZE”</span></p></li><li><p><span class="q">“V$IM_SEGMENTS”</span></p></li><li><p><span class="q">“V$IM_USER_SEGMENTS”</span></p></li><li><p><span class="q">“QUERY_REWRITE_INTEGRITY”</span></p></li><li><p><span><cite>Oracle Database In-Memory<br /> Guide</cite></span> for an introduction to the IM column store </p></li><li><p><span><cite>Oracle Database In-Memory<br /> Guide</cite></span> for more information about the IM column store </p></li><li><p><span><cite>Oracle Database In-Memory<br /> Guide</cite></span> for more information on IM column store compression methods </p></li><li><p><span><cite>Oracle Database In-Memory<br /> Guide</cite></span> for more information on priority levels for populating a database object in the IM column store </p></li><li><p><span><cite>Oracle Database SQL<br /> Language Reference</cite></span> for more information on the CREATE TABLE statement </p></li><li><p><span><cite>Oracle Database SQL<br /> Language Reference</cite></span> for more information on the CREATE MATERIALIZED VIEW statement </p></li></ul></p><p> </div> <!--<p class="news"></p>--> <!--<div class="introBott" style="text-align: left;"> <h2><a href="http://www.qiping.cn/newslist/0教程资料.html"></a></h2> </div>--> </div> </div> <div class="main-news"> <div class="layui-container"> <div class="layui-row layui-col-space20"> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01163973784844242944.html">Oracle11防火墙安全保障企业数据完整性(oracle11 防火墙)</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01163973767706316800.html">解决Oracle进程死锁问题的方法(oracle进程死锁)</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01163973755819659264.html">2012年2月安装MySQL新环境,新体验(20122R装mysql)</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01163973740527226880.html">破解MySQL锁机制了解X锁和U锁(mysql x锁 u锁)</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01163973710986743808.html">在CMD里使用MySQL一次迅速的体验(cmd中使用mysql)</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01163973700098330624.html">求解Oracle数据库中的年龄(oracle中怎么求年龄)</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01163973690401099776.html">Oracle 9i注册机轻松解决注册问题(oracle 9i注册机)</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01163973676392124416.html">解决Oracle串库问题之路(oracle串库问题)</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01163973662689333248.html">者Oracle数据库初学者指南(oracle初学)</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01163973647619198976.html">h函数的使用技巧与注意事项(mysql_fetc)</a> </div> </div> </div> </div> </div> <!-- footer部分 --> <div class="footer"> <div class="layui-container"> <p class="footer-web"> <a href="http://url.qiping.cn/" target="_blank">域名转发系统</a> <a href="https://www.14study.cn/" target="_blank">一起学习网</a> <a href="https://cms.qiping.cn/" target="_blank">站群管理系统</a> <a href="https://fcms.qiping.cn/" target="_blank">消防隐患排查系统</a> <a href="https://www.4x4offroadleds.com" target="_blank">汽车灯</a> </p> <div class="layui-row footer-contact"> <div class="layui-col-sm2 layui-col-lg1"><img width="90" height="90" src="https://global.cnd.aidufei.com/99999999/template/1323680824255713280.png"></div> <div class="layui-col-sm10 layui-col-lg11"> <div class="layui-row"> <div class="layui-col-sm6 layui-col-md8 layui-col-lg9"> <p class="contact-top"><i class="layui-icon layui-icon-cellphone"></i> 13432074335</p> <p class="contact-bottom"><i class="layui-icon layui-icon-home"></i> QQ:312425336</p> </div> <div class="layui-col-sm6 layui-col-md4 layui-col-lg3"> <p class="contact-top"><span class="right"><p>版本所有:祺平科技<br/></p></span></p> <p class="contact-bottom"><span class="right"> <a href="https://beian.miit.gov.cn" target="_blank">粤ICP备15012827号</a><br> </span></p> </div> </div> </div> </div> </div> </div> <script src="https://global.cnd.aidufei.com/cms/lib/layui/layui.js"></script> <script> var path = 'https://global.cnd.aidufei.com/cms/'; var template = 't0_2'; layui.config({ base: path+'web/'+template+'/js/' }).use('firm'); </script><script> proxyImage('.introTop'); adjustImageSize('.introTop'); $(window).resize(function() {adjustImageSize('.introTop');}); </script> <script type="text/javascript" src="https://hm.baidu.com/hm.js?2e8f7fcee0f845820f8b9a2e0c1ff589"></script> <script type="text/javascript" src="https://hm.baidu.com/hm.js?977ecf21d4a5885084f33285a2f93de6"></script> <script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script> <script>LA.init({id:"3LVaPRY7KWTTXG2v",ck:"3LVaPRY7KWTTXG2v",autoTrack:true,screenRecord:true})</script> </body> </html>