MySQL Forums
Forum List  »  Optimizer & Parser

Help with explain on query
Posted by: Alex Titley
Date: August 16, 2017 09:09AM

Hi there,

I am running an explain on a query and we get a ref null, is this a bad thing?

id, select_type, table, type, possible_keys, key, key_len, ref, rows, Extra
1, 'SIMPLE', 'a', 'range', 'Barcode,Status,setid', 'setid', '22', '', 163651, 'Using where; Using filesort'
1, 'SIMPLE', 's', 'eq_ref', 'PRIMARY', 'PRIMARY', '14', 'musiclender.a.barcode,const', 1, 'Using where'

Thanks, Alex.

Options: ReplyQuote

Written By
Help with explain on query
August 16, 2017 09:09AM
August 16, 2017 10:07AM

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.