SQL Server Performance

  • Home
  • Articles
  • Forums
  • Tips
  • Training
  • FAQ's
  • Blogs
  • Software
  • Books
  • About Us
RSS Feeds
Sign in | Join


Article Topics

All Articles
Performance Tuning
Audit
Business Intelligence
Clustering
Reporting Services
SQL Azure
Developer
General DBA
ASP.NET / ADO.NET
SQL Azure

USEFUL SITES :

ASP.NET Tutorials
Windows and SQL Azure Tutorials
Cloud Hosting Magazine
SharePoint Tutorials
Windows Server Help

Write for Us

Share your SQL Server knowledge with others and raise your profile in the community More...
Latest Articles

A High Level Comparison Between Oracle and SQL Server - Part ...
A High Level Comparison Between Oracle and SQL Server - Part ...
A High Level Comparison Between Oracle and SQL Server - Part ...
A High Level Comparison Between Oracle and SQL Server

More     
 
Latest FAQ's

Add Node to A SQL Server failover Cluster failed with invalid ...
SQL Server Destination remote server error
Setting Up Data And Log Files For SQL Server
Will Check Constraints Improve Database Performance?

More     
   
Latest Software Reviews

dbForge Review
Spotlight on ApexSQL Diff - Server-based database comparison tool ...
Spotlight on ApexSQL Data Diff - Server-based database comparison tool ...
Spotlight on ApexSQL Doc 2008

More     

articles >> performance tuning >> How Using the Windows 2000 Encrypted File ...

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

By : Chris Kempster
Sep 19, 2004

Page 2 / 3

Now for the actual testing. The following operations were repeated five times on each database (encrypted and non-encrypted). The instance was re-started after each test cycle and the order in which the tests were done, i.e., EFS database (encrypted) then Non-EFS database (non-encrypted), and visa versa, also changed. The figures below are averages of the runs made.

 

Table Name

 

Rows

189,362

DB

DML/DDL Operation

Results

EFS

select * into tc from otherdb.dbo.tc

checkpoint

SQL Server parse and compile time:

   CPU time = 0 ms, elapsed time = 140 ms.

Table 'tc'. Scan count 0, logical reads 1, physical reads 0, read-ahead reads 0.

Table 'tc'. Scan count 1, logical reads 6321, physical reads 0, read-ahead reads 6313.

SQL Server Execution Times:

   CPU time = 3766 ms,  elapsed time = 4559 ms.

 

EFS

drop table tc

 

SQL Server Execution Times:

   CPU time = 16 ms,  elapsed time = 68 ms.

 

EFS

select count(*) from tc

 

Table 'tc'. Scan count 1, logical reads 5911, physical reads 0, read-ahead reads 5912.

SQL Server Execution Times:

   CPU time = 93 ms,  elapsed time = 4296 ms.

 

EFS

update tc
set tc_admindiv_id = 'R8'
where tc_prob_expired = '2003-01-24 00:00:00.000'

 

Table 'tc'. Scan count 1, logical reads 5933, physical reads 187, read-ahead reads 3622.

SQL Server Execution Times:

   CPU time = 141 ms,  elapsed time = 4861 ms.

EFS

delete from tc where tc_prob_expired = '2003-01-24 00:00:00.000'

 

 

Table 'tc'. Scan count 1, logical reads 5933, physical reads 0, read-ahead reads 5912.

SQL Server Execution Times:

   CPU time = 234 ms,  elapsed time = 4281 ms.

 

EFS

CREATE CLUSTERED
INDEX [ix_tc] ON [dbo].[tc] ([tc_id])

 

 

SQL Server parse and compile time:

   CPU time = 219 ms, elapsed time = 2556 ms.

Table 'tc'. Scan count 2, logical reads 11822, physical reads 187, read-ahead reads 3622.

SQL Server Execution Times:

   CPU time = 5078 ms,  elapsed time = 12452 ms.

SQL Server Execution Times:

   CPU time = 5203 ms,  elapsed time = 12587 ms.

 

EFS

