【问题标题】:What is the default transaction row level in Postgres and/or LOCK used by default in Sequelize.jsPostgres 中的默认事务行级别和/或 Sequelize.js 中默认使用的 LOCK 是什么
【发布时间】:2019-01-02 02:11:36
【问题描述】:

PostgreSQL 使用的默认行级锁定模式是什么? 并且因为这个问题与 Sequelize ORM 有关,所以很高兴知道默认使用哪种模式来避免或修改我的查询。

【问题讨论】:

  • 默认行级锁定模式”是什么意思——隔离级别?还是别的什么?
  • 是的,对于隔离级别

标签: postgresql sequelize.js isolation-level transaction-isolation rowlocking


【解决方案1】:

Postgres 中的默认隔离级别是read committed

Quote from the manual

Read Committed 是 PostgreSQL 中的默认隔离级别

【讨论】:

  • 我会选择这个作为答案,因为现在我不记得那天我想解决什么了:/,无论如何谢谢。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2019-02-04
  • 1970-01-01
  • 1970-01-01
  • 2023-03-14
  • 2015-01-22
  • 2010-09-26
  • 2017-07-08
相关资源
最近更新 更多