RE: Why won't mysql use the index? WAS: strange table speed issue

2004-06-25 Thread MerchantSense
004 11:16 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Why won't mysql use the index? WAS: strange table speed issue Here is what the manual says about the table scan threshold: (http://dev.mysql.com/doc/mysql/en/Where_optimisations.html) Each table index is q

RE: Why won't mysql use the index? WAS: strange table speed issue

2004-06-25 Thread SGreen
cc: 06/25/2004 01:52 Fax to: PM Subject: RE: Why won't mysql use t

RE: Why won't mysql use the index? WAS: strange table speed issue

2004-06-25 Thread emierzwa
The general rule of thumb (in Sybase not sure for MySQL), is if using an index hits more than 10% of the tables total volume it is faster/cheaper/less evasive on the drive to just table scan the table opposed to read an index row, get the representing table row pointer and seek the table for each q