SPB Git
6.9 KB · 190 lines json
1{2  "aliases": [3    "Postgres"4  ],5  "workflows": [6    "Primary store for a web or API application",7    "Research database loaded from CSV or Parquet and queried from Python or R",8    "Vector search for RAG applications through the pgvector extension",9    "Spatial analysis with PostGIS behind QGIS or a web map"10  ],11  "advantages": [12    "Permissive license with no vendor lock-in",13    "Mature planner and wide SQL coverage",14    "Extensions let one database cover documents, vectors, time series and geodata",15    "Available as a managed service from almost every cloud"16  ],17  "limitations": [18    "Single-primary write path; sharding is not built in",19    "Vacuum and bloat management on high-churn tables",20    "Process-per-connection model benefits from an external pooler",21    "Major-version upgrades require pg_upgrade or dump and restore"22  ],23  "prerequisites": [24    "A server or container to run the database, or a managed PostgreSQL service"25  ],26  "audiences": [27    "Backend developers",28    "Data engineers and analysts",29    "Researchers managing structured datasets"30  ],31  "alternatives": [32    "mysql",33    "sqlite",34    "mongodb",35    "duckdb",36    "clickhouse",37    "neon",38    "supabase"39  ],40  "tags": [41    "sql",42    "open-source",43    "self-hosted",44    "relational",45    "extensions"46  ],47  "use_cases": [48    "store-application-data",49    "value-real-estate",50    "map-geodata",51    "host-web-apps"52  ],53  "operating_systems": [54    "linux",55    "macos",56    "windows"57  ],58  "deployment_models": [59    "on-premises",60    "managed-cloud"61  ],62  "integrations": [63    "PostGIS",64    "pgvector",65    "TimescaleDB",66    "PgBouncer",67    "Prisma",68    "Drizzle ORM",69    "Metabase",70    "dbt",71    "Apache Airflow"72  ],73  "data_formats": [74    "SQL",75    "CSV (COPY)",76    "JSON/JSONB",77    "Binary COPY"78  ],79  "languages": [80    "SQL",81    "PL/pgSQL",82    "C",83    "Python",84    "JavaScript",85    "Go",86    "Java",87    "Rust",88    "R"89  ],90  "self_hostable": true,91  "discovery_method": "editorial-research",92  "depth": "deep",93  "editorial_status": "reviewed",94  "visibility": "public",95  "featured": true,96  "author": "batch-D",97  "slug": "postgresql",98  "name": "PostgreSQL",99  "vendor": {100    "name": "PostgreSQL Global Development Group",101    "slug": "postgresql-global-development-group",102    "website": "https://www.postgresql.org/"103  },104  "homepage_url": "https://www.postgresql.org/",105  "docs_url": "https://www.postgresql.org/docs/",106  "repo_url": "https://github.com/postgres/postgres",107  "license_url": "https://www.postgresql.org/about/licence/",108  "product_type": "database",109  "product_status": "active",110  "summary": "Open-source object-relational database server with a large extension ecosystem (PostGIS, pgvector, TimescaleDB) and broad SQL coverage",111  "description": "PostgreSQL is an open-source object-relational database system maintained by the PostgreSQL Global Development Group and released under the permissive PostgreSQL License. It runs as a server process on Linux, macOS, Windows and the BSDs, and it is the default general-purpose relational store behind a large share of web applications, analytical back ends and research data pipelines.\n\nThe engine covers a broad slice of the SQL standard: transactional MVCC storage, window functions, common table expressions, JSON and JSONB documents, array and range types, full-text search and declarative table partitioning. Index types include B-tree, GIN, GiST, BRIN and hash, and the planner can parallelize scans and joins. Streaming and logical replication supply read replicas and change feeds. The extension mechanism is a defining trait: PostGIS adds spatial types, pgvector adds embedding storage and similarity search, TimescaleDB adds time-series partitioning, and foreign data wrappers expose external systems as tables.\n\nIn practice PostgreSQL is either self-hosted (packages, Docker) or consumed through managed services such as Neon, Supabase or the large cloud providers. Applications reach it through drivers for nearly every language, ORMs such as Prisma and Drizzle, and the psql command-line client. Analysts often pair it with DuckDB or a BI tool for heavy aggregations.\n\nLimits are mostly operational. A single primary accepts writes, so horizontal write scaling requires sharding tools or a different system; vacuum and table bloat need monitoring on high-churn workloads; and the process-per-connection model usually calls for a pooler such as PgBouncer in front of busy applications.",112  "capabilities": [113    "ACID transactions with MVCC and row-level locking",114    "JSONB documents with indexing alongside relational tables",115    "Window functions, CTEs, lateral joins and declarative partitioning",116    "Full-text search, array, range and geometric types",117    "Streaming and logical replication for replicas and change capture",118    "Extension system (PostGIS, pgvector, TimescaleDB, foreign data wrappers)",119    "Role-based access control and row-level security"120  ],121  "comparison_notes": "MySQL is the other widely used open-source relational server; PostgreSQL differs in its permissive license, its extension model and its richer type system, while MySQL is dual-licensed by Oracle. SQLite is an embedded single-file engine for local or on-device use rather than a networked server. DuckDB and ClickHouse target analytical scans rather than transactional workloads and are often used next to PostgreSQL. Neon and Supabase are managed services built on PostgreSQL itself.",122  "categories": [123    {124      "slug": "relational-databases",125      "primary": true126    }127  ],128  "execution_modes": [129    "self-hosted",130    "cloud",131    "local"132  ],133  "interfaces": [134    "cli",135    "api",136    "library"137  ],138  "source_model": "open-source",139  "license_spdx": "PostgreSQL",140  "pricing_model": [141    "open-source",142    "free"143  ],144  "sources": [145    {146      "url": "https://www.postgresql.org/",147      "type": "official_site",148      "supports": [149        "name",150        "summary",151        "product_status"152      ],153      "checked_at": "2026-11-02",154      "title": "PostgreSQL: The World's Most Advanced Open Source Relational Database"155    },156    {157      "url": "https://www.postgresql.org/docs/",158      "type": "official_docs",159      "supports": [160        "capabilities",161        "data_formats",162        "operating_systems"163      ],164      "checked_at": "2026-11-02",165      "title": "PostgreSQL Documentation"166    },167    {168      "url": "https://www.postgresql.org/about/licence/",169      "type": "license_page",170      "supports": [171        "license_spdx",172        "source_model"173      ],174      "checked_at": "2026-11-02",175      "title": "PostgreSQL License"176    },177    {178      "url": "https://github.com/postgres/postgres",179      "type": "repository",180      "supports": [181        "repo_url"182      ],183      "checked_at": "2026-11-02",184      "title": "postgres/postgres mirror",185      "note": "Read-only GitHub mirror of git.postgresql.org"186    }187  ],188  "confidence": "high"189}190
Files · f05ed656dfb02e05e9363ab635689d5774c375f6
Menu

Theme