(Hans-Juergen Schoenig) PostgreSQL knows a parameter called effective_cache_size. To many this is one of the most mysterious settings in the entire PostgreSQL config. Maybe this is the core reason why many people just completely ignore this setting – in many cases this is not the best idea of all. e
Tag: Open Source
WITH RECURSIVE and MySQL
(Guilhem Bichot) If you have been using certain DBMSs, or reading recent versions of the SQL standard, you are probably aware of the so-called “WITH clause” of SQL.
PostgreSQL guts: What is ‘resjunk’?
(Craig Ringer) I’m delving into the PostgreSQL parser, query rewriter and query planner at the moment, as part of work on row-level security for the AXLE project. As I’ve noticed that there’s some great documentation on the overall structure and flow but not much on some of the details I thought I’d
MySQL encryption performance, revisited
(Ernie Souhrada) This is part two on a two-part series on the performance implications of in-flight data encryption with MySQL. In the first part, I focused specifically on the impact of using MySQL’s built-in SSL support with some rather surprising results. Certainly it was expected that query thro
Import fixed width data with pgloader
(Dimitri Fontaine) A long time ago we talked about how to Import fixed width data with pgloader, following up on other stories still online at Postgres OnLine Journal and on David Fetter’s blog. Back then, I showed that using pgloader made it easier to import the data, but also showed quite poor per
Parallel replication: off by one
(Giuseppe Maxia) One of the most common errors in development is where a loop or a retrieval by index falls short or long by one unit, usually because of an oversight or a logic in coding.
Postgres 9.3 feature highlight: COPY TO/FROM PROGRAM
(Michael Paquier) Postgres 9.3 brings a new option for COPY allowing to pipe data with an external program, both in input and output. This feature has been added in the following commit:
SHOW EXPLAIN in MariaDB 10.0 vs EXPLAIN FOR CONNECTION in MySQL 5.7
(Sergey Petrunia) MariaDB 10.0 has SHOW EXPLAIN feature. It was coded by yours truly and first introduced about a year ago. Last release of MySQL 5.7 introduced EXPLAIN FOR CONNECTION, which looks rather similar to MariaDB’s SHOW EXPLAIN. I was wondering how these two compare.
Moving tablespaces
(Josh Berkus) PostgreSQL has a feature called “tablespaces” which allows you to put separate data directories on different mount points. There’s a variety of uses for this, including: storing data somewhere different from $PGDATA, putting your hot tables on SSD, or expanding the amount of storage s
Everyday Postgres: How I write queries using psql: Common Table Expressions
(selena deckelmann) I’m now going to share in a series of posts my workflow for writing queries, and some of the things about working with Postgres that I take for granted in writing queries.
