Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

choose MySQL or choose SQL Server Express (free)?

I need to develop a mid-sized Inernet facing web site (e.g. less than 1000 users) for information sharing and simple workflow. Since limitation of budget, I am choosing free database. And since the developers are familiar with .Net, C#/ASP.Net is the choosen programming language. I am using Windows Server 2008 x64 edition as OS.

I want to know in my situation, pros and cons about using MySQL or SQL Server Express (free)? I think conclusion may be different to different people/perspective, but learning the facts (pros and cons) will be benefit for me to make decision.

thanks in advance, George

like image 718
George2 Avatar asked Dec 15 '09 08:12

George2


People also ask

Should I use MySQL or Microsoft SQL Server?

Both platforms support Windows and Linux, although there are certain “home court advantages” to each one. Using SQL Server makes a little more sense if you're already a Windows and . NET shop. On the other hand, if you use Linux and Python/Java/PHP, MySQL is probably the better choice here.

What is the difference between MySQL and SQL Express?

Another important area in which MySQL comes up short is system stability- sudden power loss on a server hosting MySQL can very well cause severe data corruption. SQL Server and Express are more robust and tolerant to such outages because the data save process goes through multiple checkpoints.

Is SQL Server Express free?

SQL Server 2022 Express is a free edition of SQL Server, ideal for development and production for desktop, web, and small server applications.

What is the difference between SQL Server and MySQL?

SQL is a query programming language that manages RDBMS. MySQL is a relational database management system that uses SQL. SQL is primarily used to query and operate database systems. MySQL allows you to handle, store, modify and delete data and store data in an organized way.


3 Answers

If SQL Server Express will meet your needs without running into its limitations, and your developers/admins are most familiar with MS SQL, then use it.

Otherwise, use MySQL.

In these situations, the overarching strategy is usually to use what you know, as long as it will meet your technical needs.

The limitations of SQL Server Express are:

  • Limited to one processor at a time (although it can use all cores of a multicore processor)
  • Can use a max of 1GB of RAM for buffering data
  • Max database data size of 4GB (10GB in 2012)
  • SQL Profiler not included (but can be used with inexpensive developer edition tools)
  • Job scheduling not provided (IIRC)
  • Import/Export not provided (IIRC)

SQL Server Express still uses the same database engine as every other version, and it's not performance-limited beyond the above restrictions.

like image 78
phoebus Avatar answered Oct 06 '22 00:10

phoebus


Considering you're committing to a Microsoft stack for you code and operating system, SQL Server Express feels like a natural fit. You'll likely be able to find better community support around an end to end Microsoft stack versus a hybrid stack including MySQL.

SQL Server Express has some limitations but if your project reaches the scale where that becomes an issue, hopefully it will be generating enough traffic/revenue to support an upgrade to a non-free SQL Server product.

like image 35
Asaph Avatar answered Oct 05 '22 23:10

Asaph


From the MySQL vs MS SQL Server:

MySQL can run on Windows without complaint but performs better on UNIX and UNIX-like systems. Additional performance gains can be had by using MySQL on a 64-bit processor.

Note that some of the statements in that section may be considered a bit disingenuous - such as "MySQL has proven to be faster in its basic table format, MyISAM" because MyISAM doesn't appear to support things like "Foreign key constraints", those little things that help make a relational database relations self enforcing.

So as with many things, there are many factors to consider when talking about performance.

like image 35
Zhaph - Ben Duguid Avatar answered Oct 06 '22 01:10

Zhaph - Ben Duguid