Home > SQL Server Tips > Database Administration > SQL Server 2005 Express vs. Desktop Engine (MSDE)
SQL Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DATABASE ADMINISTRATION

SQL Server 2005 Express vs. Desktop Engine (MSDE)


Serdar Yegulalp, Contributor
08.30.2007
Rating: -3.75- (out of 5)


Expert advice on database administration
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


SQL Server 2005 Express Edition and the SQL Server Desktop Engine (MSDE) are both free and redistributable. Each product provides a medium where database administrators can work between MS Access and the full version of SQL Server. But there are key differences to consider.

One common complaint about SQL Server was the lack of a step between Microsoft's desktop database system, Access, and the full-blown version of SQL Server. To address this, Microsoft created the SQL Server Desktop Engine (MSDE), a scaled-down version of SQL Server that could run on a desktop system and only lacked a few features.

Since then, MSDE has been eclipsed by a slightly different product: SQL Server 2005 Express Edition, a similarly scaled-down version of SQL Server 2005. In this article, I'll talk a bit about the needs it fills, its general relationship to SQL Server and how SQL Server 2005 Express Edition varies from the original iteration of MSDE.

Why SQL Server 2005 Express?

SQL Server 2005 Express Edition, or 2005 Express for short, is a way to use SQL Server in an environment where the full version isn't practical. For instance, if you're building a desktop application that needs a powerful database system, but you don't want to write one from scratch, 2005 Express may fit that need. Another use is if you want to begin creating a SQL Server-based solution of some kind -- such as a database back end for a Web site or intranet -- but you don't want to commit to the full cost of SQL Server just yet.

The 2005 Express package lets you assess the way SQL Server 2005 works without paying for it. It's also not closed-ended: Databases created in 2005 Express are fully compatible with the regular version of SQL Server. The process of upgrading to the full version (should you need to do that) typically involves little more than backing up the database, then restoring it on the SQL...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
SQL Server Migration Strategies and Planning
PASS Summit 2009 Preview
Are data warehouses made for the cloud?
Q&A: Moving forward with SQL Server in the cloud
SQL Server Mailbag: Migrating down to Standard Edition
Using Microsoft Hyper-V for SQL Server consolidation
Migrating to SQL Server 2008 and leveraging new features
The challenges of SQL Server consolidation
Testing a SQL Server environment before an upgrade
SQL Server Consolidation Fast Guide
SQL Server consolidation strategies and best practices

Microsoft SQL Server 2005
End of life comes for SQL Server 2005 SP2, 2008
SQL Server Reporting Services Fast Guide
SQL Server Service Broker Tutorial and Reference Guide
Tips for tuning SQL Server 2005 to improve reporting performance
SQL Server consolidation: Why it's an optimization technique
Parent-child dimensions in SQL Server 2005 with Analysis Services MDX
Enforcing data integrity in a SQL Server database
SSIS error message due to installation problem on SQL Server 2005
Should you upgrade to SQL Server 2005 or SQL Server 2008?
Basics for working with DATETIME and SMALLDATETIME in SQL Server 2005
Microsoft SQL Server 2005 Research

Database Administration
Hardening the network and OS for SQL Server security
Securing the server and database in SQL Server
How SQL Server 2008 components impact SharePoint implementations
Troubleshooting Distributed Transaction Coordinator errors in SQL Server
Achieving high availability and disaster recovery with SharePoint databases
Clearing the Windows page file and its effect on server performance
Deploying a SQL Server virtual appliance for Microsoft Hyper-V
How to create SQL Server virtual appliances for Hyper-V
Push vs. pull: Configuring SQL Server replication
Protect virtual databases through SQL Server database mirroring

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
application server  (SearchSQLServer.com)
Yukon  (SearchSQLServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


Server 2005 installation. Or you can simply install the full SQL Server 2005 instance side-by-side with 2005 Express and use database-to-database connectivity to transfer objects and data.

Changes and limitations to SQL Server 2005 Express

Given that 2005 Express is a free version of a commercial product, it does come with some limitations on its functionality. One major constraint is the size of any individual database that you can work with in 2005 Express. Each database can only be a maximum of 4 GB, but if you're not dealing with a big data set to start with (and don't anticipate it growing to that size in the near future), this probably won't be an issue at all. In MSDE, the limit was 2 GB, so 2005 Express is actually an improvement. Furthermore, there's no limit to the number of databases you can connect to in any given instance of 2005 Express, so it's even less of a restriction than it might seem at first.

One other commonly cited limitation with MSDE was the "workload governor," a way for MSDE to throttle performance to prevent stalling when more than eight concurrent connections were in use. 2005 Express doesn't have the workload governor. Instead it is limited to only running on a single CPU and working with 1 GB of RAM. MSDE allowed two CPUs and 2 GB of RAM, so this is another mixed bag. Microsoft claims that 2005 Express is a more predictable environment than MSDE. The only other constraints are connection limitations that are imposed by the operating system itself.

Other features explicitly not available in 2005 Express are typically not used in a desktop configuration to begin with, such as the analysis or data mining services and the SQL Agent that is used to schedule jobs, but can be eclipsed here by the Task Scheduler in Windows itself. Another item not included with 2005 Express -- DTS Runtime -- can be added separately. DTS Runtime lets you execute (but not build) DTS packages in 2005 Express.

Finally, MSDE is not supported for use on Windows Vista, so if you're planning to deploy an application that needs to run on Vista (whether now or at some point in the future), it makes sense to migrate to 2005 Express when possible.

Upgrading to SQL Server 2005 Express

Generally, existing MSDE users can get up and running with 2005 Express fairly easily. If you're already using MSDE -- either in a desktop application or as a mini-server -- and want to upgrade to 2005 Express, see Microsoft's article Upgrading MSDE 2000 to SQL Server 2005 Express, in which Microsoft steps through most of the major points in performing an upgrade from one to the other, including a step-by-step procedure for performing an in-place upgrade.

Keep in mind that under some circumstances you won't be able to perform an in-place upgrade. For instance, if you want to change languages or collation, you'll need to install 2005 Express side-by-side with MSDE and move databases that way. Both MSDE and 2005 Express can coexist on the same system, so this is not terribly difficult.


ABOUT THE AUTHOR:   

Serdar Yegulalp has been writing about Windows and related technologies for more than 10 years and is a regular contributor to various sections of TechTarget as well as other publications. He hosts the Web site WindowsInsider.com, where he posts regularly about Windows and has an ongoing feature guide to Vista for emigrants from Windows XP.
Copyright 2007 TechTarget

Rate this Tip
To rate tips, you must be a member of SearchSQLServer.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



SQL Server Development - .NET, C#, T-SQL, Visual Basic
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts