MySQL vs Microsoft SQL Server: Rating, Votes and Features
| MySQL | Microsoft SQL Server | |
|---|---|---|
| Category | database engine | database engine |
| Developer | Oracle | Microsoft |
| Created by | Michael Widenius, David Axmark, Allan Larsson | — |
| First release | 1995 | 1989 |
| License | GPL-2.0 | Proprietary |
| Open source | Yes | No |
| Pricing | Free with paid plans | Free with paid plans |
| Website | https://www.mysql.com | https://www.microsoft.com/sql-server |
| Written in | C, C++ | C, C++ |
| Data model | Relational | Relational, Graph |
| Storage layout | Row-oriented | Hybrid row and column |
| Workload | Transactions (OLTP) | Both (HTAP) |
| Analytics architecture | Not an analytics platform | Not an analytics platform |
| Query language | SQL | T-SQL |
| ACID transactions | Yes | Yes |
| Schema | Strict | Strict |
| Deployment | Server, Managed cloud | Server, Managed cloud |
| Scaling | Replication | Replication |
| Create, read, update, delete | Create: fast (Quick inserts with InnoDB); Read: fast (Fast primary key and index lookups); Update: fast (In-place updates with undo logs); Delete: fast (Cheap deletes, space reused by InnoDB) | Create: fast (Fast inserts, bulk copy for loads); Read: fast (Mature optimizer, row and column indexes); Update: fast (In-place updates); Delete: fast (Fast deletes, ghost cleanup in the background) |