06 2018 档案
摘要:SQL Server 存在三种 Join 策略:Hash Join,Merge Join,Nested Loop Join。 Hash Join:用来处理没有排过序/没有索引的数据,它在内存中把 Join 两边数据(的关联key)分别建立一个哈希表。例如有以下的查询语句,关联的两张表没有建立索引,执
阅读全文
摘要:select top 20 qs.creation_time, last_execution_time, total_physical_reads, total_logical_reads, total_logical_writes,DB_NAME(dbid) dbname, execution_count, --total_worker_time, last_worker_time, --...
阅读全文
该文被密码保护。