x

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, 2010 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

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

more ▼

answered Jan 06, 2010 at 08:21 AM

David Wimbush gravatar image

David Wimbush
4.9k 28 30 33

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

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

more ▼

answered Jan 12, 2010 at 04:14 AM

Steinar gravatar image

Steinar
1.7k 3 4 6

(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, 2010 at 11:06 PM

Rob Farley gravatar image

Rob Farley
5.7k 15 18 20

(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, 2010 at 09:53 AM

Apeman gravatar image

Apeman
311 12 13 15

(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.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

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

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x9

asked: Jan 05, 2010 at 09:48 PM

Seen: 1429 times

Last Updated: Jan 05, 2010 at 09:48 PM