How automated pre-mining views simplify data access in Monarch Server
This article explores how automated pre-mining views in Monarch Server eliminates manual overhead, simplifies data access and accelerates your insights. Discover how Monarch Server shifts your data as a ready-to-query asset, reducing the complexity of your data workflows.
When working with large-scale document data extraction and navigating pre-mining data storage schemas, getting data ready for analytics often feels like building a bridge while driving across it. As data scales across multiple pre-mined tables, pulling it together requires constant plumbing, manually stitching tables together and updating queries every time new document types or storage volume partitions come online.
Pre-mining is a filing task option in Monarch™ Server Report Warehouse. It enables the extraction and storage of structured, tabular data from a report during the filing and ingestion activity, using an assigned pre-mining model. Report Warehouse stores this data in its database while it files the report. When used consistently across all report ingestion activities, these tables reflect the data of all reports for that document type across the instance. (Note: If pre-mining was previously disabled or needs to be applied to legacy content, run a re-index maintenance operation to backfill historical reports.)
The primary intention of pre-mining is to support the dynamic view option for Monarch Server Report Warehouse client users with access to the feature. However, users can also access the underlying storage logic directly, bypassing the need to re-extract the rows from an ingested report each time.
If your team relies on Monarch Server, you’re likely familiar with this friction. But a powerful shift in how pre-mined data is handled is changing the game, removing the manual overhead and opening seamless integration for tools like Monarch Complete, Monarch Server Automator and Mendix.
Teams can ingest data once and make it available to many tools and use cases.
The bottleneck: the hidden cost of partitioned data
In Monarch Server, where a filing task includes the pre-mining option, the dynamic view and its pre-mining data are stored in separate tables, categorized by document type and partitioned by dataset count.
Historically, accessing that data for reporting or downstream analytics meant building and maintaining custom UNION-type structured query language (SQL) logic to consolidate those tables. Every time a new document type was invoked or an existing dataset was updated, the underlying queries required active maintenance.
For data engineers and administrators, this created a frustrating maintenance loop:
- Manual overhead: Writing and updating UNION statements for every partition change.
- Brittle connections: Risking broken reports or queries whenever document schemas or dataset counts shifted.
- Siloed insights: Making direct SQL Server connections cumbersome for external tooling.
The solution: automated views and dynamic partition management
To solve this, modern data pipelines are moving away from manual maintenance and toward dynamically created, automatically maintained pre-mining views.
Under this approach (implemented in Monarch Server 2025.1+), the system automatically handles heavy lifting during pre-mining ingestion and partition maintenance. For each document type, a single, unified view is automatically created and updated behind the scenes to perform the necessary table unions.
What this means for your workflow:
- Direct SQL access becomes practical: Instead of wrestling with multi-table joins and unions, tools like Monarch Complete, Monarch Server Automator or any preferred customer process can query a clean, single-view endpoint directly from SQL Server. You can also use additional SQL Server functionalities/security for more advanced scenarios (such as additional views using USER_NAME as part of a WHERE clause to restrict data returned).
- Set-and-forget maintenance: As pre-mined document types scale, update or evolve, the system dynamically manages the underlying partition tables. The manual upkeep vanishes.
- A unified endpoint for Mendix and beyond: These automatically maintained views serve as powerful, reliable endpoint data sources for low-code platforms like Mendix, while supercharging other data analytics applications like Intelligence Center X™ Graph Studio™ and Intelligence Center X AI Studio.
Spend less time plumbing, more time analyzing
Data architecture should accelerate your insights, not add to your to-do list. By automating pre-mining view management, teams can finally cut through the complexity of partitions and treat document data as a unified, ready-to-query asset.

Key benefits:
- Less repeat processing: Extraction during Report Warehouse filing allows for stored rows to be reused by multiple subsequent processes.
- Consistent extraction: Consuming processes start with the same consistent dataset produced by the original ingestion activity.
- Historical reuse: New workflows or data activities can benefit from previously pre-mined periods where data has been retained.
- Easier reconciliation/validation: The data can be traced back to the original report should there ever be a need to investigate lineage.
Whether you’re automating reports through Monarch Server Automator or building enterprise apps in Mendix, you can focus on turning raw, historical data into real value while the system handles data access.
All the products mentioned in this blog are part of the Siemens Xcelerator business platform of software, hardware and services. To learn more about Monarch Server and pre-mining, visit https://www.siemens.com/en-us/products/rapidminer/monarch/.