开发者

Switching from SQL Server Express to MySQL

I've built my entire app around an SQL Server Express 2008 DB and realized as time goes on that the potential to go over the 4GB limit is there. I was wonddering what I'm up 开发者_如何学Pythonagainst in switching from MSSQL to MySQL keeping in mind that I'm heavily using the Entity Framework and Linq.


You might also want to consider upgrading to SQL Server Express 2008 R2, because MS increased the maximum database size from 4 GB to 10 GB.

If your database will not get that big, you might get away with that.
If it is likely to grow over 10 GB, then of course upgrading to SQL Server 2008 R2 doesn't help you in the long term.
But maybe upgrading to R2 at least buys you some more time to make the switch to MySQL.


EDIT
John, the download size depends on the edition of SQL Server Express. There are three editions with different sizes:

  • SQL Server Express (about 70 MB)
  • SQL Server Express with Management Tools (about 250 MB)
  • SQL Server Express with Advanced Services (about 750 MB)

The "bigger" editions include stuff like SQL Server Management Studio and Reporting Services.
If you don't need that and just want a database, the smallest edition is enough for you.


I haven't used Entity, so I can't speak for that.

But for SQL Express to MySQL switch, I don't think it is small, but it isn't so big either.

The MySQL C# dll has almost all the same functions as the SQL dll does, maybe they are MySQLFunction instead of just SQLFunction.

The slight differences in queries might get you here and there, such as the use of LIMIT 100 vs TOP 100.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