Pigsty Blog Articles
Backup and Recovery Methods Overview
February 09, 2018 in PostgreSQL
Backup is the foundation of a DBA's livelihood. With backups, there's no need to panic.
Pgbouncer Quick Start
February 07, 2018 in PostgreSQL

Pgbouncer is a lightweight database connection pool. This guide covers basic Pgbouncer configuration, management, and usage.
Pgbouncer is a lightweight database connection pool. This guide covers basic Pgbouncer configuration, management, and usage.
PgBackRest2 Documentation
February 07, 2018 in PostgreSQL
PgBackRest is a set of PostgreSQL backup tools written in Perl
Changing Engines Mid-Flight — PostgreSQL Zero-Downtime Data Migration
February 06, 2018 in PostgreSQL

Data migration typically involves stopping services for updates. Zero-downtime data migration is a relatively advanced operation.
Data migration typically involves stopping services for updates. Zero-downtime data migration is a relatively advanced operation.
Using sysbench to Test PostgreSQL Performance
February 06, 2018 in PostgreSQL
Although PostgreSQL provides pgbench, sometimes you need sysbench to outperform MySQL.
Testing Disk Performance with FIO
February 06, 2018 in PostgreSQL
FIO is a convenient tool for testing disk I/O performance
PostgreSQL Server Log Regular Configuration
February 06, 2018 in PostgreSQL

It's recommended to configure PostgreSQL's log format as CSV for easy analysis, and it can be directly imported into PostgreSQL data tables.
It's recommended to configure PostgreSQL's log format as CSV for easy analysis, and it can be directly imported into PostgreSQL data tables.
Finding Unused Indexes
February 04, 2018 in PostgreSQL

Indexes are useful, but they're not free. Unused indexes are a waste. Use these methods to identify unused indexes.
Indexes are useful, but they're not free. Unused indexes are a waste. Use these methods to identify unused indexes.
Batch Configure SSH Passwordless Login
January 07, 2018 in PostgreSQL
Quick configuration for passwordless login to all machines
Wireshark Packet Capture Protocol Analysis
January 05, 2018 in PostgreSQL

Wireshark is a very useful tool, especially suitable for analyzing network protocols. Here's a simple introduction to using Wireshark for packet capture and PostgreSQL protocol analysis.
Wireshark is a very useful tool, especially suitable for analyzing network protocols. Here's a simple introduction to using Wireshark for packet capture and PostgreSQL protocol analysis.




