Locking of records in a table in NDB
Posted by:
David Raj
Date: February 23, 2010 01:44AM
Hi,
We are using a NDB cluster Database and we use 2 websites in cluster. We have a code setup in such that a single record can be accessed by a request from any one of the website. So we have planned to implement a lock system. In Ruby on rails there are two options Optimistic and pesimistic(used transaction). I read from MYSql document such that transactions will not be used by the NDB clusters. I dont know which way to proceed. should i choose optimistic approach in that case. If so how to handle the condition. Please anyone guide me in this process
Subject
Written By
Posted
Locking of records in a table in NDB
February 23, 2010 01:44AM
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.