select * from tc where tc_id = '22343246641'

Table 'tc'. Scan count 1, logical reads 3, physical reads 0, read-ahead reads 0.

SQL Server Execution Times:

   CPU time = 0 ms,  elapsed time = 28 ms.

NON

EFS

select * into tc from otherdb.dbo.tc

checkpoint

SQL Server parse and compile time:

   CPU time = 16 ms, elapsed time = 143 ms.

Table 'tc'. Scan count 0, logical reads 1, physical reads 0, read-ahead reads 0.

Table 'tc'. Scan count 1, logical reads 6321, physical reads 0, read-ahead reads 6313.

SQL Server Execution Times:

   CPU time = 3547 ms,  elapsed time = 4468 ms.

 

NON

EFS

drop table tc

 

SQL Server Execution Times:

   CPU time = 16 ms,  elapsed time = 57 ms.

 

NON

EFS

select count(*) from tc

 

Table 'tc'. Scan count 1, logical reads 5911, physical reads 0, read-ahead reads 5912.

SQL Server Execution Times:

   CPU time = 140 ms,  elapsed time = 1604 ms.

 

NON

EFS

update tc
set tc_admindiv_id = 'R8'
where tc_prob_expired = '2003-01-24 00:00:00.000'

 

Table 'tc'. Scan count 1, logical reads 5933, physical reads 182, read-ahead reads 3384.

SQL Server Execution Times:

   CPU time = 250 ms,  elapsed time = 1902 ms.

NON

EFS

delete from tc where tc_prob_expired = '2003-01-24 00:00:00.000'

 

 

Table 'tc'. Scan count 1, logical reads 5933, physical reads 0, read-ahead reads 5912.

SQL Server Execution Times:

   CPU time = 188 ms,  elapsed time = 1673 ms.

 

NON

EFS

CREATE CLUSTERED
INDEX [ix_tc] ON [dbo].[tc] ([tc_id])

 

 

SQL Server parse and compile time:

   CPU time = 109 ms, elapsed time = 977 ms.

Table 'tc'. Scan count 2, logical reads 11822, physical reads 182, read-ahead reads 3384.

SQL Server Execution Times:

   CPU time = 5250 ms,  elapsed time = 8430 ms.

SQL Server Execution Times:

   CPU time = 5375 ms,  elapsed time = 8562 ms.

 

NON

EFS

select * from tc where tc_id = '22343246641'

Table 'tc'. Scan count 1, logical reads 3, physical reads 0, read-ahead reads 0.

SQL Server Execution Times:

   CPU time = 0 ms,  elapsed time = 18 ms.

 


<< Prev Page     Next Page>>    








C# Help and Tutorials | PHP MySQL Tutorial | Sharepoint Tutorial | Azure Tutorial | Cloud Hosting Magazine | ASP.NET Tutorials | Windows Server Help | Windows Phone Pro | Silverlight Ace | Visual Studio Tutorials | Home | Peformance Articles | Audit Articles | Business Intelligence Articles | Clustering Articles | Developer Articles | Reporting Services Articles | DBA Articles | ASP.NET / ADO.NET Articles | SQL Server Training Videos | DBA FAQ's | Developer Peformance FAQ's | DBA Peformance FAQ's | Developer FAQ's | Clustering FAQ's | Error Messages | Audit Tool Reviews | Backup Tool Reviews | Coding Tool Reviews | Compare Tool Reviews | Documentation Tool Reviews | Design Tool Reviews | Monitoring Tool Reviews | Log Tool Reviews | Reporting Tool Reviews | Clustering Tool Reviews | Security Tool Reviews | Change Management Tool Reviews | Remote Access Tool Reviews | Book Reviews | Security Tool Reviews | ADO.NET / ASP.NET | Administration | Analysis/OLAP Services | Application Development | Configuration | Components | ETL | Hardware | High Availability | Hints | Index | Misc | Operating Systems | Performance Tuning | Replication | T-SQL | Views


              © 2010 Jude O'Kelly. All rights reserved