在SQL Server 2014中,将VARCHAR(MAX)列更改为Varchar(500)无效合并复制快照吗?

发布于 2025-02-08 04:52:53 字数 226 浏览 2 评论 0原文

我们在表中有许多列以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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笑梦风尘 2025-02-15 04:52:53

对于任何有同样疑问的人。我可以确认这种更改不会使快照无效,因此不会触发新的快照。我们进行了更改,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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文