I have several identical applications running independently. Each read a row from the database (based on some criteria), perform a series of operations and finally updating that row. Therefore I want to make sure that a row started to be processed by an application, will not be processed by another. In other words, i want that an application to select the next available row. How can I implement this?
I try'it different strategies using "select ... for update", MVCC, different type of transaction isolation, but no luck for moment.