<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/improving-lakebase-postgres-compute-cache-9piehrkxb" -->

---
title: Improving Lakebase Postgres compute cache | daily.dev
description: Databricks details performance work on Lakebase Postgres's compute-side caching. Fixed-size computes with CU >= 80 now disable the local file cache (LFC) and...
canonical: https://daily.dev/posts/improving-lakebase-postgres-compute-cache-9piehrkxb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Improving Lakebase Postgres compute cache | daily.dev
og:description: Databricks details performance work on Lakebase Postgres's compute-side caching. Fixed-size computes with CU >= 80 now disable the local file cache (LFC) and...
og:url: https://daily.dev/posts/improving-lakebase-postgres-compute-cache-9piehrkxb
og:image: https://api.daily.dev/og/posts/9PIEhrKXb.png
og:image:alt: Improving Lakebase Postgres compute cache
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 Postgres compute cache

**[databricks](https://daily.dev/sources/databricks)** · 8 min read · 1 upvotes · 0 comments

## Summary

Databricks details performance work on Lakebase Postgres's compute-side caching. Fixed-size computes with CU >= 80 now disable the local file cache (LFC) and set Postgres shared buffers to 75% of DRAM instead of the previous 1 GB cap, eliminating double buffering. To make large shared buffers viable, Databricks rolled out explicit 2 MB HugeTLB pages across its VM infrastructure to reduce page table size and TLB misses, since process-per-backend Postgres otherwise requires enormous per-process page tables at scale. Reported production results include throughput doubling, up to ~40% lower tail latency, ~30% lower CPU utilization, and one workload dropping from 20 CPU cores to 4. Autoscaling compute support with dynamic shared buffers and autoscaling huge pages is planned next, with implementation details promised in a follow-up post.

## Full article

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

## Questions this post answers

### What changed in Lakebase Postgres to make large compute nodes faster?

For fixed-size Lakebase Postgres computes with CU >= 80, Databricks disabled the local file cache and increased Postgres shared buffers to 75% of DRAM, removing the previous roughly 1 GB shared-buffer cap. This eliminates double buffering between shared buffers and the local file cache, keeping more hot pages in the fastest memory tier and cutting reliance on the slower local file cache layer.

_Track infrastructure changes like this shared buffers overhaul as you tune Postgres performance, via daily.dev._

### Why does Postgres need huge pages when using very large shared buffers?

Postgres uses a process-per-backend model where each backend needs its own page table entries for shared buffers; at 32 GB of shared buffers and 512 backends this reaches roughly 4.3 billion entries, exceeding the CPU's translation lookaside buffer and causing costly page table walks on every shared buffer hit. Using 2 MB huge pages instead of default 4 KB pages cuts page table size by a factor of 512, reducing tail read latency by up to ~40% and CPU utilization by up to ~30% in benchmarks.

_Engineers scaling Postgres memory configurations can follow findings like this on daily.dev._

### How do I check if large shared buffers and huge pages are enabled on my Lakebase Postgres compute?

Run SHOW huge_pages within a Postgres connection; an 80 CU Lakebase endpoint should show a value of "on" if explicit huge pages are enabled. Large shared buffers (set to 75% of DRAM instead of the prior 1 GB cap) are live today for fixed-size Lakebase computes with CU >= 80, rolled out region by region.

_Database admins verifying config changes like this can keep tabs on Postgres tuning updates via daily.dev._

## 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 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
- [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

---

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

[View this post on daily.dev](https://daily.dev/posts/improving-lakebase-postgres-compute-cache-9piehrkxb)

```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 Postgres compute cache","url":"https://daily.dev/posts/improving-lakebase-postgres-compute-cache-9piehrkxb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/improving-lakebase-postgres-compute-cache-9piehrkxb"},"datePublished":"2026-09-10T16:34:07.973Z","dateModified":"2026-10-15T02:22:56.561Z","description":"Databricks details performance work on Lakebase Postgres's compute-side caching. Fixed-size computes with CU \u003e= 80 now disable the local file cache (LFC) and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/50ce3ac17abe06a9340ac61cc7f55371?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/50ce3ac17abe06a9340ac61cc7f55371?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"databricks","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":"databricks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/fa7aa720f2db4d1eba826814730482c8","url":"https://daily.dev/sources/databricks"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/improving-lakebase-postgres-compute-cache-9piehrkxb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"postgresql,databricks","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"databricks","item":"https://daily.dev/sources/databricks"},{"@type":"ListItem","position":3,"name":"Improving Lakebase Postgres compute cache"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/improving-lakebase-postgres-compute-cache-9piehrkxb#faq","mainEntity":[{"@type":"Question","name":"What changed in Lakebase Postgres to make large compute nodes faster?","acceptedAnswer":{"@type":"Answer","text":"For fixed-size Lakebase Postgres computes with CU \u003e= 80, Databricks disabled the local file cache and increased Postgres shared buffers to 75% of DRAM, removing the previous roughly 1 GB shared-buffer cap. This eliminates double buffering between shared buffers and the local file cache, keeping more hot pages in the fastest memory tier and cutting reliance on the slower local file cache layer. Track infrastructure changes like this shared buffers overhaul as you tune Postgres performance, via daily.dev."}},{"@type":"Question","name":"Why does Postgres need huge pages when using very large shared buffers?","acceptedAnswer":{"@type":"Answer","text":"Postgres uses a process-per-backend model where each backend needs its own page table entries for shared buffers; at 32 GB of shared buffers and 512 backends this reaches roughly 4.3 billion entries, exceeding the CPU's translation lookaside buffer and causing costly page table walks on every shared buffer hit. Using 2 MB huge pages instead of default 4 KB pages cuts page table size by a factor of 512, reducing tail read latency by up to ~40% and CPU utilization by up to ~30% in benchmarks. Engineers scaling Postgres memory configurations can follow findings like this on daily.dev."}},{"@type":"Question","name":"How do I check if large shared buffers and huge pages are enabled on my Lakebase Postgres compute?","acceptedAnswer":{"@type":"Answer","text":"Run SHOW huge_pages within a Postgres connection; an 80 CU Lakebase endpoint should show a value of \"on\" if explicit huge pages are enabled. Large shared buffers (set to 75% of DRAM instead of the prior 1 GB cap) are live today for fixed-size Lakebase computes with CU \u003e= 80, rolled out region by region. Database admins verifying config changes like this can keep tabs on Postgres tuning updates via daily.dev."}}]}
```

