What is Apache Pinot?
Apache Pinot is a real-time distributed OLAP datastore built to answer analytical SQL queries with low latency at high concurrency. It sits in the Vector Databases category of the Retrieval & Knowledge (RAG) tools and is open-source, written in Java and licensed Apache-2.0. To get started: start the batch quickstart container.
Overview
Apache Pinot is a real-time distributed OLAP datastore built to answer analytical SQL queries with low latency at high concurrency. It ingests from streams such as Apache Kafka, Apache Pulsar and AWS Kinesis and from batch sources such as Hadoop HDFS, Amazon S3, Azure ADLS and Google Cloud Storage, and can combine both into a single table you query with standard SQL through a built-in query console or a REST API.

The project was built by engineers at LinkedIn and Uber. At LinkedIn it powers more than 50 user-facing products such as Who Viewed Profile and Talent Insights, and the README describes it ingesting millions of events per second while serving more than 100,000 queries per second at millisecond latency. It is column-oriented, horizontally scalable and fault-tolerant, and ships a Helm chart for Kubernetes.
For AI workloads, Pinot adds a vector index for similarity search, so the same tables that serve dashboards can back semantic search, recommendations and retrieval-augmented generation. The project also positions its fresh, low-latency SQL for agent-facing analytics — AI assistants and automated decision systems that query live data rather than a nightly export.
What it does
- Low-latency SQL over petabyte-scale data, with the README citing P90 latencies in the tens of milliseconds
- Real-time ingestion from Kafka, Pulsar and Kinesis plus batch ingestion from Hadoop, Spark and S3, combinable into one table
- Vector similarity search index for semantic search, recommendations and RAG
- Pluggable indexes: timestamp, inverted, StarTree, Bloom filter, range, text, JSON and geospatial
- Upserts during real-time ingestion, fact/dimension and fact/fact joins, and built-in multitenancy
- Cloud-native deployment on Kubernetes via the official Helm chart
Getting started
The README's Docker quickstart starts a single-container Pinot with a bundled baseball sample dataset. Give Docker at least 6 GB of memory.
Start the batch quickstart container
The first run downloads the image and loads sample tables, which can take a few minutes. Wait for `***** Quick start setup complete *****` in the logs.
docker run --rm --name pinot-quickstart \
-p 127.0.0.1:9000:9000 \
apachepinot/pinot:1.6.0 QuickStart -type batchRun a query in the console
Open the query console at http://localhost:9000/#/query and run the README's example — the players with the most recorded home runs.
SELECT playerID, SUM(homeRuns) AS totalHomeRuns
FROM baseballStats
GROUP BY playerID
ORDER BY totalHomeRuns DESC
LIMIT 3;
Stop the demo
The container and its demo data are removed. For streaming quickstarts and other ways to run Pinot, see the quickstart guide in the docs.
docker stop pinot-quickstartOr build from source
Pinot services need JDK 25+ to build and run. The bin-dist and shaded-jar profiles build the binary distribution.
git clone https://github.com/apache/pinot.git
cd pinot
./mvnw clean install -DskipTests -Pbin-dist -Pbuild-shaded-jar
cd build/
bin/quick-start-batch.shCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Reach for it when an application shows analytics to its own users and has to answer many concurrent queries in milliseconds
- Reach for it when an AI assistant or agent needs to query fresh event data with SQL rather than a stale warehouse copy
- Reach for it when you want vector similarity search for RAG or recommendations in the same store as your real-time metrics
- Reach for it for time-series data with many dimensions and metrics streaming in from Kafka
How Apache Pinot compares
Apache Pinot alongside other open-source vector databases tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Supabase | ★ 116k | Managed Postgres backend whose Vector toolkit (pgvector) stores, indexes, and queries embeddings next to transactional data. |
| Redis Cloud | ★ 77.8k | Fully-managed Redis with built-in vector search, offering low-latency similarity and hybrid queries over any embeddings. |
| Milvus | ★ 46.8k | A distributed vector database for storing and searching billions of embeddings at scale, with multiple index types and Kubernetes-native deployment. |
| FAISS | ★ 42k | A library from Meta for efficient similarity search and clustering of dense vectors, with both exact and approximate indexes. |
| Qdrant | ★ 35.8k | A Rust-based vector search engine that stores embeddings with rich payload filtering for semantic search and recommendation systems. |
| Chroma | ★ 29.8k | A developer-focused vector database designed for quickly building retrieval and RAG features with a simple Python and JavaScript API. |
| pgvector | ★ 23.9k | A PostgreSQL extension that adds a vector data type and similarity search so you can store and query embeddings inside an existing Postgres database. |
| Apache Pinot | ★ 6.2k | Real-time OLAP with SQL and vector search for user- and agent-facing apps |
