Archive for the ‘MySQL’ Category

Another MySQL presentation for Oracle DBAs from MySQL

August 6, 2007

If you read the comments on this blog, you’ll already know this…

Mark Leith, a Senior Support Engineer at MySQL, sent a link to a talk he gave (at a MySQL users conference) about MySQL for Oracle DBAs. It’s very informative, and I wish I had read it a long time ago. (I also wish I could have attended the talk!)

http://www.markleith.co.uk/dl/MySQL_for_Oracle_DBAs.pdf

He also points out that MySQL has prepared some training “boot camps” for Oracle DBAs about MySQL. I actually knew about this – I signed up right away! I’ll post about it after I take the class (Aug 16).

Thanks Mark!

What’s in a word? Terminology…

August 3, 2007

In my talk “DBA Tales from the Front – from Oracle to MySQL”, I said that the terminology is different between Oracle and MySQL. I gave the example of ‘database’ vs ’schema’ and said I’d have a “cheat sheet” of terms and their differences.

Only problem is, I couldn’t find much to put on the cheat sheet besides ‘database’ and ’schema’. (There’s ‘catalog’, but I’m not really sure what Oracle OR MySQL means by it. In MySQL it sometimes seems to mean the same as ‘database’ (eg, in MySQL Administrator). I don’t remember seeing it in Oracle. I know they use it in MS SQL…)

As for ‘database’ vs ’schema’, I initially thought that a ‘database’ in MySQL was like a ’schema’ in Oracle. Why? Because you have multiple databases in an instance, and you can do selects like ’select id from scott.emp’ where ’scott’ is a database. (See? They look like schemas.)

In reality, they’re not the same, because the database an object is in is not determined by who creates it (as it is for a schema). It’s just that you don’t have the same notion of a schema in MySQL, and Oracle doesn’t have multiple databases managed by one instance.

On the other hand, in the data dictionary, MySQL seems to use ’schema’ to mean the same thing as ‘database’. (Eg, in schema_information.tables or schema_information.schema_privileges.)

Anyone have any better examples of terms that are used differently between Oracle and MySQL (along these lines)?

Meantime, I did find these nice cheat sheets for MySQL usage in general:

http://www.ilovejackdaniels.com/mysql_cheat_sheet.pdf

shows functions, datatypes, etc, and

http://www.nparikh.org/unix/mysql.php

shows some common commands.

A MySQL presentation for Oracle DBAs, from MySQL

August 3, 2007

On the subject of MySQL for Oracle DBAs, I found this presentation at the mysql website:

http://www.mysql.com/why-mysql/migration/mysql_for_oracle.pdf

It gives some details that might be helpful to look into if you’ve made the switch from Oracle to MySQL.