Enterprise Edition 만이 제공하는 특정한 기능을 이용하지 않은 경우에만 활용 가능한 Downgrade 방법임

그렇게 설치한 시스템에서 고대로.... 데이터만 파일로 백업하고 복원하여 SQL Server 를 Downgrade 할 수 있음

 

 

 

<Problem>

I have a SQL Server that was installed as Enterprise Edition. I don't need the Enterprise features and I don't want to pay for the licensing. What is the best way to downgrade to Standard Edition?

 

 


 
<Solution>

I've came across a lot of SQL Server's in my career that were installed using the Enterprise Edition and never utilized the Enterprise features. Downgrading to a lower edition cannot be done in place. This tip will describe the steps needed to downgrade.

Create Database Backups

As always, before doing anything drastic (or non-drastic), BACKUP all the databases (system and user)! Also, if you have a development environment, please test on it first.

Check for Enterprise features

After backing up the databases run the following query on each database:

SELECT * FROM sys.dm_db_persisted_sku_features

This DMV will tell you whether or not the database is utilizing any of the Enterprise features. You can find more information regarding this DMV from this tip.

Check Version and Build Number

Because you never know when an install may fail, check the version and build number of the current SQL Server. After the downgrade, you will need to bring the new SQL Server back to the patch level. You can view this information by executing the following command:

SELECT @@VERSION


 

000.png

 

Save the results to a text editor.

Decision...

There are two different directions we can go from here.

  1. We can do the traditional uninstall Enterprise, install Standard, patch, restore databases
  2. Or we can do what I call "The Jonathan Kehayias" approach. (I saw this method awhile back from a forum post by Jonathan):

Copy System Databases

Shutdown the SQL Server service and copy the master, model and msdb database files (.mdf and .ldf) to another location. We will need these later:

001.png

 


 

002.png

 

Uninstall SQL Server

Uninstall SQL Server from Control Panel:

003.png

 

You only need to uninstall the Instance (includes SSIS, SSAS, SSRS, SSDT). There is no need to uninstall the Shared Components (SSMS, Client Tools, and Connectivity).

004.png

 


 

005.png

 


 

006.png

 

Reboot

Reboot the server. After rebooting, browse to the location of the data files and you will notice that the user databases weren't removed with the uninstall, but the system databases were. This is why we copied them in the step above:

007.png

 

Install New SQL Server Edition

Enterprise Edition should be completely removed from the system now. Insert/Mount the media for SQL Server Standard and install. The install should be pretty straight forward. To make things easier in the end, make sure the name of the instance remains the same and the Data Directories point to the correct location.

Once SQL Server is finished installing, open SQL Management Studio and connect to the newly installed instance.

If you expand Databases, Security/Logins, SQL Server Agent/Jobs, etc. you will see it looks like a fresh copy of SQL Server.

008.png

 

Also, if you run the following command you will see that the version has changed to Standard Edition:

SELECT @@VERSION


 

009.png

 

Install SQL Server Patches

In this example, you will also notice that the build number has changed from 11.0.3000.0 to 11.0.2100.60 so I will need to install the correct patches to bring this server back to 11.0.3000.0.

(11.0.3000.0 is SQL Server 2012 SP1)

Download the correct patches and install on the server before doing anything else.

Once the patches are installed check the server to make sure it's at the same build number as it was before.

Copy System Databases

Shutdown the SQL Server service and copy the master, model and msdb database files (.mdf and .ldf) from the location you saved them in to the new location for the new install.

010.png

 


 

011.png

 

Start SQL Server

After copying the system files to the new location you can start SQL Server again:

012.png

 

Once SQL Server comes back online, you should see all the databases, logins, jobs, etc. back to normal:

013.png

 

번호 제목 글쓴이 날짜 조회 수
41 [명령 프롬프트] Microsoft SQL Server 서비스를 시작, 중지 또는 일시 중지 황제낙엽 2021.09.08 41
40 SQL Server 데이터베이스 기본 위치 변경하기 file 황제낙엽 2021.09.07 33
39 SQL Server 와 SQL Server Management Studio(SSMS) 설치 황제낙엽 2021.08.24 99
38 Windows 방화벽에서 SQL Server 포트 허용하기 황제낙엽 2020.02.13 274
37 DB 성능 최적화 14가지 지키기 (쿼리 성능 향상) 황제낙엽 2019.05.29 184
36 특정 컬럼에 대해 그룹핑하여 각 그룹별 ROWNUM 붙이기 그리고 left join 황제낙엽 2019.05.28 92
35 조회용 검색 쿼리 황제낙엽 2019.05.28 141
34 ROWNUM 붙이기 황제낙엽 2019.05.28 104
33 SQL Server 서비스 시작 황제낙엽 2017.06.01 114
32 서버 컴퓨터 이름 변경과 함께 SQL Server 이름 변경 하기 file 황제낙엽 2016.07.19 1402
31 SQL Server 2014의 라이선스의 변화 file 황제낙엽 2016.06.29 116
» Downgrade from SQL Server Enterprise Edition to Standard Edition file 황제낙엽 2016.06.23 597
29 SQL Server 를 Developer (Enterprise) 에서 Standard 로 교체하기(Downgrade) 황제낙엽 2016.06.23 161
28 Identify database features restricted to a specific edition of SQL Server 2008 file 황제낙엽 2016.06.18 183
27 SQL Server 에디션 다운그레이드와 제한된 기능 확인 file 황제낙엽 2016.06.18 227
26 SQL Server 2008 R2 제거 file 황제낙엽 2016.06.15 1750
25 SQL Server 2016 설치를 위한 하드웨어 및 소프트웨어 요구 사항 황제낙엽 2016.06.14 583
24 MS-SQL Server 2008 SA계정 활성화. (SQL Server 인증 연결) file 황제낙엽 2016.06.14 184
23 혼합 인증 켜기(SQL Server 및 Windows 인증 모드) file 황제낙엽 2016.06.14 136
22 MS SQL Server Environment (SQL Server 2008 개요) file 황제낙엽 2016.06.14 146