Best of PostgreSQL — February 2024
- 1
- 2
- 3
Python in Plain English·2y
Setting up PostgreSQL and PgAdmin4 using Docker: A Simplified Approach.
This post provides a simplified approach to setting up PostgreSQL and PgAdmin4 using Docker. It explains the benefits of containerization and guides readers through the process of installing Docker, running the Hello World container, and setting up PostgreSQL and PgAdmin4 containers. The post emphasizes the ease and efficiency of managing databases with containerization.
- 4
Lobsters·2yelectric-sql/pglite: Lightweight Postgres packaged as WASM into a TypeScript library for the browser, Node.js, Bun and Deno
PGlite is a lightweight Postgres packaged as WASM into a TypeScript library. It allows you to run Postgres in the browser, Node.js, and Bun without any additional dependencies. It can be used as an ephemeral in-memory database or with persistence to the file system or indexedDB. Parameterized queries are not supported yet. It is being developed at ElectricSQL in collaboration with Neon.
- 5
EverSQL·2y
SQL Optimization: a comprehensive developer’s guide
This post provides a comprehensive guide on optimizing SQL queries. It covers topics such as optimizing SELECT, INSERT, and DELETE SQL queries and provides tips on using indexes, improving joins, filtering, and more. The post also introduces EverSQL by Aiven, a tool that can provide performance insights and SQL optimization suggestions.
- 6
- 7
- 8
- 9
- 10
Hacker News·2y
readysettech/readyset: Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hoo
ReadySet is a transparent database cache for Postgres & MySQL that improves performance and scalability without requiring app rewriting or manual cache invalidation. It is wire-compatible with Postgres and MySQL and can be used with existing ORMs or database clients.
- 11
DEV·2y
🏁🐘Winning Race Conditions With PostgreSQL
This post discusses race conditions in databases, particularly in PostgreSQL, and provides solutions for avoiding them. It covers cases of simple uniqueness, compound uniqueness, compound multiple uniqueness, and compound referential uniqueness. The article also mentions the use of transactions, advisory locks, and the SERIALIZABLE transaction isolation level. Overall, it offers techniques to handle and prevent race conditions in database operations.
- 12
- 13