Type: | enum |
Défaut: | read committed |
Contexte: | user |
Redémarrer: | false |
Valeurs: | [serializable, repeatable read, read committed, read uncommitted] |
Chaque transaction SQL a un niveau d'isolation. Celui-ci peut être read uncommitted, read committed, repeatable read ou serializable. Ce paramètre contrôle le niveau d'isolation par défaut de chaque nouvelle transaction. La valeur par défaut est read committed.
Consulter le mvcc et sql-set-transaction pour plus d'informations.
Recommandations [EN]
Relates to transaction_isolation. Better set on a session or transaction basis as transaction_isolation in order to support specific types of transaction conflict resolution.
Sur StackOverflow
- Very slow Django: Multiple "SHOW default_transaction_isolation" calls in log
- Django showing data from previous days
- postgres - cannot drop database using psycopg2
- Intermittent Deadlock with Django LiveServerTestCase, Selenium, and Postgres
- How to fix an error Plone RelStorage using AWS RDS Read replica by psycopg2