<?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"
	>
<channel>
	<title>Comments on: INSERT INTO &#8230; SELECT  Performance with  Innodb  tables.</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/</link>
	<description>Everything about MySQL Performance</description>
	<pubDate>Fri, 05 Dec 2008 09:30:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Quang</title>
		<link>http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-352403</link>
		<dc:creator>Quang</dc:creator>
		<pubDate>Fri, 05 Sep 2008 22:28:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-352403</guid>
		<description>It's very helpful information.
Minor typo: "SELECT * FROM tbl1 INFO OUTFILE '/tmp/tbl1.txt';", it should be INTO instead of INFO</description>
		<content:encoded><![CDATA[<p>It&#8217;s very helpful information.<br />
Minor typo: &#8220;SELECT * FROM tbl1 INFO OUTFILE &#8216;/tmp/tbl1.txt&#8217;;&#8221;, it should be INTO instead of INFO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kai</title>
		<link>http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-327577</link>
		<dc:creator>kai</dc:creator>
		<pubDate>Mon, 14 Jul 2008 00:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-327577</guid>
		<description>INSERT INTO table1 SELECT * FROM table2


can I just place a table-level lock on table2 to improve the performance?  In my use case, there's only no one touching table2 excep the above query.</description>
		<content:encoded><![CDATA[<p>INSERT INTO table1 SELECT * FROM table2</p>
<p>can I just place a table-level lock on table2 to improve the performance?  In my use case, there&#8217;s only no one touching table2 excep the above query.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pero on anything</title>
		<link>http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-84608</link>
		<dc:creator>pero on anything</dc:creator>
		<pubDate>Thu, 15 Mar 2007 22:04:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-84608</guid>
		<description>&lt;strong&gt;Beware: MySQL - Implicit Transaction Commit and Rollback...&lt;/strong&gt;

Today I had a hard time dealing with mysql and transactions. Somehow my transaction has been committed in the middle of the statements. A short look into the manual revealed that there are SQL command that implicit commit a transaction. While I do unde...</description>
		<content:encoded><![CDATA[<p><strong>Beware: MySQL - Implicit Transaction Commit and Rollback&#8230;</strong></p>
<p>Today I had a hard time dealing with mysql and transactions. Somehow my transaction has been committed in the middle of the statements. A short look into the manual revealed that there are SQL command that implicit commit a transaction. While I do unde&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-1136</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sun, 23 Jul 2006 21:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-1136</guid>
		<description>Bill, Honestly speaking I'm not sure what are you trying to say (I also could not find anything related to the locks on the page you're linking) 

Note also - in the case which is described SELECT is only setting locks as it is running as the part of INSERT ... SELECT statement.    

INSERT .. INTO OUTFILE/ LOAD DATA INFILE  is just one way to work it around, which is simple and efficient.  You also can write stored procedure to do copying or even script in your favorite programming language which uses one connection to read data and other to insert in in multiple value inserts.</description>
		<content:encoded><![CDATA[<p>Bill, Honestly speaking I&#8217;m not sure what are you trying to say (I also could not find anything related to the locks on the page you&#8217;re linking) </p>
<p>Note also - in the case which is described SELECT is only setting locks as it is running as the part of INSERT &#8230; SELECT statement.    </p>
<p>INSERT .. INTO OUTFILE/ LOAD DATA INFILE  is just one way to work it around, which is simple and efficient.  You also can write stored procedure to do copying or even script in your favorite programming language which uses one connection to read data and other to insert in in multiple value inserts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Krahmer</title>
		<link>http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-1107</link>
		<dc:creator>Bill Krahmer</dc:creator>
		<pubDate>Fri, 21 Jul 2006 16:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-1107</guid>
		<description>Though it takes longer, You could also use cursors to avoid the locks. Examples can be found on this URL and in the comments:
http://dev.mysql.com/doc/refman/5.0/en/cursors.html</description>
		<content:encoded><![CDATA[<p>Though it takes longer, You could also use cursors to avoid the locks. Examples can be found on this URL and in the comments:<br />
<a href="http://dev.mysql.com/doc/refman/5.0/en/cursors.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/cursors.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Schneller's Weblog</title>
		<link>http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-1049</link>
		<dc:creator>Daniel Schneller's Weblog</dc:creator>
		<pubDate>Fri, 14 Jul 2006 08:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/07/12/insert-into-select-performance-with-innodb-tables/#comment-1049</guid>
		<description>&lt;strong&gt;Faster queries because of higher(!) isolation level...&lt;/strong&gt;

Please note that I am in no way affiliated with MySQL (AB). I am just a user of their products.
Everything you read here, especially my explanations and conclusions are to the best of my knowledge,
but there is a chance that they are awfully wrong!  ...</description>
		<content:encoded><![CDATA[<p><strong>Faster queries because of higher(!) isolation level&#8230;</strong></p>
<p>Please note that I am in no way affiliated with MySQL (AB). I am just a user of their products.<br />
Everything you read here, especially my explanations and conclusions are to the best of my knowledge,<br />
but there is a chance that they are awfully wrong!  &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
