- Home
- Embedded Databases
- PGlite
On the recordRead 5 Oct 202614 facts
PGlite
Plans and prices
PGlite
Free
Open-source software; dual-licensed under Apache 2.0 and PostgreSQL License
Read 5 Oct 2026 · pglite.dev
On the record
- Connection limit
- PGlite has a single exclusive connection to the database; the documentation describes a multi-tab worker for sharing an instance across browser tabs.pglite.dev · read 5 Oct 2026
- Extensions
- PGlite supports Postgres extensions including pgvector, and its home page also names PostGIS support.pglite.dev · read 5 Oct 2026
- Framework integrations
- The documentation provides framework hooks for React and Vue.pglite.dev · read 5 Oct 2026
- License
- PGlite is dual-licensed under Apache 2.0 and the PostgreSQL License.pglite.dev · read 5 Oct 2026
- Maker
- PGlite is developed by Electric for embedding into applications locally or at the edge, including syncing a subset of server-side Postgres data.pglite.dev · read 5 Oct 2026
- Maker headquarters
- Electric says it is headquartered in the San Francisco Bay Area.electric.ax · read 5 Oct 2026
- ORM integrations
- The documented compatible ORMs and query builders include Prisma, Drizzle, Kysely, Knex.js, Orange ORM, and TypeORM.pglite.dev · read 5 Oct 2026
- Persistence
- PGlite can run in memory or persist data to the filesystem in Node/Bun and IndexedDB in browsers.pglite.dev · read 5 Oct 2026
- Reactive queries
- PGlite includes live query primitives for reactive updates when underlying database data changes.pglite.dev · read 5 Oct 2026
- Runtime support
- PGlite runs in browsers, Node.js, Bun, and Deno without requiring other dependencies.pglite.dev · read 5 Oct 2026
- Size
- The PGlite package is under 3 MB gzipped.pglite.dev · read 5 Oct 2026
- Socket server caveat
- The PGlite Socket documentation says its server can multiplex simultaneous connections, but notes that this differs from a normal Postgres installation and not all use cases are guaranteed to work.pglite.dev · read 5 Oct 2026
- Use cases
- The documentation describes use for embedded application databases, unit and CI testing, local development, remote development, and on-device or edge AI and RAG.pglite.dev · read 5 Oct 2026
- What it is
- PGlite is a WebAssembly build of Postgres packaged as a TypeScript/JavaScript client library.pglite.dev · read 5 Oct 2026