A technique for concurrency control of transactions in a system comprising a plurality of application instances accessing a database system is provided. A method implementation of the technique is performed by the database system and comprises receiving (S502) a first transaction start request indicating a start of a first transaction to lock first data stored in the database system against access requests not belonging to the first transaction while the first transaction is ongoing, receiving (S504) a second transaction start request indicating a start of a second transaction to lock second data stored in the database system against access requests not belonging to the second transaction while the second transaction is ongoing, the second data at least partly overlapping with the first data, receiving (S506) an access request to at least a portion of the second data that overlaps with the first data while the first transaction and the second transaction are ongoing, the access request belonging to the second transaction, and controlling (S508) acceptance of the access request based on determining whether the second transaction has a higher priority than the first transaction.
展开▼