How Using the Windows 2000 Encrypted File System to Secure SQL Server Databases and Backups Affects SQL Server's Performance

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

Continues…

0 Replies to “How Using the Windows 2000 Encrypted File System to Secure SQL Server Databases and Backups Affects SQL Server's Performance

  1. Mixemazy says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Crash Bandicoot: On the Run Mobile Game Download FREE 2021

    The game isnt unique in its gameplay elements but that the developers fixed to become a allocation of the HTML5 game library without actually government in a typical browser when you purchase the full game.Players who are looking to feat the game can attempt a small demo that works in internet browsers before purchasing the game on platforms such as Steam.The developers of CrossCode are currently looking to port the game higher than the platforms such as the Nintendo Switch fittingly that you can look HTML5 games within reach on many further platforms that might not even have an internet browser upon them.The Worlds Biggest Pac Man is a unique admission source adaptation of the perpetual Pac Man series.Pac Man has been a classic game for a long times due to the gameplay that doesnt get obsolete for many but The Worlds Biggest Pac Man solves the thing some have that the content user-friendly in older Pac Man games gets stale as you are used to playing the similar levels exceeding and over.This becoming accustomed allows users to create their levels to be placed into the game for that reason that anyone can experience levels that they never had before.Advanced leaderboards are as a consequence reachable in game consequently that players dont compulsion to go to any outside sources if they are looking for a challenge.

    KW:
    Crash Bandicoot: On the Run Download Apk Pc FREE 2021
    Media Fire.Com Crash Bandicoot: On the Run Pc FREE 2021
    How To Install Crash Bandicoot: On the Run On Android FREE 2021
    Crash Bandicoot: On the Run Download For Android Mobile FREE 2021
    Crash Bandicoot: On the Run5 Mobile FREE DOWNLOAD 2021

  2. Mixemazy says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    https://www.hackster.io/maaaaaarktwain

    The game isnt unique in its gameplay elements but that the developers arranged to become a allowance of the HTML5 game library without actually organization in a typical browser taking into account you buy the full game.Players who are looking to undertaking the game can try a small demo that works in internet browsers before purchasing the game upon platforms such as Steam.The developers of CrossCode are currently looking to port the game over the platforms such as the Nintendo Switch fittingly that you can see HTML5 games simple upon many additional platforms that might not even have an internet browser upon them.The Worlds Biggest Pac Man is a unique retrieve source adaptation of the eternal Pac Man series.Pac Man has been a timeless game for a long get older due to the gameplay that doesnt acquire obsolete for many but The Worlds Biggest Pac Man solves the thing some have that the content understandable in older Pac Man games gets stale as you are used to playing the similar levels higher than and over.This accommodation allows users to make their levels to be placed into the game for that reason that anyone can experience levels that they never had before.Advanced leaderboards are after that friendly in game suitably that players dont craving to go to any outside sources if they are looking for a challenge.

    KW:
    Crash Bandicoot: On the Run Download App FREE
    How To Download Crash Bandicoot: On the Run In Android FREE 2021
    Crash Bandicoot: On the Run Game Download Free
    Crash Bandicoot: On the Run Game Mobile FREE 2021
    Free Download Crash Bandicoot: On the Run

  3. Mixemazy says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    https://telescope.ac/crash-bandicoot-on-the-run-free-android-ios-2021-download-NJ4xwI6hT

    The game isnt unique in its gameplay elements but that the developers decided to become a allocation of the HTML5 game library without actually government in a typical browser past you purchase the full game.Players who are looking to take action the game can try a little demo that works in internet browsers in the past purchasing the game upon platforms such as Steam.The developers of CrossCode are currently looking to harbor the game exceeding the platforms such as the Nintendo Switch hence that you can look HTML5 games nearby upon many supplementary platforms that might not even have an internet browser upon them.The Worlds Biggest Pac Man is a unique get into source adaptation of the classic Pac Man series.Pac Man has been a timeless game for a long become old due to the gameplay that doesnt acquire outmoded for many but The Worlds Biggest Pac Man solves the issue some have that the content genial in older Pac Man games gets stale as you are used to playing the same levels exceeding and over.This becoming accustomed allows users to create their levels to be placed into the game thus that anyone can experience levels that they never had before.Advanced leaderboards are then manageable in game appropriately that players dont dependence to go to any external sources if they are looking for a challenge.

    KW:
    Crash Bandicoot: On the Run Apk Free Download FREE 2021
    Crash Bandicoot: On the Run Mobile Site FREE
    Crash Bandicoot: On the Run5 Mobile FREE DOWNLOAD 2021
    Crash Bandicoot: On the RunGame Android FREE
    Crash Bandicoot: On the Run Mobile Site FREE 2021

  4. Mixemazy says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    https://www.pinterest.com/pin/606649012304473443

    The game isnt unique in its gameplay elements but that the developers established to become a ration of the HTML5 game library without actually organization in a typical browser when you purchase the full game.Players who are looking to fake the game can try a little demo that works in internet browsers in the past purchasing the game upon platforms such as Steam.The developers of CrossCode are currently looking to port the game more than the platforms such as the Nintendo Switch therefore that you can look HTML5 games within reach on many extra platforms that might not even have an internet browser on them.The Worlds Biggest Pac Man is a unique admittance source familiarization of the perpetual Pac Man series.Pac Man has been a everlasting game for a long become old due to the gameplay that doesnt acquire dated for many but The Worlds Biggest Pac Man solves the thing some have that the content easily reached in older Pac Man games gets stale as you are used to playing the same levels higher than and over.This adjustment allows users to make their levels to be placed into the game fittingly that anyone can experience levels that they never had before.Advanced leaderboards are next simple in game correspondingly that players dont obsession to go to any uncovered sources if they are looking for a challenge.

    KW:
    Crash Bandicoot: On the RunGame Apk FREE 2021
    Mob.Org Crash Bandicoot: On the RunSan Andreas FREE
    Crash Bandicoot: On the Run Download Mobile FREE 2021
    Can We Play Crash Bandicoot: On the Run In Mobile FREE
    Crash Bandicoot: On the RunGame Download Free 2021

  5. Mixemazy says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    https://www.pinterest.com/pin/606649012304473661

    The game isnt unique in its gameplay elements but that the developers arranged to become a allocation of the HTML5 game library without actually dealing out in a typical browser gone you purchase the full game.Players who are looking to deed the game can try a little demo that works in internet browsers previously purchasing the game upon platforms such as Steam.The developers of CrossCode are currently looking to harbor the game over the platforms such as the Nintendo Switch appropriately that you can look HTML5 games straightforward on many extra platforms that might not even have an internet browser upon them.The Worlds Biggest Pac Man is a unique admission source becoming accustomed of the unchanging Pac Man series.Pac Man has been a eternal game for a long time due to the gameplay that doesnt acquire outmoded for many but The Worlds Biggest Pac Man solves the situation some have that the content affable in older Pac Man games gets stale as you are used to playing the same levels greater than and over.This becoming accustomed allows users to make their levels to be placed into the game for that reason that anyone can experience levels that they never had before.Advanced leaderboards are moreover easy to use in game thus that players dont dependence to go to any external sources if they are looking for a challenge.

    KW:
    Crash Bandicoot: On the Run.Mobi FREE 2021
    Crash Bandicoot: On the Run Android Game Free Download 2021
    Can We Play Crash Bandicoot: On the Run In Mobile FREE 2021
    How To Download Crash Bandicoot: On the Run In Mobile FREE 2021
    Mob.Org Crash Bandicoot: On the RunSan Andreas FREE 2021

Leave a Reply

Your email address will not be published. Required fields are marked *