personal note: i am not using github for login, but gmail account instead.
Archive
9,565 entries: 46 from X, 8,923 from Pinboard, saved 1998 to 2026.
Browse by tag, site, author, folder or language
Tags
- #python 393
- #programming 343
- #tutorial 187
- #books 186
- #javascript 150
- #webdesign 146
- #mathematics 130
- #blog 128
- #css 123
- #linux 112
- #reference 107
- #lisp 101
- #business 95
- #free 95
- #history 95
- #productivity 95
- #llm 93
- #design 91
- #statistics 90
- #gtd 83
- #opensource 81
- #r 80
- #lifehacks 78
- #ajax 77
- #graphics 77
- #datamining 75
- #typography 75
- #funny 74
- #photography 73
- #visualization 73
- #ai 67
- #machine-learning 67
- #plone 64
- #algorithms 63
- #kannada 61
- #database 59
- #india 59
- #education 58
- #learning 56
- #science 55
Sites
- youtube.com 251
- news.ycombinator.com 222
- github.com 190
- en.wikipedia.org 161
- reddit.com 96
- amazon.com 71
- nytimes.com 70
- medium.com 69
- arxiv.org 34
- code.google.com 34
- x.com 33
- archive.org 28
- groups.google.com 28
- wired.com 27
- theatlantic.com 24
- theguardian.com 24
- bloomberg.com 21
- newyorker.com 21
- stackoverflow.com 21
- wsj.com 21
- en.m.wikipedia.org 19
- bbc.com 18
- plone.org 18
- goodreads.com 17
- btbytes.com 16
- btbytes.github.io 16
- old.reddit.com 16
- washingtonpost.com 16
- artima.com 15
- google.com 15
- thehindu.com 15
- onlamp.com 14
- www-128.ibm.com 14
- aws.amazon.com 13
- cs.cmu.edu 13
- economist.com 13
- thriftbooks.com 13
- atlasobscura.com 12
- informit.com 12
- smashingmagazine.com 12
Authors
- @achumukundan00 1
- @antoniogm 1
- @BrankoMilan 1
- @Chris_arnade 1
- @code_star 1
- @DeepknowledgeU 1
- @dhh 1
- @dillon_mulroy 1
- @ElamBend 1
- @elisa_freschi 1
- @emollick 1
- @EmreSevinc 1
- @foxyjackfox 1
- @francoisfleuret 1
- @gabrielpeyre 1
- @GunduHuDuGa 1
- @hamsanandi 1
- @HistoryinStory 1
- @itometeam 1
- @kmadathil 1
- @MistralAI 1
- @mprestonmeyer 1
- @NousResearch 1
- @npparikh 1
- @paulabartabajo_ 1
- @paulg 1
- @PEoperator 1
- @pmddomingos 1
- @ringer 1
- @RMantri 1
- @rockatanescu 1
- @sebasbensu 1
- @seriesgraph 1
- @shanselman 1
- @ShriramKMurthi 1
- @stellensatz 1
- @Stunt_ManMik3 1
- @TheIcahnist 1
- @tonywu_71 1
- @twofifteenam 1
Folders
Languages
Tags and folders
Showing 1–50 of 51#postgresql ×
2025
Nile Postgres platform
djrobstep/migra: Like diff but for PostgreSQL schemas
github.com
migra: Like diff but for Postgres schemas
- compare schemas
- autogenerate migration scripts
- autosync your development database from your application models
- make your schema changes testable, robust, and (mostly) automatic
migra is a schema diff tool for PostgreSQL, written in Python. Use it in your python scripts, or from the command line like this:
$ migra postgresql:///a postgresql:///b
alter table "public"."products" add column newcolumn text;
alter table "public"."products" add constraint "x" CHECK ((price > (0)::numeric));
migra magically figures out all the statements required to get from A to B.
migra: Like diff but for Postgres schemas
- compare schemas
- autogenerate migration scripts
- autosync your development database from your application models
- make your schema changes testable, robust, and (mostly) automatic
migra is a schema diff tool for PostgreSQL, written in Python. Use it in your python scripts, or from the command line like this:
$ migra postgresql:///a postgresql:///b
alter table "public"."products" add column newcolumn text;
alter table "public"."products" add constraint "x" CHECK ((price > (0)::numeric));
migra magically figures out all the statements required to get from A to B.
2024
ParadeDB
Claims:
- Eliminate complex sync tools like ETL, kafka, and Debizium.
- No broken sync with elastic
- ACID guarantees
- Automatic cleanups by integrating with postgres's vaccum process.
- Uses postgresql dialect
- RDS (and Azure Postgres and Google Cloud SQL) compatible
- S3 (and GCS and ABS) compatible
docker run \
--name paradedb \
-e POSTGRES_USER=pradeep \
-e POSTGRES_PASSWORD=tigerscott \
-e POSTGRES_DB=testdb \
-v paradedb_data:/var/lib/postgresql/data/ \
-p 5432:5432 \
-d \
paradedb/paradedb:latest
Note: I'm using podman, and I had to add registries.
Pigsty - postgresql in great style
pigsty.io
Battery-Included, Local-First PostgreSQL Distribution as an Open-Source RDS Alternative.
Battery-Included, Local-First PostgreSQL Distribution as an Open-Source RDS Alternative.
2022
PostgreSQL
Why PostgreSQL
PostgreSQL is Enough; and Just Use Postgres for Everything.
Quickstart
Pedram Navid | A Fast, Sample Postgres Database with Docker
Learning PostgreSQL
- DBA Roadmap: Learn to become a database administrator with PostgreSQL
- The Internals of PostgreSQL : Introduction
Internals
Articles
- The growing pains of database architecture at Figma. Scaling to $2B business with one RDS instance.
- Working with PostgreSQL - Zerodha Tech Blog
This post is in the context of the large, data heavy PostgreSQL instances that store historical transactional data and reports, the databases that power Console and its large scale number crunching and reporting. It talks about how we self-host, tune, and manage all our DB instances on bare EC2 instances.
Appliances
The Elephant Shed PostgreSQL Appliance bundles and integrates proven components, required for easy management of a PostgreSQL server. Proven tools for all relevant aspects are already preinstalled and preconfigured. The majority of these tools can be controlled via a comfortable web interface. Even experienced PostgreSQL administrators will hardly find an area not covered by Elephant Shed PostgreSQL appliance.
Migrating and upgrading PostgreSQL
- How we migrated our PostgreSQL database with 11 seconds downtime - Government Digital Service; 2024
- xataio/pgroll --
is an open source command-line tool that offers safe and reversible schema migrations for PostgreSQL by serving multiple schema versions simultaneously. It takes care of the complex migration operations to ensure that client applications continue working while the database schema is being updated. This includes ensuring changes are applied without locking the database, and that both old and new schema versions work simultaneously (even when breaking changes are being made!). This removes risks related to schema migrations, and greatly simplifies client application rollout, also allowing for instant rollbacks.
. Read introductory blogpost on xata.io
Tips and tricks
- PostgreSQL - Don't do this - from the pgwiki.
- Nine ways to shoot yourself in the foot with PostgreSQL. Discussion on HN and notes:
seq_page_cost = 1.0 & random_page_cost = 4.0for rusty disks. therandom_page_costcan be a bit higher than 1.0 for SSDs.- Configure Vacuum and maintenance_work_mem regularly
- If you are deleting more than large no of rows (say 10,000) frequently, consider partitions
- consider using md5/sha hashes instead of big string indices if the lookup is exact match
- postgres scales well as a queue
- read the postgresql manaul fully!
- understand how EXPLAIN works
- PGTune - calculate configuration for PostgreSQL based on the maximum performance for a given hardware configuration
- Don't Do This - PostgreSQL wiki
- pgBadger
is a PostgreSQL log analyzer built for speed with fully detailed reports and professional rendering. It outperforms any other PostgreSQL log analyzer.
- Postgres performance at any scale | PostgreSQL Tuning - pganalyze -- has paid support at $149/mo for 1 db.
PostgreSQL and Full Text Search
This is one of the things PG does a good job. Keeping notes.
Postgres Full Text Search vs the rest; HN; Oct 2022.
ParadeDB - Postgres for Search and Analytics; ParadeDB brings column-oriented storage and vectorized query execution to Postgres tables. Users can choose between row and column-oriented storage at table creation time; Column-oriented tables are stored as Parquet files and are managed by Delta Lake (Run analytical queries directly on top of S3, Azure, or GCP object stores without physical data movement.); Search by keyword with BM25 scoring, configurable tokenizers, and multi-language support; Search by semantic meaning with support for sparse and dense vectors; built in rust, AGPL.
Using PostgreSQL as a queue / Kafka
Choose Postgres queue technology :: Adriano Caloiaro's personal blog
SQL Maxis: Why We Ditched RabbitMQ And Replaced It With A Postgres Queue
So that’s what we built: a new queue backed by a single, and surprisingly simple, Postgres table. Our publishers write to it. Our consumers (workers) read from it. We maintain things like queue ordering by adding an ORDER BY clause in the query that consumers use to read from it (groundbreaking, we know). And we guarantee that jobs won’t be picked up by more than one worker through simple read/write row-level locks. The new system is actually kind of absurdly simple when you look at it. And that’s a good thing. It’s also behaved flawlessly so far.
It comes with several, significant upsides for our team. For one, the application state is no longer spread out over two systems (RabbitMQ storage and Postgres). It’s now centralized in our application database. This makes disaster recovery that much easier, and increases the resiliency of the overall system by removing moving pieces.
To make all of this run smoothly, we enqueue and dequeue thousands of jobs every day.
(the load isn't all that big)
Sequin "A Postgres alternative to Kafka. Get a feature-rich message stream with none of the operational overhead". See Build your own SQS or Kafka with Postgres blog post.
PostgreSQL and ML
- Home – PostgresML --
An open source Postgres based platform for your interactive AI powered applications. Instantly scale your workloads with dedicated replicas or our serverless GPU accelerated cloud.
PostgreSQL on MacOS
Installing PostgreSQL on a Mac with Homebrew - Daily Dev Tips -- includes tips on how to create a non-postgres user.
Self Hosting
Go ahead, self-host Postgres | Pierce Freeman
PostgreSQL on the cloud
- Supabase -- "an open source Firebase alternative. Postgres database, Authentication, instant APIs, Edge Functions, Realtime subscriptions, Storage, and Vector embeddings".
- Xata -- "serverless data platform for PostgreSQL."
- Tembo -- "Tembo is the Postgres developer platform for building every data service."
PostgreSQL-ish databases
Apart from the ones above ("on the cloud"),
- CedarDB, based on the work on Umbra DB. See announcement blog post - An ode to PostgreSQL, and why it is still time to start over | CedarDB - The All-In-One-Database
Embedded PostgreSQL
PGlite "Run a full Postgres database locally in WASM with reactivity and live sync."
- under 3MB Gzipped.
- Dynamic extension loading mechanism, including support for pgvector and PostGIS
- Built in support for data loading, synchronisation and live query primitives.
2019
2017
How a single PostgreSQL config change improved slow query performance by 50x
amplitude.engineering
read this if you are using postgresql on AWS EBS volumes (SSD)
read this if you are using postgresql on AWS EBS volumes (SSD)
2015
How to aggregate data with PostgreSQL using window functions
blog.elpassion.com
Migrating from MySQL with pgloader
pgloader.io
pgloader reference manual
pgloader reference manual
2013
wg/epgsql
github.com
Erlang PostgreSQL Database Client
Erlang PostgreSQL Database Client
Postgres Guide — Postgres Guide
postgresguide.com
2012
pgModeler - PostgreSQL Database Modeler
pgmodeler.com.br
looks nice but the interface is in Portuguese ..
looks nice but the interface is in Portuguese ..
Barman backup and recovery manager for PostgreSQL | Hacker News
news.ycombinator.com
Examples — Momoko 0.4.0 documentation
momoko.61924.nl
2010
c-phrase - Project Hosting on Google Code
code.google.com
C-Phrase is a web-based natural language front end to relational databases developed by Michael Minock and his students at Umeå University, Sweden. C-Phrase runs under LINUX, connects with PostgreSQL databases via ODBC and supports both select queries as well as updates. Currently there is only support for English.
C-Phrase is a web-based natural language front end to relational databases developed by Michael Minock and his students at Umeå University, Sweden. C-Phrase runs under LINUX, connects with PostgreSQL databases via ODBC and supports both select queries as well as updates. Currently there is only support for English.
Comparing MySQL and Postgres 9.0 Replication
theserverside.com
PL/pgSQL (en) - PostgreSQL
pgsql.cz
rpostgresql - Project Hosting on Google Code
code.google.com
library(RPostgreSQL)
library(RPostgreSQL)
2007
Postgres for the win!
enfranchisedmind.com
good post about partioning in PostgreSQL.
good post about partioning in PostgreSQL.
Extracting META informations from PostgreSQL (INFORMATION_SCHEMA) - Lorenzo Alberton
alberton.info
Extracting META informations from PostgreSQL using INFORMATION_SCHEMA and table catalogs
Extracting META informations from PostgreSQL using INFORMATION_SCHEMA and table catalogs
PostgreSQL publishes first real benchmark
blogs.ittoolbox.com
Cristian's Blog - PostgreSQL work
blogs.conary.com
postgresql suckage and gotchas..
postgresql suckage and gotchas..
Choosing Solaris 10 over Linux - Esoteric Curio
lethargy.org
PostgreSQL 8.2 commentary on Slashdot
it.slashdot.org
2006
Postgres for the win!
enfranchisedmind.com
Good points on the strengths of PG and also comapritive analysis of SQLite in the comments AFAICT.
Good points on the strengths of PG and also comapritive analysis of SQLite in the comments AFAICT.
OSCON 2006: Big Bad postgresql
lethargy.org
using PG for really big dw implementations.
using PG for really big dw implementations.
OSCON 2006: TimeTravel Tables in PostgreSQL
sitepoint.com
OSCON 2005 PostgreSQL Presentations
bob.pythonmac.org
important presentation on Postgresql for Terrabyte warehouse implementation and other useful slides
important presentation on Postgresql for Terrabyte warehouse implementation and other useful slides
Comp 150-dw Database Warehousing and Data Mining
cs.tufts.edu
Data Warehouse Reevaluation - MySQL vs Postgres
beta.linuxports.com
A long thread on mysql vs pg for datawarehousing with many tips and anecdotes.
A long thread on mysql vs pg for datawarehousing with many tips and anecdotes.
Performance Evaluation of PostgreSQL ORDBMS
66.102.7.104
mysql vs postgres
blinduser.blogspot.com
2005
Comparison of Oracle, MySQL and PostgreSQL DBMS
www-css.fnal.gov
PL/R - R Procedural Language for PostgreSQL
joeconway.com
Comparison of different SQL implementations
troels.arvin.dk
sun eyes postgresql
developers.slashdot.org
Oracle 10g vs PostgreSQL 8 vs MySQL 5
suite101.com
PostgreSQL Cheat Sheet
petefreitag.com
Implementing Full Text Indexing with PostgreSQL
devx.com
TSearch2
TSearch2