(Craig Ringer) The profiling utility perf that ships with the Linux kernel is extremely useful for examining system-wide and multi-process behaviour – but it does a lot more than the CPU profiling it’s often used for.
Tag: Open Source
How to recover an orphaned .ibd file with MySQL 5.6
(Michael Rikmas) A few years ago Yves Trudeau and Aleksandr Kuzminsky wrote posts about different ways for recovering orphaned .ibd files:
Multi-master support in MySQL Connector/Java
(Todd Farmer) MySQL Connector/Java has long had support for replication-aware deployment, allowing a single logical Connection object to effectively “pool” connections to both a master and (potentially multiple) slaves. This allowed scale-out of read load by distribution of read traffic to slaves,
Generating Create Foreign Table Statements for postgres_fdw
(Leo Hsu and Regina Obe) In PostgreSQL 9.3 Postgres_FDW: A Test Drive we talked about taking Postgres Foreign Data Wrapper for a test drive. One downside of the Postgres FDW and actually most PostgreSQL FDWs is that the foreign table structure can’t be inspected from the source and the fields have t
MySQL performance schema threads
(Ronald Bradford) A trap for those new to the MySQL Performance Schema is the expectation that thread_id in tables such as events_statements_current matches the id you find in the MySQL processlist. This is NOT TRUE.
Reducing MySQL durability for testing
(Morgan Tocker) A while ago, I wrote how to make MySQL perform durably in production. Today I want to do the opposite: configure MySQL (with the InnoDB storage engine) for when you really don’t care about your data.
Improved Foreign Key Error Messages in MySQL 5.6
(Ike Walker) It took a little more than 10 years, but as of version 5.6 MySQL is finally using error code 1215! Since MySQL first introduced foreign key support more than 10 years ago in version 3.23.44, all the way through version 5.5, the server has always given a generic 1005 error when you try t
Examine the most common values in every column in a PostgreSQL table
(Kirk Roybal) Here’s a shell script that pivots a PostgreSQL table by the frequency of values in the column contents. It helps me find indicator flags in a poorly described data source by showing me the most frequently used values in a column.
What causes LOST_EVENTS error in the MySQL binary log?
(Ronald Bradford) Using MySQL 5.6.13 under CentOS 6.4, I had a replication failure on one master/slave topology because the master binary log had the following entry that was intentionally written by the MySQL server.
MySQL Workbench ‘Clean up SQL’ Feature
(Sheeri K. Cabral) I was playing around with MySQL Workbench earlier in the week, and ran across the “clean up SQL” feature, which I thought was neat. Here’s a picture-based demonstration – you can click on the pictures to make them bigger, so they are more readable.
