Apache Pinot database services for production teams.
JusDB provides Apache Pinot database services for scoped projects, ongoing remote DBA coverage, and production support. Our engineers handle real-time ingestion, upserts, table and index design, query tuning, upgrades, and migrations on your own servers, Kubernetes, and StarTree Cloud. 24x7 on-call is available under your service agreement.
Or request a free audit of one database instance. Already in an incident? See how incidents are handled.
- NDA before access
- Read-only by default
- Changes measured against your baseline
Apache Pinot version status
Pick the version you run
Apache Pinot 1.6.0
Newest releaseThe current stable release, published in October 2026. Its services need Java 25 or later, while Java clients still run on Java 11.
It drops the native text and FST indexes for the Lucene ones, plus TEXT_CONTAINS and the Kafka high-level consumer, so affected tables and queries change first.
Plan a Pinot upgradeApache Pinot 1.5.1
Previous releaseA security patch for 1.5.0, published in June 2026, with dependency updates only and no functional changes.
Pinot 1.0 to 1.5.x run on Java 11 or later, so moving to 1.6.0 also means Java 25 on every service.
Plan the Java 25 moveApache Pinot 1.4.0
Older releasePublished in September 2025. It introduced pauseless consumption, which keeps ingesting while the previous segment is built and uploaded.
1.5.0 removed the Kafka 2.0 plugin and made Kafka 3 the default consumer, so we check stream configs before the upgrade.
Plan the upgrade off 1.4.0Version status from the Apache Pinot version reference, the Pinot release notes, and the project's GitHub releases, checked 28 October 2026.
- Platforms
- Your own servers, Kubernetes with the Pinot Helm chart, and StarTree Cloud
- Replication
- Segment replicas on separate servers, and a controller leader elected through Apache Helix
- Incidents
- Initial-response targets are set in your service agreement. See the targets
Symptoms
Eight Apache Pinot problems we are asked to fix
Each one has a cause we can measure. The scoping call starts from the symptom you see and the version, table type, and platform you run.
Fresh rows can stall for minutes at each segment commit because consumption stops while the finished segment is built and uploaded, unless pauseless consumption (Pinot 1.4.0 and later) is on.
Upsert queries return duplicate rows for one key because the producer did not key Kafka messages by the primary key, so versions of one record landed in different partitions.
Server heap grows with every new primary key because an upsert table keeps each key's newest row location on the heap, at roughly the key size plus 24 bytes per key.
Star-tree indexes that queries never use because a query uses one only when its filters, group-by columns, and aggregations all match the configuration.
Too many small segments slow queries because a low flush threshold commits tiny segments, and no MergeRollupTask merges them.
Large joins fail with out-of-memory or row-limit errors because the multi-stage engine keeps intermediate results in memory and does not spill them to disk.
Backups that skip ZooKeeper cannot restore the cluster because Pinot keeps table configs, schemas, and segment metadata there, and the deep store holds only segment files.
The upgrade to 1.6.0 is blocked on Java because 1.6.0 services need Java 25 or later, and custom plugins built for older releases must be recompiled.
If one of these is costing your team time, a scoping call is the place to start.
Book a 30-min scoping call (opens Google Calendar in a new tab)Upserts
How an untested scale-out breaks Pinot upserts
An upsert table keeps one valid row per primary key by tracking each key's newest row on the server holding its stream partition. That holds only while the stream is keyed by the primary key and each partition stays on one server.
One upsert partition, three outcomes
Choose a state to see which rows a query returns.
Broker routing
strictReplicaGroup routing reads every segment of a partition from the same server.
Partition 0, older segments
On Server 1, which tracks the newest row for each key
Server 1
Partition 0, consuming segment
Also on Server 1, so a new version replaces the old row
Server 1
Broker
Reads all of partition 0 from one server
One row per key
Each key has one valid row, and the comparison column decides which event is the newest.
Broker routing
Servers joined without a stored instance assignment, so new partition 0 segments can be assigned to Server 3.
Partition 0, older segments
Still on Server 1, which cannot see the newer row for key 42
Stale row
Partition 0, consuming segment
Now on Server 3, which cannot see the older row for key 42
Duplicate row
Broker
Reads partition 0 from two servers
Duplicate or stale rows
Each server keeps upsert metadata only for the segments it holds, so queries can return duplicate or stale rows for key 42.
Broker routing
strictReplicaGroup routing, with the partition-to-server mapping stored in ZooKeeper.
Partition 0, older segments
Stay on Server 1 until a planned rebalance moves the whole partition
Server 1
Partition 0, consuming segment
Assigned to Server 1 by the stored instance assignment
Server 1
Broker
Reads each partition from one server
One row per key
Partitioned replica-group instance assignment keeps all of a partition's segments on one server per replica group. We rehearse each rebalance on a copy first. It still needs a stream keyed by the primary key, and the default consistency mode can show a slightly off count while upserts apply.
We start upsert tables at the stream. The producer keys each message by the primary key, or an Apache Flink job repartitions a stream that cannot be keyed at the source. The topic starts with at least two to three times as many partitions as servers, because an upsert table cannot change its partition count later.
We store the instance assignment with partitioned replica-group assignment, route with strictReplicaGroup, and keep Adaptive Server Selection off for upsert tables. We alert on upsertPrimaryKeysCount against heap, enable validDocIds snapshots and preload for faster restarts, and rehearse every scale-out on a copy of the table first.
What we cover
Full-spectrum Apache Pinot engineering
From one slow dashboard query to a new real-time table, every change is measured against your baseline.
Real-time Kafka ingestion
Real-time tables that keep up with your topics.
- Flush thresholds set by rows, time, or segment size
- Pauseless consumption on Pinot 1.4.0 and later
- Kafka 3.x and 4.x consumers, plus Kinesis and Pulsar
Upserts and deduplication
Tables that keep the newest row per primary key.
- Full and partial upserts, with comparison columns for late events
- Primary key counts tracked against server heap
- UpsertCompactionTask to remove replaced rows
Schema and index design
Indexes chosen from the queries you run, then tested against them.
- Star-tree split order and aggregations matched to your dashboards
- Inverted, sorted, range, bloom filter, and JSON indexes
- Changes applied by segment reload or RefreshSegmentTask
Segment lifecycle and storage
Segments sized for your queries, merged as they age, and moved to cheaper servers.
- MergeRollupTask to combine small segments
- RealtimeToOfflineSegmentsTask for hybrid tables
- Age-based tiers on separate server tenants
Cluster HA and monitoring
Replicated segments, more than one controller and broker, and alerts on ingestion lag, heap, and query latency.
- A replication factor above 1, so each segment lives on more than one server
- A ZooKeeper ensemble, with Apache Helix electing the controller leader
- Prometheus and Grafana dashboards
Migration and upgrades
Moves from Apache Druid, ClickHouse, or a warehouse, and upgrades, each with a rollback plan.
- Upgrades in the documented order: controller, broker, server, then minion
- Java 25 for 1.6.0 services, with custom plugins rebuilt
- Query results compared before cutover
Incident support
A critical (P1) page, answered within your agreement's target
JusDB keeps your recovery procedures (runbooks) written down, so an incident starts from a known plan instead of a blank page.
Initial-response targets
2 to 4 hours
Business hours
During covered business hours
30 minutes
24x7 on-call
P1 incidents
Our engineering team is in India; business-hours coverage is Mon–Fri 09:00–18:00 IST (UTC+5:30), and 24x7 on-call is available under your service agreement.
Initial-response targets, not resolution guarantees. The target for your engagement is set in your service agreement.
What happens on a P1 page
Page
You page the on-call engineer
Through the escalation path your service agreement names.
Triage
Root cause from the controller API, Helix state, and server metrics
Stuck consuming segments, ingestion lag, and slow queries traced to the segment behind them.
Mitigate
Stabilize first, from the runbook
Pause consumption, force-commit the consuming segments, or rebalance a table off a failing server, then fix the cause once production is steady.
After
A review after every P1
What happened, why, and the change that stops it happening again.
Before and between incidents
- Your setup, written down firstDuring onboarding we record your Pinot version, tables, stream configs, and deep store, so an incident starts with context.
- One escalation path, in writingYour service agreement names how to reach the on-call engineer and in which hours.
- Reviews between incidentsWe review ingestion lag, segment sizes, upsert heap use, and query latency, and report open risks with recommended next steps.
- Version dates trackedWe track each Pinot release's upgrade notes, Java requirement, and removed features, and plan upgrades before a removal blocks you.
Process
How an Apache Pinot engagement runs, step by step
Written findings come before any change. Your team approves production changes, except routine actions you have pre-approved.
Scoping call
Your Pinot clusters, versions, tables, streams, and what you need covered.
Read-only review under NDA
Our engineers use named accounts with only the permissions the review needs, then read your table configs and schemas, controller API and Helix state, server metrics, and broker query statistics.
A written report before any change
Each finding comes with the change we propose, how we will measure it, and a way to undo it (a rollback plan).
Changes, then handover
We rehearse risky changes on a copy of the table, apply them in the windows you approve, measure them against the baseline, and hand over updated operating instructions (runbooks).
Step one is a 30-minute scoping call.
Book a 30-min scoping call (opens Google Calendar in a new tab)Ways to work
Choose the Apache Pinot service your team needs
Start with the responsibility you need covered. Each engagement has its own scope, deliverables, access requirements, and acceptance criteria.
Projects
Scoped Apache Pinot projects
A defined piece of work with written findings, hands-on changes, and validation against your baseline.
- Apache Pinot consultingWorkload fit, table and segment design, star-tree choices, and capacity, scoped as one project.
- Performance tuningSlow queries, index choices, segment sizes, and broker routing, measured before and after.
- Migration and upgradesMoves to Pinot and version upgrades, each with a rollback plan.
- Apache Pinot on KubernetesThe Pinot Helm chart, server storage, ZooKeeper, and rolling upgrades.
Ongoing
Ongoing coverage and support
JusDB monitors the databases, carries out the agreed maintenance, and responds to incidents during the coverage the proposal names. The team keeps a change record, recovery procedures, and a review after every P1.
Where your Apache Pinot runs, and the tools around it
Your team and ours
What a managed Apache Pinot service still leaves to your team
Managed cloud databases automate much of the infrastructure layer, but your team still owns query performance, capacity, cost, and incident decisions.
| Question | Managed cloud service | Your own servers or Kubernetes |
|---|---|---|
| Servers, ZooKeeper, and upgrades | The provider runs them. | Your team, or JusDB under your agreement. |
| Deep store and restores | The provider runs segment storage, backups, and restores. | Your team backs up the deep store and ZooKeeper together, because a restore needs both. |
| Table design, indexes, and slow queries | Yours. The provider runs the platform, not your schema or queries. | Yours. |
| Stream partitioning for upserts | Yours. The stream must still be keyed by the primary key. | Yours, plus server heap for the primary key map. |
| Versions and Java | The provider's schedule. | Your calendar. Pinot 1.6.0 services need Java 25 or later. |
Your team keeps control
- Set business priorities, application requirements, and release plans
- Approve production changes, except routine actions you have pre-approved
- Own your cloud accounts, access policies, and vendor relationships
- Decide when maintenance can happen and how quickly service must recover
- Move the work in-house or to another provider after your agreement's notice period, with your data returned or deleted and the transition help your agreement sets out (Terms, section 8)
JusDB handles the agreed database work
- Monitor database health, investigate alerts, and involve the right people
- Review query performance, replication, capacity, and backup health
- Carry out approved changes and update the operating instructions they affect
- Report completed work, open risks, and recommended next steps
Weighing StarTree Cloud against running Apache Pinot yourself? We compare both against your workload on a scoping call.
Book a 30-min scoping call (opens Google Calendar in a new tab)Further reading
Apache Pinot guides and a comparison
Guides from our blog on Pinot's architecture and on user-facing analytics, plus a comparison with Apache Druid.
Guide
Apache Pinot architecture: segments, indexes, and brokers
How segments move from consuming to committed, which index fits which filter, and how brokers route queries.
Guide
Apache Pinot for user-facing analytics
Kafka ingestion, star-tree indexes, and the table settings behind fast dashboards.
Comparison
Apache Druid vs Apache Pinot
Ingestion, indexing, and operations, side by side, for real-time analytics.
FAQ
Common Apache Pinot questions
What buyers ask about Pinot workloads, Kafka ingestion, star-tree indexes, and cluster setup.
Still have a question?
Ask it on a scoping call. No production access needed.
Book a 30-min scoping call (opens Google Calendar in a new tab)What is Apache Pinot and what workloads is it best suited for?
JusDB recommends Apache Pinot for analytics that many users query at once on fresh data, such as dashboards inside a product. Pinot is an open-source, distributed analytics database (OLAP) that suits filter and aggregation queries with known patterns. Heavy ETL-style joins fit an engine such as Trino or Spark better.
How does Apache Pinot ingest real-time data from Kafka?
JusDB sets up Kafka ingestion so each Pinot server reads its assigned partitions directly. Rows land in an in-memory consuming segment and can be queried at once. At a flush threshold on rows, time, or segment size, the segment is committed to the deep store and a new one starts.
What is a StarTree index and when should I use it?
JusDB recommends a star-tree index when your queries aggregate known metrics across known dimensions. Pinot pre-aggregates metrics such as SUM and COUNT for combinations of those dimensions in each segment. A query uses the index only when its filters, group-by columns, and aggregations all match the configuration. Exact DISTINCT_COUNT, exact PERCENTILE, and upsert tables cannot use it.
How does Apache Pinot compare to ClickHouse or Druid?
JusDB compares Apache Pinot, ClickHouse, and Apache Druid on your own queries, data volumes, and freshness needs. All three are column stores that can ingest from Kafka. Pinot stands out for upserts by primary key on streaming data and for the star-tree index. ClickHouse removes duplicate rows by sorting key during merges (ReplacingMergeTree), and Druid can roll rows up as it ingests them.
Can Apache Pinot handle batch and real-time data in the same table?
Yes, and JusDB builds these as hybrid tables: an offline table for batch segments and a real-time table for stream segments, under one name. The broker reads offline segments before a time boundary and real-time segments after it. Hybrid tables support full upserts only.
What does your Apache Pinot cluster setup include?
JusDB's Apache Pinot cluster setup covers a ZooKeeper ensemble, more than one controller, brokers, servers, and minions for background tasks. We configure the deep store, tables, indexes, replication, and stream ingestion, with Prometheus and Grafana alerts. Backups include the ZooKeeper metadata, because a restore needs it.
Next step
Talk to an Apache Pinot engineer about your databases
Tell us what is slow, fragile, or due to change. The first 30-minute call covers your databases, current ownership, and required coverage. No production access is needed. Or request a free audit of one database instance, subject to availability: mutual NDA before read-only access, a prioritized report within one week after access is ready, and no obligation.
NDA before access, read-only by default, and written scope first
Compare with other databases
If you are weighing alternatives, these are the databases most often compared with this one.
StarRocks
A direct peer for user-facing real-time analytics, with a different optimizer and storage layout.
ClickHouse
A columnar OLAP engine that overlaps Pinot for high-throughput aggregation. Teams usually compare ingestion latency and query concurrency.
TimescaleDB
A PostgreSQL extension for time series, a fit when relational joins on time-bucketed data matter more than raw OLAP throughput.
OpenSearch
For analytics built on log search and text aggregation, OpenSearch fits better than a columnar model.