SimpleBackups
/postgresql

postgresql

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

How to run PostgreSQL on Docker

Latest Post

How to run PostgreSQL on Docker

December 30, 2023

Run PostgreSQL on Docker with a single command or Compose, then persist the data with a named volume so removing the container does not delete your database.

Read more →

Supabase backup & recovery guide - Video Tutorial

Supabase backup & recovery guide - Video Tutorial

December 29, 2023

Video tutorial: back up and restore a Supabase Postgres database, with a link to the full written guide when you need the detail behind each of the steps.

PostgreSQL vs. MongoDB - Video Comparison

PostgreSQL vs. MongoDB - Video Comparison

December 19, 2023

This video is your ultimate battle guide comparing Postgres and Mongo! We break down the pros, cons, and everything in between to help you pick the winner for your specific needs.

Top 5 PostgreSQL Backup Tools

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.

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.