Craig Ringer: Improving PostgreSQL performance on AWS EC2
Questions periodically come up on the PostgreSQL mailing list regarding Amazon EC2 and how to get PostgreSQL to perform well on it. The general feeling on the list appears to have been that EC2...
View Articlegabrielle roth: PDXPUG: November meeting recap
We had a great meeting last week, with over 20 attendees turning out to hear Greg Smith get into some exciting details about VACUUM. Video will be posted once we filter out some feedback.Slides are...
View ArticleCraig Ringer: During installation, cluster initialisation fails with the...
Today I ran into another strange issue with the PostgreSQL installer for Windows. It turned out not to be a problem with the installer; instead it was a form of broken Windows installation that I...
View ArticleJim Smith: Our equipment went down in Sandy – what do we do next?
Surrounded by natural disasters, you’ve probably paused and thought - how secure is my equipment and my database? And, if you had the misfortune to suffer a loss because of Hurricane Sandy, you may...
View ArticleKeith Fiske: PostgreSQL Extension Developer Tips - Part 3
My venture into PostgreSQL extension development was the first time I'd actually had to worry about the contents of a Makefile. The PostgreSQL Extension Network's How To gave enough of an example that...
View ArticleHubert 'depesz' Lubaczewski: Window, window on the wall …
And maybe not on the wall, but instead in your SQLz, eating your data. But a bit more seriously. Ever since PostgreSQL 8.4 we have window functions, but still I see people which do not know it or are...
View ArticleFrancisco Figueiredo Jr: Better tracing of Npgsql connection pool usage in...
Sometimes, Npgsql users receive errors when working with connection pooling. The problem appears when they try to open a new connection and receive the following message: "Timeout while getting a...
View ArticlePavel Golub: Do we need LIMIT clause in UPDATE and DELETE statements for...
Was working with MySQL recently. Noticed that UPDATE command of it has special LIMIT clause which is really useful as for me, e.g.UPDATE `Product_download` SET `version`='9.2.1' WHERE...
View ArticleRaghavendra Rao: psql client can be a chess board now...
Yes, pgChess extension now allows you to play a chess game with Postgres Instance(computer). Thanks to authors. Installation is very simple with pgxnclient. pgChess extension supported with another...
View ArticleGreg Sabino Mullane: Detecting table rewrites with the ctid column
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...
View ArticleChristoph Berg: Shared Memory and Swapping
We have this PostgreSQL server with plenty of RAM that is still using some of its swap over the day (up to 600MB). Then suddenly everything is swapped in again.It turned out the reason is there are two...
View ArticleAlexey Klyukin: Writing a custom conflict handler for Bucardo 4
Bucardo, an asynchronous multi-master replication system (or, maybe the asynchronous multi-master replication system for PostgreSQL, cause I know of no other actively developed ones), deals with...
View ArticleMichael Paquier: Postgres feature highlight: pg_buffercache
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. This can be pretty useful for performance analysis...
View ArticleAndrew Dunstan: Better pg_upgrade testing
A little while ago I whipped up a quick buildfarm module to run basic pg_upgrade testing using the builtin "make check" target for pg_upgrade, or its MSVC equivalent. There's only one problem with...
View ArticleGabriele Bartolini: 79 real attendees at the Italian PGDay
The sixth edition of the Italian PGDay took place in Prato at the Monash University Centre last Friday, November 23rd.As president of the Italian PostgreSQL Users Group (most likely for the last time)...
View ArticleMichael Paquier: Postgres FDW highlight: redis_fdw
A foreign-data wrapper (FWD) in a Postgres server allows to fetch data from an foreign entity or a foreign server. In this case, the Postgres planner and executer have the notion of what is called a...
View ArticleLeo Hsu and Regina Obe: Schema and search_path surprises
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...
View ArticleChristoph Berg: pgbouncer running on the same hardware
We have a PostgreSQL server with 16 cores that was apparently running well below its capacity: load something between 3.0 and 4.0, around 200 active database connections, almost all always being...
View ArticleKeith Fiske: PostgreSQL Extension Developer Tips – Part 3
My venture into PostgreSQL extension development was the first time I’d actually had to worry about the contents of a Makefile. The PostgreSQL Extension Network’s How To gave enough of an example that...
View ArticleHubert 'depesz' Lubaczewski: What is the point of bouncing?
Some of you might be familiar with pgBouncer project. Some are not. Some understand what/how/why it does, others do not. This blog post is to have a place where I can point people who have question...
View Article