Skip to main content

Lakebase Cookbook

Examples and guides to accelerate your Databricks Lakebase projects.

Lakebase is Databricks' fully-managed, Postgres-compatible OLTP database, built for transactional workloads that sit alongside your lakehouse.

Examples in this cookbook​

ExampleDescription
Genie CachingGenie API gateway with a Lakebase (pgvector) semantic query cache
AI MemoryAI memory patterns backed by Lakebase
AppsSample applications on Lakebase
Feature StoreFeature store integration
Reverse ETLReverse ETL patterns

Contributing​

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

Guidelines:

  • Resources related to your example must be deployable via Databricks Asset Bundles
  • Keep database configurations small to reduce spend
  • Use uv as the package manager
  • Use ruff as the linter