Tablux › Guides
Guides
Practical, tested answers for PostgreSQL, MySQL, DynamoDB, MongoDB and more.
How to install psql on a Mac (without running a PostgreSQL server)
Install only the psql client on macOS with Homebrew libpq, Postgres.app or EDB's installer, set PATH on Apple silicon or Intel, connect with SSL and fix errors.
PartiQL for DynamoDB: how it works, with examples
What PartiQL is and how DynamoDB runs it: when SELECT queries or scans, GSIs, begins_with, INSERT, UPDATE, DELETE, paging and cost, with copyable examples.
DynamoDB single-table design, with a worked example
DynamoDB single-table design with a worked shop example: access patterns, PK/SK and GSI keys, item collections, and when separate tables are the better choice.
MongoDB query examples: a practical mongosh cookbook
MongoDB query examples for mongosh on one orders dataset: find filters, arrays, regex, projection, sorting, aggregation, $lookup, updates and safe deletes.
How to create a read-only user in PostgreSQL
Create a PostgreSQL read-only user: GRANT CONNECT, USAGE and SELECT, default privileges with FOR ROLE, pg_read_all_data, timeouts, and RDS and Supabase notes.
How to create a read-only user in MySQL
Create a read-only MySQL user: CREATE USER, GRANT SELECT and SHOW VIEW, host patterns, roles and SET DEFAULT ROLE, SHOW GRANTS, MariaDB and PlanetScale notes.
PostgreSQL foreign key indexes: find the missing ones, and the unused ones
PostgreSQL does not index foreign key columns. Find foreign keys without an index, add one CONCURRENTLY, and find unused indexes with pg_stat_user_indexes.
Best database clients for Mac (2026): TablePlus, DBeaver, DataGrip and six more compared
A fair comparison of Mac database clients, prices checked November 2026: TablePlus, DBeaver, DataGrip, Beekeeper Studio, Sequel Ace, pgAdmin, Postico, Compass.