0

http://dev.mysql.com/doc/refman/5.5/en/handler.html

Seems to be very useful for PK lookups, but I haven't seen much information regarding this. What's the pros and cons of the handler syntax vs. ordinary SQL select for simple key-value queries? How does it compare (performance- and consistence-wise) to HandlerSocket?

3
  • It looks like that the end of your question is lost in transmission. Could you fix it? – dezso Nov 22 '12 at 20:16
  • -1 for a subjective question. You'll get better answers by asking for specifics, and mentioning what you've tried, and why it didn't work (or did work). – Hannah Vernon Nov 22 '12 at 20:59
  • You should have searched for HANDLER with the DBA.SE before asking the question. I'll give you a +1 anyway because it is a legitimate subject in the MySQL realm. – RolandoMySQLDBA Nov 22 '12 at 22:33
1

This was a weird question. I say was because I addressed this in the past

Basically, the HANDLER syntax is kind of handy if you want to read table data from table while bypassing locking and transactional isolation levels (Yes, this means you should be able to bypass InnoDB's MVCC protocols).

1
  • How do you compare the SQL handler syntax to HandlerSocket? Fundamentally they expose the same storage interface via different protocols, but what's the difference in performance, etc between the two? – Rio Nov 23 '12 at 19:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.