<?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: Pitfalls with MySQL and auto_increment</title>
	<atom:link href="http://techblog.tilllate.com/2008/04/13/pitfalls-with-mysql-and-auto_increment/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.tilllate.com/2008/04/13/pitfalls-with-mysql-and-auto_increment/</link>
	<description>it and development at europe's leading clubbing community</description>
	<pubDate>Fri, 25 Jul 2008 12:36:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Leo Büttiker</title>
		<link>http://techblog.tilllate.com/2008/04/13/pitfalls-with-mysql-and-auto_increment/#comment-5056</link>
		<dc:creator>Leo Büttiker</dc:creator>
		<pubDate>Sun, 20 Apr 2008 18:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.tilllate.com/2008/04/13/pitfalls-with-mysql-and-auto_increment/#comment-5056</guid>
		<description>@patrice: well...erhmm...
yes!</description>
		<content:encoded><![CDATA[<p>@patrice: well&#8230;erhmm&#8230;<br />
yes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patrice</title>
		<link>http://techblog.tilllate.com/2008/04/13/pitfalls-with-mysql-and-auto_increment/#comment-4984</link>
		<dc:creator>patrice</dc:creator>
		<pubDate>Sun, 13 Apr 2008 16:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.tilllate.com/2008/04/13/pitfalls-with-mysql-and-auto_increment/#comment-4984</guid>
		<description>Well the real SNAFU here was that all of this was done on your production database, wasn't it?</description>
		<content:encoded><![CDATA[<p>Well the real SNAFU here was that all of this was done on your production database, wasn&#8217;t it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo Büttiker</title>
		<link>http://techblog.tilllate.com/2008/04/13/pitfalls-with-mysql-and-auto_increment/#comment-4982</link>
		<dc:creator>Leo Büttiker</dc:creator>
		<pubDate>Sun, 13 Apr 2008 11:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.tilllate.com/2008/04/13/pitfalls-with-mysql-and-auto_increment/#comment-4982</guid>
		<description>Just for the information of our readers: Deleting the too high values and Alter table should be done while holding a lock on the table, to not get into troubles again.

A lot of databases do not even have autoincrement (as postgresql) they use sequences for that. You can build this feature with a trigger in mysql as Peter describes &lt;a href="http://www.mysqlperformanceblog.com/2008/04/02/stored-function-to-generate-sequences/" rel="nofollow"&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Just for the information of our readers: Deleting the too high values and Alter table should be done while holding a lock on the table, to not get into troubles again.</p>
<p>A lot of databases do not even have autoincrement (as postgresql) they use sequences for that. You can build this feature with a trigger in mysql as Peter describes <a href="http://www.mysqlperformanceblog.com/2008/04/02/stored-function-to-generate-sequences/" rel="nofollow">here</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
