<?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: Huge File Storage in Database instead of File System</title>
	<atom:link href="http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/feed/" rel="self" type="application/rss+xml" />
	<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/</link>
	<description>Founder of NeuroSpeech</description>
	<lastBuildDate>Thu, 29 Jul 2010 10:04:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Sachin Modak</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-1094</link>
		<dc:creator>Sachin Modak</dc:creator>
		<pubDate>Mon, 21 Dec 2009 21:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-1094</guid>
		<description>Hi Akash,

I was reading through this blog and I was wondering if you considered having a flat file/control file design to keep track of files? Also something about storing files in a database just does not seem very performance centric? I was wondering if we can discuss this sometime? BTW, we can even do a phone call. Let me know.

sachin.modak@gmail.com</description>
		<content:encoded><![CDATA[<p>Hi Akash,</p>
<p>I was reading through this blog and I was wondering if you considered having a flat file/control file design to keep track of files? Also something about storing files in a database just does not seem very performance centric? I was wondering if we can discuss this sometime? BTW, we can even do a phone call. Let me know.</p>
<p><a href="mailto:sachin.modak@gmail.com">sachin.modak@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akash Kava</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-1091</link>
		<dc:creator>Akash Kava</dc:creator>
		<pubDate>Wed, 09 Dec 2009 16:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-1091</guid>
		<description>FileStream is good but I dont know if it is ACID compliant, it will be faster but I dont know about replication and transaction. As far as I know its raw file access within SQL Context, but it is not recommended over Blob. Yes if your files are big, and they are of less financial value, like all crap uploaded to youtube, for such data you can use filestream. But if you create a document management service, where your document (files) are of bigger financial value, then you should not use filestream.</description>
		<content:encoded><![CDATA[<p>FileStream is good but I dont know if it is ACID compliant, it will be faster but I dont know about replication and transaction. As far as I know its raw file access within SQL Context, but it is not recommended over Blob. Yes if your files are big, and they are of less financial value, like all crap uploaded to youtube, for such data you can use filestream. But if you create a document management service, where your document (files) are of bigger financial value, then you should not use filestream.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ypaez</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-1089</link>
		<dc:creator>ypaez</dc:creator>
		<pubDate>Sat, 05 Dec 2009 18:43:08 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-1089</guid>
		<description>Great job, nice &amp; easy solution, but looking arround this topic I found that SQL Server 2008 include a new feature called &quot;FILESTREAM Storage&quot; http://technet.microsoft.com/en-us/library/bb933995.aspx
Have you been tested this feature? Does it have a better performance that your solution?</description>
		<content:encoded><![CDATA[<p>Great job, nice &amp; easy solution, but looking arround this topic I found that SQL Server 2008 include a new feature called &#8220;FILESTREAM Storage&#8221; <a href="http://technet.microsoft.com/en-us/library/bb933995.aspx" rel="nofollow">http://technet.microsoft.com/en-us/library/bb933995.aspx</a><br />
Have you been tested this feature? Does it have a better performance that your solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PUK</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-1087</link>
		<dc:creator>PUK</dc:creator>
		<pubDate>Wed, 28 Oct 2009 15:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-1087</guid>
		<description>I found this article helpful to bolster what I already instinctively felt that database is better than filesystem. It&#039;s much more portable, atomic, relational, transactional, etc, etc. so thanks.

BTW, This area of the page (Leave a Reply) renders ok in IE (v7) but in Firefox the captcha input is over the email label!

N.B. This is my 4th attempt at getting the captcha right...

PUK</description>
		<content:encoded><![CDATA[<p>I found this article helpful to bolster what I already instinctively felt that database is better than filesystem. It&#8217;s much more portable, atomic, relational, transactional, etc, etc. so thanks.</p>
<p>BTW, This area of the page (Leave a Reply) renders ok in IE (v7) but in Firefox the captcha input is over the email label!</p>
<p>N.B. This is my 4th attempt at getting the captcha right&#8230;</p>
<p>PUK</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akash</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-374</link>
		<dc:creator>Akash</dc:creator>
		<pubDate>Wed, 26 Aug 2009 15:59:41 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-374</guid>
		<description>1. My post doesnt focus on which solution, MS or Linux to go for, it says about whether file system or database and I am not against anyone storing it in file system or not.
2. File system are not transactional, they are not ACID compliant.
3. People can still use mysql, we are not against anyone, we are talking here about locking and cpu overhead and disc life cycle and durability.</description>
		<content:encoded><![CDATA[<p>1. My post doesnt focus on which solution, MS or Linux to go for, it says about whether file system or database and I am not against anyone storing it in file system or not.<br />
2. File system are not transactional, they are not ACID compliant.<br />
3. People can still use mysql, we are not against anyone, we are talking here about locking and cpu overhead and disc life cycle and durability.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarwar Faruque</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-373</link>
		<dc:creator>Sarwar Faruque</dc:creator>
		<pubDate>Wed, 26 Aug 2009 09:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-373</guid>
		<description>While having no intention of turning this into a Linux vs. Microsoft topic, have you considered using Linux for a file management system? Two years ago, I built a web based document management systems for an university. The system had user access permissions and document version tracking, running on a LAMP stack. While the permission and tracking part was shouldered by the database, all the files were stored on a separate Linux server with a scheduler automatically backing up everything in 2 hour intervals. To date, the number of documents have been steadily growing and while it hasn&#039;t hit the 1 million marker, it certainly has passed the half-million point in the last two years.</description>
		<content:encoded><![CDATA[<p>While having no intention of turning this into a Linux vs. Microsoft topic, have you considered using Linux for a file management system? Two years ago, I built a web based document management systems for an university. The system had user access permissions and document version tracking, running on a LAMP stack. While the permission and tracking part was shouldered by the database, all the files were stored on a separate Linux server with a scheduler automatically backing up everything in 2 hour intervals. To date, the number of documents have been steadily growing and while it hasn&#8217;t hit the 1 million marker, it certainly has passed the half-million point in the last two years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akash</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-372</link>
		<dc:creator>Akash</dc:creator>
		<pubDate>Wed, 26 Aug 2009 07:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-372</guid>
		<description>I appreciate your comments, unix/linux based systems optimized for file system storage only like facebook and other companies did can definitely be better then MS or DB solution. I especially mentioned that distributed file systems like hadoop and such systems basically requires good man power expert in linux/unix technologies mainly at C and compiler level. But they are difficult to find, hire and maintain. Hiring 1 system level expert is 100 times difficult then hiring 10 SQL+ASP.NET guys. Thats why I also mentioned that from 1GB to 1TB kind of solution, this database based system makes easier bet. Beyond that certainly you need dedicated staff to manage your files !!</description>
		<content:encoded><![CDATA[<p>I appreciate your comments, unix/linux based systems optimized for file system storage only like facebook and other companies did can definitely be better then MS or DB solution. I especially mentioned that distributed file systems like hadoop and such systems basically requires good man power expert in linux/unix technologies mainly at C and compiler level. But they are difficult to find, hire and maintain. Hiring 1 system level expert is 100 times difficult then hiring 10 SQL+ASP.NET guys. Thats why I also mentioned that from 1GB to 1TB kind of solution, this database based system makes easier bet. Beyond that certainly you need dedicated staff to manage your files !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florin Diaconeasa</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-366</link>
		<dc:creator>Florin Diaconeasa</dc:creator>
		<pubDate>Tue, 25 Aug 2009 20:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-366</guid>
		<description>hmm.. yes i didn&#039;t think it thru :)

but also... holding such a number of files would prove to be better on a unix machine, especially open-source, as there are multiple solutions for this kind of problems.

For example, stripping the rights management on a file system(which is not such a crazy idea, already being implemented by facebook) plus other optimizations. 

Not trying to start a war here :), just pointing out some facts. But then again, quite hard to do smthg like this when your company&#039;s profile is MS based</description>
		<content:encoded><![CDATA[<p>hmm.. yes i didn&#8217;t think it thru <img src='http://akashkava.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>but also&#8230; holding such a number of files would prove to be better on a unix machine, especially open-source, as there are multiple solutions for this kind of problems.</p>
<p>For example, stripping the rights management on a file system(which is not such a crazy idea, already being implemented by facebook) plus other optimizations. </p>
<p>Not trying to start a war here <img src='http://akashkava.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , just pointing out some facts. But then again, quite hard to do smthg like this when your company&#8217;s profile is MS based</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akash</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-364</link>
		<dc:creator>Akash</dc:creator>
		<pubDate>Tue, 25 Aug 2009 10:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-364</guid>
		<description>If you do different files per table, they grow very slowly leading to huge fragmentation, problem is there is no auto grow value, if you look at MySQL&#039;s data folder fragmentation and MS SQL&#039;s data folder, we had it first in MySQL and then we went to MS SQL.</description>
		<content:encoded><![CDATA[<p>If you do different files per table, they grow very slowly leading to huge fragmentation, problem is there is no auto grow value, if you look at MySQL&#8217;s data folder fragmentation and MS SQL&#8217;s data folder, we had it first in MySQL and then we went to MS SQL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florin Diaconeasa</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-363</link>
		<dc:creator>Florin Diaconeasa</dc:creator>
		<pubDate>Tue, 25 Aug 2009 07:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-363</guid>
		<description>Another solution could be partitionioning your data using mysql 5.1+. This way you would have better performance in writing and reading also. Also, mysql innodb engine supports different files for each table, so it&#039;s not necessary to have only one big file, as the default mysql innodb configuration does. :)

If interested in more details, you&#039;ve got the email :)</description>
		<content:encoded><![CDATA[<p>Another solution could be partitionioning your data using mysql 5.1+. This way you would have better performance in writing and reading also. Also, mysql innodb engine supports different files for each table, so it&#8217;s not necessary to have only one big file, as the default mysql innodb configuration does. <img src='http://akashkava.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If interested in more details, you&#8217;ve got the email <img src='http://akashkava.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
