Re: Selects are slow when blob field?
Hi,
A couple of things to note.
First, you might want to consider a combined index on (recordid, tablename), rather than two seperate ones. This will allow MySQL to find the rows requested faster.
Second, you never mentioned the storage engine that you are using. With MyISAM, it will always read the entire row (including the blob in this case) even if you aren't selecting it. Moving the blob to a separate table and doing a join when it is actually required would be highly recommended for performance.
Harrison Fisk, Trainer and Consultant
MySQL AB, www.mysql.com
Subject
Views
Written By
Posted
6108
November 23, 2004 09:37AM
4338
November 23, 2004 09:51AM
3692
November 23, 2004 11:17AM
Re: Selects are slow when blob field?
3851
November 23, 2004 05:29PM
3888
November 24, 2004 08:20AM
3988
November 24, 2004 05:05PM
3599
November 26, 2004 10:00AM
8163
November 26, 2004 10:41AM
3815
November 28, 2004 11:14PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.