Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server Express vs express localdb

I am having quite a few problems understanding differences between regular SQL Server Express and express Localdb.

Before you go ahead and tag a previous post about this question, I've went through question history quite a few times.

The resources that I found somewhat helpful were: Is there a difference between SQL Server Express (2012) and LocalDB? and an official Microsoft page article about it.

I believe I do understand that Express Localdb is an edition of SQL Server Express, that is targeted to developers in order to reduce time consumption of all the "configuration".

What exact configuration? What is the difference If I use Username\SQLEXPRESS versus (Localdb)\MSSQLLocalDB, it creates a database anyway. What are the differences in terms of publishing your application into production?

like image 454
Dan J Avatar asked Feb 03 '17 15:02

Dan J


People also ask

What is SQL Express LocalDB?

Microsoft SQL Server Express LocalDB is a feature of SQL Server Express targeted to developers. It is available on SQL Server Express with Advanced Services. LocalDB installation copies a minimal set of files necessary to start the SQL Server Database Engine.

What is SQL Server 2016 LocalDB?

LocalDB is an instance of SQL Server Express targeted to developers that can create and open SQL Server databases.

What is the difference between SQL Express and SQL Express advanced?

Express core: It installs the SQL Server database engine only. Express advanced: If you require additional SSRS and full-text service, choose the advanced option. LocalDB: The LocalDB is a lightweight express edition that includes programmability features and can run in user mode.

Can LocalDB be used in production?

LocalDB is absolutely supported in production. From the performance point of view it is identical to SQL Server Express, as they share the same database engine.


1 Answers

LocalDB is a special, low impact version of the SQL Server engine, that is not installed as a Windows Service, but launched (made to run) on demand by the ADO.NET client opening a connection to it. It is intended for single user scenarios, and not for any production use - for production you should use SQL Server Express (or higher)

I have a blog post that compares the various engines here: http://erikej.blogspot.dk/2011/01/comparison-of-sql-server-compact-4-and.html

like image 145
ErikEJ Avatar answered Sep 22 '22 18:09

ErikEJ