<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8359992897615744154.post1879252002572218250..comments</id><updated>2009-12-02T04:26:22.412-05:00</updated><category term='Adobe'/><category term='Twitter'/><category term='Microsoft'/><category term='jQuery'/><category term='SQL'/><category term='FlashBuilder'/><category term='Open Blue Dragon'/><category term='ColdFusion 9'/><category term='AIR'/><category term='DotNet'/><category term='Windows'/><category term='BlackBerry'/><category term='Java'/><category term='Apple'/><category term='Flash 10'/><category term='Open Source'/><category term='C#'/><category term='PHP'/><category term='Flash'/><category term='iPhone'/><category term='CFML'/><category term='Database'/><category term='Linux'/><category term='Railo'/><category term='Operating Systems'/><category term='VPS'/><category term='ColdFusion 8'/><category term='Actionscript'/><category term='Flex'/><category term='Internet Explorer'/><category term='SVN'/><category term='ColdFusion'/><category term='.NET'/><category term='Excel'/><title type='text'>Comments on Paul Kukiel - and what i'm interested in.: Reading and writing binary to a mySQL database wit...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.kukiel.net/feeds/1879252002572218250/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default'/><link rel='alternate' type='text/html' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html'/><author><name>Paul Kukiel</name><uri>http://www.blogger.com/profile/09506704719956887151</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8359992897615744154.post-8244290502465733499</id><published>2009-12-02T04:26:22.412-05:00</published><updated>2009-12-02T04:26:22.412-05:00</updated><title type='text'>One thing that might be worth your testing relates...</title><content type='html'>One thing that might be worth your testing relates to the 64k buffer behavior. In past versions of CF inserting to SQL Server, I found that the full data stream was written to the database regardless of the buffer setting. Retrieval, however, was truncated if the data exceeded 64k without adjusting the buffer. No lost data, just inaccessible if it exceeded the buffer size.&lt;br /&gt;&lt;br /&gt;If it&amp;#39;s a busy site, you might also consider having a seperate &amp;quot;blobDSN&amp;quot; for use with the increased buffer setting. There is a performance impact associated with the buffer setting that you may not want to impose on every database transaction.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/8244290502465733499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/8244290502465733499'/><link rel='alternate' type='text/html' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html?showComment=1259745982412#c8244290502465733499' title=''/><author><name>Ken Wilson</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html' ref='tag:blogger.com,1999:blog-8359992897615744154.post-1879252002572218250' source='http://www.blogger.com/feeds/8359992897615744154/posts/default/1879252002572218250' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1132274041'/></entry><entry><id>tag:blogger.com,1999:blog-8359992897615744154.post-896970518906441028</id><published>2009-12-01T17:44:01.584-05:00</published><updated>2009-12-01T17:44:01.584-05:00</updated><title type='text'>Nice post Paul.

One huge adavantage of this is wh...</title><content type='html'>Nice post Paul.&lt;br /&gt;&lt;br /&gt;One huge adavantage of this is when running in a cluster with replicated databases, everything is replicated all text and binary content.&lt;br /&gt;&lt;br /&gt;It is a big slower, but you can also cache the binary data on disk and only update the database when it changes.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/896970518906441028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/896970518906441028'/><link rel='alternate' type='text/html' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html?showComment=1259707441584#c896970518906441028' title=''/><author><name>Dale Fraser</name><uri>http://www.blogger.com/profile/01158374758760646663</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_RYyHI44dl8g/SbBYobi-dmI/AAAAAAAAB7M/ls-Rle0E5EU/S220/n677518135_1374827_915.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html' ref='tag:blogger.com,1999:blog-8359992897615744154.post-1879252002572218250' source='http://www.blogger.com/feeds/8359992897615744154/posts/default/1879252002572218250' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-577678818'/></entry><entry><id>tag:blogger.com,1999:blog-8359992897615744154.post-5107602783956724931</id><published>2009-12-01T14:10:00.310-05:00</published><updated>2009-12-01T14:10:00.310-05:00</updated><title type='text'>@Chris

