<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>has_many :thoughts: Tag database</title>
    <link>http://blog.kineticweb.com/articles/tag/database</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Musings from a Ruby on Rails development team</description>
    <item>
      <title>SQLite vs. MySQL/etc...</title>
      <description>&lt;p&gt;After reading about the wonderful release of mother &lt;a href="http://www.joyent.com"&gt;Joyent&amp;#8217;s&lt;/a&gt; &lt;a href="http://www.joyent.com/developers/slingshot/"&gt;Slingshot&lt;/a&gt; the other day, I noticed that in the docs it said Slingshot uses &lt;a href="http://www.sqlite.org/index.html"&gt;SQLite&lt;/a&gt; on desktop clients. I thought that this was pertaining to personal preference, support the underdog kinda thing. That was wrong, SQLite is easier on memory because it uses file-io instead of in-memory db access&amp;#8230;&lt;/p&gt;


	&lt;blockquote&gt;
		&lt;p&gt;&amp;#8220;For low load websites, SQLite has worked great in our projects. If you&amp;#8217;re doing an application in C, its &lt;span class="caps"&gt;API&lt;/span&gt; is simply unbeatable. Perhaps its most distinguishing feature is that it pretty much ignores types. This is, in fact, a &amp;#8220;feature&amp;#8221;, and I have found that it gives it flexibility that is lacking in other situations(although, you have to put your dates in very specific formats to get the sort order to come out right&amp;#8230;).&amp;#8221;&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;blockquote&gt;
		&lt;p&gt;&amp;#8220;For web development purposes, if you&amp;#8217;re doing a really high load website, you&amp;#8217;re going to want to use a non-file based database(personally, I prefer PostgreSQL, but sub MySQL, &lt;span class="caps"&gt;SQL&lt;/span&gt; Server, whatever&amp;#8230;)&amp;#8221;&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;blockquote&gt;
		&lt;p&gt;&amp;#8220;I also can&amp;#8217;t express just how great it is for desktop apps though. Its great for 95% of the situations you would need to save data in an application in a &amp;#8220;file format&amp;#8221; of some variety. It make debugging great(fire up the console on the file your app is writing too and watch inserts as they happen). No configuration at all. No mucking about with binary file formats. No &lt;span class="caps"&gt;XML&lt;/span&gt; parsing.&amp;#8221;&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;blockquote&gt;
		&lt;p&gt;(&lt;a href="http://discuss.joelonsoftware.com/default.asp?design.4.281660.5"&gt;external quote&lt;/a&gt;)&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;I have heard many Rails users glorify the use of SQLite as a testing db&amp;#8230; choose wisely! For me, I think I&amp;#8217;ll stick to what my apps will probably be using as there primary production db, MySQL. :)&lt;/p&gt;</description>
      <pubDate>Fri, 11 May 2007 08:41:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:e36d9d11-a7b0-4ecf-9743-0377644e49c3</guid>
      <author>Justin Reagor</author>
      <link>http://blog.kineticweb.com/articles/2007/05/11/sqlite-vs-mysql</link>
      <category>Rails</category>
      <category>database</category>
      <category>sqlite</category>
      <category>MySQL</category>
    </item>
  </channel>
</rss>
