Techweek Chicago & Lonestar PHP
If you are attending Chicago Tech Week this weekend, be sure to drop by the MySQL Hands On Lab Saturday (3:00pm – 4:45pm @ 4 – 7 A/B (222 Merchandise Mart Plaza, Chicago, IL)) as I have some...
View ArticlePercona XtraDB Cluster reference architecture with HaProxy
This post is a step-by-step guide to set up Percona XtraDB Cluster (PXC) in a virtualized test sandbox. I used Amazon EC2 micro instances, but the content here is applicable for any kind of...
View ArticleFind and remove duplicate indexes
Having duplicate keys in our schemas can hurt the performance of our database: They make the optimizer phase slower because MySQL needs to examine more query plans. The storage engine needs to...
View ArticleWho is hogging my MySQL connections?
Got "too many connections" this morning. New attempts continuously abort. Every once in a while some slipped through, but overall behavior was unacceptable. max_connections is set to 500, well above...
View ArticleEllison Buys Hawaiian Island
Yes, it's true, Oracle CEO Larry Ellison has bought 98% of the Hawaiian Island of Lanai for $500m. The island was previously owned by David Murdock who bought Dole in 1985. The island has 3,200...
View ArticleHowto generate meaningful test data using a MySQL function
You can use this MySQL function to generate names, (e-mail)addresses, phone numbers, urls, bit values, colors, IP address, etc.. As usual, the code is provided in a zip and the code is fully...
View Articlept-online-schema-change and default values
When I’m doing conventional ALTER TABLE in MySQL I can ignore default value and it will be assigned based on the column type. For example this alter table sbtest add column v varchar(100) not null...
View Articlegprof data for MySQL client/server
This post aims to provide detailed steps to get gprof data for MySQL client and server.Compile time options:During compilation option -DENABLE_GPROF=1 is supposed to be set which would make it possible...
View ArticleHow to Stop Playing “Hop and Seek”: MySQL Cluster and TokuDB
As a TokuDB storage engine developer, numerous times I’ve been struck by the similarities between MySQL Cluster and TokuDB. Namely, many times where I find myself thinking, “TokuDB would benefit from...
View ArticleOn Character Sets and Disappearing Tables
The MySQL manual tells us that regardless of whether or not we use “SET FOREIGN_KEY_CHECKS=0″ before making schema changes, InnoDB will not allow a column referenced by a foreign key constraint to be...
View ArticleScreencast: The MariaDB Release Process
A screencast about the MariaDB release process. (I recommend watching it in full screen 720p, so you can see the details.) Some links mentioned in the video: The MariaDB homepage The AskMonty...
View ArticleOurSQL Episode 96: Talking about Nothing
This week we talk about NULLs and how to find the right data type. Events OSCon will be held Monday Jul 16th through Friday Jul 20th and has a data track. We did a podcast about OSCon, including a...
View ArticleMozilla DB News Thu Jun 21st
It is a short week for me this week, because I have tomorrow off as I prepare for the 1st Latin American MySQL, NoSQL and Cloud conference in Buenos Aires next week. However, this week in database, we...
View ArticleSingle Wildcard Operator
Somebody wanted to understand why you can backquote a single wildcard operator (that’s the underscore _ character) in MySQL, but can’t in Oracle. The answer is you can in Oracle when you know that you...
View ArticleLog Buffer #275, A Carnival of the Vanities for DBAs
With the rapid advancement in the database technologies, the legacy systems are either being upgraded or they are being replaced or in some cases technologists are finding ways to support them in new...
View ArticleDROP TABLE and stalls: Lazy Drop Table in Percona Server and the new fixes in...
Suppose you have turned on innodb_file_per_table (which means that each table has its own tablespace), and you have to drop tables in a background every hour or every day. If its once every day then...
View ArticleReplicate from Oracle to MySQL *without* GoldenGate
IntroOracle is widely use to support back-end systems. On the other hand, MySQL is the "go-to" data management solution for the web-facing part of many businesses. If you have both Oracle and MySQL...
View ArticleTechweek Chicago
Techweek started today in Chicago with the mayor promising to change the name of the town from ‘he Second City’ to ‘The Startup City’. Those who want to start with MySQL should attend my MySQL Hands On...
View ArticleThe hidden mistake
There are mistakes that drive you crazy when you try to understand what went wrong. One of the most annoying and hard to catch was this, apparently harmless line: tungsten-sandbox -m 5.5.24 --topology...
View ArticleDerived Table Aliases
In my database class, students write solutions as group exercises against the Oracle 11g XE database and then they port the solution individually to the MySQL 5.5 database. One of the students copied...
View Article