<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Spam Filter ISP Forums : where 0 = 1</title>
  <link>https://www.logsat.com/spamfilter/forums/</link>
  <description><![CDATA[This is an XML content feed of; Spam Filter ISP Forums : Spam Filter ISP Support : where 0 = 1]]></description>
  <pubDate>Sat, 16 May 2026 01:47:18 +0000</pubDate>
  <lastBuildDate>Fri, 18 Jun 2010 00:31:34 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.logsat.com/spamfilter/forums/RSS_post_feed.asp?TID=6846</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Spam Filter ISP Forums]]></title>
   <url>https://www.logsat.com/spamfilter/forums/forum_images/web_wiz_forums.png</url>
   <link>https://www.logsat.com/spamfilter/forums/</link>
  </image>
  <item>
   <title><![CDATA[where 0 = 1 : So my MyISAM tables were inherited...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6846&amp;PID=13671&amp;title=where-0-1#13671</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=104">yapadu</a><br /><strong>Subject:</strong> 6846<br /><strong>Posted:</strong> 18 June 2010 at 12:31am<br /><br />So my MyISAM tables were inherited from before enterprise came out.<br><br>I am going to switch to InnoDB and see how it goes with that, since I don't like the table locking when reading.&nbsp; I do quite a bit of reading from the table to generate reports for users etc.<br>]]>
   </description>
   <pubDate>Fri, 18 Jun 2010 00:31:34 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6846&amp;PID=13671&amp;title=where-0-1#13671</guid>
  </item> 
  <item>
   <title><![CDATA[where 0 = 1 : The SQl statement:select * from...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6846&amp;PID=13670&amp;title=where-0-1#13670</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 6846<br /><strong>Posted:</strong> 17 June 2010 at 11:03pm<br /><br />The SQl statement:<div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">select * from tblmsgs where 0 = 1</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">is used internally by SpamFilter to return an empty recordset so that rows can then be appended to it, and then added to the database.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">In regards to the MyISAM/InnoDB, all the quarantine-related tables are created with MyISAM as it "should" perform better with massive row INSERTs and very few SELECTs. All the tables used by SpamFilter "Enterprise" are InnoDB as they are smaller (by several orders of magnitude) when compared to the quarantine tables, and are used mainly with SELECT statements, and so InnoDB "should" perform better there.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Notice the two "should"s.... At the end, if based on your experience/server load, it's preferable to change the table format to improve performance, you can very well override our recommendations if you notice improvements :-)&nbsp;</span></div>]]>
   </description>
   <pubDate>Thu, 17 Jun 2010 23:03:35 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6846&amp;PID=13670&amp;title=where-0-1#13670</guid>
  </item> 
  <item>
   <title><![CDATA[where 0 = 1 : I have never had database issues...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6846&amp;PID=13668&amp;title=where-0-1#13668</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=104">yapadu</a><br /><strong>Subject:</strong> 6846<br /><strong>Posted:</strong> 17 June 2010 at 8:46pm<br /><br />I have never had database issues that I have noticed in the past (too small I guess).&nbsp; I have been monitoring my situation for a couple of hours, it does not happen all the time but there is some query that is locking the table and seems to take a while to complete.&nbsp; <br><br>I have not tracked down the offending query yet.<br><br>I checked my tables and the breakdown is as follows:<br><br><br>tbl_filters&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tbl_localdomains&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tbl_logindomains&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_attachments&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_countries&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_domains&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_emailfrom&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_emailsto&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_honeypotblockedips&nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_honeypotemails&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_ips&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_keywords&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_maps&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblbl_surlbl&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tbllogins&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblmsgs&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MyISAM&nbsp;&nbsp;&nbsp; &lt;<br>tblquarantine&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MyISAM&nbsp;&nbsp;&nbsp; &lt;<br>tblrejectcodes&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MyISAM&nbsp;&nbsp;&nbsp; &lt;<br>tblreloadtableinfo&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblservers&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MyISAM&nbsp;&nbsp;&nbsp; &lt;<br>tblwl_authorizedtoemails&nbsp;&nbsp;&nbsp; InnoDB<br>tblwl_autowhitelistforcedeliveryInnoDB<br>tblwl_domainips&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblwl_emailsfrom&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblwl_eaiilsto&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br>tblwl_keywords&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; InnoDB<br><br>So I have a few MyISAM, but mostly InnoDB.&nbsp; I checked the database scripts that create the tables, and according to those scripts I should have all InnoDB tables.&nbsp; I don't know why some of my tables are MyISAM.<br><br>So Roberto, did SF on mysql ever use MyISAM or did my tables change in error somehow?<br><br>Because of the record locking on InnoDB, vs table locking on MyISAM I would think InnoDB would be the better choice here.<br><br>I don't like to make changes to the database on which any software I did not make runs, so I am really amazed those few tables are MyISAM.<br><br>Should I change them back Roberto?<br>]]>
   </description>
   <pubDate>Thu, 17 Jun 2010 20:46:13 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6846&amp;PID=13668&amp;title=where-0-1#13668</guid>
  </item> 
  <item>
   <title><![CDATA[where 0 = 1 : I&amp;#039;ve been fighting database...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6846&amp;PID=13667&amp;title=where-0-1#13667</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=811">leeH</a><br /><strong>Subject:</strong> 6846<br /><strong>Posted:</strong> 17 June 2010 at 6:40pm<br /><br />I've been fighting database problems for years now. Today I changed the tables to InnoDB and I have not had one issue since! So far that cured my database issues...<DIV>&nbsp;</DIV><DIV>Lee</DIV>]]>
   </description>
   <pubDate>Thu, 17 Jun 2010 18:40:21 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6846&amp;PID=13667&amp;title=where-0-1#13667</guid>
  </item> 
  <item>
   <title><![CDATA[where 0 = 1 : I am having some database issues...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6846&amp;PID=13666&amp;title=where-0-1#13666</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=104">yapadu</a><br /><strong>Subject:</strong> 6846<br /><strong>Posted:</strong> 17 June 2010 at 6:15pm<br /><br />I am having some database issues today, mysql.&nbsp; When using the thread monitor, I see a lot of locked queries.<br><br>Most of them look like this:<br><br>select * from tblmsgs where 0 = 1<br><br>This seems like a strange query.&nbsp; I ran the query myself and it is normally quick, but sometimes the database is locked and it takes over 180 seconds.<br>]]>
   </description>
   <pubDate>Thu, 17 Jun 2010 18:15:48 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6846&amp;PID=13666&amp;title=where-0-1#13666</guid>
  </item> 
 </channel>
</rss>