Embedded analytics for small teams
The idea
Problem
Hypothesis
A credible first version
Evidence
Hand-collected links the ratings are based on, each with the curator's note.
- Big data is dead
Note: Most workloads are small; strong agreement in the discussion.
Underserved workloadHacker Newsattached by curatormanualnews.ycombinator.com879 eng.Feb 7, 2023 - Big data is dead (2023)
Note: Repost with similar engagement a year later.
Underserved workloadHacker Newsattached by curatormanualnews.ycombinator.com585 eng.May 26, 2024 - Show HN: BemiDB – Postgres read replica optimized for analytics
Note: Demand for analytics directly off Postgres without a warehouse.
Feature requestHacker Newsattached by curatormanualnews.ycombinator.com209 eng.Nov 7, 2024 - Ask HN: Who's using DuckDB in production?
Note: Practitioners comparing production use of DuckDB.
MigrationHacker Newsattached by curatormanualnews.ycombinator.com7 eng.Jan 16, 2026
Existing solutions
How well each covers the problem has not been assessed yet; the ratings' differentiation reason says what is known.
Signals attached by the rules
A signal attaches when it concerns one of the entities below and its kind is one of Migration, Underserved workload, Feature request, or its title contains one of: duckdb in production, big data is dead, embedded analytics, postgres analytics, single node analytics.
Feature request (66)
- 143 eng.May 7, 2024
- Polars: Support HDF5 reading/writing (with optional dependencies)
We can reduce friction by figuring out how to load data most efficiently to polars memory.
ecosystemsissues.ecosyste.ms97 eng.May 28, 2022 - ClickHouse: RFC: Streaming Queries
Goals: - reliable consumption from Kafka and other persistent queues with exactly-once semantics; - consistent implementation of POPULATE for MATERIALIZED VIEW ; - the unification of LIVE VIEW and WINDOW VIEW and allowing them to support distributed queries and reliable consumption; - implement distributed persistent queues inside ClickHouse, based on MergeTree tables; - run infinite data pipelines in the background; support alerting, triggers, and complex event processing; - allow aggregation and JOINing of infinite streams of data; Continuous queries to process infinite streams of data…
githubgithub.com94 eng.Nov 6, 2022 - StarRocks: StarRocks Roadmap 2026
Previous Roadmap Roadmap 2025 Roadmap 2024 Roadmap 2023 Roadmap 2022 Native Storage (shared-data) Enhanced Functionality - [ ] Multi-warehouse - [ ] Range-based data distribution starrocks/starrocks 64986 - [ ] Auto tablet split. starrocks/starrocks 64986 - [ ] Full-text inverted index starrocks/starrocks 67167 - [ ] Vector index - [ ] Incremental materialized view - [ ] Time travel & enhanced snapshot Realtime storage engine - [ ] Sub-second data freshness - [ ] Integration with OLTP database - [ ] Scalable on large tablets starrocks 66457 - [ ] Cost-efficiency optimization Large-scale…
githubgithub.com92 eng.Jan 8, 2026 - ClickHouse: Intern Tasks 2025/2026
This is the list of proposed tasks. It is to be extended. You can propose more tasks. You can also find the previous lists here: 2024/2025: 2023/2024: 2022/2023: 2021/2022: 2020/2021: 2019/2020: 2018/2019: 2017/2018: The tasks should be: - not too hard (doable within about a month) but usually not less than a week; - not alter some core components of the system; - mostly isolated, does not require full knowledge of the system; - somewhat interesting to implement or have some point of research; - not in the critical path of our roadmap (ok to be thrown away after a year); - most of them are…
githubgithub.com89 eng.Sep 29, 2025 - Apache DataFusion: [EPIC] Use blocked / chunked memory management in hash aggregation
Note: this issue consolidates and replaces which dates from 2023 and predates much of the discussion. What is going on (symptoms) High-cardinality GROUP BY queries in DataFusion suffer from several challenges that look unrelated at first, but all trace back to the same root cause. The problems: 1. Aggregation memory is held until the hash table is fully drained. All group state is emitted as slices of one giant batch, so none of it is released until the last output batch. For a typical [two-stage aggregation][multi-phase], this shows up as 2x peak memory: while the first stage drains its 1 GB…
githubgithub.com61 eng.Aug 27, 2026 - Polars: Expr.format(fmt) - convert column to string with custom format string
Problem description Add a format method to Expr to allow fast column formatting. format can use the Rust syntax: python df = pl.DataFrame({"month": [1, 5, 10, 12]}) df.with columns([ pl.col("month").format("month: {:02}").alias("month desc"), ])
ecosystemsissues.ecosyste.ms55 eng.Feb 23, 2023 - 51 eng.Apr 21, 2021
- ClickHouse: Idempotency key for DDL operations
Company or project name No response Use case Retries after network connection errors are really complex in distributed systems. There are many operations that are quite risky to be retried such as EXCHANGE TABLE and we do not have easy way to check that previous operation succeeded or not for example, when disconnect was result of completely disappearing node and we have query log local to this node. Describe the solution you'd like - Add optional query setting idempotency key that can be passed from a client with a query similar to insert deduplication token . - When it is passed operations…
githubgithub.com46 eng.Feb 4, 2026 - Polars: Rust API: UUID support in pola.rs Series
Problem description I was trying to create a pola.rs DataFrame with a column of UUIDs from the uuid crate. Something like this: Rust let ser = Series::new("ID", vec![Uuid::new v4(), Uuid::new v4()]) Gives the error: the trait bound polars::prelude::Series: polars::prelude::NamedFrom , is not satisfied Explanation: the trait polars::prelude::NamedFrom , is not implemented for polars::prelude::Series
ecosystemsissues.ecosyste.ms42 eng.Feb 25, 2023 - Polars: Polars for vector search (via Lance integration) ?
Description 1. Lance supports vector index and is Arrow compatible. Currently it is integrated with polars via the pyarrow dataset reader interface. This works for basic reading and writing, but it could be a lot more powerful. If we can support some UDF expression for vector search and push that down to Lance format with the index, it means polars users will have native access to a very scalable vector database. 2. Lance will also be shipping scalar indices. If we're able to do predicate pushdown during query execution, we could potentially enable much faster predicate evaluation that don't…
githubgithub.com41 eng.Nov 11, 2023 - TiDB: Support `SKIP LOCKED` Syntax
Feature Request Is your feature request related to a problem? Please describe: Introduce a new syntax to handle hot rows Describe the feature you'd like: Starting with MySQL 8.0.1 we are introducing the SKIP LOCKED modifier which can be used to non-deterministically read rows from a table while skipping over the rows which are locked. Describe alternatives you've considered: Teachability, Documentation, Adoption, Migration Strategy:
githubgithub.com36 eng.Jun 24, 2020 - Turso Database: Geospatial data support
This is a often requested feature to have support for storing, indexing, and querying geospatial data. Would make a great extension.
githubgithub.com35 eng.Jul 12, 2025 - Polars: Allow inserting or moving columns before or after a specific column
Description The difficulty of reordering columns is a major pain point in polars (and also pandas). tidyverse, on the other hand, has extensive support for (re)ordering columns, in particular via: 1. The .before and .after arguments to `dplyr::mutate()`, tidyverse's equivalent of with columns() , which let you place the mutated columns before or after a specific named column. For instance, data.frame(A = c(1, 2), C = c(5, 6)) dplyr::mutate(B = c(3, 4), .before = "C") inserts the "B" column between the A and C columns, rather than at the end like by default. 2. The `dplyr::relocate()`…
githubgithub.com31 eng.Dec 24, 2023 - TiDB: Support materialized views
Description Support materialized views. Category Feature, Performance Value TiDB can be used as a real-time data warehouse / create derived datasets, so that analyzing will be more effective.
githubgithub.com31 eng.Jun 15, 2020 - Polars: Support changing the thread pool size during runtime
Problem description I would like to use polars lazy loading inside a pypsark UDF. Therefore, it is necessary that polars runs in single-threaded mode to avoid thread explosions. Most other Python libraries can be limited to single-thread execution using threadpoolctl.threadpool limits . However, in polars this has no effect and it keeps using all available resources: python import polars as pl import pandas as pd import numpy as np df = pd.DataFrame( { "A": [1, 2, 3, 4, 5], "fruits": ["banana", "banana", "apple", "apple", "banana"], "B": [5, 4, 3, 2, 1], "cars": ["beetle", "audi", "beetle",…
ecosystemsissues.ecosyste.ms30 eng.Jan 10, 2023 - Apache DataFusion: Remove `Alias` from `Expr`
Is your feature request related to a problem or challenge? Please describe what you are trying to do. Currently a named expression / alias can be encoded by wrapping an existing Expr in an Expr::Alias . However, this has some side effects: We can encode expressions that don't make sense, such as (1 + 1 AS x) AS y or (1 AS X) + (1 AS Y) (in SQL it's disallowed by the parser, but it's just to show it is possible to do this in the DataFrame API or the raw API. In dataframes we could do things like expr.alias("x").alias("y") . Code dealing with Expr always have to deal with the Alias case, even…
githubgithub.com29 eng.Dec 20, 2021 - Polars: Support additional join types with join_where
Description The join where method added in 18365 behaves like an inner join, where only rows from the left and right DataFrames that match the condition are returned. It would be useful to support other join types like left, full, anti and semi. I'm not sure how feasible it is to implement this, it seems like it would be straightforward when the join resolves to a single equi join, or single iejoin, but handling additional filter conditions could be tricky.
githubgithub.com28 eng.Sep 10, 2024 - ClickHouse: Allow cancelling queries in the middle of blocking operations
Queries can be canceled only at specific points between blocks processing. However, a query may get stuck on a blocking operation like reading/writing from/to a socket. In this case, it has to wait for receive timeout / send timeout (default is 300 seconds, can be changed to a higher value) and cannot be killed/canceled. However, we know ids of all threads executing a query. So we can send a signal to these threads and make them exit from a blocking syscall with EINTR . After that, we can check a flag in ThreadStatus / ThreadGroup before resuming the syscall and throw an exception if the…
githubgithub.com28 eng.Mar 6, 2023 - Polars: Upload abi3.abi3t wheels
Description Currently polars builds on the free-threaded build but there are no binaries on PyPI, so people need a Rust compiler to use it. PyO3 0.29 and Maturin 1.14.0 added support for the new abi3t stable ABI and building abi3.abi3t wheels. I'm the main author of the code supporting that in both PyO3 and Maturin. I'd like to request that you add 3.14t CI coverage and eventually both 3.15 and 3.15t CI coverage. I'd also like to see both cp314t wheels and cp315-abi3.abi3t wheels available on PyPI for the polars runtime packages. I know already that a few test dependencies may be problematic…
githubgithub.com27 eng.Jun 12, 2026 - Polars: Consider using Jiff instead of Chrono
Description I'm not sure how feasible or desirable this is, so just opening this for hearing what you think - @ariebovenberg's whenever Here's how it benches - image Docs -
githubgithub.com27 eng.Dec 27, 2024 - Polars: Add lance as a supported data format to read/write
Description Lance is emerging as a very powerful data format for tabular data and machine learning. It should be possible to integrate it to polars to better leverage the predicate pushdown capabilities (via a proposed pl.scan lance ) Pros: - A native integration into polars would offer good support for predicate pushdown and projections - Good for both libraries Cons: - Lance is not a very popular data format, and it may be too unstable to expose it to the polars userbase Here is a python showcase of the read-write performance - for testing: python def read lance(filepath:str,…
githubgithub.com27 eng.Feb 12, 2024 - ClickHouse: RFC: Unique key constraint
Use case Checking for duplicate records on insertion. Allow INSERT IGNORE queries. Describe the solution you'd like The feature will be supported for tables of the MergeTree family, including Replicated and Shared MergeTree. A user creates a constraint in the table: CONSTRAINT check unique ab UNIQUE (a, b) TYPE impl engine name The constraint will maintain a data structure containing a set of all unique values of the corresponding columns tuple ( a, b in this example). The data structure of the set depends on the implementation engine, which could be specified inside TYPE . The implementation…
githubgithub.com26 eng.Oct 11, 2024 - Polars: Add additional horizontal aggregation functions
Checks - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of Polars. Issue description With the latest version of polars, I am not able to find a way to do a horizontal mean without knowing how many columns I am aggregating! pl.mean(["col1", "col2"]) doesn't run, and pl.col(["col1", "col2"]).mean() returns two columns with their means. The mean and median were requested in discord. We're currently missing: - mean horizontal - median horizontal - std horizontal - var horizontal And maybe also: - count horizontal…
githubgithub.com26 eng.Jul 19, 2023 - Apache DataFusion: Add AI tooling disclosure text to contributor guide and fields to PR templates
Is your feature request related to a problem or challenge? Inspired by I think it might be a good idea to add some text to the contributor guide requesting usage of AI tooling to be disclosed. Additionally, adding fields to PR templates encourages people to fill in this information proactively. Use of AI tools should not be discouraged, but as a courtesy to the human being reviewing changes it would be nice if any output from an AI system is marked as such. The referenced example explains this much better than I can. Describe the solution you'd like See ai-assistance-notice for a possible…
githubgithub.com25 eng.Oct 16, 2025
Migration (7)
- Comment on “Moving our warehouse off DuckDB”
Five months ago, we rebuilt our warehouse on DuckDB instead of ClickHoue They switched from ClickHouse to DuckDB five months ago, then switched from DuckDB to their own Trino derivative? The article then ends before saying if the new setup solved their problems. It’s great that we can now make…
0 eng.Nov 2, 2026 - Comment on “We ported the original Doom to SQL”
At my current job I'm in charge of developing our data analytics platform, and with it being so data-driven I was able to implement like 95% of the logic directly into the database largely as functions and stored procedures. The remaining 5% of the application code is mostly Python, which merely…
0 eng.Oct 5, 2026 - Comment on “Pandas Should Go Extinct”
I'm in the middle of wrapping up the edits for Effective Pandas 3rd Edition. (I also wrote a Polars book and just wrapped up a weeklong training session on pandas this week.) Pandas is not perfect, it has a bunch of warts. But it is good enough for most. (And many of those folks are using Excel or…
0 eng.Sep 12, 2026 - Comment on “ctx 1.0: `git blame` but for agent sessions”
OP here ctx has reached major stable version 1.0. It's an open-source local CLI for searching your coding agent history. 1.0 brings several big changes: - switched from sqlite to Tantivy, resulting in 16x performance improvement - introduced "lineage", so the CLI can understand how to trace deep…
0 eng.Aug 21, 2026 - Comment on “Hillock – Local neuro-symbolic memory engine running in <1.2GB VRAM”
Hi Jacob, thanks for sharing! Witchcraft looks super interesting—starring the repo now. The late interaction (ColBERT / MaxSim token-level) approach is fascinating for local search. Retaining per-token interaction matrices gives incredible semantic retrieval precision without losing fine-grained…
0 eng.Aug 13, 2026 - Comment on “Making Postgres 300x faster for analytics: batching, operator fusion, and SIMD”
It absolutely can be embedded. The bigger enabler is replacing the process-per-connection model with a thread-per-connection model. Projects like pglite[0] had to give up concurrency because of it. We also support compiling to wasm so you can embed it in the browser too, which is what powers…
0 eng.Aug 7, 2026 - Comment on “Using self-hosted Umami for iOS app analytics”
My umami instance handles a modest 1-2K events per day but does so on 150MB of memory and approximately no cpu. I switched from plausible, which might have been fine except clickhouse requires like 4 different containers and idles using 4+ GB. I am very happy with never needing to even think about…
0 eng.Jul 19, 2026