VMware Cloud Community
TB_Rich
Enthusiast
Enthusiast
Jump to solution

VCDB & SQL 2005 - DB OPTION (SQL Compatibility Level)?

Hi,

We are running VC 2.5u2 with SQL 2005 SP2 - what should the SQL Compatibility Level be set to?? Currently it is SQL 2000 (80). Can it be changed to 05 (90) and does VC need to be off for this?

Many Thanks.

0 Kudos
1 Solution

Accepted Solutions
RParker
Immortal
Immortal
Jump to solution

Cheers.

Do you know if it will be simply a case of backup DB and then change the option or will VC need shutting down do you think?

any change to SQL will require a restart, and that will shutdown the VC service when it loses communication with the SQL agent. so you should shutdown the VC service first, then make your change to SQL (90) then restart SQL, then restart your VC service.

View solution in original post

0 Kudos
6 Replies
TB_Rich
Enthusiast
Enthusiast
Jump to solution

Anybody able to help??

Cheers,

Rich.

0 Kudos
kjb007
Immortal
Immortal
Jump to solution

I use SQL 2005 and my compat level is 90. There are no issues with running it in this level, and I would frankly not use compatibility mode unless I had to for older db format/sp/script support.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
TB_Rich
Enthusiast
Enthusiast
Jump to solution

Cheers.

Do you know if it will be simply a case of backup DB and then change the option or will VC need shutting down do you think?

0 Kudos
RParker
Immortal
Immortal
Jump to solution

Cheers.

Do you know if it will be simply a case of backup DB and then change the option or will VC need shutting down do you think?

any change to SQL will require a restart, and that will shutdown the VC service when it loses communication with the SQL agent. so you should shutdown the VC service first, then make your change to SQL (90) then restart SQL, then restart your VC service.

0 Kudos
TB_Rich
Enthusiast
Enthusiast
Jump to solution

Nice one, Thanks very much.

Rich.

0 Kudos
Dave_Mishchenko
Immortal
Immortal
Jump to solution

Changing the DB compatability level for a DB can be made on the fly and does not require a restart of the SQL Server service ("SQL Server "). It is prudent to make a backup before any alter database type statement (and I would for production) but this change is relatively minor. You could also leave the VC service running during the change, but the safest option would be to stop it for the change.