链接服务器和缓存索引
拥有在开发、SIT 和 UAT 中运行的 DTS 包。每个环境中的所有 SQL Server 都具有相同的链接服务器设置,并且技术规格相似。 DTS 包的执行时间不同。该包运行大约需要 3 小时。通过链接服务器访问的表上有索引。索引是否缓存在一台服务器上?
Have a DTS package that is running in Development, SIT, and UAT. All of the SQL Servers in each of the environments has the same linked servers setup and are the tech specs similar. The DTS package takes different amounts of time to execute. The package should take about 3 hours to run. There are indexes on the tables that are accessed through the linked servers. Do the indexes get cached one one server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不会。
每个链接/目标服务器都有自己的碎片状态,索引状态和行数会影响性能。
另外,每个链接服务器是否相同(例如排序规则兼容?),这可能会影响查询。
最后(直到我编辑更多的东西),你有网络流量、服务器负载、本地索引/统计等。
简单地说,你几乎永远不会得到一致的结果......如果我曾经这样做过,我会开始想知道我是什么3小时的套餐做错了...
No.
Each linked/target server will have it's own state of fragmentation, index state and number of rows will can affect performance.
Also, is each linked server identical (eg collation compatible?) which can affect the queries.
Finally (until I edit with more stuff), you have network traffic, server load, local indexs/stats etc.
Simply, you'll almost never get consistent results... if I ever did, I'd start to wonder what I'd done wrong for a 3 hour package...