您的位置:首页 > 数据库

提高Sql Server性能的10个技巧

2007-11-20 22:05 489 查看
平时不怎么留意数据库相关的东西,看到这篇文章,感觉不错:
《Speed Up SQL Server Apps》
Learn 10 useful tips and tricks that help boost SQL Server application performance—and streamline development and deployment as well

下面列举文章中的10条技巧:
1) Replace COUNT(*) With EXISTS When Checking for Existence
2) Be Careful When Using WHERE IN and WHERE NOT IN
3) Randomize Resultset Orders With NewID()
4) Increase Default Packet Size for Large Data Fields
5) Name Your SQL Server Applications
6) Utilize SQL Server Aliases
7) Disable Triggers Instead of Dropping Them
8) Don't Rename Script-Based Objects
9) Don't Trust Generated Table Modification Scripts
10) Examine Your Apps With SQL Server Profiler
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: