Neues vom PostgreSQL Planet

Neues vom PostgreSQL Planet Feed abonnieren
Planet PostgreSQL
Aktualisiert: vor 46 Minuten 53 Sekunden

Avinash Vallarapu: pgBackRest – The Best Postgres Backup Tool with a very active community

10. April 2021 - 1:52

A reliable backup tool with an ability to perform a point in time recovery (PITR) is a usual enterprise need. Postgres includes a backup tool called pg_basebackup for full backups. It is great for a database of a few hundreds of GBs in size but currently lacks the support for parallel, incremental and differential backups. This makes it slightly challenging for bigger postgres databases that are Terrabytes in size. pgBackRest is our savior in such a case.

David Steele: Introducing pgBackRest Multiple Repository Support

9. April 2021 - 20:42

The pgBackRest team is pleased to announce the introduction of multiple repository support in v2.33. Backups already provide redundancy by creating an offline copy of your PostgreSQL cluster that can be used in disaster recovery. Multiple repositories allow you to have copies of your backups and WAL archives in separate locations to increase your redundancy and provide even more protection for your data.

Bruce Momjian: Replica Scaling by the Numbers

9. April 2021 - 15:30

I have previously blogged about scaling of read-only and read/write workloads. Inspired by this email thread, I want to be more specific about exactly what scaling you can expect by using read-only replicas. First, as the email poster pointed out, read replicas still have to replay write transactions from the primary server.

ahsan hadi: How to run Hierarchical Queries with PostgreSQL

9. April 2021 - 13:24

A hierarchical query is built upon parent-child relationship, the relationship exist in the same table or view. The relationship dictates that each child can have one parent while a parent can have many children. Hierarchical query is a SQL query that handles data of hierarchical model i.e. an organisation structure where every employee has one manager and one manager who is also an employee can have many employees in his reporting, another example is a family tree where one person can only have one parent while a person can have many children.

Hans-Juergen Schoenig: Getting started with QGIS, PostgreSQL and PostGIS

8. April 2021 - 9:30

Visualizing spatial data is an important task. In this mini-tutorial, you will learn how to quickly visualize OpenStreetMap (OSM) data with PostGIS and QGIS. The idea is to get you started as fast as possible, and to make the most out of your data.

Installing QGIS

QGIS is freely available as Open Source software and can be used free of charge. It is a powerful tool to edit and visualize spatial data which is ideally stored in a PostGIS-enabled PostgreSQL database.

Bruce Momjian: Operating System Choice

7. April 2021 - 16:45

In the 1990's, most server operating systems were closed-source and produced by a few billion-dollar companies. In recent years, Red Hat Enterprise Linux (RHEL) became the default enterprise server operating system, with CENTOS filling the need for installations on smaller platforms and in the cloud.

Mark Wong: PDXPUG April 2021: Tidying Up Your Data with The San Francisco Bay Area PostgreSQL Meetup Group

7. April 2021 - 1:57

Join us virtually on April 13, 2021 at 12:00PM,

Muffy Barkocy presents, “Tidying Up Your Data”.

Craig Kerstiens: Announcing Google Cloud Storage (GCS) Support for pgBackRest

6. April 2021 - 20:49

Crunchy Data is pleased to announce its most recent release of pgBackRest: 2.33 with a number of new features including multiple repository support and GCS support.

Federico Campoli: Deploying PostgreSQL for High Availability with Patroni, etcd and HAProxy – Part 2

6. April 2021 - 14:36
Deploying PostgreSQL for High Availability with Patroni, etcd and HAProxy – Part 2 l by Federico Campoli  6 Apr, 2021 

Hans-Juergen Schoenig: PostgreSQL: Get member roles and permissions

6. April 2021 - 10:00

PostgreSQL provides a highly sophisticated and powerful security and permission system. It allows you to define users (= roles), groups and so on. However, without a graphical user interface, it is usually a bit tricky to figure out which role is assigned to whom. The following blogpost explains how this can be done. Learn how to retrieve information on roles and role membership in PostgreSQL.

Preparing users and roles

To show how users can be analyzed, we first create a couple of users and roles:

Bruce Momjian: Many Upgrade Methods

5. April 2021 - 16:00

Databases are often a critical part of enterprise infrastructure, so when and how to upgrade them is a common discussion topic among database administrators, and Postgres is no exception. The Postgres community has a web page about when to upgrade, and the Postgres documentation has a section about upgrading.

Lætitia AVROT: A Tip a day takes the GUI away!

4. April 2021 - 21:21
Hello everyone! This is the first (and maybe last) time I won’t have anything technical to publish on this blog. I worked hard on a project lately and I’m proud and excited to announce that Psql Tips is now published! This URL is great if you’d like to get a random tip, but you can look here at all of them on a single page! For now, there are only 100 tips but stay tuned, I plan to add more in the following weeks!

Elizabeth Garrett Christensen: Database Terminology Explained: Postgres High Availability and Disaster Recovery

2. April 2021 - 21:25

In my day to day, I'm surrounded by great database engineers. They talk about things like HA and raft protocol and the right and wrong approach for configuring synchronous vs. asynchronous replication. There is a lot of value in all that deep technical knowledge, but for when interacting with customers, I like to boil it down a bit.

Luca Ferrari: Preventing FreeBSD to kill PostgreSQL (aka OOM Killer prevention)

2. April 2021 - 2:00

Something that can be useful when running PostgreSQL on FreeBSD.

Preventing FreeBSD to kill PostgreSQL (aka OOM Killer prevention)

There are a lot of interesting articles on how to prevent the Out of Memory Killer (OOM killer in short) on Linux to ruin you day, or better your night. One particular well done explaination about how the OOM Killer works, and how to help PostgreSQL to survive, is, in my humble opinion, the one from Percona Blog.

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 14 – Add unistr function

1. April 2021 - 21:22
On 29th of March 2021, Peter Eisentraut committed patch: Add unistr function   This allows decoding a string with Unicode escape sequences. It is similar to Unicode escape strings, but offers some more flexibility.

Paul Ramsey: Dumping a ByteA with psql

1. April 2021 - 10:00

Sometimes you just have to work with binary in your PostgreSQL database, and when you do the bytea type is what you’ll be using. There’s all kinds of reason to work with bytea:

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 14 – Add “pg_database_owner” default role.

1. April 2021 - 6:15
On 26th of March 2021, Noah Misch committed patch: Add "pg_database_owner" default role.   Membership consists, implicitly, of the current database owner. Expect use in template databases. Once pg_database_owner has rights within a template, each owner of a database instantiated from that template will exercise those rights.   Reviewed by John Naylor.

Egor Rogov: WAL in PostgreSQL: 1. Buffer Cache

1. April 2021 - 2:00

The previous series addressed isolation and multiversion concurrency control, and now we start a new series: on write-ahead logging.

Andreas Scherbaum: Make Ansible "postgresql_ping" fail if the database does not exist

31. März 2021 - 23:44

Ansible has a very useful module "postgresql_ping" which checks connectivity to the database server.

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 14 – Add date_bin function

31. März 2021 - 20:39
On 24th of March 2021, Peter Eisentraut committed patch: Add date_bin function   Similar to date_trunc, but allows binning by an arbitrary interval rather than just full units.

Seiten