SimpleBackups
/postgresql

postgresql

News, tips, guides and tools by the creators of SimpleBackups web

Top 5 PostgreSQL Backup Tools

Latest Post

Top 5 PostgreSQL Backup Tools

December 6, 2023

Five PostgreSQL backup tools compared on scheduling, alerting, restore verification and off-site storage, including where each one is the wrong choice.

Read more →

PostgreSQL vs MySQL - Video Comparison

PostgreSQL vs MySQL - Video Comparison

December 5, 2023

What is the main difference between PostgreSQL and MySQL? Why choose PostgreSQL over MySQL? Find the answer to these questions in this video comparison.

PostgreSQL vs MongoDB: A Comprehensive Comparison

PostgreSQL vs MongoDB: A Comprehensive Comparison

December 1, 2023

PostgreSQL and MongoDB compared on database structure, deployment, replication, clustering and documentation, with where each one is the wrong choice.

Mastering PostgreSQL Data Types: A Comprehensive Guide

Mastering PostgreSQL Data Types: A Comprehensive Guide

November 30, 2023

Every PostgreSQL data type with its storage size, plus how to choose between the pairs that trip people up: varchar and text, timestamp and timestamptz, numeric and float, json and jsonb.

How to find long-running queries in PostgreSQL

How to find long-running queries in PostgreSQL

November 23, 2023

Find long-running PostgreSQL queries with pg_stat_activity, inspect the locks and execution plans behind them, then cancel or terminate them safely.

How to List Indexes in PostgreSQL and Related Commands

How to List Indexes in PostgreSQL and Related Commands

November 23, 2023

List PostgreSQL indexes from psql or with SQL queries on pg_indexes: filter by table, read each index definition, and check how much space an index uses.

How to List Schemas in PostgreSQL and Related Commands

How to List Schemas in PostgreSQL and Related Commands

November 22, 2023

Three ways to list schemas in PostgreSQL, with psql, a catalog query and pgAdmin, plus how to read a single table's structure and check schema sizes.

Understanding Postgres Roles & Privileges

Understanding Postgres Roles & Privileges

November 21, 2023

How PostgreSQL roles differ from users, the split between user roles and group roles, how to grant and revoke privileges, and how inheritance resolves them.

How to check PostgreSQL version

How to check PostgreSQL version

November 21, 2023

Check your PostgreSQL version on Linux, macOS, Windows or in pgAdmin, with the commands for each and what to do when psql is not on your PATH.

MySQL vs PostgreSQL: A Comprehensive Comparison of the Most Popular Databases

MySQL vs PostgreSQL: A Comprehensive Comparison of the Most Popular Databases

November 14, 2023

MySQL is relational, PostgreSQL is object-relational. What that changes for arrays, JSON and custom types, and how the two compare on the rest of the ground.