- The Idea: Bring the Engine to the Data
- In the Browser: DuckDB-Wasm at Work
- On the Desktop: Maps With Heavy Data
- Inside Your IDE: DataGrip's Cross-Database Queries
- Why Teams Like It: Cost, Speed, and Privacy
- Where Local-First Hits Limits
- How to Try It This Week
- Quick Questions, Answered
- Final Thoughts: The Laptop Is Back
For years, “doing analytics” meant standing up a server, loading data into it, and paying for it to sit there. A quieter pattern, local-first analytics, has been spreading: run the analytical engine right where the user is. This month, two posts on the DuckDB blog showed how far that idea has traveled.
One describes analytics apps that need no database server at all. The other explains how JetBrains built cross-database queries into DataGrip by embedding DuckDB. Together they make a strong case for local-first analytics, and they fit a theme we have followed since data democratization took off.
Key takeaways
- Local-first analytics runs the query engine in the browser or a desktop app instead of on a server.
- Real products already do this for maps, graphs with millions of points, and AI-assisted analysis.
- JetBrains embedded DuckDB in DataGrip to join data across different databases in one query.
- It is not a replacement for every warehouse. Shared, governed, very large workloads still need central systems.
The Idea: Bring the Engine to the Data
DuckDB is an analytical database that runs inside another program, with no separate server to manage. That makes it possible to ship the engine inside a web page through WebAssembly, or inside a desktop app, and query files such as Parquet directly.
Ilya Boyandin, who wrote the first post, sums up the motivation with a principle: users should own their data. Data can stay on the user’s machine, with cloud sync as an option, not a requirement.

In the Browser: DuckDB-Wasm at Work
The post walks through real products. Flowmap City runs DuckDB in the browser, with datasets stored as Parquet files in cloud storage and loaded through presigned URLs. Queries skip the server round trip, which keeps infrastructure minimal.
Cosmograph, a graph visualization tool, handles graphs from tens of thousands to several million points this way, running the engine in a background worker so the interface stays responsive.
On the Desktop: Maps With Heavy Data
Foursquare Spatial Desktop pairs DuckDB with mapping libraries inside a desktop app and uses DuckDB’s spatial extension to build map tiles on the fly. To keep dense areas fast, each tile takes a sample of up to 50,000 rows and simplifies the shapes.
The same post introduces SQLRooms, an open-source React toolkit for building these apps, which organizes datasets, saved queries, charts, and maps in one workspace.
Inside Your IDE: DataGrip’s Cross-Database Queries
The JetBrains story is a different use of the same engine. The DataGrip team wanted to let people join data from different database connections, such as PostgreSQL, MySQL, and MongoDB, in a single query. They weighed other approaches and chose to embed DuckDB, which Ilia Epelbaum of the DataGrip team found the easiest to integrate.
It is an initial version, and JetBrains plans to make fuller use of DuckDB’s query optimizations and add file-based sources. Still, it shows DuckDB acting as glue between systems, a handy trick for anyone who has built data pipelines just to compare two tables.
Why Teams Like It: Cost, Speed, and Privacy
Three benefits keep coming up. There is less infrastructure to run and pay for. Interactions feel instant because the query does not cross a network. And sensitive data can stay on the device.
None of this cancels the case for cloud data engineering. It changes where the boundary sits. The cloud stores and shares. The laptop explores.
Where Local-First Hits Limits
The posts are honest about tradeoffs. Sampling means dense map tiles do not show every feature. Parts of the tooling are still evolving. And if you add an AI assistant, database schemas and selected query results may be shared with the AI provider even when the source data stays local.
Shared dashboards, strict governance, and truly huge datasets still point toward central platforms. Local-first is a complement, not a coup.
How to Try It This Week
- Install DuckDB and query a CSV or Parquet file you already have, with no loading step.
- Open a sample dataset in a browser-based DuckDB tool to feel the speed.
- If you use DataGrip, look for the cross-database query feature and try joining two sources.
- Sketch which of your dashboards could run on files instead of a live server.
Quick Questions, Answered
Do I need a server to use DuckDB? No. It runs inside another application, including a web browser through WebAssembly, and can query files such as Parquet directly.
Does local-first mean my data never leaves my machine? Not automatically. Datasets can live in cloud storage, and if you use an AI assistant, schemas and selected results may be shared with the AI provider.
Should I replace my data warehouse? Probably not. Use local-first for exploration and embedded analytics, and keep central platforms for shared, governed data.
Final Thoughts: The Laptop Is Back
Hardware got faster and engines got smarter, so a surprising amount of analytics now fits on the machine in front of you. For pipeline builders, that means one more option in the toolbox.
Before you provision the next server, ask a simple question: could this run locally?



