Chris is the author of the book, SQL Server for the Oracle DBA
Those running Windows 2000 can take advantage of the EFS (encrypted file system) for encrypting SQL Server database and/or backup files. In some organizations, encrypting data is mandatory, and as you might expect, it can exact a performance penalty. In this article, I will take a brief look at how you set up encryption for SQL Server and Windows 2000, and then run some tests to see how it affects SQL Server’s performance.
How to Turn on Encryption for SQL Server Databases and Backups
To turn on the encrypted file system in Windows 2000 for use by SQL Server:
- Shutdown your database instance.
- Login with the service account the SQL Server instance is using.
- Select the properties of the folder(s) in which the database files reside using Windows Explorer.
- Select the advanced option button and follow the prompts to encrypt the files/folders.
- Re-start the SQL Server service.
- Verify the successful start-up of the instance and databases affected via the encryption (or create databases after the fact over the encrypted directories).
- Verify encryption of the database files via cipher.exe.
If you attempt to start the service as any user other than the user that encrypted the database data files, the instance will not start and/or your database will be set to suspect.
Here is an example of SQL Server error log entry showing what happens if you start the service with an account other than the one used to encrypt the files:
udopen: Operating system error 5(error not found) during the creation/opening of physical device E:cktempefsefs_Data.MDF.
FCB::Open failed: Could not open device E:cktempefsefs_Data.MDF for virtual device number (VDN) 1.
udopen: Operating system error 5(error not found) during the creation/opening of physical device E:cktempefsefs_Log.LDF.
FCB::Open failed: Could not open device E:cktempefsefs_Log.LDF for virtual device number (VDN) 2.
As you might expect, encrypting your SQL Server data negatively affects SQL Server’s performance. How much it will affect speed is a tough to measure as there are so many factors to consider. For example:
- Hardware vendor chosen
- I/O drives and OS version and patch level
- Disk vendor, speed, cache
- RAID levels, channels, disk interconnect
- RAID controller type, cache, vendor
- Software-based caching models and/or BIOS patches
- OS configuration parameters, service packs and registry “tweaks”
and perhaps more, can all affect SQL Server’s encrypted performance.
Testing How Windows 2000 Encryption Affects SQL Server’s Performance
The testing of EFS performance using SQL Server database files was done on the following hardware:
HP NetServer, Dual PIII 850Mhz, 512Mb RAM, SCSI 160 RAID-1 18Gb Disks
The tests were repeated five times, with the average figures shown below. No other user or application was running during the tests. The databases were identical in terms of their size, recovery model, collation and other basic settings.
Before beginning the tests, I tested to be sure that encryption was working. This can be done by typing the following at the command line:
cipher
The results of this command were:
Listing d:
New files added to this directory will be encrypted.
E EFSTEST_Data.MDF
E EFSTEST_Log.LDF
The results above indicate that encryption is on and that there are two existing files that are encrypted.
Next, from within Query Analyzer, I set I/O time and statistics to on, as follows:
set statistics io on
set statistics time on
And before each test, I ran the following code in order to clear out the memory buffer and to force a checkpoint.
dbcc dropcleanbuffers
checkpoint
https://bit.ly/nep-2022 – Непослушник 2022 фильм
Непослушник фильм 2022
Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве
Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве
.
.
.
http://www.avprc.ch/forum/viewtopic.php?p=1912529#1912529 – Непослушник 2022 смотреть онлайн Непослушник смотреть онлайн
https://forum.resmihat.kz/viewtopic.php?f=11&t=6132 – Непослушник 2022 фильм Непослушник 2022 фильм
http://forum.1one.blue/viewtopic.php?f=18&t=741695 – Непослушник – смотреть онлайн в хорошем качестве Непослушник
http://forum.centr5.ru/viewtopic.php?f=17&t=312999 – Непослушник 2022 смотреть онлайн Непослушник
http://forum.lizzardco.com/showthread.php?tid=96386&pid=170184#pid170184 – Непослушник 2022 фильм Непослушник смотреть онлайн
http://isolationstation.langtoontimes.com/viewtopic.php?f=24&t=97775 – Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве Непослушник
http://www.cyberturista.com/mxu-2022-t190833 – Непослушник смотреть онлайн Непослушник
https://www.fulltr.net/konu-ppz-%D0%BD%D0%B5%D0%BF%D0%BE%D1%81%D0%BB%D1%83%D1%88%D0%BD%D0%B8%D0%BA-2022-%D1%84%D0%B8%D0%BB%D1%8C%D0%BC – Непослушник фильм 2022 Непослушник смотреть онлайн
http://www.reo14.moe.go.th/phpBB3/viewtopic.php?f=6&t=1845704 – Непослушник фильм 2022 Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве
http://forum.1one.blue/viewtopic.php?f=18&t=741696 – Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве Непослушник
http://kharkovforum.com.ua/viewtopic.php?f=79&t=340603 – Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве
https://politicalguid.com/showthread.php?p=422593#post422593 – Непослушник Непослушник 2022 фильм
http://www.o2hau.com/forum/showthread.php?tid=52374 – Непослушник фильм 2022 Непослушник смотреть онлайн
http://forum.1one.blue/viewtopic.php?f=18&t=741697 – Непослушник 2022 фильм Непослушник смотреть онлайн
https://forums.virtuverse.wiki/Thread-Perfectly-design-and-brand-in-high-quality?pid=31990#pid31990 – Непослушник 2022 смотреть онлайн Непослушник фильм 2022
http://team-spectre.fr/viewtopic.php?f=4&t=16994 – Непослушник фильм 2022 Непослушник 2022 смотреть онлайн
http://bobzhotel.altervista.org/showthread.php?tid=36907&pid=70979#pid70979 – Непослушник 2022 фильм Непослушник 2022 смотреть онлайн
http://investicedokryptomen.cz/viewtopic.php?f=10&t=53793 – Непослушник 2022 фильм Непослушник 2022 смотреть онлайн
http://manga.heart.free.fr/forum/viewtopic.php?p=63862#63862 – Непослушник – смотреть онлайн в хорошем качестве Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве
http://diskusikripto.com/showthread.php?p=1138544#post1138544 – Непослушник – смотреть онлайн в хорошем качестве Непослушник 2022 фильм
https://fisioterapianocanada.com/forum/showthread.php?tid=399247 – Непослушник – смотреть онлайн в хорошем качестве Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве
https://www.aqueousmeditation.com/forum/viewtopic.php?f=1&t=799807 – Непослушник – смотреть онлайн в хорошем качестве Непослушник фильм 2022
http://conternative.com/showthread.php?tid=7259&pid=548054#pid548054 – Непослушник фильм 2022 Непослушник 2022 фильм
http://lifeanddeathforum.com/showthread.php?tid=746033 – Непослушник фильм 2022 Непослушник фильм 2022
http://boroughsocial.club/showthread.php?tid=62824&pid=239740#pid239740 – Непослушник – смотреть онлайн в хорошем качестве Непослушник фильм 2022
https://forums.hotciti.com/viewtopic.php?f=5&t=372340 – Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве Непослушник
http://isolationstation.langtoontimes.com/viewtopic.php?f=24&t=97777 – Непослушник фильм 2022 Непослушник фильм 2022
http://lindner-essen.de/forum/viewtopic.php?f=3&t=3050072 – Непослушник смотреть онлайн Непослушник 2022 фильм
https://www.aqueousmeditation.com/forum/viewtopic.php?f=1&t=799808 – Непослушник 2022 смотреть онлайн Непослушник фильм 2022
http://diskusikripto.com/showthread.php?p=1138543&posted=1#post1138543 – Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве
https://politicalguid.com/showthread.php?p=422594#post422594 – Непослушник 2022 фильм Непослушник фильм 2022
http://www.flyingfish.nl/forum/viewtopic.php?p=3031965#3031965 – Непослушник 2022 фильм Непослушник фильм 2022
https://forums.hotciti.com/viewtopic.php?f=5&t=372343 – Непослушник – смотреть онлайн в хорошем качестве Непослушник – смотреть онлайн в хорошем качестве
http://www.kathysdiary.com/forum/viewtopic.php?f=4&t=13219 – Непослушник Непослушник фильм 2022
https://gonogovisit.com/forum/viewtopic.php?f=6&t=13132 – Непослушник Смотреть фильм Непослушник 2022 года онлайн в хорошем качестве
https://kamera.al/showthread.php?tid=253153 – Непослушник 2022 смотреть онлайн Непослушник фильм 2022
http://forum.1one.blue/viewtopic.php?f=18&t=741699 – Непослушник – смотреть онлайн в хорошем качестве Непослушник
https://roqstech.de/viewtopic.php?f=12&t=2028087 – Непослушник 2022 фильм Непослушник фильм 2022
https://przytulanki24.pl/forum/viewtopic.php?f=6&t=86146 – Непослушник – смотреть онлайн в хорошем качестве Непослушник
http://hthspc.com/home/dclkj0b0uq0n/public_html/viewtopic.php?t=95954 – Непослушник Непослушник фильм 2022
https://cantotalk.com/viewtopic.php?f=9&t=33357 – Непослушник фильм 2022 Непослушник 2022 смотреть онлайн
http://diskusikripto.com/showthread.php?p=1138547#post1138547 – Непослушник 2022 фильм Непослушник фильм 2022
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.