<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fh="http://purl.org/syndication/history/1.0"><channel><title>Moraine | Blog</title><description>A DuckLake catalog backend that stores the catalog in object storage on SlateDB.</description><link>https://morainedb.com/</link><language>en</language><fh:complete/><atom:link rel="self" href="https://morainedb.com/blog/rss.xml"/><item><title>Introducing Moraine: DuckLake entirely in object storage, no catalog service required</title><link>https://morainedb.com/blog/introducing-moraine/</link><guid isPermaLink="true">https://morainedb.com/blog/introducing-moraine/</guid><description>Moraine moves the DuckLake catalog into object storage, removing the need for a separate catalog service.</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;We’re excited to introduce you to
&lt;a href=&quot;https://github.com/morainedb/moraine&quot;&gt;Moraine&lt;/a&gt;, which moves your DuckLake
catalog to object storage right alongside your data. That means you don’t need
to host a separate Postgres or DuckDB/Quack server for each data lake.&lt;/p&gt;
&lt;p&gt;We built it when faced with hosting tenant-scoped data warehouses for our
analytics clients at &lt;a href=&quot;https://contour.app&quot;&gt;Contour&lt;/a&gt;. We first moved to
&lt;a href=&quot;https://ducklake.select&quot;&gt;DuckLake&lt;/a&gt; to avoid commercial data warehouse costs
(and because it’s a great spec), but the Postgres hosting for each lake also got
expensive, even though it sat idle most of the time. Moraine fixes exactly that.
An idle lake costs just object storage. And, spinning up a new, separate lake is
as simple as picking a new S3 bucket or prefix.&lt;/p&gt;
&lt;p&gt;In Moraine, the catalog lives in &lt;a href=&quot;https://slatedb.io&quot;&gt;SlateDB&lt;/a&gt;, an LSM-based
key-value store that stores the catalog in object storage alongside your data.
That means a commit is a single object write and there’s no separate service to
run. SlateDB is a database, so we can maintain DuckLake’s transactional
properties and inline small data changes. With proper tuning, write and read
performance is &lt;a href=&quot;https://morainedb.com/benchmarks/&quot;&gt;competitive&lt;/a&gt; with DuckLake on Postgres.&lt;/p&gt;
&lt;p&gt;There are a couple of drawbacks to our approach: only one process can attach
read-write per lake at a time, with others limited to read only. And, attach
times are slower than the other catalogs. If you have one ingest service and
many readers (our use case) this works well. If you need lots of independent
writers, it may not be a good fit.&lt;/p&gt;
&lt;p&gt;We’ve also used SlateDB’s key-value storage to add native indexes to DuckLake.
Just like in stock DuckDB, run &lt;code dir=&quot;auto&quot;&gt;CREATE INDEX&lt;/code&gt; on a column and the index is kept
in step with every commit, so lookups by that column read only the files that
hold it.&lt;/p&gt;
&lt;p&gt;Moraine is still alpha-quality software, though we’ve started putting it through
its paces with production clients. For more on how to get started, see
&lt;a href=&quot;https://morainedb.com/guide/getting-started/&quot;&gt;Getting started&lt;/a&gt;. Dual-licensed under MIT or
Apache-2.0. A big thank you to the developers of DuckDB and SlateDB for the
building blocks.&lt;/p&gt;
&lt;p&gt;Feedback welcome, especially on workloads and use cases where Moraine breaks
down. Open an &lt;a href=&quot;https://github.com/morainedb/moraine/issues&quot;&gt;issue&lt;/a&gt; or start a
thread in &lt;a href=&quot;https://github.com/morainedb/moraine/discussions&quot;&gt;Discussions&lt;/a&gt;. We
can’t wait to see what you build with it!&lt;/p&gt;
</content:encoded></item></channel></rss>