Sql insert query performance

前端 未结 4 1321
忘掉有多难
忘掉有多难 2021-01-02 21:28

I want to insert n records into a single table. There may be many concurrent users and they may insert/update/select data from this table. What is better way to insert in a

4条回答
  •  爱一瞬间的悲伤
    2021-01-02 22:28

    Set an isolation (concurrency) level that allows reads of the old data during a transaction - e.g. SQL Server 2005+ has READ SNAPSHOT.

提交回复
热议问题