Hans-Juergen Schoenig: Detecting wrong planner estimates
In 99% of all the cases the PostgreSQL planner is doing a perfect job to optimize your queries and to make sure, that you can enjoy high performance and low response times. The infrastructure ensuring...
View ArticleMichael Paquier: Postgres 9.5 feature highlight: Display failed queries in psql
Postgres 9.5 is coming up with a new ECHO mode for psql that has been introduced by this commit:commit: 5b214c5dd1de37764797b3fb9164af3c885a7b86 author: Fujii Masao <fujii@postgresql.org> date:...
View ArticleAndrew Dunstan: Code size
Someone was just talking about the size of some source files in PostgreSQL. The source code (.c, .h, .y and .l files) weighs in at a bit over 1 million lines of code. The documentation source has...
View ArticleHans-Juergen Schoenig: Optimization issues: Cross column correlation
Planner estimates have already been discussed on this blog in my previous posting and also in some posting before that. A couple of years ago I stumbled over an interesting issue which is commonly...
View ArticleGurjeet Singh: Announcing TPC-C.js; a Lightweight Implementation of TPC-C
I am glad to announce the beta release of TPC-C.js, which implements one of the most popular database benchmarks, TPC-C. It’s not a coincidence that today is also the 22nd anniversary of the TPC-C...
View ArticleGreg Sabino Mullane: Postgresql conflict handling with Bucardo and multiple...
Image by Flickr user Rebecca Siegel (cropped)Bucardo's much publicized ability to handle multiple data sources often raises questions about conflict resolution. People wonder, for example, what happens...
View ArticleMagnus Hagander: The end of PostgreSQL 8.4 - a small tribute
Todays release marks the end of life for PostgreSQL 8.4, after 5 years of service.I've found it interesting that PostgreSQL 8.4 was probably the first release to actually make it possible to run fairly...
View ArticleShaun M. Thomas: Friends Don’t Let Friends Use Loops
Programming is fun. I love programming! Ever since I changed my career from programming to database work, I’ve still occasionally dabbled in my former craft. As such, I believe I can say this with a...
View ArticleCraig Ringer: PostgreSQL anti-patterns: read-modify-write cycles
Shaun Thomas’s recent post about client-side loops as an SQL anti-pattern is well worth a read if you’re relatively new to SQL-based application development.It’s reminded me of another SQL coding...
View ArticleMichael Paquier: Dynamic tracing with Postgres
Postgres has in-core support for Dynamic tracing, which is the possibility to use an external utility to track specific code path calls and have an execution trace at disposition for further analysis....
View ArticleJosh Berkus: Improved TOAST corruption function
Recently I had reason to try to locate TOAST corruption on an older server (running 8.4.0), and found that the prior script I posted didn't always find the corruption. As such, below is an improved...
View ArticleShaun M. Thomas: Finally Done With High Availability
Well, my publisher recently informed me that the book I’ve long been slaving over for almost a year, is finally finished. I must admit that PostgreSQL 9 High Availability Cookbook is somewhat awkward...
View ArticleFrancisco Figueiredo Jr: Npgsql 2.2.0 beta1 released!
The Npgsql Development team is proud to announce that Npgsql 2.2.0 beta1 is now available!This release has the following highlights:Visual Studio DDEX supportKenji Uno added support for DDEX. Now you...
View ArticleHans-Juergen Schoenig: Speeding up things with hint bits
PostgreSQL is a highly sophisticated relational database system capable of performing wonderful operations. But, sophistication also means that there is a bit of complexity under the surface, which is...
View ArticleChris Travers: Math and SQL, part 1: Introduction: Relations and Functions
There are two goals I have in this series. The first is to heavily ground database thinking in mathematics thinking. The second is to connect this more explicitly to functional programming which...
View ArticleBarry Jones: Why should you learn PostgreSQL?
Nearly a year ago I put together an hour long presentation on PostgreSQL to provide an overview of all of the benefits it provides you over other options in the database space. In hindsight, that...
View ArticleTomas Vondra: Introducing PGXN Tester
Over the past few years, I wrote a number of extensions, and most of them are available on PGXN. I also use extensions published by other users (and I even had a talk about it at Nordic PostgreSQL Day...
View ArticleJosh Williams: PyOhio 2014: Python FTW!
Just got back from PyOhio a couple of days ago. Columbus used to be my old stomping grounds so it's often nice to get back there. And PyOhio had been on my TODO for a number of years now, but every...
View ArticleShaun M. Thomas: On PostgreSQL Logging Verbosity
Recently I stumbled across a question on Reddit regarding the performance impact of using pgBadger on an active database server. The only real answer to this question is: do not use pgBadger. Before...
View ArticleFrancisco Figueiredo Jr: Npgsql 2.2.0 Release Candidate 1 released!
This release contains 22 commits since the last release. It contains the following bug fixes:[#217] Impossible to insert a Double.NaN value [#179] NpgsqlCommandBuilder automatic sql commands...
View Article