DELETE FROM images WHERE (uploaded_user=&#39;user1&#39; OR uploaded_user=&#39;user2&#39;) AND uploaded_date &gt; 123 AND gallery_id=0<br><br>SQL makes querying and management easy, thats why some people choose to store their data in mysql BLOBs instead of on the filesystem.<br>
<br><br><br><div class="gmail_quote">On Wed, Jun 1, 2011 at 12:33 AM, Igor Sysoev <span dir="ltr">&lt;<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Jun 01, 2011 at 12:06:12AM +1000, SplitIce wrote:<br>
&gt; ease of management is the main positive, I recently moved away from it<br>
<br>
</div>What do you mean by &quot;ease of management&quot;. As for me there is no easier<br>
management than file system one. You have a lot of tools -  find, grep, etc.<br>
<div><div></div><div class="h5"><br>
&gt; myself to a filesystem based solution for one of my clients. The largest<br>
&gt; disadvantage is the size of the table. Oh and JSON can be binary safe if<br>
&gt; implmented correctly with correct escape sequences, yes?<br>
&gt;<br>
&gt; On Tue, May 31, 2011 at 11:57 PM, Igor Sysoev &lt;<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Tue, May 31, 2011 at 07:20:34AM -0400, csg wrote:<br>
&gt; &gt; &gt; Hi!<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I am curious if is feasible to have Nginx deliver binary blob data which<br>
&gt; &gt; &gt; is currently stored in a MySQL database. I was loosely following the<br>
&gt; &gt; &gt; examples mentioned in agentzh&#39;s blog [1] which work all fine for me with<br>
&gt; &gt; &gt; non-binary data. But as JSON is used for intermediate serialization<br>
&gt; &gt; &gt; which is not binary safe I was wondering if there are other ways (or<br>
&gt; &gt; &gt; even modules) that access the raw payload data from its RDS<br>
&gt; &gt; &gt; representation.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; In my scenario I&#39;m trying to access images data like JPEGs stored as<br>
&gt; &gt; &gt; blobs in MySQL causing the JSON parser to fail of course<br>
&gt; &gt;<br>
&gt; &gt; I can not say anuthing about subject, I&#39;m just interesting are any<br>
&gt; &gt; advanatges to store images in MySQL instead of file system ?<br>
<br>
<br>
--<br>
Igor Sysoev<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://thewarezscene.org" target="_blank">Warez Scene</a> <a href="http://www.nexusddl.com" target="_blank">Free Rapidshare Downloads</a><br><br>