Skip to main content

20 posts tagged with "Postgresql"

View All Tags

PostgreSQL upgrade in a Docker setup

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

One of my recent tasks was to run an upgrade of a production PostgreSQL database. Since we have PostgreSQL running in a Docker container in our Hashicorp Nomad environment, I assumed it would be enough to switch to a new Docker image and everything would be working fine.

PostgreSQL Upsert with multiple fields

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

A while I ago I covered the upsert feature PostgreSQL introduced with version 9.5. Back then I showed you how to make use of upsert with one field - the primary key - as conflict target. In a recent attempt to modify the upsert logic to take 2 fields into account I tried to add the additional field to the conflict target:

Upsert with PostgreSQL

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

Since version 9.5 PostgreSQL provides support for upsert. Upsert allows you to "atomically either insert a row, or on the basis of the row already existing, UPDATE that existing row instead, while safely giving little to no further thought to concurrency". While experimenting with the Prooph Event Store library I came across a good use-case for upsert, so I gave it a try. The goal was to build a projection based on the event stream to count the number certain events based for a specific day - think of registrations per day.

PostgreSQL - Count() Performance Boost

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 4 min read
Florian Horn
Business Analyst Digital Sales

Counting is a slow measure in Postgresql, and it is even slower with a lot of data and complex statements. This issue is related with the kind of how the data consistency is implemented. As a result Postgresql must check the visiblity of all rows first and so it has to iterate over them all.

Think About It: PHP/PostgreSQL Bulk Performance (Part 3)

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Florian Horn
Business Analyst Digital Sales

This article is the last of a three-part series and describes how we optimized the persistence process of bulk data in our code in combination with PostgreSQL. Make sure you covered the first article about how we tweaked PHPExcel to run faster while reading Excel and CSV files and the second article about how we optimized our data processing and reached performance improvements tweaking our code.

SMART DATA Developer Conference 2015

· One min read
Stephan Hochdörfer
Head of IT Business Operations

Vom 01.12.2015 bis zum 02.12.2015 findet in Köln die SMART DATA Developer Conference 2015 statt. Ich freue mich dabei zu sein und meinen Vortrag "PostgreSQL: Die NoSQL Datenbank die niemand kennt" präsentieren zu dürfen. Zusätzlich zum Vortrag werde ich am 01.12 einen Workshop "NoSQL mit PostreSQL" anbieten und freue mich auf interessierte Teilnehmer.

JavaLand 2015

· One min read
Stephan Hochdörfer
Head of IT Business Operations

Vom 24.03.2015 bis zum 25.03.2015 findet im Phantasialand, Brühl zum zweiten Mal die Konferenz JavaLand 2015 statt. Die conference gilt als das "Event der Java-Community für die Java-Community". Ich freue mich dabei sein zu dürfen und meinen Vortrag "PostgreSQL: Die NoSQL Datenbank die niemand kennt" präsentieren zu können. Mit dem Vortrag werde ich aufzeigen wie man PostgreSQL als NoSQL Datenbank einsetzen kann und erörten warum dies in bestimmten Situationen durchaus Sinn machen kann.

Developer Week 2014

· One min read
Stephan Hochdörfer
Head of IT Business Operations

Bereits zum zweiten Mal findet in Nürnberg die Developer Week statt. Die Konferenz findet vom 14.07.2014 - 17.07.2014 im Nürnberg Convention Center NCC Ost statt und vereint die drei Sub-Konferenzen die NET Developer Conference, die Mobile Developer Conference und die Web Developer Conference. Ich freue mich mit meinem Vortrag "PostgreSQL: Die NoSQL Datenbank die niemand kennt" dabei zu sein. Der Vortrag zeigt auf wie man PostgreSQL als NoSQL Datenbank einsetzen kann und stellt dar warum dies in bestimmten Situationen durchaus Sinn machen kann.