简体   繁体   English

压缩SQL Server 2005查询结果?

[英]Compress SQL Server 2005 query results?

Is it possible to reduce network load by compressing sql query results in a transparent way for the client? 是否可以通过对客户端透明的方式压缩sql查询结果来减少网络负载? DB engine : SQL Server 2005 数据库引擎:SQL Server 2005

No. SQL workload is rarely driven by result size. 不会。SQL工作负载很少受结果大小驱动。 Unless is an ETL job or data shipping, there is never a reason to return a large result to start with. 除非是ETL作业或数据传送,否则永远没有理由返回较大的结果。 For those particular scenarios that need large amounts of data shipped to the client, there are better solutions than T-SQL queries (log shipping, service broker, replication). 对于那些需要将大量数据传送到客户端的特殊情况,有比T-SQL查询(日志传送,服务代理,复制)更好的解决方案。

It is possible to reduce workload dramatically though by improving data model, schema design and the access queries. 通过改进数据模型,模式设计和访问查询,可以大大减少工作量。

TDS (Tabular Data Stream) compression is something that people have asked Microsoft to implement..but they have not done so yet. 人们曾要求Microsoft实施TDS(表格数据流)压缩,但他们尚未这样做。

You have a couple options that I am aware of: 您知道我有几个选择:

  1. Use a third party tool like SQLNitro . 使用SQLNitro等第三方工具。
  2. Move to Windows Server 2008 and SQL Server 2008 where they have made various TCP stack improvements, as outlined here: Appendix A: A Closer Look - Examining the Enhancements in Windows Server 2008 and SQL Server 2008 That Enable Faster Performance 移至Windows Server 2008和SQL Server 2008,它们在此处进行了各种TCP堆栈改进,如下所示: 附录A:近距离观察-检查Windows Server 2008和SQL Server 2008中的增强功能,这些功能可实现更快的性能

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM