hi Nick.
Your post sounds quite interesting.
`date` field, ok.
It's just a missing.
I'll add the index.
Quote:
I added an index on the date field but mysql still insisted on using the index on the status column, so I added "USE INDEX(date)" after the photos table. This gave a dramatic performance improvement.
In my evironment(MySQL 3.23.58), just adding the index for date raise the query speed enough.
Adding 'USE INDEX (`date`)' after myalbum_photos on FROM section changes nothing.
Which version of MySQL do you use?
Anyway I'll modified SQLs.
Thanks a lot!