<?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>Tue, 10 Apr 2012 17:57:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<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-27893</link>
		<dc:creator>Akash Kava</dc:creator>
		<pubDate>Tue, 10 Apr 2012 17:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-27893</guid>
		<description>I am not clear on your question. In general case of storing data in dbms, there are lots of reasons, integrity, atomicity etc, it is out of context of this article but am sure you will find something useful on google.</description>
		<content:encoded><![CDATA[<p>I am not clear on your question. In general case of storing data in dbms, there are lots of reasons, integrity, atomicity etc, it is out of context of this article but am sure you will find something useful on google.</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-27892</link>
		<dc:creator>Akash Kava</dc:creator>
		<pubDate>Tue, 10 Apr 2012 17:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-27892</guid>
		<description>Sorry for replying late..

Base64 takes 160% Size, that means to store 100 bytes, you will need 160 bytes, so 60% extra overhead. If you consider time of encoding/decoding, it will consume more CPU time. You can send Base64 and expect clients to decode it, but even in that case, if client is a mobile device, then cpu on mobile will eat more battery. We are storing millions of files, and after nearly 5 years of research, everything listed here is the only best option we have that we can easily deploy and manage with limited manpower and limited knowledge of simple ASP.NET and Database access.</description>
		<content:encoded><![CDATA[<p>Sorry for replying late..</p>
<p>Base64 takes 160% Size, that means to store 100 bytes, you will need 160 bytes, so 60% extra overhead. If you consider time of encoding/decoding, it will consume more CPU time. You can send Base64 and expect clients to decode it, but even in that case, if client is a mobile device, then cpu on mobile will eat more battery. We are storing millions of files, and after nearly 5 years of research, everything listed here is the only best option we have that we can easily deploy and manage with limited manpower and limited knowledge of simple ASP.NET and Database access.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamilton Lima</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-25698</link>
		<dc:creator>Hamilton Lima</dc:creator>
		<pubDate>Tue, 24 Jan 2012 05:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-25698</guid>
		<description>Have you considered store the file as base64 strings ?</description>
		<content:encoded><![CDATA[<p>Have you considered store the file as base64 strings ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: soniya</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-24091</link>
		<dc:creator>soniya</dc:creator>
		<pubDate>Wed, 14 Dec 2011 17:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-24091</guid>
		<description>why we prefer to store to store data in dbms insteead of files?</description>
		<content:encoded><![CDATA[<p>why we prefer to store to store data in dbms insteead of files?</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-21320</link>
		<dc:creator>Akash Kava</dc:creator>
		<pubDate>Sun, 25 Sep 2011 06:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-21320</guid>
		<description>Conversion should not be done at time of serving the file, instead most appropriate way would be to convert and store a converted file along with original file. And conversion should be batched as well.</description>
		<content:encoded><![CDATA[<p>Conversion should not be done at time of serving the file, instead most appropriate way would be to convert and store a converted file along with original file. And conversion should be batched as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjay Bhaskar</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-19133</link>
		<dc:creator>Sanjay Bhaskar</dc:creator>
		<pubDate>Fri, 15 Jul 2011 05:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-19133</guid>
		<description>Very good inputs,

I&#039;ve a question.

If we save files like (.doc, .swf, etc..) we need to save this as Binary data. Would it be a performance intensive which needs the data conversion while serving this request? In case of file system i don&#039;t it need conversion, i assume its a direct access to the file with out any conversion.

Hope my question make sense.</description>
		<content:encoded><![CDATA[<p>Very good inputs,</p>
<p>I&#8217;ve a question.</p>
<p>If we save files like (.doc, .swf, etc..) we need to save this as Binary data. Would it be a performance intensive which needs the data conversion while serving this request? In case of file system i don&#8217;t it need conversion, i assume its a direct access to the file with out any conversion.</p>
<p>Hope my question make sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ghazanfar</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-12929</link>
		<dc:creator>Ghazanfar</dc:creator>
		<pubDate>Tue, 15 Feb 2011 04:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-12929</guid>
		<description>Very nice article Akash,

i was really looking for the comparison about the file saving in database or file system but could not find any good resource on the internet, but i am fortunate in this morning to see your article. it is really beneficial for me and my organization to take decission, because we handle very huge data.

Regards,
Ghazanffer Javaid</description>
		<content:encoded><![CDATA[<p>Very nice article Akash,</p>
<p>i was really looking for the comparison about the file saving in database or file system but could not find any good resource on the internet, but i am fortunate in this morning to see your article. it is really beneficial for me and my organization to take decission, because we handle very huge data.</p>
<p>Regards,<br />
Ghazanffer Javaid</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-12652</link>
		<dc:creator>Akash Kava</dc:creator>
		<pubDate>Tue, 08 Feb 2011 15:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-12652</guid>
		<description>Thanks for your comments, however it&#039;s not only transactions, but being able to query, replication and disk performance etc also needs to be considered for huge systems. </description>
		<content:encoded><![CDATA[<p>Thanks for your comments, however it&#8217;s not only transactions, but being able to query, replication and disk performance etc also needs to be considered for huge systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michiel van Otegem</title>
		<link>http://akashkava.com/blog/127/huge-file-storage-in-database-instead-of-file-system/comment-page-1/#comment-12643</link>
		<dc:creator>Michiel van Otegem</dc:creator>
		<pubDate>Tue, 08 Feb 2011 10:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-12643</guid>
		<description>Akash,

I read your article with great interest. You make some very valid points about the disadvantages of a file system, and considering the number and size of the files that will have to be stored in the system I&#039;m currently working on, database storage is definitly the way to go. I&#039;d like to point out however that Windows Vista SP1 / Windows 2008 and up support transactions (see &lt;a href=&quot;http://en.wikipedia.org/wiki/Transactional_NTFS&quot; rel=&quot;nofollow&quot;&gt;Wikipedia&lt;/a&gt;).</description>
		<content:encoded><![CDATA[<p>Akash,</p>
<p>I read your article with great interest. You make some very valid points about the disadvantages of a file system, and considering the number and size of the files that will have to be stored in the system I&#8217;m currently working on, database storage is definitly the way to go. I&#8217;d like to point out however that Windows Vista SP1 / Windows 2008 and up support transactions (see <a href="http://en.wikipedia.org/wiki/Transactional_NTFS" rel="nofollow">Wikipedia</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-11477</link>
		<dc:creator>Akash Kava</dc:creator>
		<pubDate>Tue, 11 Jan 2011 20:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://akashkava.com/blog/?p=127#comment-11477</guid>
		<description>Well we have not used FULLTEXT so far, because we are storing images, videos and photos, but I have heard bad about MyISAM as it keeps on crashing for fulltext. However, implementing a small fulltext is not that difficult if your query isnt going to be complex enough. If you generate a table with WordFiles with columns Word and FileID and store every word with corresponding FileID where it appears and index your Word with B+, you will get better fulltext with innodb if your search is not going to be complex.</description>
		<content:encoded><![CDATA[<p>Well we have not used FULLTEXT so far, because we are storing images, videos and photos, but I have heard bad about MyISAM as it keeps on crashing for fulltext. However, implementing a small fulltext is not that difficult if your query isnt going to be complex enough. If you generate a table with WordFiles with columns Word and FileID and store every word with corresponding FileID where it appears and index your Word with B+, you will get better fulltext with innodb if your search is not going to be complex.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