Yes without a doubt this would cause an in...</title><content type='html'>@Chris&lt;br /&gt;&lt;br /&gt;Yes without a doubt this would cause an increase on load for the DB server.  Servering a static image via apache or IIS I imagine the load its very tiny compared to retrieving it from a database.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/5107602783956724931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/5107602783956724931'/><link rel='alternate' type='text/html' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html?showComment=1259694600310#c5107602783956724931' title=''/><author><name>Paul Kukiel</name><uri>http://www.blogger.com/profile/09506704719956887151</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html' ref='tag:blogger.com,1999:blog-8359992897615744154.post-1879252002572218250' source='http://www.blogger.com/feeds/8359992897615744154/posts/default/1879252002572218250' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1138594749'/></entry><entry><id>tag:blogger.com,1999:blog-8359992897615744154.post-5857183525134325690</id><published>2009-12-01T13:37:20.452-05:00</published><updated>2009-12-01T13:37:20.452-05:00</updated><title type='text'>In Aaron&amp;#39;s list of cons, you could add more lo...</title><content type='html'>In Aaron&amp;#39;s list of cons, you could add more load on the database server too, couldn&amp;#39;t you?&lt;br /&gt;&lt;br /&gt;Aren&amp;#39;t some of the new &amp;quot;No SQL&amp;quot; databases good for storing documents like images too? Just curious.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/5857183525134325690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/5857183525134325690'/><link rel='alternate' type='text/html' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html?showComment=1259692640452#c5857183525134325690' title=''/><author><name>Chris Peters</name><uri>http://www.clearcrystalmedia.com/pm/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html' ref='tag:blogger.com,1999:blog-8359992897615744154.post-1879252002572218250' source='http://www.blogger.com/feeds/8359992897615744154/posts/default/1879252002572218250' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-124408835'/></entry><entry><id>tag:blogger.com,1999:blog-8359992897615744154.post-6919706451004343659</id><published>2009-12-01T12:17:14.100-05:00</published><updated>2009-12-01T12:17:14.100-05:00</updated><title type='text'>Pros:  
-You can secure the &amp;quot;files&amp;quot; on y...</title><content type='html'>Pros:  &lt;br /&gt;-You can secure the &amp;quot;files&amp;quot; on your app much easier.&lt;br /&gt;-if you have a multi-app server environment, you can share images/files/etc across the applications without duplicating files.&lt;br /&gt;&lt;br /&gt;cons: &lt;br /&gt;-i think there is a little bloat storing as blobs (not 1:1 file to blob IIRC)&lt;br /&gt;-can&amp;#39;t take advantage of webserver auto-caching the content &lt;br /&gt;-more load on your app server versus the file server&lt;br /&gt;&lt;br /&gt;Thats all I got right off the bat.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/6919706451004343659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/6919706451004343659'/><link rel='alternate' type='text/html' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html?showComment=1259687834100#c6919706451004343659' title=''/><author><name>Aaron Lynch</name><uri>http://www.aaronjlynch.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html' ref='tag:blogger.com,1999:blog-8359992897615744154.post-1879252002572218250' source='http://www.blogger.com/feeds/8359992897615744154/posts/default/1879252002572218250' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-175401549'/></entry><entry><id>tag:blogger.com,1999:blog-8359992897615744154.post-7912868490538861568</id><published>2009-12-01T11:13:02.479-05:00</published><updated>2009-12-01T11:13:02.479-05:00</updated><title type='text'>Well it would still use space on the database serv...</title><content type='html'>Well it would still use space on the database server.  Each &amp;quot;blob&amp;quot; is still the same size as the file its just stored in the database rather then the file system as a file.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/7912868490538861568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/7912868490538861568'/><link rel='alternate' type='text/html' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html?showComment=1259683982479#c7912868490538861568' title=''/><author><name>Paul Kukiel</name><uri>http://www.blogger.com/profile/09506704719956887151</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html' ref='tag:blogger.com,1999:blog-8359992897615744154.post-1879252002572218250' source='http://www.blogger.com/feeds/8359992897615744154/posts/default/1879252002572218250' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1138594749'/></entry><entry><id>tag:blogger.com,1999:blog-8359992897615744154.post-81238960508813878</id><published>2009-12-01T11:10:06.064-05:00</published><updated>2009-12-01T11:10:06.064-05:00</updated><title type='text'>Wouldn&amp;#39;t it save server space? - if you have a...</title><content type='html'>Wouldn&amp;#39;t it save server space? - if you have a site that has users submit images - wouldn&amp;#39;t writing them to the database be more efficient as far as space?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/81238960508813878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/81238960508813878'/><link rel='alternate' type='text/html' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html?showComment=1259683806064#c81238960508813878' title=''/><author><name>Thomas</name><uri>http://www.blogger.com/profile/12322978131226961126</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html' ref='tag:blogger.com,1999:blog-8359992897615744154.post-1879252002572218250' source='http://www.blogger.com/feeds/8359992897615744154/posts/default/1879252002572218250' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1243487174'/></entry><entry><id>tag:blogger.com,1999:blog-8359992897615744154.post-4318527401571711188</id><published>2009-12-01T11:00:31.401-05:00</published><updated>2009-12-01T11:00:31.401-05:00</updated><title type='text'>One advantage might be that you can detach a datab...</title><content type='html'>One advantage might be that you can detach a database and move it to a new host without needing to copy the image files.&lt;br /&gt;&lt;br /&gt;A disadvantage is that there is overhead to and from the database.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m sure there are many more pro&amp;#39;s and con&amp;#39;s and I&amp;#39;m interested to hear what others have to say.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/4318527401571711188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/4318527401571711188'/><link rel='alternate' type='text/html' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html?showComment=1259683231401#c4318527401571711188' title=''/><author><name>Paul Kukiel</name><uri>http://www.blogger.com/profile/09506704719956887151</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html' ref='tag:blogger.com,1999:blog-8359992897615744154.post-1879252002572218250' source='http://www.blogger.com/feeds/8359992897615744154/posts/default/1879252002572218250' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1138594749'/></entry><entry><id>tag:blogger.com,1999:blog-8359992897615744154.post-4321623776499141605</id><published>2009-12-01T10:54:49.973-05:00</published><updated>2009-12-01T10:54:49.973-05:00</updated><title type='text'>What are the advantages (and disadvantages) to sav...</title><content type='html'>What are the advantages (and disadvantages) to save the image in the database?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/4321623776499141605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8359992897615744154/1879252002572218250/comments/default/4321623776499141605'/><link rel='alternate' type='text/html' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html?showComment=1259682889973#c4321623776499141605' title=''/><author><name>Joern</name><uri>http://www.kitewiese.de</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.kukiel.net/2009/12/reading-and-writing-binary-to-mysql.html' ref='tag:blogger.com,1999:blog-8359992897615744154.post-1879252002572218250' source='http://www.blogger.com/feeds/8359992897615744154/posts/default/1879252002572218250' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-129314558'/></entry></feed>
