- Mastering PostgreSQL 10
- Hans Jürgen Sch?nig
- 163字
- 2021-06-30 19:03:51
Considering SSI transactions
On top of read committed and repeatable read, PostgreSQL offers Serializable Snapshot Isolation (SSI) transactions. So, in all, PostgreSQL supports three isolation levels. Note that read uncommitted (which still happens to be the default in some commercial databases) is not supported: if you try to start a read uncommitted transaction, PostgreSQL will silently map to read committed. Let us get back to the serializable isolation level.
The idea behind serializable is simple; if a transaction is known to work correctly when there is only a single user, it will also work in the case of concurrency when this isolation level is chosen. However, users have to be prepared; transactions may fail (by design) and error-out. In addition to this, a performance penalty has to be paid.
If you want to know more about this isolation level, consider checking out https://wiki.postgresql.org/wiki/Serializable.
- Dreamweaver CS3+Flash CS3+Fireworks CS3創(chuàng)意網(wǎng)站構(gòu)建實(shí)例詳解
- 21天學(xué)通JavaScript
- Cloud Analytics with Microsoft Azure
- 數(shù)據(jù)庫原理與應(yīng)用技術(shù)學(xué)習(xí)指導(dǎo)
- Hands-On Linux for Architects
- 構(gòu)建高性能Web站點(diǎn)
- 精通數(shù)據(jù)科學(xué)算法
- Learning C for Arduino
- 學(xué)會(huì)VBA,菜鳥也高飛!
- 突破,Objective-C開發(fā)速學(xué)手冊(cè)
- Hands-On Dashboard Development with QlikView
- 分布式Java應(yīng)用
- SolarWinds Server & Application Monitor:Deployment and Administration
- 百度智能小程序:AI賦能新機(jī)遇
- 歐姆龍CP1H型PLC編程與應(yīng)用