Richie

Sometimes at night when I look up at the stars, and see the whole sky just laid out there, don't you think I ain't remembering it all. I still got dreams like anybody else, and ever so often, I am thinking about how things might of been. And then, all of a sudden, I'm forty, fifty, sixty years old, you know?

2009年8月1日 #

金色海洋同学的"关于Int自增字段和GUID字段的性能测试"

摘要: 原文:关于Int自增字段和GUID字段的性能测试。只有测试,没有分析,呵呵1. 为什么加了top之后执行计划变得不一样了? 加了top 100后,因为只需要返回100条数据,2个表之间的关联有索引信息,sql server可以优化执行计划,使用了nested loop方法 没加top 100需要返回所有数据,因为数据比较多sql server评估出来成本比较高,电脑是双核的,因此采用了并行的执行计... 阅读全文

posted @ 2009-08-01 21:41 riccc 阅读(3390) 评论(13) 推荐(6) 编辑

导航