One 400GB table, One query - Need Tuning Ideas (SQL2005)

后端 未结 24 2096
予麋鹿
予麋鹿 2021-01-30 15:03

I have a single large table which I would like to optimize. I\'m using MS-SQL 2005 server. I\'ll try to describe how it is used and if anyone has any suggestions I would appreci

24条回答
  •  一整个雨季
    2021-01-30 15:38

    Add a single index with columns k1-k6 in it; that should be the best.

    Also, if you can run sp_updatestats before each query.

提交回复
热议问题