Skip to content

Commit 727c331

Browse files
Merge pull request #247 from oracle-devrel/Ulrike-23c-assets
Create README.md for lock-free reservation
2 parents 351f029 + 767a705 commit 727c331

File tree

1 file changed

+33
-0
lines changed
  • data-platform/core-converged-db/database-23c/transactions/lock-free-reservation

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Lock Free Reservation
2+
In 23c there is a new feature called lock-free reservation (short for Lock-Free Column Value Reservations). It provides an in-database infrastructure for transactions operating on reservable columns to enable concurrent transactions to proceed without being blocked on updates made to reservable columns
3+
and issues automatic compensations for reservable updates of successful transactions in an aborted saga.
4+
5+
This new technology introduces the concept of "journal table": instead of updating a row, we insert a new row in a journal table, avoiding to lock the row we want to update. On commit, an exclusive lock is needed to actually update the row. But as it is only "on commit", the lock is released very quickly.
6+
Especially online applications updating intensively and with huge concurrency low cardinality tables can take advantage of this new feature.
7+
8+
## Useful Links
9+
10+
### Documentation
11+
12+
- [Database Concepts 23c](https://docs.oracle.com/en/database/oracle/oracle-database/23/cncpt/tables-and-table-clusters.html#GUID-7C6A8E8A-F634-4D0D-877A-F948D6101066)
13+
- [Database Developer Guide 23c](https://docs.oracle.com/en/database/oracle/oracle-database/23/adfns/using-lock-free-reservation.html#GUID-60D87F8F-AD9B-40A6-BB3C-193FFF0E60BB)
14+
15+
16+
### Team Publications
17+
18+
- [Lock-free reservation in 23c: how to start with](https://blogs.oracle.com/coretec/post/lock-free-reservation-in-23c)
19+
- [Lock-free reservation in 23c: scale your apps](https://blogs.oracle.com/coretec/post/lockfree-reservation-in-23c-scale-your-apps)
20+
21+
### Blogs
22+
23+
- [Lock-free reservation in 23c: how to start with](https://blogs.oracle.com/coretec/post/lock-free-reservation-in-23c)
24+
- [Lock-free reservation in 23c: scale your apps](https://blogs.oracle.com/coretec/post/lockfree-reservation-in-23c-scale-your-apps)
25+
26+
27+
# License
28+
29+
Copyright (c) 2023 Oracle and/or its affiliates.
30+
31+
Licensed under the Universal Permissive License (UPL), Version 1.0.
32+
33+
See LICENSE for more details.

0 commit comments

Comments
 (0)