I am a .NET (C#) developer by day, and PHP by night.

As it stands, I would have to vote for a scripting language.  While I am
neither proficient in Perl or Python, I think they quickly alleviate the
cost of cross-platform distribution.  When designed into a web page,
this would provide a familiar (imo) interface to existing MySql users. 
Again, this eases distribution.

You could make the argument for Java, but if you've used the MySql
migration tool with as little success I have, you might think twice.

My only argument against a script is that I think MySql AB and now Sun
have worked hard to cater to Windows users as a replacement for MS SQL. 
As well, I would imagine there is a large user base of "n00bs" and
"script kitties" (myself included) who still use Windows as their base
OS.  Moreover, a .NET application would be more of a complement to an
existing script.  To that end, if we put together a base spec of the
conversion process, I could obtain DLLs for both engines and provide a
simple, easy-to-use application for use on Windows systems.  In time,
this could evolve into CLI for Mono users.

Just my two cents.



Toru Maesaka wrote:
> Hi!
>
> I was pondering about this earlier when I was trying to think of ways
> to convince our DBAs to experiment with Drizzle + existing mixi Data
> in the future.
>
> So, this is my thought:
>
> a) Should the program be written in a scripting language such as Perl
> or Python?
>
> Personally, I think we should stick to "the better C". I suspect that
> it would be mostly Drizzle developers that will be working on this so
> _hopefully_ this won't be an issue. Well, unless there is a great
> benefit in adopting LL but my thought is that C/C++ is a good neutral
> language.
>
> b) Should the program be a one-way converter or allow bi-directional
> conversion?
>
> Ultimately, bidirectional. But I think the first version should only
> concentrate on MySQL -> Drizzle migration _but_ design it to allow
> easy bidirectional support for later on.
>
> c) Should the program include some ability to recommend best practice
> changes in the event that no conversion from MySQL column types to
> Drizzle types is possible?  For instance, the SET column type is no
> longer supported.  What column type(s) should be suggested as
> replacements for this?
>
> Agreed with Patrick here. Providing an intensive, yet an easy to read
> dictionary/documentation to help users make informative decisions
> sounds good. Unfortunately I'm not a column type ninja so I can't
> comment on the content of this documentation though :(
>
> d) Should the program create the actual schemas, or simply produce an
> intermediate SQL script which can be run through the drizzle client in
> order to create the databases?
>
> This is really personal taste but I like the idea of translating the
> dump to intermediate SQL script. Going as far as creating the
> schema/internal representation sounds like Drizzle/Client's job to me...
>
> e) What kind of initial observations should the program attempt to
> make about the incoming SQL dump?  If it sees a heavy reliance on, for
> instance, the MySQL privilege system, should warnings or errors be raised?
>
> For this particular program, I like the stance of, "don't try and fix
> things, if something looks weird, spit it out". So I think warnings
> being treated as errors is good. This process (migration) seem too
> important to risk anything to go wrong by trying smart things.
>
> Heh, not exactly an informative reply but those were my thoughts :)
>
> Cheers,
> Toru
>
> On Mon, Dec 29, 2008 at 11:55 PM, Jay Pipes <[email protected]
> <mailto:[email protected]>> wrote:
>
>     All,
>
>     There have been a number of changes to allowed data types, SQL
>     syntax, character set handling, and, soon, the handling of
>     timezones and temporal values.
>
>     As the core code base starts firming up, one of the things that
>     needs to be designed is a migration program which will be able to
>     take a dump of a MySQL database and convert the schema and data
>     within to Drizzle's SQL semantics.
>
>     I think it would be good to get a discussion going and see who is
>     interested in doing this work.  Contributors would be working
>     closely with the team who will handle the documentation of the
>     aforementioned changes in SQL syntax and column types.
>
>     So, this email serves to light a spark.  Here are some questions
>     to ponder and discuss:
>
>     a) Should the program be written in a scripting language such as
>     Perl or Python?
>
>     b) Should the program be a one-way converter or allow
>     bi-directional conversion?
>
>     c) Should the program include some ability to recommend best
>     practice changes in the event that no conversion from MySQL column
>     types to Drizzle types is possible?  For instance, the SET column
>     type is no longer supported.  What column type(s) should be
>     suggested as replacements for this?
>
>     d) Should the program create the actual schemas, or simply produce
>     an intermediate SQL script which can be run through the drizzle
>     client in order to create the databases?
>
>     e) What kind of initial observations should the program attempt to
>     make about the incoming SQL dump?  If it sees a heavy reliance on,
>     for instance, the MySQL privilege system, should warnings or
>     errors be raised?
>
>     Hope this gets the brain juices flowing.  Feel free to start a
>     wiki page on the Drizzle.org wiki and log any ideas you may have.
>
>     Cheers,
>
>     Jay
>
>     _______________________________________________
>     Mailing list: https://launchpad.net/~drizzle-discuss
>     <https://launchpad.net/%7Edrizzle-discuss>
>     Post to     : [email protected]
>     <mailto:[email protected]>
>     Unsubscribe : https://launchpad.net/~drizzle-discuss
>     <https://launchpad.net/%7Edrizzle-discuss>
>     More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> -- 
> Toru Maesaka <[email protected] <mailto:[email protected]>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mailing list: https://launchpad.net/~drizzle-discuss
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~drizzle-discuss
> More help   : https://help.launchpad.net/ListHelp
>   

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to