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

Performance considerations

Understand where Minerva fits best, where it slows down, and when to use curated tables or Spark-based processing instead.

1. Scalability considerations

Fixed resource allocation

Minerva clusters are provisioned with predefined compute and memory resources.

Considerations

  • Resources do not automatically scale based on workload demand.

  • Increased workload may require manual cluster resizing.

  • Capacity planning is required for growing user bases and workloads.

Concurrent query execution

As the number of users increases, multiple queries compete for the same cluster resources.

Potential impact

  • Increased query wait times.

  • Resource contention during peak usage.

  • Dashboard queries may affect interactive analytics workloads.

Multi-user workloads

Shared clusters serving large numbers of users can experience performance degradation when executing complex analytical queries simultaneously.

Potential impact

  • Reduced responsiveness.

  • Longer dashboard load times.

  • Higher infrastructure requirements.

2. Query performance considerations

Cross-source joins

Minerva supports joins across different data sources and catalogs.

Example

  • Iceberg ↔ PostgreSQL

  • Snowflake ↔ SQL Server

  • BigQuery ↔ Iceberg

Considerations

  • Data movement between systems may be required.

  • Network latency can impact performance.

  • Large cross-source joins may execute significantly slower than joins within a single platform.

Memory-intensive operations

Certain SQL operations require substantial memory and compute resources.

Examples

  • Large joins

  • Window functions

  • Complex aggregations

  • DISTINCT operations

  • Large ORDER BY operations

Potential impact

  • Increased execution time.

  • Query failures due to insufficient resources.

  • Higher cluster utilization.

Connector dependency

Query performance depends heavily on the underlying data source and connector capabilities.

Factors affecting performance

  • Source system performance.

  • Connector implementation.

  • Predicate pushdown support.

  • Aggregation pushdown support.

  • Network connectivity.

Different connectors may provide different optimization capabilities.


3. View limitations

Logical views

Minerva views are logical definitions that store SQL statements rather than physical data.

Considerations

  • Data is not materialized.

  • Underlying queries execute each time the view is accessed.

  • Performance depends on the complexity of the view definition.

Potential impact

  • Slower dashboard performance.

  • Repeated computation of the same logic.

  • Increased cluster resource consumption.

Nested views

Views built on top of other views increase query complexity.

Potential impact

  • More complex execution plans.

  • Longer query execution times.

  • Increased difficulty in debugging and maintenance.

Cross-catalog views

Views referencing multiple catalogs or data sources may require distributed execution.

Potential impact

  • Additional data movement.

  • Increased latency.

  • Reduced query performance.


4. Data product considerations

Direct reporting on raw data

Building dashboards directly on raw operational or transactional datasets can lead to inefficient query execution.

Challenges

  • Large data scans.

  • Increased query latency.

  • Higher resource consumption.

Reporting layer requirements

For optimal performance, reporting workloads should leverage curated and pre-aggregated datasets rather than raw source tables.


5. Data engineering limitations

Not a full ETL processing engine

Minerva is designed primarily as a SQL query and analytics engine.

  • Large-scale ETL pipelines.

  • Heavy batch processing workloads.

  • Complex transformation pipelines.

  • Data-intensive processing jobs.

6. Operational considerations

Monitoring and troubleshooting

Performance issues may originate from multiple layers of the architecture.

Potential sources

  • Source systems.

  • Connectors.

  • Network infrastructure.

  • Cluster resources.

  • Query design.

Considerations

Root cause analysis often requires investigation across multiple platform components.

Last updated

Was this helpful?