x
login about faq Site discussion (meta-askssc)

SQL 2005 Compatibility Level

We have just done an inline upgrade of SQL 2000 to SQL 2005. Since this upgrade we have noticed a performance decrease in some applications. I noticed that all database files have a compatibility level of SQL 2000. Would we get improved performance if we change this to be SQL 2005?

Cheers

Brad

more ▼

asked Jan 05 '10 at 09:48 PM in Default

user-860 gravatar image

user-860
21 1 1 1

(comments are locked)
10|1200 characters needed characters left

4 answers: sort voted first

..and you should rebuild your indexes. But before jumping up the compat level, test, test, test!

more ▼

answered Jan 12 '10 at 04:14 AM

Steinar gravatar image

Steinar
1.7k 3 4 6

(comments are locked)
10|1200 characters needed characters left

You should also refresh your statistics after an upgrade: sp_updatestats.

more ▼

answered Jan 06 '10 at 08:21 AM

David Wimbush gravatar image

David Wimbush
4.2k 25 29 31

(comments are locked)
10|1200 characters needed characters left

before executing sp_updatestats, make sure you run dbcc updateusage({databasename|id}) in order to fix inaccuracy in this particular database. Note: You need to do this only once.

more ▼

answered Jan 08 '10 at 09:53 AM

Apeman gravatar image

Apeman
311 11 12 15

(comments are locked)
10|1200 characters needed characters left

Perhaps. Hard to say. You might also find that some things break.

I would definitely encourage you to put your compatibility level up, but do it on a test server first and make sure things are okay.

more ▼

answered Jan 05 '10 at 11:06 PM

Rob Farley gravatar image

Rob Farley
5.7k 13 17 19

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x7

asked: Jan 05 '10 at 09:48 PM

Seen: 633 times

Last Updated: Jan 05 '10 at 09:48 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.