What Altinity Customers Pay for P99 Degradation Beyond the License Fee

Mutation debt, cold reads, and LIST calls inflate P99 beyond the license fee.

· 8 min read · Updated
Cover illustration for “What Altinity Customers Pay for P99 Degradation Beyond the License Fee”
Total Cost of Ownership · November 14, 2026 · 8 min read · 1,800 words

Flat P99 latency at terabyte scale depends on controlling background rewrites, cold reads, and request amplification alongside buying compute headroom. In managed analytics, the license fee leaves out costs that can accumulate while ordinary dashboards look healthy. The full bill includes redundant storage, object-storage requests, and the risk of a production incident, and each can drive up the cost of the others.

Why P99 latency is the wrong metric to watch alone

A fintech company’s real-time analytics degraded over two weeks while memory use was moderate, CPU use was moderate, and disk space was ample. The usual dashboards offered no clear warning. Yet work was accumulating beneath those healthy readings, creating a problem that spare capacity alone did not explain.

Why can the median stay fast while P99 spikes? Tail latency affects a subset of queries. A distributed query has to wait for its slowest shard, even when the cluster average looks fine. An interactive dashboard exposes that weakness repeatedly because a page can issue many queries, increasing the chance that one panel waits on a slow response. P99 reveals the user’s experience, but it does not identify the work already accumulating behind it or the cost of that work.

How mutation queues silently accumulate a rewrite tax

The fintech company had seven mutations queued over that period, each rewriting a large share of a 2TB table. A mutation schedules a background rewrite of every affected data part, so a change that sounds small at the application level can require substantial storage work. When new mutations arrive faster than existing ones finish, the queue continues to grow. The size of the table being rewritten therefore changes the economics of an update, even if the incoming change itself is modest.

That work competes with queries for I/O and merge bandwidth. It need not produce an obvious warning in aggregate CPU, memory, or disk-space readings to delay a subset of live requests. Free disk space, for example, does not show how much rewrite work is still waiting to be done.

The cost also extends beyond the first rewrite. Each unresolved mutation adds to the merge backlog, and a large backlog slows future merges. This is mutation debt in a literal operational sense, because unfinished work makes later work harder to complete. That debt takes up background I/O and merge bandwidth and makes queries run more slowly. No separate invoice needs to say “mutation debt” for the workload to be consuming resources that could otherwise serve queries.

What cold-tier reads actually cost when a node restarts or scales

Mutation debt begins on the write side, but cold-tier reads can produce a similar P99 pattern from the read side. A query that needs data from S3 can be orders of magnitude slower than one served from hot local storage. Most queries may still be fast. The occasional cold read then looks like an unexplained outlier, particularly when CPU and memory readings offer no obvious clue.

Adding replicas can make this problem worse before it makes it better. Each new replica starts cold, so scaling to handle load adds cold reads just when demand is already putting pressure on the system. A node restart creates the same exposure to data that is not yet cached locally. The path from storage to the new node remains part of the query’s waiting time.

Using replica-local storage to avoid those reads adds another cost. On self-managed clusters, scaling from three to eight replicas on a ten-terabyte working set drives up spending on EBS or equivalent local-storage, while keeping the same data in object storage costs a fraction of what those local copies cost. The extra disks are caching data that already exists elsewhere, which is a duplication that separating compute from storage and serving reads from a cache over object storage aims to avoid. Without a shared cache, the attempt to keep each replica warm ties storage spending to the number of replicas.

S3 request economics and how LIST amplification becomes a five-figure daily bill

Cold reads expose the time spent fetching data, but S3 also charges for requests. LIST operations are priced per thousand calls, making the number of operations a separate cost from the amount of data stored. Compute dashboards do not show that distinction. A cluster can have healthy memory and CPU readings while the way it reads from storage runs up a large request bill.

Small parts accelerate that request growth. In the query patterns described here, more LIST calls are needed to enumerate the same logical volume when the data is split into smaller parts. Failed calls that are retried multiply the count further. Wildcard-based access can compound this pattern, turning enumeration into expensive repeated work.

One analytics platform spent most of its monthly S3 bill on LIST requests before it removed wildcards, added projections, and tuned merge settings for larger parts. Its monthly cost then fell dramatically. That example establishes the mechanism, but it does not supply a daily dollar total that would substantiate a five-figure daily charge. The distinction is important for budgeting without overstating the evidence. A large dataset or high query volume is not required for LIST amplification, because the wrong access pattern combined with small parts can make requests dominate spending.

