Manual migration from MS SQL Server to MySQL
Mark Brunelli, News Editor writes "It's no small feat to manually migrate an enterprise from Microsoft SQL Server to MySQL, but it can be done. Here, Mike Sheffey, CEO of Versora, gives step-by-step instructions for two manual tasks: moving the data structure and the data itself."
If you got lots of stored procedures (Transact SQL or whatever MS SQL uses these days) then you're in for a world of hurt.
Not to mention that MySQL doesn't even enforce referential integrity would would seem much less functional than MS SQL.
I would maybe move to Postgress if you are looking for something on the cheap. I don't understand why MySQL has such a following, it's not that great as for as databases go. Barely a step above Berkley DB.
Is it practical to switch from SQL Server to MySQL? MySQL doesn't even have views! I can't imagine any scenario where one would want to take the big hit in features, except if you absolutely needed more speed, and didn't have a need for the features. Still, it would make more sense to switch to PostgreSQL since it has as many, if not more, features than SQL Server.
Being a web hosting company and offering MySQL, MS SQL and PostgreSQL, we have NEVER had anyone ask about converting from MS SQL to MySQL. While the article is comprehensive the people and applications using the MS SQL database are not the same ones using MySQL. When someone setups a MS SQL database they are doing so because they are looking for certain features and/or requirements from software they are installing. Under these circumstances the two are not interchangeable.
I suppose if you have a roll-your-own db interface and wanted to drop the license fee for MS SQL you would do this. But realistically the ones who are using MS SQL have already sunk big $$$ into the license (or are renting for a fraction of the cost which would make switching for the money irrelevant). I doubt they would chuck MS SQL just for the security issues associated with Microsoft products.
Quality Hosting e3 Servers
...would be the migration of consistency together with your data. But I guess that's reserved for the PostgreSQL sequel.
This is the kind of news that PHBs need to hear. These types of migrations are possible! I plan to write some similar articles on migrating some other proprietary produces to F/OSS software, including:
Microsoft Office --> VI
ASP.NET --> sh scripts
Peachtree Accounting --> GnuCash
PeopleSoft --> awk
Rational Rose --> GIMP
If they released a product to automate the migration from their SQL server to MySQL or PostgreSQL.
Seriously, they could squeeze a few more bucks out of the people who are no longer going to be using one of their products.
LK
"Hi. This is my friend, Jack Shit, and you don't know him." - Lord Kano
This is actually very easy, as I have recently done this same conversion. As noted in "The Definitive Guide to MySQL" by Michael Kofler, all you need to do is simply use the DTS wizard to export the table to an access database, and then use a mysql odbc driver to export it from access to mysql. This has worked flawlessly for me on many different tables.
Idiots! Moving DDL and data from tables is the easy-peasy part of database migration. Stored procedures, referential integrity, federation of databases, seamless integration with other SQL Server, Oracle and Informix data sources....
You need to interact with other data repositories out there. mySQL is not a bad ISAM type database, but a ACID RDBMS it is not. Far from it.
Just install DB2 on your linux servers and forget about it all. Easy to install, easy to admin, easy to integrate in shell scripts, top performance. What more do you need?
//TheToon
InnoDB is used in production at numerous large database sites requiring high performance.
The famous Internet news site Slashdot.org runs on InnoDB.
(from the InnoDB Overview)
"Avoid employing unlucky people - throw half of the pile of CVs in the bin without reading them." -- David Brent