Skip to content

Data Exporter ​

Overview ​

Data Exporter is the OR data extraction and delivery service — responsible for exporting operational and analytical data from OR data warehouse and making it available to external consumers via secure download links. It serves as the primary interface between OR internal data stores and external analytics environments.

The service operates in two modes: an on-demand API-triggered export that generates data files for a requested time range, and a scheduled config-driven export that runs daily. Both modes extract data from the analytics warehouse, apply PII removal and data classification filters, write files to cloud storage, and expose download links through OR API.

Data Exporter is tightly coupled with Post Monitoring, which maintains the warehouse schemas that Data Exporter reads from. Together, they form OR historical data pipeline — Post Monitoring handles the ETL into the warehouse, while Data Exporter handles the extraction to external consumers.

Architecture ​

The service operates in two modes: on-demand exports triggered through OR API, and scheduled automated exports that run daily. It integrates with OR data warehouse, cloud storage, and central orchestration service.

Key Components ​

  • On-demand Export — API-triggered export flow. Accepts a time range, generates a request ID, executes warehouse queries to create data files, and returns secure download URLs.
  • Config-driven Export — Scheduled export flow running daily. Reads export configuration, applies data classification rules, and exports tables to cloud storage.
  • PII Removal — Strips personally identifiable information during the export transformation step before data leaves OR boundary.
  • Data Classification Engine — Filters exported columns and rows based on classification rules (no restrictions, mixed, do not export, handle with care).
  • Warehouse Export — Executes optimised warehouse queries to export results directly to cloud storage in efficient file formats.

Connections ​

DirectionServicePurpose
InCentral Orchestration ServiceTriggers on-demand export requests
InAutomated SchedulerTriggers scheduled daily exports
InData WarehouseSource data for exports
OutCloud StorageData file storage and secure URL generation
OutConfiguration StoreExport configuration (config-driven mode)
OutNotification ServiceSuccess/failure notifications for scheduled exports

Data Flow ​

On-demand Export ​

External requesters (such as analytics systems) submit export requests with a time range through OR API. The Data Exporter generates a request ID, queries the data warehouse with PII removal filters, writes the results to cloud storage, and tracks progress. Upon completion, it generates secure download URLs (valid for 1 day) grouped by table and returns them to the requester.

Config-driven Export ​

The scheduled export runs daily, reading export configuration and data classification rules. For each enabled table, it builds filtered queries, applies classification filters, exports data to date-partitioned cloud storage, and updates status tracking. After all tables complete, it sends success/failure notifications.

Export Operations ​

The service provides on-demand and scheduled export capabilities accessible through OR API. On-demand exports generate data files for requested time ranges and return secure download links for accessing the exported data. Export progress can be tracked through status queries that report completion percentage and provide access to results when ready.

Exported data is made available through secure, time-limited download links that ensure controlled access to operational information.

Data Classification ​

The service uses a multi-layered classification system to control what data is exported. Classification rules ensure that only appropriate data is included in exports, with automatic filtering based on data sensitivity, source restrictions, and operational requirements.

Exports apply privacy controls including PII removal and source-specific handling rules before data leaves OR boundary. Each export operation is tracked through its lifecycle to ensure reliable delivery and provide visibility into export status.

Data Storage ​

Exported data files are stored in secure cloud storage with date-based organisation and automated retention policies. Files are organised to support efficient retrieval and integration with external analytics systems.

Exploratory Data Analysis (EDA) ​

Data Exporter supports EDA workflows through query service integration. The exported data is cataloged and made queryable for ad-hoc analysis without impacting the production warehouse. This enables analysts to explore historical data using standard query languages while the export process continues to serve regular scheduled extractions.

Known Constraints ​

  • String length limits — The data warehouse has maximum character length constraints. Large geospatial fields are optimised through coordinate rounding and compression.
  • Duration limit — On-demand exports cannot span more than 1 day.
  • Concurrency — Export operations are limited to prevent warehouse overload during peak usage.
  • Retry behaviour — Failed export operations are retried a configured number of times before being marked as failed.

Troubleshooting ​

Request Progress Not Advancing ​

Cause: Data Exporter pod terminated due to too many concurrent requests, preventing export operations from completing.

Resolution:

  1. Retrieve the troubled Request ID from the export request
  2. Contact your administrator to clear the stalled request from the system
  3. administrator will restart the Data Exporter service
  4. Resubmit the export request with the same start and end time range

TIP

Platform administrators have access to diagnostic tools for clearing stalled export requests. If you experience repeated stalls, contact support to investigate concurrency limits and resource allocation.

  • Post Monitoring — Upstream ETL service that maintains the warehouse schemas Data Exporter reads from
  • Batch Ingestion — Manages reference data that Data Exporter may export; responsible for compressed field generation
  • Data Archiver — Manages PostgreSQL data lifecycle; data must be exported before archival
  • Data Recorder — Writes the live data snapshots that eventually flow through Post Monitoring to Data Exporter
  • Experiment Manager — Central coordination service providing the API for on-demand export triggers
  • Baseline Manager — Generates baseline data that may be included in exports

User documentation for Optimal Reality