← Back to Leaderboard
Papache

apache/pinot

Distributed columnar OLAP for real-time SQL analytics and vector retrieval

Engineering Health (Methodology)
A+ · 98/100
Maintenance Activity
● Updated today
Latest Release
release-1.6.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption23/25
Release Cadence20/20
License Clarity20/20
Self-HostedDockerAPI
Total Stars
★ 6,181
24h Growth
+0
7d Growth
+6
Forks
1,538

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

apache/pinot Star History (2020-01-13 - 2026-12-03) ALL-TIME STAR HISTORY (2020-01 – 2026-12) +3.9k in 2516d · avg +2/day 6.4k 4.1k 1.8k 2020-01-13: ★ 2,3052020-06-20: ★ 2,4582020-11-21: ★ 2,6622021-04-24: ★ 2,8852021-09-25: ★ 3,4222022-02-26: ★ 3,6602022-07-30: ★ 3,9742022-12-31: ★ 4,2182023-06-03: ★ 4,4662023-11-04: ★ 4,7402024-04-06: ★ 4,9972024-09-07: ★ 5,2842025-02-08: ★ 5,5442025-07-12: ★ 5,7602025-12-13: ★ 5,9332026-05-16: ★ 6,0482026-12-03: ★ 6,181 ★ 6.2k 2020-01 2023-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Apache Pinot is a Java, distributed columnar OLAP database. The controller handles table administration, brokers coordinate queries and combine results, and servers execute work against columnar data segments. Clients can submit SQL through REST. Batch and streaming ingestion feed the same segment-oriented serving architecture, so applications use SQL whether the source is Kafka or a batch store.

The Maven module layout separates pinot-query-planner and pinot-query-runtime from the server and segment layers. pinot-connectors and pinot-plugins separate ingestion and extension code from serving roles; pinot-segment-spi and pinot-segment-local distinguish segment interfaces from local implementation. Pluggable indexes put filtering, aggregation, text search, and vector retrieval on different access paths rather than forcing every workload through a vector index.

Key Capabilities & Differentiators

Pinot's strongest fit is interactive SQL over fresh, multidimensional data: filter events, group them by time or business dimensions, aggregate metrics, and join facts with dimensions or other facts. Kafka serves continuous input; HDFS and object stores such as S3, Azure ADLS, and Google Cloud Storage supply batch data. Columnar compression and indexes such as inverted, range, Bloom filter, and StarTree give operators different ways to reduce query work.

HNSW vector indexing adds candidate retrieval for semantic search, recommendations, and RAG. This means one datastore can serve vector retrieval and analytical SQL, but it does not supply embedding generation, reranking, or answer synthesis. If the application needs retrieval constrained by metadata, benchmark the actual query shapes rather than assuming vector search and SQL filters will meet the same latency target in combination.

Trade-offs & Limitations

The reason to choose Pinot over a managed vector service such as Pinecone is not vector search alone. It is the ability to serve fresh SQL aggregations and vector retrieval from one database while retaining control of ingestion and indexing. If retrieval is the only workload, that flexibility may not justify operating a distributed Java cluster and tuning segment layout and indexes.

With concurrent ingestion, aggregations, and vector lookups, measure tail latency, data freshness, and retrieval recall together. During a Lucene-format rollback, segment loading may rebuild text and HNSW indexes, consuming CPU and I/O and delaying availability. Recovery needs the original forward-index values; if they are missing, restore a compatible segment or rebuild from retained source data. Corruption and ordinary I/O errors fail the load rather than triggering format recovery.

Hardware & Deployment Guide

For a local trial, allocate at least 6 GB to Docker and run the apachepinot/pinot:1.6.0 image with QuickStart -type batch. The supplied example binds 127.0.0.1:9000:9000 for the query console and loads baseballStats, which is useful for checking SQL but does not exercise streaming or vector search. A production self-hosted deployment can use Kubernetes and the repository's helm/ assets; plan capacity around segment footprint, index builds, ingestion rate, and concurrent queries.

Release 1.5.1 is a dependency-focused security patch without API or wire-format changes. Release 1.6.0 adds CREATE TABLE, DROP TABLE, SHOW TABLES, and SHOW CREATE TABLE through the controller's /sql/ddl endpoint, plus materialized-view DDL and single-stage query rewrite. Treat the Lucene 10 transition separately: new text and HNSW indexes are not readable by Pinot 1.5.x or earlier. Prepare 1.6.0 as the earliest supported rollback target and retain the original forward-index values needed for recovery.

Ingestion: Kafka streams and batch input from HDFS, S3, Azure ADLS, or Google Cloud Storage.
Query path: Brokers coordinate SQL queries over server-hosted columnar segments; applications can use the REST interface.
Index selection: Inverted and range indexes support filtering, StarTree targets aggregations, and HNSW supports vector retrieval.
Release 1.6.0: The controller exposes table management through /sql/ddl; materialized views gain DDL and single-stage query rewrite.
Upgrade and rollback: Segment loading can rebuild incompatible Lucene text and HNSW indexes from retained forward-index values.
Best For

Teams serving live dashboards or agent-facing SQL over Kafka and batch data that also want vector retrieval in the same self-hosted datastore.

Skip If

You mainly need managed vector search, a complete RAG pipeline, or do not have the capacity to operate a distributed database.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedDockerAPI
docker run --rm --name pinot-quickstart \
  -p 127.0.0.1:9000:9000 \
  apachepinot/pinot:1.6.0 QuickStart -type batch

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
pinot ★6.2k+6JavaApache-2.0Distributed columnar OLAP for real-time SQL analytics and vector retrieval
weaviate17k+17Go—Go vector database for filtered hybrid retrieval in production RAG stacks
qdrant35.9k+135RustApache-2.0Rust vector database for filtered and hybrid RAG retrieval
LightRAG41k+110PythonMITGraph-backed RAG for cross-document retrieval and multimodal indexing

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/apache/pinot.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

apache/pinot Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about pinot

How does Pinot fit into a RAG pipeline?

Generate embeddings upstream, ingest them with the records Pinot should retrieve, and use Pinot's vector index for candidate retrieval. Keep reranking, prompt assembly, and generation in the application. The REST SQL interface also lets the application query live metrics from Pinot.

How much memory or VRAM should I budget?

The bundled Docker quickstart calls for at least 6 GB allocated to Docker; that is not a production sizing target. No GPU or VRAM requirement is specified for Pinot itself. Size the Java service using representative segment sizes, index footprints, ingest rates, and concurrent queries. Budget separately for any upstream embedding model.

Can I self-host Pinot commercially?

Yes. Apache-2.0 permits commercial self-hosting. If you redistribute Pinot or an image containing it, review the license and notice obligations, including the bundled dependency notices in the binary distribution. Self-hosting still leaves access controls, upgrades, and data governance with your team.

When should I choose Pinot over Pinecone?

Choose Pinot when live SQL aggregations and batch or stream ingestion matter alongside vector retrieval. If managed vector search is the primary requirement, evaluate Pinecone first. Compare on your own data: measure retrieval recall and tail latency with ingestion active, and account for cluster operations separately.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining apache/pinot? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature apache/pinot on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare