是否使用了“表锁定”。新“OLE DB目标”中的复选框组件可取吗? [英] Is usage of the "Table lock" checkbox in a new "OLE DB Destination" component desirable?
问题描述
使用"表锁定"是什么?新"OLE DB目标"中的复选框组件是否可取?
Is usage of the "Table lock" checkbox in a new "OLE DB Destination" component desirable?
我们的SQL Server 2012数据库有时会在SSMS操作时发出消息刷新表名列表:
Our SQL Server 2012 database sometimes issues message upon action of SSMS refresh the list of table names:
超出锁定请求超时时间。 (Microsoft SQL Server,错误:1222)
Lock request time out period exceeded. (Microsoft SQL Server, Error: 1222)
我想知道是否选择了这个 Table lock"新"OLE DB目标"中的复选框组件与此相关?
I wondered if choice of this Table lock" checkbox in a new "OLE DB Destination" component is related to this ?
推荐答案
您好Alberto1166,
Hi Alberto1166,
表锁"新"OLE DB目标"中的复选框允许您在只有您的进程可以插入行的条件下更快地插入。
一般来说,在服务器环境中,数据库表是
共享资源这么多进程可以并行插入/更新/删除行而不会相互锁定。
Generally speaking, in the server environment the database table is a shared resource so many processes can insert/update/delete rows in parallel without locking each other.
这篇关于是否使用了“表锁定”。新“OLE DB目标”中的复选框组件可取吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!