在SQL Server 2014中,将VARCHAR(MAX)列更改为Varchar(500)无效合并复制快照吗?
我们在表中有许多列以varchar(max)
创建的列,这似乎在我们的合并复制中引起了性能问题。
我们不需要这些是varchar(max)
,并且希望将它们更改为varchar(500)
。
这会使当前快照无效,并要求创建新的快照吗?这是一个实时环境,服务器位于不同大陆的情况下,快照可能需要一段时间才能转移,我们需要为此做好准备。
We have a number of columns in a table that were created as VARCHAR(MAX)
this seems to be causing performance issues with our merge replication.
We don't need these to be VARCHAR(MAX)
and would like to change them to VARCHAR(500)
.
Will this invalidate the current snapshot and request a new snapshot to be created? This is a live environment and with the servers being in different continents the snapshot could take a while to transfer, which we need to be prepared for.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于任何有同样疑问的人。我可以确认这种更改不会使快照无效,因此不会触发新的快照。我们进行了更改,DDL脚本仅传递给订户并执行。
For anybody who has the same doubts. I can confirm that such a change will not invalidate the snapshot and so will not trigger a new snapshot. We ran the changes and the DDL scripts were simply passed to the subscriber and executed.