(Keith Larson) I was looking around on the MySQL forums when I ran across this post and it got me thinking. First, thank you to Scott for helping in the community forum. But also about how some still have issues with MySQL user authentication. So I thought I would put together a simple quick post a
Tag: Open Source
Replication of the NOW() function (also, time travel)
(Justin Swanhart) Notice the result of the NOW() function in the following query. The query was run on a real database server and I didn’t change the clock of the server or change anything in the database configuration settings.
Postgres feature highlight: pg_buffercache
(Michael Paquier) pg_buffercache is a PostgreSQL contrib module allowing to get an instant relation-based view of the shared buffer usage by querying the wanted server.
Schema and search_path surprises
(Leo Hsu and Regina Obe) This was an article we were meaning to write and got reminded by Szymon Guz latest PostgreSQL search_path behavior. The PostgreSQL search_path variable allows you to control what order schemas are searched and which schemas do not require schema qualification to use tables/v
Detecting table rewrites with the ctid column
(Greg Sabino Mullane) In a recent article, I mentioned that changing the column definition of a Postgres table will sometimes cause a full table rewrite, but sometimes it will not. The rewrite depends on both the nature of the change and the version of Postgres you are using.
Full table scan vs full index scan performance
(Stephane Combaudon) Earlier this week, Cédric blogged about how easy we can get confused between a covering index and a full index scan in the EXPLAIN output. While a covering index (seen with EXPLAIN as Extra: Using index) is a very interesting performance optimization, a full index scan (type: in
MySQL Database Triggers
(Michael McLaughlin) One of the students wanted an equivalent example to an Oracle DML trigger sample that replaces a white space in a last name with a dash for an INSERT statement. Apparently, the MySQL trigger example in the Oracle Database 11g and MySQL 5.6 Developer Handbook was a bit long. I ha
Supercharging PHP MySQL applications using the best API
(Ulf Wendel) PHP MySQL developers are confronted with three PHP MySQL APIs. That is confusing. Since mid 2012 the PHP manual suggests not to use the oldest and original PHP MySQL extension any more to cure the situation.
MySQL 101 : Numeric type attributes and maximum value
(Cédric PEINTRE) I would like to make a quick MySQL 101 about numeric types in MySQL and especially explain the difference between the numeric type attributes and the maximum value that a numeric type can store.
Looking at MySQL 5.6’s optimizer: EXPLAIN UPDATE
(Sergey Petrunia) MySQL 5.6 adds support for EXPLAIN UPDATE. This is a useful feature, so we want to have it in MariaDB 10.0, too. Besides that, MariaDB 10.0 has SHOW EXPLAIN feature, and we want it work for UPDATE commands, too.
