IWETHEY v. 0.3.0 | TODO
1,095 registered users | 1 active user | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: I approached that from another direction.
EXPLAIN is your friend in weird cases like this. If you find that MySQL, for reasons obscure, has decided to do a full table scan, you can use a FORCE INDEX hint to set things right (for MySQL 5.0+, at least).

[link|http://dev.mysql.com/doc/refman/5.0/en/index-hints.html|http://dev.mysql.com.../index-hints.html] for details.
New FORCE INDEX is new to me.
I had been using EXPLAIN. And USE INDEX. With it without USE INDEX, a month or half-a-month, it still uses the correct index. I'll try FORCE INDEX, though.

Wade.


Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please



-- "Anything but Ordinary" by Avril Lavigne.

· my ·
· [link|http://staticsan.livejournal.com/|blog] ·
· [link|http://yceran.org/|website] ·

     After some MySQL clues. - (static) - (4)
         What I'd do - (drewk) - (3)
             I approached that from another direction. - (static) - (2)
                 Re: I approached that from another direction. - (dws) - (1)
                     FORCE INDEX is new to me. - (static)

Like a flaming ant farm, only less organized.
32 ms