> For the complete documentation index, see [llms.txt](https://docs.decube.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decube.io/overview/getting-started/metadata-collection-schedule.md).

# Metadata collection schedule

Set how often Decube collects metadata from each data source, and trigger a collection when you need the Catalog updated straight away.

Decube collects metadata from each connected data source on a schedule. Each collection picks up the schemas, tables, columns and, for ETL sources, job runs that populate the Catalog. Every source has its own schedule, so you can keep a business-critical source current while collecting less often from the rest. Longer intervals mean fewer metadata scans and less load on your warehouse, which matters most in large environments with many tables.

## Schedule options

New sources collect metadata every 24 hours by default. You can set the schedule to every 1 hour, 12 hours, or 24 hours.

You can also trigger a collection at any time, on top of the schedule.

{% hint style="info" %}
Only the source data owner can change a source's schedule or trigger a collection. The source's page shows its owner under **Current data owner**. If you don't own the source, ask its data owner to make the change.
{% endhint %}

## Change the schedule

<figure><img src="https://1779874722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTw0qpCVzfrIXqS4FEg4T%2Fuploads%2Fgit-blob-2fb0d31acc00147d7ac624aece32627158439124%2FSCR-20261026-jsic.png?alt=media" alt=""><figcaption><p>Trigger collection or change the collection schedule through the modification of data sources.</p></figcaption></figure>

1. Go to **My Account** > **Integrations** and select the **Data Sources** tab.
2. Select the source you want to change.
3. On the **Credentials** tab, scroll to **Metadata Collection Schedule**.
4. Select a schedule and click **Update schedule**.

## Trigger a collection now

A manual collection updates the Catalog without waiting for the next scheduled run. Use it when you've just added a table or column and want to start monitoring it.

1. Go to **My Account** > **Integrations** and select the **Data Sources** tab.
2. Select the source.
3. Click **Trigger metadata collection** at the top of the page.

New assets appear in the Catalog once the collection finishes.

## What follows the schedule

Only features that rely on metadata collection follow the schedule. Data quality monitors that query your data run on their own schedules and are not affected.

| Feature                                                                                                                                               | Follows the schedule | What you see                                                                                                               |
| ----------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| **Catalog assets**                                                                                                                                    | Yes                  | New, changed and removed tables and columns appear in the Catalog after the next collection.                               |
| [**Schema change events**](https://docs.decube.io/catalog/data-catalog/schema-change-events.md)                                                       | Yes                  | Decube logs events at each collection. A source set to every 12 hours logs change events every 12 hours.                   |
| [**Schema Drift monitors**](https://docs.decube.io/data-quality/how-to-set-up-monitors/set-up-schema-drift-monitors.md) (Data Quality Classic)        | Yes                  | Decube detects schema changes at the next collection. On the 24-hour default, that can be up to 24 hours after the change. |
| [**Job Failure monitors**](https://docs.decube.io/data-quality/how-to-set-up-monitors/set-up-data-job-job-failure-monitors.md) (Data Quality Classic) | Yes                  | Decube detects failed jobs at the next collection, with the same delay.                                                    |
| **Freshness, Volume, Field Health and Custom SQL monitors**                                                                                           | No                   | Each monitor runs on its own schedule. An hourly monitor still runs, and collects its metrics, every hour.                 |

{% hint style="success" %}
If you need schema changes or job failures reported close to real time, set that source to collect every hour and leave the rest on a longer schedule.
{% endhint %}

## Frequently asked questions

#### A new table or column doesn't appear in the Catalog

New assets appear in the Catalog after the next metadata collection. [Trigger a collection](#trigger-a-collection-now) from the source's page. Once it finishes, the asset appears and you can create a monitor on it.

#### A monitor shows an errored last run after a table or column was deleted

If a table or column is deleted in the source between collections and a monitor still runs against it, the monitor's last run status becomes errored. Update the monitor to point at a valid asset, or delete the monitor.

#### My Schema Drift alert arrived later than expected

Schema Drift monitors pick up changes at the source's next metadata collection. On the 24-hour default, a delay of up to 24 hours is expected. To detect changes sooner, [change the schedule](#change-the-schedule) to a shorter interval.

#### Does a longer collection schedule make my data quality monitors run less often?

No. Freshness, Volume, Field Health and Custom SQL monitors keep their own schedules and are not tied to metadata collection. Only Schema Drift and Job Failure monitors (Data Quality Classic) and schema change events follow the collection schedule.

## Related pages

{% content-ref url="/pages/z3BFhlGsIrPuVfFBkrA3" %}
[How to connect data sources](https://docs.decube.io/overview/getting-started/how-to-connect-data-sources.md)
{% endcontent-ref %}

{% content-ref url="/pages/LVCcofoyHofHaXCMAQNY" %}
[Schema change events](https://docs.decube.io/catalog/data-catalog/schema-change-events.md)
{% endcontent-ref %}
