<?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>Comments on: Hints for Direct-path Insert Statements</title>
	<atom:link href="http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/</link>
	<description></description>
	<lastBuildDate>Thu, 17 May 2012 06:56:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Book Review: Troubleshooting Oracle Performance (Part 2) &#171; Charles Hooper&#039;s Oracle Notes</title>
		<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/#comment-289</link>
		<dc:creator>Book Review: Troubleshooting Oracle Performance (Part 2) &#171; Charles Hooper&#039;s Oracle Notes</dc:creator>
		<pubDate>Tue, 08 Nov 2011 14:32:04 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=741#comment-289</guid>
		<description>[...] statements containing a VALUES clause.  Since the time when the book was published, the author created a blog article that demonstrates how to use direct path insert for SQL statements that have a VALUES clause.  [...] </description>
		<content:encoded><![CDATA[<p>[...] statements containing a VALUES clause.  Since the time when the book was published, the author created a blog article that demonstrates how to use direct path insert for SQL statements that have a VALUES clause.  [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Antognini</title>
		<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/#comment-288</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Thu, 17 Dec 2009 08:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=741#comment-288</guid>
		<description>Hi Kerry

Sorry, I never did tests using the SYS_DL_CURSOR hint.

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Kerry</p>
<p>Sorry, I never did tests using the SYS_DL_CURSOR hint.</p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kerry Osborne</title>
		<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/#comment-287</link>
		<dc:creator>Kerry Osborne</dc:creator>
		<pubDate>Mon, 14 Dec 2009 23:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=741#comment-287</guid>
		<description>Hi Christian,

Are you familiar with SYS_DL_CURSOR hint? Do you know if the APPEND_VALUES hint is functionally the same.

Kerry</description>
		<content:encoded><![CDATA[<p>Hi Christian,</p>
<p>Are you familiar with SYS_DL_CURSOR hint? Do you know if the APPEND_VALUES hint is functionally the same.</p>
<p>Kerry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Houri Mohamed</title>
		<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/#comment-286</link>
		<dc:creator>Houri Mohamed</dc:creator>
		<pubDate>Fri, 11 Dec 2009 07:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=741#comment-286</guid>
		<description>Thanks Christian,
Always we learn something new.
Today is : in 11g we can use direct path insert with insert/values using the hint
/*+ append_values */
Regards</description>
		<content:encoded><![CDATA[<p>Thanks Christian,<br />
Always we learn something new.<br />
Today is : in 11g we can use direct path insert with insert/values using the hint<br />
/*+ append_values */<br />
Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Antognini</title>
		<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/#comment-285</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Fri, 11 Dec 2009 06:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=741#comment-285</guid>
		<description>Hi Mohamed

DML error logging is not yet supported with direct inserts.

Here is an example:

&lt;pre&gt;SQL&gt; SELECT * FROM v$version WHERE rownum = 1;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

SQL&gt; CREATE TABLE t (n NUMBER, pad VARCHAR2(100), CONSTRAINT t_n_uk UNIQUE (n));

SQL&gt; INSERT INTO t VALUES (1,&#039;bla&#039;);

SQL&gt; exec dbms_errlog.create_error_log (&#039;t&#039;)

SQL&gt; INSERT /*+ append_values */ INTO t VALUES (1,&#039;bla&#039;) LOG ERRORS;
INSERT /*+ append_values */ INTO t VALUES (1,&#039;bla&#039;) LOG ERRORS
*
ERROR at line 1:
ORA-00001: unique constraint (CHA.T_N_UK) violated

SQL&gt; SELECT ora_err_mesg$ FROM err$_t;

no rows selected

SQL&gt; INSERT INTO t VALUES (1,&#039;bla&#039;) LOG ERRORS;
INSERT INTO t VALUES (1,&#039;bla&#039;) LOG ERRORS
*
ERROR at line 1:
ORA-00001: unique constraint (CHA.T_N_UK) violated

SQL&gt; SELECT ora_err_mesg$ FROM err$_t;

ORA_ERR_MESG$
--------------------------------------------------------------------------------
ORA-00001: unique constraint (CHA.T_N_UK) violated&lt;/pre&gt;

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Mohamed</p>
<p>DML error logging is not yet supported with direct inserts.</p>
<p>Here is an example:</p>
<pre>SQL> SELECT * FROM v$version WHERE rownum = 1;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

SQL> CREATE TABLE t (n NUMBER, pad VARCHAR2(100), CONSTRAINT t_n_uk UNIQUE (n));

SQL> INSERT INTO t VALUES (1,'bla');

SQL> exec dbms_errlog.create_error_log ('t')

SQL> INSERT /*+ append_values */ INTO t VALUES (1,'bla') LOG ERRORS;
INSERT /*+ append_values */ INTO t VALUES (1,'bla') LOG ERRORS
*
ERROR at line 1:
ORA-00001: unique constraint (CHA.T_N_UK) violated

SQL> SELECT ora_err_mesg$ FROM err$_t;

no rows selected

SQL> INSERT INTO t VALUES (1,'bla') LOG ERRORS;
INSERT INTO t VALUES (1,'bla') LOG ERRORS
*
ERROR at line 1:
ORA-00001: unique constraint (CHA.T_N_UK) violated

SQL> SELECT ora_err_mesg$ FROM err$_t;

ORA_ERR_MESG$
--------------------------------------------------------------------------------
ORA-00001: unique constraint (CHA.T_N_UK) violated</pre>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Houri Mohamed</title>
		<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/#comment-284</link>
		<dc:creator>Houri Mohamed</dc:creator>
		<pubDate>Thu, 03 Dec 2009 16:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=741#comment-284</guid>
		<description>Hi Christian,

Does the dml logging error during insert /*+ append */ select is
supported by the new oracle release? Particulary for unique and
primary keys?

Mohamed</description>
		<content:encoded><![CDATA[<p>Hi Christian,</p>
<p>Does the dml logging error during insert /*+ append */ select is<br />
supported by the new oracle release? Particulary for unique and<br />
primary keys?</p>
<p>Mohamed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Antognini</title>
		<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/#comment-283</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Tue, 10 Nov 2009 22:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=741#comment-283</guid>
		<description>Hi Raja

&gt; How about using APPEND in other DML Statements like DELETE, UPDATE, MERGE ?

The APPEND hint is only supported for INSERT and MERGE statements. With MERGE statements it is specified as follows:

MERGE /*+ append */ INTO ...

&gt; Does PARALLELISM get enabled by default, when APPEND hint is used ?

No. But a parallel insert automatically use direct-path to write data into the blocks...

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Raja</p>
<p>> How about using APPEND in other DML Statements like DELETE, UPDATE, MERGE ?</p>
<p>The APPEND hint is only supported for INSERT and MERGE statements. With MERGE statements it is specified as follows:</p>
<p>MERGE /*+ append */ INTO &#8230;</p>
<p>> Does PARALLELISM get enabled by default, when APPEND hint is used ?</p>
<p>No. But a parallel insert automatically use direct-path to write data into the blocks&#8230;</p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raja</title>
		<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/#comment-282</link>
		<dc:creator>Raja</dc:creator>
		<pubDate>Tue, 03 Nov 2009 06:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=741#comment-282</guid>
		<description>The exceptions mentioned here for INSERT and APPEND are very useful.

Please clarify my doubts :
1. How about using APPEND in other DML Statements like DELETE, UPDATE, MERGE ?
2. Does PARALLELISM get enabled by default, when APPEND hint is used ?</description>
		<content:encoded><![CDATA[<p>The exceptions mentioned here for INSERT and APPEND are very useful.</p>
<p>Please clarify my doubts :<br />
1. How about using APPEND in other DML Statements like DELETE, UPDATE, MERGE ?<br />
2. Does PARALLELISM get enabled by default, when APPEND hint is used ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogroll Report 16/10/2009-23/10/2009 &#171; Coskan&#8217;s Approach to Oracle</title>
		<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/#comment-281</link>
		<dc:creator>Blogroll Report 16/10/2009-23/10/2009 &#171; Coskan&#8217;s Approach to Oracle</dc:creator>
		<pubDate>Mon, 26 Oct 2009 23:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=741#comment-281</guid>
		<description>[...] Christian Antognini-Hints for Direct-path Insert Statements [...] </description>
		<content:encoded><![CDATA[<p>[...] Christian Antognini-Hints for Direct-path Insert Statements [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timur Akhmadeev</title>
		<link>http://www.antognini.ch/2009/10/hints-for-direct-path-insert-statements/#comment-280</link>
		<dc:creator>Timur Akhmadeev</dc:creator>
		<pubDate>Mon, 26 Oct 2009 08:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=741#comment-280</guid>
		<description>Hi Chris,

see &lt;a href=&quot;https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=842374.1&quot; rel=&quot;nofollow&quot;&gt;Note 842374.1&lt;/a&gt; for explanation of this behavior.</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>see <a href="https://support.oracle.com/CSP/main/article?cmd=show&#038;type=NOT&#038;id=842374.1" rel="nofollow">Note 842374.1</a> for explanation of this behavior.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

