Self Help Internal Tables
Overview
Section titled “Overview”The self help internal tables are the Explorer Insights client’s state and
configuration tables, stored in the internal schema. They record ETL runs,
extraction state, client configuration, and usage. Use them to check the state
of your data and to monitor the ETL process.
Each table below links to its definition, which describes its purpose, usage, common scenarios, and example queries. The accompanying schema page documents its columns and types.
| Table | Description |
|---|---|
| agreement_organisation_status | Data sharing agreement and organisation details, and whether extraction can proceed. |
| alembic_version | The database schema version currently applied to the state management tables. |
| application_logs | Events written by the Explorer Insights client, used for troubleshooting and monitoring. |
| backfill_state | The progress and status of manually initiated table backfills. |
| enhanced_sharing_agreement | Agreements linking a requesting organisation to one or more sharing organisations. |
| extract_run | Each end-to-end execution of the ETL process, with its start and end times and status. |
| extract_run_batches | Batches of work created for a table in an extract run, with expected and actual row counts. |
| extract_run_tables | The tables and organisations processed in an extract run, and their status. |
| extract_table_state | The current extraction state for each table and organisation, including whether a backfill is required. |
| insights_client_project_config | Project-level configuration for multi-schema extraction. |
| insights_client_table_config | Table-level configuration for projects in multi-schema setups. |
| status | The status identifiers and names used by the ETL state tables. |
| table_inclusion | The source tables for each organisation and whether each one is enabled for extraction. |
| user_metrics | Daily query-usage totals for users and accounts in Explorer Insights. |