# niledatabase/niledatabase

PostgreSQL reengineered for multi-tenant apps

Repository: https://github.com/niledatabase/niledatabase
Canonical: https://ross.abutalabs.com/products/niledatabase
Homepage: https://thenile.dev
Language: MDX
License: Apache-2.0
License Family: permissive
Topics: authentication, multiregion, multitenant, postgresql, saas, vector, serverless
Last push: 2026-03-04T20:14:20+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 35, longevity 83
- inputs: {"age_days": 1169, "days_push": 182, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1076, forks 74 (observed 2026-08-28T04:03:29.489218+00:00)

## What it is
Nile is a Postgres platform re-engineered for multi-tenant B2B applications, decoupling storage from compute and virtualizing tenants within a single database. It includes built-in B2B authentication, tenant-level isolation, global tenant placement, and a scalable vector database with AI toolkit for RAG workloads.

## Use cases
- build a multi-tenant SaaS application on Postgres
- isolate customer data per tenant without RLS
- store vector embeddings alongside customer data for RAG
- run B2B authentication with tenant-scoped users
- place tenants in different regions for compliance or latency
- scale a Postgres database to millions of tenants
- avoid managing one database per customer

## When to choose
- you are building a B2B SaaS app with many tenants and want built-in tenant isolation
- you need vector search and customer data in one database
- you want tenant-level backups, branching, and insights without custom tooling
- you need per-tenant compute placement or regional routing

## When to avoid
- you need a fully mature, generally available database for critical workloads (it is in public preview)
- your app is single-tenant with no multi-tenancy needs
- you require on-prem deployment or features still marked 'coming soon' like branching and backups
- you are locked into another managed Postgres provider

## Facets
- artifact type: service
- maturity: experimental
- function: database, vector-database, auth, rag, self-hosted
- domain: databases, large-language-models, web-development, backend, self-hosted
- platform: self-hosted, cloud
- tags: multi-tenant, postgresql, saas, tenant-virtualization, serverless-postgres, b2b, docker, web-server

## Member repositories
- niledatabase/niledatabase (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.489218+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:23.387688+00:00, confidence not recorded.
  - readme: https://github.com/niledatabase/niledatabase (fetched 2026-08-28T04:03:29.489218+00:00, sha 1db12f4820ca)
  - homepage: https://thenile.dev (fetched 2026-08-29T12:54:57.451549+00:00, sha 53e50bfc95de)
  - site_page: https://www.thenile.dev/docs (fetched 2026-08-29T12:54:57.455106+00:00, sha b03638a5e067)
  - site_page: https://www.thenile.dev/about-us (fetched 2026-08-29T12:54:57.460587+00:00, sha 05846fe71fd8)
  - site_page: https://www.thenile.dev/docs/ai-embeddings (fetched 2026-08-29T12:54:57.463422+00:00, sha 9e5a2eaac1db)
  - site_page: https://www.thenile.dev/docs/tenant-virtualization (fetched 2026-08-29T12:54:57.466229+00:00, sha 42e39b8e0d87)
  - site_page: https://www.thenile.dev/docs/tenant-virtualization/tenant-placement (fetched 2026-08-29T12:54:57.468661+00:00, sha 4c93605290be)
  - site_page: https://www.thenile.dev/docs/getting-started (fetched 2026-08-29T12:54:57.470552+00:00, sha b03638a5e067)
  - site_page: https://www.thenile.dev/docs/getting-started/usecases (fetched 2026-08-29T12:54:57.472207+00:00, sha 789a501efbc4)
  - site_page: https://www.thenile.dev/pricing (fetched 2026-08-29T12:54:57.457585+00:00, sha 334d4208f016)
- Data as of 2026-08-30T08:39:29.467469+00:00.