Replication slot bloat and how a lagging CDC pipeline crashes the upstream database

When Debezium or another log-based CDC consumer falls behind, its PostgreSQL replication slot keeps the write-ahead log segments it still needs from being deleted. WAL accumulates until the consumer catches up or the slot is dropped. If accumulation exhausts storage, the production database can crash. The analytics service is no longer the only system at risk.

That risk is easy to misread from downstream dashboards. Queries may still run and ingestion may still be metered while the production source approaches a storage failure. A delayed pipeline can therefore look like a freshness problem when it is also a production availability problem. Instead of another analytical infrastructure charge, the cost arrives as incident response and production downtime.

The rate of accumulation also depends on the source’s write activity. A busy production database can generate substantial WAL in a short window while a consumer is stalled or disconnected. Nothing about that mechanism confines the danger to low-traffic periods. A service that answers analytical queries promptly can still be attached to a CDC pipeline that is putting its production source at risk.

Why these costs compound rather than add

The strongest connection between these costs is part size. Mutation backlog slows merges, leaving small parts that amplify LIST requests in the affected access patterns. Errors lead to retries, which add more calls. The costs are not independent line items. A team that cuts request amplification but leaves the merge debt behind small parts in place can face the same bill again.

A cold restart adds pressure at the wrong moment. The new node must fetch cold data while the existing merge backlog is already competing with live queries for I/O and merge bandwidth. Both now drive up P99, while cluster averages can still hide the node or queries that are slow. CDC adds an external consequence if its consumer also falls behind, though a latency spike alone does not establish that link. These costs interact through a chain of conditions.

What a shared cache layer eliminates from this cost structure

A three-layer model separates compute, a shared cache, and object storage. When one replica reads a data part, the shared layer caches it once, allowing another replica to read that cached part without another S3 fetch. The cache survives changes to the compute layer. A new replica can use data already in the shared layer without having to rebuild its own local cache. That removes the replica-local cold-start penalty for those cached parts.

Compute-compute separation addresses the redundant-storage expense from another direction. Multiple compute services can point at the same underlying storage, so operators pay for each service’s RAM and CPU without also paying for a separate copy of the data. Scaling another service purchases compute while storage stays shared. It separates the resources needed to execute more work from the copies previously used to keep that work close to each replica.

Those benefits have a defined scope. A shared cache removes repeated fetching of cached parts and the need for redundant replica-local copies, but those properties do not themselves resolve queued mutations, poor LIST access patterns, or a stalled replication slot. A cache hit is not a completed rewrite. Keeping those distinctions clear prevents an architectural improvement from becoming an unsupported promise of flat P99 for every workload.

BigQuery illustrates a different limit imposed by the query path. Its slot-assignment and plan-distribution overhead can be unobtrusive for analyst workloads yet disqualifying for API endpoints with tight latency budgets. The query alone does not set the minimum response time. For teams comparing architectures, that makes the execution path as relevant as compute capacity. It also brings the staffing cost into view, because distinguishing merge debt, a hot shard, and request amplification requires expertise that otherwise gets purchased through incident time.

How to audit your own cluster before the bill compounds further

Start with mutation queue depth, then look at part size distribution, S3 request logs, and CDC slot lag. That order follows the feedback loop. Mutation debt can keep parts small, and small parts can keep request amplification high, so a team that looks only at the final bill may leave the cause of that bill in place.

For the mutation queue, the central question is whether queued work is accumulating faster than it finishes. Part-level instrumentation then shows whether small data parts are being merged into larger ones. S3 request logs provide the next connection. They let the team see the request pattern behind storage charges rather than assume that a higher bill means more data is stored. These views are useful together because each exposes a different stage of the same chain.

CDC slot lag needs a production-risk interpretation. Monitor it and alert when it exceeds the applicable threshold, with that alert in the same runbook as disk pressure. The notes do not provide a numeric threshold to apply universally. The alert should flag retained WAL before a downstream delay leads to an incident in the source database. Query availability alone cannot serve as that warning.

Cluster-level metrics are not enough for this audit. Query-level and part-level instrumentation are needed, and most default monitoring setups do not enable all of those views out of the box. Where the team cannot yet connect latency, unfinished rewrites, request counts, and slot lag, a workload assessment is the logical next step. Its purpose is to identify which mechanism is consuming resources and which costs feed one another, so the next infrastructure decision addresses the source of the bill.

More in Total Cost of Ownership