Should I be using SQL transactions, while reading records?

后端 未结 7 1667
离开以前
离开以前 2021-01-02 09:14

SQL transactions is used for insert, update, but should it be used for reading records?

7条回答
  •  春和景丽
    2021-01-02 09:58

    No, transactions are not generally needed to read data and it will slow down your data reads as well.

    I would suggest you read up on the term ATOMIC. This will help you understand what transactions are for.

提交回复
热议问题