fbpx

Showing posts from: PostgreSQL Basics

Checkpoint Ratio, PostgreSQL

September 20, 2022

PostgreSQL – how to detect and solve Checkpoints Ratio issue

This topic describes how you can detect and solve PostgreSQL checkpoints ratio issues What happened? To detect checkpoints ratio issues, and have an ability to look in some historical metrics of this – ...

PostgreSQL memory availability issues

September 13, 2022

PostgreSQL – how to detect and solve memory availability issues

This topic describes how you can detect and solve PostgreSQL memory availability issues.   What happened? To detect memory availability issue on time, and have an ability to look in some historical metrics ...

October 27, 2020

Joins using LIKE or why PostgreSQL FTS is a powerful alternative

Introduction In the scope of the migration project from Oracle to PostgreSQL, one of our clients’ DBA team faced a complicated performance issue. This issue seemed simple at first glance, but it took ...

December 23, 2019

Building pg_checksums utility for PostgreSQL 10 and earlier versions on CentOS 7

Since version 9.3 PostgreSQL introduced the ability of checksums. The documentation says “Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent”. So, PostgreSQL’s developers ...

August 17, 2018

Strange cost estimation for foreign tables

Introduction As you know postgres_fdw extension using to access data stored in external PostgreSQL servers.  postgres_fdw provides has more transparent and standards-compliant syntax for accessing remote tables than dblink. Additionaly, this extension provides some options ...

February 12, 2018

GiST index and siglen

This post is based on the talk by Oleg Bartunov on pgConf2018.RU It is imperative that a user be able to construct new access methods to provide efficient access to instances of nontraditional base ...

January 12, 2018

PostgreSQL Log Shipping or when it’s advisable

Introduction Recently we were approached by one of our clients with an interesting task. The fact is that he has a large database, around 1.5 TB. He also has several standbys from this primary server. ...

August 28, 2017

What’s new in PostgreSQL 10? Part 5 – Authentication and Row Level Security

Introduction Historically, PostgreSQL used a single encryption method. It’s not-so-safe md5 algorithm. In 10 version provided support for new authentication method SCRAM-SHA-256 for password negotiation and storage. Also in 9.6 or earlier version ...

August 17, 2017

What’s new in PostgreSQL 10? Part 4 – Replication and Scaling

Agenda Quorum Commit for Synchronous Replication Connection “Failover” in libpq Traceable Commit Physical Replication Temporary replication slot Quorum Commit for Synchronous Replication PostgreSQL 10 implements Quorum-based synchronous replication, which arbitrarily selects an instance ...

August 7, 2017

What’s new in PostgreSQL 10? Part 3 – Native Logical Replication

Introduction Before 10 version PostgreSQL was supported only Physical Streaming Replication (PSR). PSR is based on the Write-Ahead Log (WAL), which means that all changes are written to the binary transaction log and sent ...

How useful was this page?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 2

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?