(Daniel van Eeden) A loadbalancer is used in many MySQL setups. Loadbalancing can be done with an hardware loadbalancer or with software. Software solutions tend to be a fair bit cheaper.
Tag: Open Source
Migrating from PostgreSQL to MySQL
(morgan tocker) A couple of weeks before I joined Oracle, I was working as a freelance consultant. One of my customers decided to migrate from PostgreSQL to MySQL.
What is the overhead of logging?
(depesz) There obviously is one – after all, logging information has to be more expensive than not logging it. But how big is it? And more importantly, what is the difference between logging to stderr/file, csvlog and syslog? And what about syslog to remote machine?
Here’s my favorite secret MySQL 5.6 feature. What’s yours?
(Aurimas Mikalauskas) MySQL 5.6 has a great many new features, including, but certainly not limited to a number of performance improvements. However, besides the widely talked-about features such as InnoDB support for full text search, optimizer, performance schema improvements and GTID, there are a
Row-based Replication
(Morgan Tocker) Row-based Replication was introduced in MySQL 5.1. It’s not the default (yet), but I really like it. I wanted to tell you what limitations you may face with statement-based, and why you should join me in making the switch.
Playing with large objects in Postgres
(Michael Paquier) PostgreSQL has for ages a feature called large objects allowing to store in the database objects with a… Well… Large size. All those objects are stored in dedicated catalog tables called pg_largeobject_metadata for general information like ownership and pg_largobject for the data i
Three Handy MySQL Numerical Functions
(Rob Gravelle) One of the tenets of Third Normal Form (3NF) database normalization is that calculations should not be stored in a table. Usually, it’s best to just perform the calculations while evaluating a query.
Stored Routines to easily work with the SQL_MODE
(Federic) Working with the SQL_MODE can be tricky, because it’s a command separated list involving long keywords. To be honest, I hate to rewrite the flags, trying to read an unreadable list, etc. Of course some string functions can help (Justin Swanhart suggests to use REPLACE() to make comma-separ
Implementing a host blacklist with MySQL privileges
(Todd Farmer) When I saw Shlomi’s recent post which asked (in part) for blacklist support in MySQL, I started thinking about ways in which this could be done using the tools we have today. Here’s the example requirements Shlomi noted:
When to use SELECT * in PostgreSQL
(Chris Travers) In LedgerSMB we use a lot of queries which involve SELECT *. Many people consider SELECT * harmful but there are several cases where it is useful. Keep in mind we encapsulate the database behind an API, so SELECT * has different implications than it does from applications selectin
