MySQL Forums
Forum List  »  Optimizer & Parser

Re: difference between READ and SCAN
Posted by: Linhai Song
Date: June 21, 2012 12:19PM

I am reading mysql-cluster source code.

In storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp file, I find ZSCAN_OP and ZREAD. I guess these are used to describe execution plan. But I do not understand when mysql will use ZSCAN_OP and when mysql will use ZREAD.


I also find that in void Dbacc::execACC_COMMITREQ(Signal* signal) function, there is a check to see whether operation type is ZREAD. Is it possible that operation type is ZREAD in COMITREQ function?

Thanks a lot!

Options: ReplyQuote


Subject
Views
Written By
Posted
2200
June 20, 2012 04:05PM
Re: difference between READ and SCAN
1478
June 21, 2012 12:19PM


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.