Why Metabase sync and scan scheduling matters on large databases
On a large warehouse, the timing of Metabase's sync and scan jobs decides whether those jobs compete with analysts and data pipelines for database capacity. Metabase sets this timing per database: an admin opens the database under Connection and sync and chooses when syncs and scans run. Metadata sync reads the structure of the database, meaning the schemas, tables and columns Metabase can show people. Field scans go further: they sample values within fields so Metabase can learn things such as distinct values and filter options. The first is a catalog read, the second reads actual data, and on a large database the scan is usually the heavier job.
Both jobs issue queries against your warehouse, so they carry real cost even though they are not user dashboards. Metadata queries touch the system catalog, which is usually light, but a database with tens of thousands of tables can still produce a long run. Scans read table data, and the amount of work grows with table size and the number of fields Metabase has to examine. The result is that a job nobody thinks of as a report can slow a month-end load or hold a connection a pipeline needed. Teams should act on this page when a database has many schemas or very large tables, when warehouse owners report load spikes that line up with Metabase activity, when syncs run past their expected window, or before they add many new databases to one instance.
Before changing any schedule, confirm with your warehouse team which windows are quiet, which pipelines run at fixed times, and how your warehouse meters or throttles compute. Then review the sync and scan settings for each database and decide whether the default timing and scan behavior still fit. The sections that follow cover how to choose windows, when to turn scans off, how to limit the schemas Metabase reads, and how to troubleshoot a sync that runs too long.
Sync and scan options and when each fits
This table compares the per-database choices under Connection and sync in Metabase: sync timing, scan timing, turning scans off, and limiting schemas. Read each row for the warehouse load it reduces, the metadata or filter freshness it costs, and the team situation where it fits best.
| Option | Warehouse load it reduces | Trade-off in freshness | When it fits |
|---|---|---|---|
| Sync frequency and time | Metadata queries against the warehouse catalog, run on a schedule rather than continuously | New or altered tables and columns appear in Metabase only after the next sync | Schema changes are infrequent and a predictable off-peak window exists |
| Scan frequency and time | Queries that sample field values to populate filter dropdowns and field metadata | Filter values and field summaries can lag behind new data until the next scan | Filters rely on stable reference values, such as regions or product codes |
| Turning scans off | Removes field value scanning entirely for that database | Dropdown filters may be missing or stale, so users type values manually | Very large tables where scans are the main source of warehouse load and filters are rarely used |
| Limiting tracked schemas | Reduces the number of tables Metabase reads during sync and scan | Tables outside the selected schemas are not available for new questions | Warehouses with many unrelated schemas, staging areas or archived data |
| Combining sync timing with scan timing | Moves both kinds of metadata work into quiet hours | Freshness is lowest right after the working day begins if syncs run overnight | Shared warehouses where analysts and pipelines peak during business hours |
| Confirming behavior for your version | Depends on the options your Metabase version exposes per database | Option names and defaults can change between releases | Before changing settings in production, check the current sync and scan page for your instance |
How to set sync and scan times for a database
This sequence moves Metabase's metadata sync and field scans away from peak warehouse hours, turns off scans that nobody needs, and narrows the schemas Metabase reads, so the warehouse sees fewer and better-timed metadata queries.
Inventory the databases and their load profile
Before changing anything, list every database connection in Metabase and note which ones are large, which warehouse teams own them, and when their heavy reporting and batch loads run. Ask the warehouse owner for their peak windows and any maintenance periods, because these define the quiet hours you will target. Confirm the current sync and scan settings for each database so you have a baseline. The output is a short table of databases, owners, peak windows and current schedules that you can compare against later checks.
Open the database settings in admin
Sign in as an admin, open the Admin settings area, and go to Databases. Select the database you are changing and find the section for connection and sync settings. Menu labels and their location can differ between Metabase versions, so confirm the exact wording in your own instance against the sync and scan documentation before you edit. Record the values you see now so you can restore them if a change causes problems. The step is complete when the database settings page is open and the current values are noted.
Set sync and scan timing outside peak hours
In the sync and scan scheduling options for the database, choose a schedule that places metadata syncs and field scans in the quiet window you identified with the warehouse owner. Keep the schedule modest so that syncs do not overlap with batch loads or heavy dashboard refreshes. Save the change. Verification: reopen the database settings and confirm the saved schedule, then check the admin panel for the next scheduled run time and confirm it falls inside the quiet window you chose.
Verify the next run against warehouse activity
After the schedule is saved, wait for the next scheduled run and watch warehouse query activity during that window using your warehouse's own monitoring tools. Look for metadata queries from the Metabase service account and confirm they land in the quiet period rather than during peak load. Compare the observed timing with the next run shown in the Metabase admin panel. If the run lands in a busy window, return to the schedule step and adjust. The check is complete when the observed activity matches the scheduled time.
Turn off field value scans where they are not needed
Field value scans read distinct values from columns so that Metabase can offer filter dropdowns and search. For tables where users do not filter by those values, or where the columns hold large text or high-cardinality data, disable scanning in the database's scan settings. Keep scanning on for columns that analysts filter on often. Save the change and note which databases or tables you disabled and why. Verification: confirm the scan setting shows the new value in the database settings, and check that the next scan run no longer queries the columns you excluded.
Narrow the schemas Metabase reads
Where your Metabase version supports limiting which schemas or tables are synced, select only the schemas that analysts and dashboards use, and exclude staging, scratch and archive schemas. Confirm the exact option name in your version, because support and labels vary. Save the change, then open the table list in the data model to confirm excluded schemas no longer appear for new questions. The check is complete when the schema list reflects your selection and the next sync reads only the included schemas.
Confirm the sync finished and record the result
After the next sync completes, open the sync status for the database in Metabase and confirm it finished without errors. If a sync or scan runs long, use Metabase's troubleshooting guidance for slow syncs and scans to find whether the cause is the database size, the network, or a locked table. Record the final schedule, scan settings, schema selection and the observed warehouse window in your change log so the team can repeat or reverse the change. The step closes when the sync status is clean and the change log is updated.
Scheduling choices by warehouse situation
A large shared warehouse often serves batch pipelines, analysts and other applications at the same time. Metabase's metadata queries add to that load, so the main goal is to keep sync and scan work out of the hours when batch jobs and peak query traffic run. In Metabase, scheduling is set per database under Connection and sync, so you can give this warehouse a window that differs from smaller databases on the same instance. For illustrative purposes, if nightly loads finish in the early morning, a sync window that starts after they complete avoids competing with them.
- Set an off-peak sync window: Choose a time after batch loads finish and before analysts start their day.
- Prefer scheduled scans over frequent ones: Field value scans are heavier than metadata syncs, so run them less often on tables that rarely change.
- Limit the schemas Metabase reads: Exclude staging and scratch schemas that no dashboard uses.
- Stagger other databases: Avoid running several large databases' syncs at the same moment.
Check whether your batch jobs and your sync window overlap by comparing the Metabase sync logs with your pipeline schedule for a full week.
Some databases have a small set of tables that change constantly, such as an orders table that gains new columns or a reporting table rebuilt several times a day. For these, the risk is that Metabase's view of the schema or field values lags behind reality, so questions return stale field lists or missing filter values. The trade-off is that more frequent syncs keep the model current but add queries against a warehouse that is already busy with those tables. Focus on narrowing the work rather than running everything more often.
- Sync more often only for the database that needs it: Keep the schedule for the volatile database short and leave others on a slower cycle.
- Use a manual sync after known schema changes: Trigger a sync when a migration ships instead of waiting for the next scheduled run.
- Scope scans to the relevant tables: Limit schemas or tables so that frequent work touches fewer objects.
- Confirm the fingerprint and scan behavior: Check how often field values refresh for these tables against how often your data changes.
Confirm with your data team how often the tables change and whether the change is structural or only data, since the two call for different settings.
A database that exists only to power embedded or guest analytics has a different audience. The people viewing dashboards are end customers or external users, and no internal analyst browses the schema in the Metabase admin interface. Schema changes usually follow a release process that your team controls, so you may not need frequent discovery at all. The trade-off is that less frequent syncs reduce load but can leave newly added fields unavailable to the embedded questions until the next sync, so timing should follow your release calendar.
- Align syncs with releases: Schedule a sync shortly after each deployment that changes the schema.
- Reduce scan frequency: Field value scans matter less when filters use a fixed set of values.
- Keep the window quiet for customer traffic: Run syncs away from the hours when embedded dashboards see the most use.
- Review embedding settings with the sync plan: Confirm which tables the embedded questions read so you do not scan tables that no embed uses.
Confirm with your product team which tables are exposed to embeds and how the release calendar maps to your sync schedule before you change defaults.
Some databases hold schemas with personal, financial or health data. Here the main consideration is limiting what Metabase reads at all. Scans sample actual values to build filter lists and field metadata, so a scan over a sensitive column can expose data to the Metabase application database and to anyone with access to it. Excluding these schemas from sync and scan, and turning off scans on sensitive databases, reduces both warehouse load and exposure. The trade-off is that analysts lose filter suggestions and some automatic metadata for those tables, so the data model may need manual curation.
- Exclude sensitive schemas from sync: Remove schemas that no approved dashboard needs.
- Turn off scans where values are sensitive: Metadata sync can remain on while field value scans stop.
- Document the decision: Record which schemas are excluded and who approved it for your access review.
- Verify the result: Check that the excluded tables do not appear in Metabase's data browser after the next sync.
Confirm with your security and compliance team which schemas must be excluded, and test the change in a non-production instance first.
Troubleshooting syncs and scans that run for hours
A sync or scan that runs for hours is usually a scope problem before it is a performance problem. Start by confirming the run is actually stuck or just large. Metabase's troubleshooting guide for syncs, scans and fingerprinting, linked from the topic sources, walks through the checks to run, and it is the right reference to work from. Open the admin logs for the database in question and find the start and end messages for the sync and for each scan step. Then confirm which log messages your version emits, since wording changes between releases and you should not assume a message from the guide matches your build. A run that logs progress steadily but slowly points to a large schema. A run that logs nothing for a long stretch points to a blocked query.
Next, check the warehouse side. Look for timeouts, lock waits and connection errors in the warehouse's own logs or monitoring during the window when the sync was running, and compare them against the Metabase log timestamps. Lock contention is common when a nightly load, a dbt job or a maintenance task touches the same tables Metabase is reading. Count the schemas and tables Metabase is scanning for that database and compare the number with what your analysts actually use. Many long runs come from schemas that hold staging, archive or vendor tables nobody queries in Metabase. Ask your data team which of those tables should stay visible before you change any settings.
Once you know the cause, make one decision at a time. If the schema is too broad, narrow the scope so Metabase only syncs the schemas that people use, and then rerun and time the sync. If the run overlaps a heavy warehouse job, move the sync or scan window per database under Connection and sync, away from that job, and keep a record of the new times. If the problem is lock contention that does not clear, raise it with your warehouse team before adjusting Metabase, because repeated long runs can hold resources that other workloads need. Record each change, its start time and the duration of the next run, so you can tell whether the fix worked.
Security and operational considerations for sync and scan accounts
The account Metabase uses to read your warehouse metadata and sample rows is a standing credential with broad visibility, so its scope, storage and change history matter as much as the schedule itself. The cards below cover the account, where its secret lives, who can edit sync settings, and how to watch the warehouse while scans run.
Least-privilege read access
Create a dedicated database user for Metabase's metadata and sampling reads rather than reusing an analyst or admin login. Grant read access only to the catalog views and to the schemas you have agreed to expose, and confirm the account cannot write, create objects or read schemas outside that list. Ask your warehouse team to confirm which catalog views the user needs for your database engine, since requirements differ by platform.
Sync and scan docsScope the schemas in scope
Every schema the account can see is a schema a scan can read, so the account's grants and Metabase's schema filters should match. Restrict the user to schemas that analysts actually query, and review the list after each new schema or data product is added. Treat any schema holding personal or regulated data as an explicit decision recorded with its owner.
Credential storage in the application database
Metabase stores the warehouse connection details, including the password, in its application database. Restrict access to that database and its backups to the people who run Metabase, and confirm the Metabase encryption secret is configured so stored credentials are not kept in plain form. Rotate the warehouse password on a schedule, update the database connection in Metabase, and verify a sync succeeds afterward.
Application database docsWho can change sync settings
Sync and scan timing is a database-level setting under Connection and sync, so anyone with admin rights can move a scan into business hours without warning the data team. Limit admin rights to a named group, review admin membership regularly, and require that changes to scan frequency or scope go through the same change process as other warehouse workload changes. Record who changed what in your ticketing system.
Watch warehouse load during scheduled runs
Before and after changing a schedule, check warehouse CPU, query queue depth and concurrency during the scan window, using the monitoring your database already provides. Compare a few nights of load with and without the new schedule. Confirm that interactive dashboard queries do not slow down while scans run, and note which Metabase queries appear in the warehouse's query history so you can attribute load to the right source.
Document schedule changes with the data team
Keep a written record of each sync and scan schedule, the reason for it, the schemas it covers and the team that owns the database. Share changes with the data owners before they take effect, and agree on a rollback path such as reverting to the previous time or turning off scans for one database. Review the record whenever the warehouse, its workloads or its owners change.
Sync troubleshooting docsQuestions teams ask before scheduling Metabase sync and scans
What does scheduling Metabase sync and scans cost in internal effort?
Most of the cost is internal staff time: an admin reviews which databases and schemas Metabase reads, picks sync and scan windows, applies the change, and watches the next runs. The effort rises with the number of connected databases, the number of schemas per database, and how many teams depend on fresh metadata. Sync scheduling is configured per database under Connection and sync, so there is no separate tool to buy. Ask any partner for a quote built from a written scope that lists the databases, schema counts, and the change windows you need, and separate one-time review work from any recurring monitoring you want.
Do we need a partner to schedule Metabase sync and scans?
Usually not for a single database with a small schema set. A partner is more useful when many databases share a warehouse, when a schedule change could block analysts or ETL jobs, or when your team lacks someone who can read warehouse query logs and Metabase logs together. Decide based on who will own the schedule after the work ends. If your internal team can run the review, document the windows, and retest after changes, you may not need outside help. If you want an independent review of load on the warehouse, a fixed-scope engagement with written deliverables is the usual way to buy it.
How long does a sync and scan schedule review take?
The duration depends mainly on schema count, the number of databases, and how complex the warehouse is. A review of one database with a handful of schemas is much shorter than a review of a large warehouse with many schemas, shared compute, and several teams running batch jobs in the same hours. Time also goes to collecting query history, agreeing change windows with data owners, and testing the new schedule over at least one normal cycle. Ask for a timeline in the written scope, and confirm which of these steps the quote covers.
What must our team provide before a schedule review starts?
The reviewer needs read access to the Metabase admin settings for each database, a read-only account on the warehouse that can see its own query history or usage views, and named owners for each database who can approve change windows. You will also need a list of batch jobs, reporting peaks, and maintenance periods, plus a rollback plan if a new schedule causes problems. Confirm with your warehouse team which views or logs they allow Metabase's connection to read, because access rules differ by platform.
Can one Metabase admin change sync and scan schedules alone?
Yes, a single admin with sufficient Metabase permissions can change the sync and scan settings for a database. The harder part is knowing when a change is safe, which usually needs input from the warehouse team and the owners of heavy jobs. Keep a written record of each old and new setting so changes can be reversed, and avoid changing several databases in one window so you can attribute any load change. A second person to review the change reduces the chance of an unplanned overlap with batch processing.
How do I troubleshoot a sync or scan that runs for a long time?
Start by checking whether the run overlaps with heavy warehouse activity, then review the sync and scan logs in Metabase for the database in question. Metabase's troubleshooting documentation covers syncs, scans and fingerprinting that take a long time, and it is the natural next read before you change any setting. Narrow the work by limiting schemas or tables that do not need metadata refreshes, and move the window away from peak jobs before you try larger changes. Record the start time, duration and warehouse load for each attempt so you can compare results.
Does Metabase licensing affect sync and scan scheduling?
Sync scheduling is available per database in the admin settings, and the researched facts supplied for this topic do not list it as a paid-plan feature. Confirm this for your own edition and version before you plan the work. The pricing page separates features such as SSO, row and column permissions, and usage analytics into Pro and Enterprise plans, so check the current feature list for anything you depend on. Ask your Metabase account contact or review the Metabase pricing page to confirm which plan you are on before you build the schedule around it.
How DeployOpen scopes Metabase sync and scan work
DeployOpen starts with an inventory of every database Metabase connects to, because sync and scan load depends on what each database contains and how often it changes. For each connection we record the schemas and tables that analysts actually query, which databases are large or shared with other workloads, and which ones feed dashboards with strict freshness needs. We also review the current sync and scan settings under Connection and sync for each database, along with any troubleshooting notes from past runs of long syncs. This inventory is the basis for the written scope, which names the databases in scope, the target schedule for each, any schemas to exclude, and the checks that show whether the change worked.
Once the scope is agreed in writing, DeployOpen makes the schedule and scan changes in your environment, using your admin access and your change process. Changes are made database by database so each one can be observed on its own. Where schema limits or scan options are part of the plan, we apply them the same way and record the before and after settings. Our work is fixed to the agreed scope, and any additional databases or settings are scoped and quoted separately. A quote follows from the written scope and covers the inventory, the configuration work, the verification and any retainer you choose. Ask the provider to state which parts are one-time and which recur, and who runs the warehouse-side monitoring.
Verification compares warehouse activity before and after the change, using query logs and the warehouse team's own load metrics, so the result is measured in your environment rather than assumed. We also check that dashboards still show data at the freshness your users need, and that long syncs and scans finish within their windows. Ongoing support can be added as a retainer, covering schedule reviews as new databases are connected, upgrades that may change sync behavior, and periodic checks of warehouse impact. Confirm with your provider which warehouse metrics they can access and what they need from your team before work starts.

