<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/improving-lakebase-compute-cache-part-1-8p4umfvx4" -->

---
title: Improving Lakebase Compute Cache, Part 1 | daily.dev
description: Neon and Databricks have shipped a change to how large fixed-size Lakebase Postgres computes cache data: shared buffers now use up to 75% of DRAM (removing the...
canonical: https://daily.dev/posts/improving-lakebase-compute-cache-part-1-8p4umfvx4
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Improving Lakebase Compute Cache, Part 1 | daily.dev
og:description: Neon and Databricks have shipped a change to how large fixed-size Lakebase Postgres computes cache data: shared buffers now use up to 75% of DRAM (removing the...
og:url: https://daily.dev/posts/improving-lakebase-compute-cache-part-1-8p4umfvx4
og:image: https://api.daily.dev/og/posts/8p4UmfvX4.png
og:image:alt: Improving Lakebase Compute Cache, Part 1
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Improving Lakebase Compute Cache, Part 1

**[Neon](https://daily.dev/sources/neontech)** · 11 min read · 6 upvotes · 0 comments

## Summary

Neon and Databricks have shipped a change to how large fixed-size Lakebase Postgres computes cache data: shared buffers now use up to 75% of DRAM (removing the previous 1GB cap) and are backed by explicit 2MB huge pages instead of default 4KB pages, eliminating the local file cache tier for these instances. This addresses double buffering waste and reduces TLB misses and page table walks that plagued large shared-buffer configurations in Postgres's per-process backend architecture. Production rollouts show up to 2x throughput, 5x fewer reads hitting the storage layer, up to 40% lower tail read latency, and up to 30% lower CPU utilization. The change is live today on fixed-size computes with CU >= 18 on Neon and CU >= 80 on Databricks; autoscaling computes with dynamic shared buffers are planned for a follow-up post.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://neon.com/blog/improving-lakebase-compute-cache-part-1>

## Questions this post answers

### What changed in how Lakebase Postgres configures shared buffers on large fixed-size compute nodes?

Lakebase now sets Postgres shared buffers to 75% of available DRAM on large fixed-size computes instead of capping them at roughly 1 GB and relying on a local file cache (LFC) for the rest. The LFC is disabled on these instances. This is live for fixed computes with CU ≥ 18 on Neon and CU ≥ 80 on Databricks, producing up to about 2x throughput and up to 5x fewer reads from the storage layer.

_daily.dev surfaces updates like this for teams tuning Postgres cache configuration at scale._

### How do I check if my Lakebase or Neon Postgres compute has the new large shared buffers and huge pages enabled?

Run 'show shared_buffers' in a Postgres connection; an 80 CU Lakebase endpoint on Databricks should show 20971520. Run 'show huge_pages' to confirm huge page support; the same endpoint should show 'on'. These reflect the switch to 75% of DRAM for shared buffers backed by explicit 2 MB HugeTLB pages rather than transparent huge pages.

_Developers verifying infra changes on their own database instances can track updates like this via daily.dev._

### Why does Postgres need huge pages when shared buffers get large, and what performance gain does it provide?

Large shared buffers create massive page table overhead under Postgres's process-per-backend model: 32 GB of shared buffers with 512 backends generates roughly 4.3 billion page table entries, about 32 GB just for page tables. Using 2 MB huge pages instead of 4 KB pages cuts page table size by a factor of 512 and reduces TLB misses, cutting tail read latency by up to ~40% and CPU utilization by up to ~30% in benchmarks.

_daily.dev helps engineers comparing memory-tuning approaches for large Postgres deployments stay current._

## Similar posts on daily.dev

- [How lakebase architecture delivers 5x faster Postgres writes](https://daily.dev/posts/how-lakebase-architecture-delivers-5x-faster-postgres-writes-jdggqygrz) · databricks · 100 upvotes · 1 comments
- [Lakebase Postgres is built on object storage, but 99.99999% of reads never touch it](https://daily.dev/posts/lakebase-postgres-is-built-on-object-storage-but-99-99999-of-reads-never-touch-it-ap8rhzckc) · Neon · 0 upvotes · 0 comments
- [Lakebase Postgres is now generally available on Google Cloud](https://daily.dev/posts/lakebase-postgres-is-now-generally-available-on-google-cloud-1kz72s0tp) · databricks · 0 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#postgresql](https://daily.dev/tags/postgresql), [#databricks](https://daily.dev/tags/databricks)

[View this post on daily.dev](https://daily.dev/posts/improving-lakebase-compute-cache-part-1-8p4umfvx4)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Improving Lakebase Compute Cache, Part 1","url":"https://daily.dev/posts/improving-lakebase-compute-cache-part-1-8p4umfvx4","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/improving-lakebase-compute-cache-part-1-8p4umfvx4"},"datePublished":"2026-09-09T16:10:22.376Z","dateModified":"2026-09-14T06:08:50.842Z","description":"Neon and Databricks have shipped a change to how large fixed-size Lakebase Postgres computes cache data: shared buffers now use up to 75% of DRAM (removing the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a4774de15730e1419e442e6400487137?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a4774de15730e1419e442e6400487137?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Neon","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Neon","logo":"https://media.daily.dev/image/upload/s--65EDghou--/f_auto/v1724339118/logos/neontech","url":"https://daily.dev/sources/neontech"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/improving-lakebase-compute-cache-part-1-8p4umfvx4","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":6},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"performance,postgresql,databricks","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Neon","item":"https://daily.dev/sources/neontech"},{"@type":"ListItem","position":3,"name":"Improving Lakebase Compute Cache, Part 1"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/improving-lakebase-compute-cache-part-1-8p4umfvx4#faq","mainEntity":[{"@type":"Question","name":"What changed in how Lakebase Postgres configures shared buffers on large fixed-size compute nodes?","acceptedAnswer":{"@type":"Answer","text":"Lakebase now sets Postgres shared buffers to 75% of available DRAM on large fixed-size computes instead of capping them at roughly 1 GB and relying on a local file cache (LFC) for the rest. The LFC is disabled on these instances. This is live for fixed computes with CU ≥ 18 on Neon and CU ≥ 80 on Databricks, producing up to about 2x throughput and up to 5x fewer reads from the storage layer. daily.dev surfaces updates like this for teams tuning Postgres cache configuration at scale."}},{"@type":"Question","name":"How do I check if my Lakebase or Neon Postgres compute has the new large shared buffers and huge pages enabled?","acceptedAnswer":{"@type":"Answer","text":"Run 'show shared_buffers' in a Postgres connection; an 80 CU Lakebase endpoint on Databricks should show 20971520. Run 'show huge_pages' to confirm huge page support; the same endpoint should show 'on'. These reflect the switch to 75% of DRAM for shared buffers backed by explicit 2 MB HugeTLB pages rather than transparent huge pages. Developers verifying infra changes on their own database instances can track updates like this via daily.dev."}},{"@type":"Question","name":"Why does Postgres need huge pages when shared buffers get large, and what performance gain does it provide?","acceptedAnswer":{"@type":"Answer","text":"Large shared buffers create massive page table overhead under Postgres's process-per-backend model: 32 GB of shared buffers with 512 backends generates roughly 4.3 billion page table entries, about 32 GB just for page tables. Using 2 MB huge pages instead of 4 KB pages cuts page table size by a factor of 512 and reduces TLB misses, cutting tail read latency by up to ~40% and CPU utilization by up to ~30% in benchmarks. daily.dev helps engineers comparing memory-tuning approaches for large Postgres deployments stay current."}}]}
```

