<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Developer Day &#187; pydumpy</title>
	<atom:link href="http://www.thedeveloperday.com/tag/pydumpy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thedeveloperday.com</link>
	<description>Staying Curious</description>
	<lastBuildDate>Tue, 27 Jul 2010 17:33:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PyDumpy &#8211; Partial sorted MySQL database dumps</title>
		<link>http://www.thedeveloperday.com/pydumpy-partial-sorted-mysql-database-dumps/</link>
		<comments>http://www.thedeveloperday.com/pydumpy-partial-sorted-mysql-database-dumps/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 17:37:28 +0000</pubDate>
		<dc:creator>Žilvinas Šaltys</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[dump]]></category>
		<category><![CDATA[partial]]></category>
		<category><![CDATA[pydumpy]]></category>

		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=210</guid>
		<description><![CDATA[PyDumpy is a simple Python utility that might be helpful for developers struggling to get fast and partial database snapshots from production databases. It does it&#8217;s job by checking the database information schema to find out the approximate rows count available in each table and limits the table if needed to avoid dumping too much [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/pydumpy/">PyDumpy</a> is a simple <strong>Python</strong> utility that might be helpful for developers struggling to get fast and <strong>partial database snapshots</strong> from production databases. It does it&#8217;s job by checking the database <strong>information schema</strong> to find out the <strong>approximate rows count</strong> available in each table and limits the table if needed to avoid dumping too much data as some databases may have hundreds of gigabytes of data. It then passes all the limits information it gathers to <strong>mysqldump</strong> a tool created by MySQL to do the actual dumping.</p>
<p>Python does not have a built in package to connect to MySQL as for example PHP does and therefore PyDumpy relies on <a href="http://sourceforge.net/projects/mysql-python/">MySQL for Python</a> package to work. PyDumpy also relies on mysqladmin to do the actual dumping.</p>
<p>PyDumpy is very simple to use. For example to dump a maximum of 50 000 rows from each table type:</p>
<p><strong>./pydumpy.py -H host -u user -p pass -n dbname -limit=50000</strong></p>
<p>PyDumpy also allows to <strong>specify row limits</strong> and sorting preferences for each table specifically:</p>
<p><strong>./pydumpy.py -H host -u user -p pass -n dbname -limit=50000 &#8211;ask-to-limit &#8211;ask-to-sort</strong></p>
<p>If you find this tool useful please feel free to provide feedback by leaving a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thedeveloperday.com/pydumpy-partial-sorted-mysql-database-dumps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
