█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

Apache Pinot

यूज़र और एजेंट वाले ऐप्स के लिए SQL और vector search के साथ रियल-टाइम OLAP

Vector Databasesओपन सोर्स
भाषा
Java
लाइसेंस
Apache-2.0
$docker run --rm --name pinot-quickstart \
संक्षेप में

Apache Pinot क्या है?

Apache Pinot यूज़र और एजेंट वाले ऐप्स के लिए SQL और vector search के साथ रियल-टाइम OLAP. यह Retrieval & Knowledge (RAG) टूल्स की Vector Databases श्रेणी में आता है; ओपन सोर्स है, Java में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: batch quickstart container शुरू करें.

सारांश

Apache Pinot एक रियल-टाइम डिस्ट्रिब्यूटेड OLAP डेटास्टोर है, जो हाई कंकरेंसी पर भी कम लेटेंसी के साथ analytical SQL क्वेरी का जवाब देने के लिए बनाया गया है। यह Apache Kafka, Apache Pulsar और AWS Kinesis जैसे streams से, और Hadoop HDFS, Amazon S3, Azure ADLS और Google Cloud Storage जैसे batch sources से डेटा लेता है। दोनों को एक ही table में मिलाया जा सकता है, जिसे आप built-in query console या REST API के ज़रिए standard SQL से query कर सकते हैं।

Diagram of streaming, batch and SQL sources flowing into Pinot, which serves user-facing analytics, business metrics, anomaly detection and ad-hoc analysis.
Streaming, batch and SQL sources flow into Pinot, which serves user-facing analytics, metrics, anomaly detection and ad-hoc analysis.Apache Pinot README ↗

इस प्रोजेक्ट को LinkedIn और Uber के इंजीनियरों ने बनाया है। LinkedIn पर यह Who Viewed Profile और Talent Insights जैसे 50 से ज़्यादा user-facing products को चलाता है। README के अनुसार यह प्रति सेकंड लाखों events ingest करता है और millisecond latency पर प्रति सेकंड 100,000 से ज़्यादा क्वेरी serve करता है। यह column-oriented, horizontally scalable और fault-tolerant है, और Kubernetes के लिए Helm chart भी देता है।

AI workloads के लिए Pinot में similarity search वाला vector index जुड़ा है, इसलिए जो tables dashboards को डेटा देते हैं, वही semantic search, recommendations और retrieval-augmented generation के लिए भी काम आ सकते हैं। प्रोजेक्ट अपने ताज़ा और कम लेटेंसी वाले SQL को agent-facing analytics के लिए भी पेश करता है — यानी AI assistants और automated decision systems, जो रात के export के बजाय live डेटा को query करते हैं।

यह क्या करता है

  • पेटाबाइट-स्केल डेटा पर कम लेटेंसी वाला SQL, जिसमें README के अनुसार P90 latencies दसियों milliseconds में हैं
  • Kafka, Pulsar और Kinesis से रियल-टाइम ingestion, साथ ही Hadoop, Spark और S3 से batch ingestion, जिन्हें एक ही table में जोड़ा जा सकता है
  • Semantic search, recommendations और RAG के लिए vector similarity search index
  • Pluggable indexes: timestamp, inverted, StarTree, Bloom filter, range, text, JSON और geospatial
  • रियल-टाइम ingestion के दौरान upserts, fact/dimension और fact/fact joins, और built-in multitenancy
  • आधिकारिक Helm chart के ज़रिए Kubernetes पर cloud-native deployment

शुरू करें

README का Docker quickstart एक बंडल्ड baseball sample dataset के साथ single-container Pinot शुरू करता है। Docker को कम से कम 6 GB memory दें।

Batch quickstart container शुरू करें

पहली बार चलाने पर image download होती है और sample tables लोड होते हैं, जिसमें कुछ मिनट लग सकते हैं। logs में `***** Quick start setup complete *****` दिखने तक इंतज़ार करें।

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

Console में क्वेरी चलाएँ

http://localhost:9000/#/query पर query console खोलें और README का उदाहरण चलाएँ — यानी वे players, जिनके सबसे ज़्यादा home runs दर्ज हैं।

टेक्स्टटेक्स्ट
SELECT playerID, SUM(homeRuns) AS totalHomeRuns
FROM baseballStats
GROUP BY playerID
ORDER BY totalHomeRuns DESC
LIMIT 3;
Animated walkthrough of the Apache Pinot web console, browsing tables and running a SQL query in the query console.
Pinot's built-in console: browse tables and run SQL against them.Apache Pinot README ↗

Demo बंद करें

Container और उसका demo डेटा हटा दिए जाते हैं। Streaming quickstarts और Pinot चलाने के अन्य तरीकों के लिए docs में quickstart guide देखें।

bashbash
docker stop pinot-quickstart

या source से build करें

Pinot services को build और run करने के लिए JDK 25+ चाहिए। bin-dist और shaded-jar profiles binary distribution build करते हैं।

bashbash
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.sh

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • तब इसका इस्तेमाल करें जब कोई application अपने ही users को analytics दिखाता है और उसे कई concurrent क्वेरी का जवाब milliseconds में देना होता है
  • तब इसका इस्तेमाल करें जब कोई AI assistant या agent पुरानी warehouse copy के बजाय SQL से ताज़ा event डेटा query करना चाहता है
  • तब इसका इस्तेमाल करें जब आप RAG या recommendations के लिए vector similarity search उसी store में चाहते हैं जहाँ आपके real-time metrics रखे हैं
  • तब इसका इस्तेमाल करें जब Kafka से कई dimensions और metrics वाला time-series डेटा stream हो रहा हो

How Apache Pinot compares

Apache Pinot alongside other open-source vector databases tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
Supabase★ 116kManaged Postgres backend whose Vector toolkit (pgvector) stores, indexes, and queries embeddings next to transactional data.
Redis Cloud★ 77.9kFully-managed Redis with built-in vector search, offering low-latency similarity and hybrid queries over any embeddings.
Milvus★ 46.8kअरबों embeddings में बड़े पैमाने पर खोज के लिए एक ओपन सोर्स वेक्टर डेटाबेस
FAISS★ 42kdense vectors पर कुशल similarity search और clustering के लिए लाइब्रेरी
Qdrant★ 35.9kRust में लिखा, समृद्ध payload फ़िल्टरिंग वाला सिमेंटिक सर्च के लिए वेक्टर सर्च इंजन
Chroma★ 29.8kओपन सोर्स एम्बेडिंग डेटाबेस, जो रिट्रीवल और RAG फ़ीचर बनाने में मदद करता है
pgvector★ 23.9kPostgres के लिए ओपन सोर्स वेक्टर similarity search
Apache Pinot★ 6.2kयूज़र और एजेंट वाले ऐप्स के लिए SQL और vector search के साथ रियल-टाइम OLAP