Windows DBMS > MySQL Community Edition VS SQL Server

TechBoyJK

Lifer
Oct 17, 2002
16,701
60
91
Looking to deploy an app that I've built using SQL Server 2008.

Licensing is expensive for SQL Server, especially when you need replication, etc.

It's not that complicated of a DB honestly.. Mostly straightforward tables, indexes, etc.

Thinking it'd be pretty easy to port over to mySQL.

Thoughts? Performance? Reliability?
 

Rangoric

Senior member
Apr 5, 2006
532
0
71
Would Sql Express work? I know SQL Express is free, and can work with a DB up to 2GB.

Just as an option.
 

WannaFly

Platinum Member
Jan 14, 2003
2,811
1
0
If you've designed it for MSSQL, SQL express will probably with with little to no changes. There's a newer version/technology coming out, or maybe its out, but I cannot remember the name - that is a completely standalone DB, no install needed. Similar to access but uses MSSQL technology.

A lot of it has to do with your app: where it will be hosted, how many clients will connect, if there are advanced services (reporting, SSIS).
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
13
81
www.markbetz.net
It depends on the size of the database and which features you've used. That will drive what changes at the db level, and whether you need client side changes as well.

I've built dbs on both platforms, but I've never moved one between them. I think tables and indexes would port with little effort. There might be some help here:

http://dev.mysql.com/doc/migration-toolkit/en/

If you're creating stored procs or user-defined functions you may have more changes to make. Also, if you're using any of the proprietary SQL server globals like @@rowcount or @@identity the MySql method of getting to this same information is different and usually more cumbersome.
 

TechBoyJK

Lifer
Oct 17, 2002
16,701
60
91
Would Sql Express work? I know SQL Express is free, and can work with a DB up to 2GB.

Just as an option.

No, it wouldn't. Well, it would to start, but not really. Trying to build with redundancy in mind and features like replication aren't available until you use SQL Server Enterprise.

And because of MS's new SQL server licensing rules, having a million users of your web app being funneled through SQL via a single IIS connection doesn't count as 1 user, it counts as a million. (no more middleware user counts).

Because of this, if you're going to host a site with a lot of users, you essentially have to get a 'per cpu' license for SQL Server Enterprise. I could use 'web edition' which is per CPU licensing, but that doesn't offer replication.

$20K to buy a '1 cpu' license for SQL Server enterprise.

http://www.cdw.com/shop/products/Mic...e/2077261.aspx

So if I want to host the DB on a dual cpu server.. $40k.

And if it grows past that?? more $$$$

It seems that I could use that money to pay a mySQL admin make up for my shortcomings since I really only know SQL Server.
 

KLin

Lifer
Feb 29, 2000
29,501
126
106
No, it wouldn't. Well, it would to start, but not really. Trying to build with redundancy in mind and features like replication aren't available until you use SQL Server Enterprise.

And because of MS's new SQL server licensing rules, having a million users of your web app being funneled through SQL via a single IIS connection doesn't count as 1 user, it counts as a million. (no more middleware user counts).

Because of this, if you're going to host a site with a lot of users, you essentially have to get a 'per cpu' license for SQL Server Enterprise. I could use 'web edition' which is per CPU licensing, but that doesn't offer replication.

$20K to buy a '1 cpu' license for SQL Server enterprise.

http://www.cdw.com/shop/products/Mic...e/2077261.aspx

So if I want to host the DB on a dual cpu server.. $40k.

And if it grows past that?? more $$$$

It seems that I could use that money to pay a mySQL admin make up for my shortcomings since I really only know SQL Server.

SQL Replication is available in SQL Standard and Workgroup editions.
 

velvetpants

Member
Aug 29, 2009
72
0
0
Why not postgresql? It's pure awesome and completely free.

I've had very frustrating experiences with mysql. Stored procedures and triggers are a joke and I've had to do more workarounds with it then anything.

Granted I have no experience with anything close to enterprise level. Mostly personal projects, but I've switched all my db related stuff to pgsql and it's a like riding down a chocolate mountain on skis made of rainbows compared to mysql (which is more like going down a jagged icy cliff banging your balls into every rock on the way).
 

Cogman

Lifer
Sep 19, 2000
10,278
126
106
Why not postgresql? It's pure awesome and completely free.

I've had very frustrating experiences with mysql. Stored procedures and triggers are a joke and I've had to do more workarounds with it then anything.

Granted I have no experience with anything close to enterprise level. Mostly personal projects, but I've switched all my db related stuff to pgsql and it's a like riding down a chocolate mountain on skis made of rainbows compared to mysql (which is more like going down a jagged icy cliff banging your balls into every rock on the way).

I have to agree about not choosing MySQL. It looks like Oracle's movement towards making MySQL totally worthless has already begun (they now have a payed enterprise edition with special commercial plugins).

The pain of switching is going to very much depend on how much non-standard SQL you use. Most SQL databases have good implementations of the standards, it is the stuff outside where things start getting complex.

Non-standard things include stuff like stored procedures, special functions (like, getting the last id inserted), etc.
 

beginner99

Diamond Member
Jun 2, 2009
5,223
1,598
136
The pain of switching is going to very much depend on how much non-standard SQL you use. Most SQL databases have good implementations of the standards, it is the stuff outside where things start getting complex.

Non-standard things include stuff like stored procedures, special functions (like, getting the last id inserted), etc.

Yeah and it's the commercial stuff that shines with not supporting certain standards and implementing their own weird stuff. Oracle is especially good at that.

I would choose PostgreSQL over MySQL too.
 

Broheim

Diamond Member
Feb 17, 2011
4,592
2
81
do you really need a relational database? it's obviously a bit late in the game but have you given noSQL a thought, I'm a big fan of mongoDB.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |