---
title: "Understanding Neon’s object hierarchy"
description: "Neon organizes serverless Postgres into projects, branches and compute endpoints, built on a separation of storage and compute that avoids sizing a database upfront."
url: "https://swe.quest/articles/understanding-neon-s-object-hierarchy-93be958b09bed77b"
canonical: "https://neon.com/blog/neon-object-hierarchy"
source: "Neon"
published: "2023-06-07"
difficulty: "easy"
kind: "How-to"
reading_minutes: 4
tags: ["postgres","serverless","databases"]
---

# Understanding Neon’s object hierarchy

A post on [Neon](https://swe.quest/sources/neon.md), published 2023-06-07, 4 min read, How-to. Original: [https://neon.com/blog/neon-object-hierarchy](https://neon.com/blog/neon-object-hierarchy)

## Summary

Neon organizes serverless Postgres into projects, branches and compute endpoints, built on a separation of storage and compute that avoids sizing a database upfront. A project is a container per application holding a Postgres cluster (default database "neondb"); branches are copy-on-write, isolated copies of data from the current or a past point in time, with the default cluster represented by the "main" branch. Each branch is reached through a compute endpoint that can be fixed-size or autoscale between a minimum and maximum, letting you cap worst-case spend; at time of writing each branch supports only one endpoint, with read replicas planned to allow more.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)

## Prerequisites

- PostgreSQL basics ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- managed database services ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))

## Keywords

Neon, PostgreSQL, copy-on-write branching, autoscaling

## Related posts

- [Practical Guide to Database Branching](https://swe.quest/articles/practical-guide-to-database-branching-8aa2f63325bcfecb.md): Neon · 2025-12-04 · Medium · 9 min read · PostgreSQL, Databases, CI/CD, Schema migrations, Testing
  Neon's copy-on-write storage makes Postgres database branches instant and cheap: each branch shares the parent's base data, gets its own autoscaling compute that scales to zero, and can be created from any point within the history retention window.
- [SELECT ’Hello, World’](https://swe.quest/articles/select-hello-world-151ac208b5f708c9.md): Neon · 2022-06-15 · Easy · 5 min read · PostgreSQL, Storage engines, Serverless, Cloud platforms, Multi-tenancy
  Neon is a serverless Postgres service built on separated storage and compute, launching behind a waitlist.
- [Building Neon Object Storage](https://swe.quest/articles/building-neon-object-storage-34a868ace858c276.md): Neon · 2026-08-06 · Easy · 6 min read · Storage systems, PostgreSQL, Cloud platforms, Infrastructure as code
  Neon Object Storage is an S3-compatible object store whose buckets and objects branch together with a Neon Postgres database under one shared branch\_id, so a child branch inherits files at the fork point with copy-on-write isolation.
- [Neon Functions: backend logic next to your data](https://swe.quest/articles/neon-functions-backend-logic-next-to-your-data-fe00336dce0040ff.md): Neon · 2026-08-12 · Medium · 5 min read · Serverless, PostgreSQL, Real-time systems
  Neon Functions are long-running Node.js 24 compute deployed onto a Neon branch, in the same region and on the same infrastructure as its Lakebase Postgres database, with DATABASE\_URL and other Neon backend credentials injected automatically.
- [Using Neon branching for instant Point in time recovery](https://swe.quest/articles/using-neon-branching-for-instant-point-in-time-recovery-9f84c3c887a11e14.md): Neon · 2023-07-28 · Medium · 4 min read · PostgreSQL, Serverless, TypeScript
  Neon's copy-on-write branching can restore a Postgres database to an earlier point in time by creating a branch from a timestamp or LSN within the retained WAL history window (seven days by default).

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
