首页 > 技术文章 > SQL Server 提高创建索引速度的 2 个方法

JiangLe 2014-10-05 16:16 原文

 

方法 1、

         使用tempdb来提速

         create index index_name on table_name (column_list) with(sort_in_tempdb = on);

方法 2、

         使用多线程为来提速

         create index index_name on table_name (column_list) with(maxdop = 4);

         maxdop ( max dgree of parallelism)这下记到了吧

 

         

推荐阅读