Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jan 2005
    Posts
    470
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Figuring out when a query uses an index on join

    The variable "Select_full_join" is showing a very high number when the recommendation is to have this at zero.

    I can get a full list of all queries generated on the site but how do I figure out which ones aren't using an index in the join?

  • #2
    Regular Coder
    Join Date
    Jun 2005
    Posts
    804
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can set up the slow query log to indicate queries that aren't using indexes. If you've only got a few candidates, though, I'd just run them through EXPLAIN.

  • #3
    Regular Coder
    Join Date
    Jan 2005
    Posts
    470
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks...I enabled that and will see what I can figure out.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •