Planet DB2
  • About
  • Submit Your Blog
  • Contact Us
Select Page

Comparing Db2 and MySQL: Naming Objects and Reserved Words

by Ember Crooks | Dec 6, 2022 | DB2, Db2vsMySQL, Featured, mysql, sql

Every RDBMS has areas where the differences from other RDBMSes are noticeable, and this is one of them between Db2 and MySQL. Most RDBMSes have quirks to the way SQL is written, and this is certainly true of Db2 where some things were there before the SQL-92 standard...

Comparing Db2 and MySQL: Explain

by Ember Crooks | Nov 8, 2022 | DB2, Db2vsMySQL, Explains, Featured, mysql, sql

The goal of this article is to to take one query and use the explain facilities of Db2 to walk through it, and then do the same with MySQL, and then show some of the optimizations I might make for the query and why.… Read the rest

Comparing Db2 and MySQL: NULL in Indexes

by Ember Crooks | Nov 3, 2022 | DB2, Db2vsMySQL, Explains, Featured, mysql

I’ve been spending some time working with indexes as I learn MySQL, and there were a few things I thought were were worth mentioning. As always, I’m writing from my own knowledge with deep experience in IBM DB2, and as a learner when it comes to...

Comparing MySQL and Db2: Table and Index Structure

by Ember Crooks | Oct 27, 2022 | DB2, Db2vsMySQL, Featured, mysql

I’ve spent some time understanding how MySQL structures tables and indexes, and wanted to share what I’ve learned. This is not the structure as created in the CREATE TABLE or CREATE INDEX statements, but how that data is generally structured on disk, both...

My Early Experience Learning MySQL as a Db2 DBA

by Ember Crooks | Jun 9, 2022 | DB2, Db2vsMySQL, Featured, mysql

I’m a couple of months into working with MySQL, and thought I’d share some resources and thoughts on what I’m learning and what is working. At least half of that time was dedicated to a very in-depth onboarding process that barely mentioned a...

When an Index is More Than an Index: Clustered Indexes

by Ember Crooks | Mar 17, 2022 | DB2, Db2vsMySQL, mysql

Many RDBMSes have similar structures and concepts. In this post, I’m going to compare and contrast IBM Db2’s concept of a clustered index and MySQL’s concept of a clustered index. Index vs. Clustered Index An index is generally a way of organizing...

Recent Posts

  • MySQL’s “partial” Group By
  • The DB2Night Show Episode #Z133: A Row’s Life
  • Using ChatGPT to Write SQL
  • New IBM Internship Opportunities for Canadian Students
  • Escaping Single Quotes in Db2 SQL Statements

Recent Comments

    Copyright 2020 Planet DB2
    ×

    Submit Your Blog