SimpleBackups

guides

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

Mastering PostgreSQL Data Types: A Comprehensive Guide

Latest Post

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.

Read more →

Server-Side Encryption with SSE-C in Cloud Object Storage

Server-Side Encryption with SSE-C in Cloud Object Storage

November 28, 2023

Explore our in-depth guide on Server-Side Encryption with Customer-Provided Keys (SSE-C). Learn how to securely upload and download data using SSE-C with Amazon S3, DO, Wasabi, and Linode.

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.

MongoDB vs MySQL: A Comprehensive Comparison

MongoDB vs MySQL: A Comprehensive Comparison

November 16, 2023

MongoDB and MySQL compared: BSON documents in schema-less collections against tables, rows and JOINs, MQL against SQL, and which fits which workload.

5 Best MySQL GUI Tools in 2024

5 Best MySQL GUI Tools in 2024

November 16, 2023

Five MySQL GUI tools compared, from MySQL Workbench to Sequel Pro, with the strengths and drawbacks of each for queries, schema design and administration.

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.