Patent ID: 11940976
Assignee: TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A method for concurrency control of transactions in a system comprising a plurality of application instances accessing a database system, the method being performed by an application instance of the plurality of application instances and comprising:
triggering sending, to the database system, a second transaction start request indicating a start of a second transaction to cause the database system 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 first data being locked by the database system against access requests not belonging to an ongoing first transaction, wherein the second transaction start request includes a priority indication for the second transaction enabling the database system to control acceptance of access requests to the data belonging to the second transaction based on determining whether the second transaction has a higher priority than the first transaction, wherein determining whether the second transaction has a higher priority than the first transaction includes:
inferring a priority value for the first transaction based on information received as part of the first transaction and inferring a priority value for the second transaction based on information received as part of the second transaction; and
checking whether the priority value of the second transaction is higher than the priority value of the first transaction.