Avinash Kumar: PostgreSQL Upgrade Using pg_dump/pg_restore
In this blog post, we will explore pg_dump / pg_restore, one of the most commonly used options for performing a PostgreSQL upgrade. It is important to understand the scenarios under which pg_dump and...
View ArticlePaul Ramsey: GeoJSON Features from PostGIS
Every once in a while, someone comes to me and says:Sure, it’s handy to use ST_AsGeoJSON to convert a geometry into a JSON equivalent, but all the web clients out there like to receive full GeoJSON...
View ArticleDaniel Vérité: Text search: a custom dictionary to avoid long words
The full text search is based on transforming the initial text into a tsvector. For example:test=> select to_tsvector('english', 'This text is being processed.'); to_tsvector ----------------------...
View ArticleIbrar Ahmed: PostgreSQL: Access ClickHouse, One of the Fastest Column DBMSs,...
Database management systems are meant to house data but, occasionally, they may need to talk with another DBMS. For example, to access an external server which may be hosting a different DBMS. With...
View ArticleAndreas 'ads' Scherbaum: PostgreSQL Europe Community User Group Recognition...
Over the past months, a great number of PostgreSQL User Groups and Meetups showed up all over Europe. It’s good to see that interest in PostgreSQL is growing!Some of the user groups approached the...
View ArticleHubert 'depesz' Lubaczewski: Waiting for PostgreSQL 12 – REINDEX CONCURRENTLY
On 29th of March 2019, Peter Eisentraut committed patch: REINDEX CONCURRENTLY This adds the CONCURRENTLY option to the REINDEX command. A REINDEX CONCURRENTLY on a specific index creates a new index...
View ArticleCraig Kerstiens: A health checkup playbook for your Postgres database
I talk with a lot of folks that set their database up, start working with it, and then are surprised by issues that suddenly crop up out of nowhere. The reality is, so many don’t want to have to be a...
View ArticleAndrew Dunstan: Where and when you need a root.crt file
This is something people seem to get confused about quite often. A root.crt file is used to validate a TLS (a.k.a. SSL) certificate presented by the other end of a connection. It is usually the public...
View ArticleRaghavendra Rao: Install PL/Java 1.5.2 in PostgreSQL 11
PostgreSQL 11 includes several procedural languages with the base distribution: PL/pgSQL, PL/Tcl, PL/Perl, and PL/Python. In addition, there are a number of procedural languages that are developed and...
View ArticleDevrim GÜNDÜZ: End of the naming game: The PostgreSQL project changes its name
I started using PostgreSQL around September 1998. The first problem I had was pronouncing it, and even using right capital letters at the right place. Was is PostGreSQL? PostgresSQL? PoStGreSQL?...
View ArticleRegina Obe: SQL Server on Linux
Today is April 1st. Having no thoughts on Fools jokes for today, I dug up one of our old April fools, and it was pretty scary how the joke is just about true now. Yes SQL Server now really does run on...
View ArticleSebastian Insausti: How to Deploy Highly Available PostgreSQL with Single...
WordPress is an open source software you can use to create your website, blog, or application. There are many designs and features/plugins to add to your WordPress installation. WordPress is a free...
View ArticleKoichi Suzuki: Postgres-XL and global MVCC
Back to the PGI’m very excited to become a 2ndQuadrant member. I was involved in PostgreSQL activities in NTT group (Japanese leading ICT company, see here and here), including log shipping...
View ArticleTatsuo Ishii: Statement level load balancing
In the previous article I wrote about one of the new features of upcoming Pgpool-II 4.1.This time I would like to introduce "statement level load balancing" feature of 4.1.Pgpool-II can distribute read...
View ArticleAlexander Sosna: HowTo: Central and semantic logging for PostgreSQL
HowTo: Central and semantic logging for PostgreSQLToday it is no longer necessary to argue why central logging makes sense or is even necessary. Most medium-sized companies now have a central logging...
View ArticleDave Conlin: Postgres indexes for absolute beginners
Indexes are really important for Postgres performance, but they’re often misunderstood and misapplied. This post aims to give you a good grounding in indexes to avoid a lot of beginner mistakes.Step...
View ArticleDoug Hunley: Enhancing Your PostgreSQL 10 Security with the CIS Benchmark
Crunchy Data has recently announced an update to the CIS PostgreSQL Benchmark by the Center for Internet Security, a nonprofit organization that provides publications around standards and best...
View ArticleMagnus Hagander: When a vulnerability is not a vulnerability
Recently, references to a "new PostgreSQL vulnerability" has been circling on social media (and maybe elsewhere). It's even got it's own CVE entry. The origin appears to be a blogpost from Trustwave.So...
View ArticleLaurenz Albe: count(*) made fast
© Laurenz Albe 2019 It is a frequent complaint that count(*) is so slow on PostgreSQL.In this article I want to explore the options you have get your result as fast as possible.Why is count(*) so...
View ArticleLuca Ferrari: Estimating row count from explain output...in Perl!
After having read the interesting post by Laurenz Albe on how to use ~EXPLAIN~ to get a quick estimate of a query count, I decided to implement the same feature in Perl.Estimating row count from...
View Article