For the complete documentation index, see llms.txt. This page is also available as Markdown.

Limits and performance

Size Athena workloads, control concurrency, manage costs, and plan for performance.

Set practical resource and concurrency limits before production demand grows. These guardrails protect workgroup stability and cost as workloads, API traffic, and BI usage increase.

Operational boundaries

Compute sizing

Workload
Guidance

Dev / reference retail dataset

Default workgroup; enforce scan limits in dev

Full backfill

Run during off-peak; watch data scanned in the Athena console

Daily incrementals

Partition or time-filter aggressively in SQL

Semantic API / BI

Separate workgroup optional (query vs. build)

Concurrency and API replicas

Athena workgroups have concurrent query limits. Align Vulcan concurrent_tasks and API replicas with your workgroup's quotas.

api:
  replicas: 2
  resources:
    limits:
      cpu: "4000m"
      memory: "3Gi"

Scheduling and latency floor

Recommendation
Why

Schedule after upstream lands in S3

Avoid partial external table reads

Prefer timezone: UTC in production

Avoid DST surprises

endOn ≥ 1 to 2 years out

An expired endOn halts the workflow silently

concurrencyPolicy: Forbid

Prevents overlapping incrementals

Athena's engine startup is usually lower than a cold Databricks warehouse start, but varies by query. The semantic API adds roughly 1.5 to 3 seconds of overhead (validate in your stack). Large scans are dominated by S3 read volume.

Performance reference

Validate on a known dataset and catalog scale before publishing SLOs. Measure data scanned per model run (the primary cost driver), plan/run duration (concurrency and partition design), semantic query wall time (API + scan volume), and incremental window width (bytes touched per run).

Flagged for review: the source manual committed to formal SLO targets, the same way the Redshift manual did, and the percentage values themselves were left blank in the source ("≥ %"). No other converted engine page states numeric SLOs. The table is kept below exactly as given, gaps included, rather than filled in with an invented number; decide whether these belong on this page, on a tenant-level SLA page, or should wait until they're validated and filled in.

SLO
Target

Scheduled incremental run success rate (IAM + Glue + S3 healthy)

≥ (value not specified in source)

vulcan plan / apply success (after Glue DB + S3 layout validated)

≥ (value not specified in source)

Semantic API availability

Same as the deployed Vulcan API track

Cold query after idle workgroup

Not yet measured; benchmark on your own workgroup (tpch_athena)

Athena cost and latency are shaped by scanned data and concurrency. Validate targets on a known dataset (tpch/tpch_athena: vulcan plan, an API smoke test) before committing to external SLOs.

Cost guardrails

Athena charges primarily for data scanned. Reduce scanned bytes before raising limits or adding capacity.

Workgroup limits

Set a bytes-scanned limit for every workgroup. Use a lower limit in development to catch unpartitioned queries early.

Set concurrency limits to match the workgroup quota and expected load. Reserve separate workgroups for scheduled builds and interactive workloads when they can compete.

Query timeouts

Set the workgroup query timeout to bound runaway queries. Set a shorter timeout for interactive workloads than for scheduled transformations.

Treat timeout failures as signals to improve filters, partitions, or query design. Do not resolve them by increasing the limit without checking scanned bytes.

Cost attribution

Use separate workgroups for each environment. Assign separate S3 result prefixes to retain an environment-level audit trail.

Tag DataOS resources with the engine and owning product. Use the same product identifier in AWS cost allocation tags and billing reports.

Storage

For external Parquet, apply S3 lifecycle rules to staging data and obsolete query results. Keep source retention separate from query-result retention.

For managed tables, design partitions around common filters. Compact small files and remove obsolete files through your organization's retention policy.

Last updated

Was this helpful?