Fabien Coelho: PostgreSQL page size for SSD (2)
I have posted recently performance figures with varying page size using pgbench on SSD, which show a +10% improvement with smaller 4 kB page size over the default 8 kB page size.Josh Berkus pointed out...
View ArticlePavel Stehule: plpgsql_check 0.9
I released new version of plpgsql_check.What is new?lot of new checks:assignment stmtperformance warningsreturn stmts create or replace function fx()returns t2 as $$beginreturn (10,20,30)::t1;end;$$...
View ArticleTomas Vondra: count_distinct improvements
Almost a year ago, I wrote a custom experimental aggregate replacing COUNT(DISTINCT). The problem with the native COUNT(DISTINCT) is that it forces a sort on the input relation, and when the amount of...
View Articlegabrielle roth: My PostgresOpen schedule
We had so many good submissions for Postgres Open this year, we had to make some very difficult choices. While I haven’t quite achieved Dan Langille’s (of PgCon fame) level of conference-running zen...
View ArticleChris Travers: Math and SQL Part 5: Projection and Selection
The SELECT statement is the workhorse of SQL. Updates and inserts are necessary, but selects are where the power is. One of the significant issues many people have in understanding these and using...
View ArticleAndrew Dunstan: New PostgreSQL buildfarm client release 4.14 - bug fix for MSVC
There is a new release - version 4.14 - of the buildfarm client, now available at http://www.pgbuildfarm.org/downloads/releases/build-farm-4_14.tgzThe only change of note is that a bug which only...
View ArticleMichael Paquier: Postgres 9.5 feature highlight: Versioning Improvements on...
Some good news for packagers of PostgreSQL on Windows with many improvements in versioning that are showing up in 9.5. This is the result of a couple of months of work, concluded with the two following...
View ArticleAndrew Dunstan: Looking for emacs mixed mode editing for functions
I've been looking for a way to edit mixed mode files in emacs, so I can edit a plperl function, and have the create statement part (and everything except the body) use standard SQL mode and the body...
View Articlegabrielle roth: Eight years of PDXPUG
I updated our speaker and topic tag clouds for our 8th anniversary.
View ArticleHans-Juergen Schoenig: pg_resetxlog: When hope depends on luck
PostgreSQL has proven to be one of the most reliable Open Source databases around. In the past we have dealt with customers who have achieved superior uptimes and who are really happy with PostgreSQL....
View ArticleVasilis Ventirozos: PostgreSQL Bi-Directional Replication
A while ago I wanted to explore the options i had for multi master replication in postgres, I have previously worked with Oracle MMR and to be honest i don't like the idea of mmr, mostly because of the...
View ArticleAndrew Dunstan: Hoist on my own PLV8 petard
I mentioned to a client that I was going to write a function they had asked me to write using PLPerl, because it has good dynamic string handling capabilities that make it a better fit for this...
View ArticleDaniel Pocock: Want to be selected for Google Summer of Code 2015?
I've mentored a number of students in 2013 and 2014 for Debian and Ganglia and most of the companies I've worked with have run internships and graduate programs from time to time. GSoC 2014 has just...
View ArticleFabien Coelho: PostgreSQL FILLFACTOR for UPDATE
This post discusses the performance impact of PostgreSQLFILLFACTORtable storage parameter on an UPDATE OLTP load. Note that this FILLFACTOR is indeed the table storage parameter, although there is also...
View ArticleTomas Vondra: count_distinct - improved memory usage
Last week, I briefly explained the recent improvements in count_distinct, a custom alternative to COUNT(DISTINCT) aggregate. I presented some basic performance comparison illustrating that...
View ArticleMichael Paquier: Postgres 9.5 feature highlight: ALTER TABLE .. SET LOGGED /...
Introduced in PostgreSQL 9.1, an unlogged table offers the possibility to create a table whose definition is permanent on server, but its content is not WAL-logged making it not crash-safe, with data...
View ArticleDimitri Fontaine: Turn your PostgreSQL queries into Charts
Earlier this year we did compare compare Aggregating NBA data, PostgreSQL vs MongoDB then talked about PostgreSQL, Aggregates and histograms where we even produced a nice Histogram chart directly...
View ArticleKeith Fiske: Checking for PostgreSQL Bloat
One of the on-going issues with PostgreSQL that every administrator must deal with at some point is table and/or index bloat. The MVCC architecture of PostgreSQL lends itself to requiring some extra...
View ArticleJosh Berkus: The great JSONB tradeoff
One thing we're waiting on to get 9.4 out the door is making a decision on JSONB storage. Currently under debate are patches to the JSONB format which would, for users with large numbers (as in 150+)...
View ArticleVasilis Ventirozos: PostgreSQL and ElasticSearch
Recently i had to evaluate ElasticSearch for a possible installation, elasticsearch is basically a search server that provides a distributed full-text search engine using a restful web interface,...
View Article