What Magento Open Source indexer modes decide for your store
If your catalog, prices or stock levels lag behind what you changed in the admin, or the admin slows down whenever someone saves a large batch of products, the indexer mode settings are a likely cause. Indexer modes control how and when Magento Open Source rebuilds the index tables that the storefront and admin read from, so they decide how current your data is and how much database work each change triggers. Plan them before launch and again whenever catalog size, pricing rules or integration traffic change significantly.
An indexer takes source data such as products, categories, prices, stock and URL rewrites and writes it into flat, query-friendly index tables. In Update on Save mode, the index for that indexer is refreshed as soon as the underlying data is saved, which keeps storefront data current but adds work to every admin or import save. In Update by Schedule mode, changes are recorded in changelog tables through database triggers, and cron processes the backlog in batches. That keeps saves fast and smooths load, at the cost of a delay before the storefront reflects changes. The choice is made per indexer because a stock or price change may need to appear immediately while a search or review index can tolerate a delay.
The exact commands for checking indexer status and backlog, and the log locations to read, are covered in the operations guidance. Before you set any mode, confirm the supported behavior and option names against the Adobe configuration guide for the release you run, because indexer details have changed between 2.4.x lines. Your team should also confirm that cron is running, since Update by Schedule depends on it.
Update on Save or Update by Schedule for each indexer
This table compares Update on Save and Update by Schedule across searchability, trigger and cron behavior, database load, stale-index risk, backlog visibility and recovery. Read each row against your catalog's edit pattern, then choose the mode per indexer rather than one mode for the whole store.
| Factor | Update on Save | Update by Schedule |
|---|---|---|
| When data becomes searchable | Changes are applied as the record is saved, so the storefront usually reflects an admin edit within the same request cycle | Changes wait in the changelog until the next cron run of the indexer, so visibility depends on the schedule interval |
| Triggers and cron | No changelog is kept for the indexer, and cron is not needed to refresh it | Database triggers write changes to a changelog table, and the cron indexer job processes it; confirm trigger health after each upgrade or schema change |
| Database load during business hours | Work is spread across admin saves, which can slow large bulk edits and imports made by staff | Work is batched into scheduled runs, which can overlap with peak traffic if the schedule is set during trading hours |
| Stale index risk | Low while the save path works, but a failed save or an import that skips the save path can leave the index behind without an obvious signal | Higher during a failed or paused cron run, since the store serves old data until the backlog clears |
| Backlog visibility | Little backlog to watch, so problems tend to appear as missing edits instead of a queue | Check the indexer status and the pending changelog entries to see how far behind the index is |
| Recovery after a failed run | Re-save or run a full reindex of the affected indexer, then verify product and category results on the storefront | Clear the cron problem, let the backlog process, or run a full reindex if the changelog cannot be trusted |
| Fit for frequent admin edits | Usually the better fit, since each edit appears on the storefront without waiting for a schedule | Fits only when a short delay in visibility is acceptable to the business |
| Fit for large catalogs with heavy imports | Often a poor fit, because every imported row triggers index work during the import | Often the better fit, because imports complete first and the scheduled run processes the changes in batches |
How to switch indexers to Update by Schedule safely
This sequence moves selected Magento Open Source indexers from Update on Save to Update by Schedule without surprising the store, so changes are tested, backlog is visible and the production switch happens in a planned window.
Confirm cron is running and healthy
Before touching any indexer, the store team or the operator who runs the platform confirms that the Magento cron jobs execute on schedule on every node that runs them. On the command line, run
bin/magento cron:runfrom the Magento root and check that thevar/logfiles are written without fatal errors, and confirm the system cron entry for the Magento user is present withcrontab -l. The step is done when a cron run completes cleanly and the last execution timestamps in the cron schedule table move forward. Schedule-mode indexers depend on this, so a stalled cron means a growing backlog.Record current indexer status and mode
Capture the baseline so you can compare after the change. Run
bin/magento indexer:infoto list each indexer with its mode, andbin/magento indexer:statusto see whether each one is Ready, Reindex required, Working or Invalid. In the Admin, open System > Index Management and note the same values. Save the output in your change ticket along with the store's current indexer mode for every index you plan to change. The step is done when the list is saved and every indexer you intend to switch reports Ready, since switching an indexer that is already invalid hides the real cause of a later problem.Switch chosen indexers in a non-production copy
Your team, or the partner doing the work, applies the mode change first in a copy of production that has a similar catalog size and data. Use System > Index Management in the Admin, select the indexers to change, and apply Update by Schedule from the mass action list. Then run
bin/magento indexer:set-mode schedule <indexer_id>for the same set so the change is scripted and repeatable. Keep the list of indexers identical to the one approved for production. The step is done whenbin/magento indexer:infoshows the chosen indexers in Update by Schedule and the others unchanged.Verify change-log triggers and their tables
Confirm that the database triggers and change-log tables for the scheduled indexers exist. Connect to the database used by the copy and list the tables with names ending in
_clfor the indexers you switched, then check that the matchingmview_staterows show the expectedmodeand advancingversion_idvalues. Edit a product or price in the copy, wait for cron, and confirm the change appears in the storefront and that the change-log rows are consumed. The step is done when a test edit moves through the change log, is indexed and no trigger errors appear in the MySQL error log or Magento logs.Confirm the cron consumer drains the backlog
Check that scheduled reindexing keeps up with writes. Run
bin/magento indexer:statusrepeatedly during a representative test load, such as a bulk import or a set of price updates, and watch for indexers that stay in Reindex required or Working for longer than your tolerance. Confirm theindexer_reindexconsumer and the cron job that runs it are processing items, and check the Magento logs for consumer errors. Ask your partner or internal team to write down the backlog size before and after the test. The step is done when the backlog returns to a steady state and the test shows no growing queue.Document the rollback path
Before production, write down how to return each indexer to Update on Save if the backlog or the storefront misbehaves. The rollback is a mode change with
bin/magento indexer:set-mode realtime <indexer_id>followed by a full reindex of the affected indexers, which you should rehearse on the copy. Note who can approve the rollback, where the commands run and how the team confirms that storefront data is current again. The step is done when the rollback has been run once on the copy and the time it took is recorded in the change ticket.Roll the change to production in a planned window
Schedule the production change for a maintenance window agreed with the business, and announce it to the people who edit catalog and pricing data. Put the store in maintenance mode only if your change process requires it, apply the same
bin/magento indexer:set-mode schedulecommands used in the copy, then runbin/magento indexer:infoandbin/magento indexer:status. Check the Admin Index Management grid and confirm the storefront shows a recent catalog edit. The step is done when the production indexers match the approved list, the cron backlog is draining and the team has signed off the change record.
How triggers and backlog build up in Update by Schedule
Update by Schedule works by recording changes first and reindexing later. When an indexer is set to this mode, Magento Open Source installs database triggers on the source tables it depends on. Each insert, update or delete writes a row into a change-log table, a record of which entity changed rather than the new index values themselves. Cron then reads that backlog in batches and rebuilds the affected index rows. Because the write path only logs changes, the storefront shows slightly stale data until the next cron pass completes, and the size of the unprocessed change log is the single most useful signal of how far behind an indexer is.
A backlog grows in three common situations. The first is that cron stops or runs too slowly, so the change-log tables keep filling while nothing drains them. The second is a bulk import or mass update that writes changes faster than the scheduled processing can consume them, which is normal during a large catalog load but becomes a problem if the backlog never returns to a small size afterward. The third is database work that drops or disables triggers, for example during some restores, schema changes or manual maintenance. In that case changes made during the gap are never logged, so the index can be wrong without any visible backlog at all. Recovery then requires a full reindex of the affected indexers, not a catch-up run.
A healthy backlog is small, short-lived and falls between cron runs. Treat any backlog that keeps rising across several cron intervals as a defect to investigate. Check the cron job first, then the timing of large imports, then the trigger presence on the source tables. Confirm the exact status command, its output columns and the change-log table names in the Adobe documentation for your release before writing alerts or runbooks, because these details differ between versions. Record a baseline backlog size on a quiet day so that a later spike has something to be compared against.
Operational risks to plan for around indexers
Indexer mode changes, full reindexes and trigger maintenance each carry a risk that shows up later as stale prices, slow admin pages or a silent backlog. The cards below pair each risk with a control or check your team or partner can run, so the reindex plan covers the period before and after the job, not only the job itself.
Stale data after a mode change
Switching an indexer from Update on Save to Update by Schedule means storefront data changes only when cron runs the indexer. Before the switch, confirm that the cron group for indexing is running and that the indexer status reads Ready after the next scheduled run. Then check a product price and a stock status on the storefront against the admin value to confirm the schedule is current. Record the expected lag for each indexer so customer-facing teams know what to expect.
Varnish cache guideLocked tables and slow admin during full reindex
A full reindex rebuilds index tables while the store keeps reading from them, and some indexers hold locks that slow admin saves and checkout writes. Run full reindexes in a planned low-traffic window, one indexer group at a time, and watch admin response times and database lock waits during the job. Keep a rollback plan in which the previous index tables remain usable until the new run finishes successfully.
Trigger drift after restores and migrations
Database triggers that keep indexes current in Update on Save mode can be missing or stale after a backup restore, a database copy to a staging environment or a schema-changing migration. Compare the trigger list in the database against the expected set after each restore, and rerun the reindex for affected indexers before reopening the store. A stale trigger often looks like a healthy indexer that never picks up new changes, so include a dated spot check of recent product edits.
Cron failures that go unnoticed
Indexers scheduled by cron fail quietly when the cron process stops, the PHP user lacks permissions or a job overlaps a long-running one. A stopped schedule leaves the backlog growing while the store appears normal. Alert on the age of the last successful indexer run, not just on whether the cron process is alive, and review the cron and system logs on a fixed cadence. Confirm the alert reaches a team that acts on it outside business hours.
Command-line and log access controls
Indexer commands can trigger heavy database work, and reindex logs can expose catalog or configuration details. Limit shell access to the deployment and operations roles, run the cron and indexer commands under the application user, and keep log files outside the public web root. Review who can read the var log directory and who holds database credentials used by the triggers and reindex jobs.
Change control for production reindex windows
A reindex in production changes performance for every visitor, so it needs the same approval path as a release. Write down the indexers in scope, the expected duration from a rehearsal on a copy of production data, the rollback step and the person who can stop the job. Schedule the window with the merchandising and marketing teams so promotions and price changes are not in flight during the run.
Running a full reindex without locking the store
This sequence moves a full reindex from an idea into a planned, measured window, so the team knows which indexers will lock what, how long the work is likely to take on production-sized data, and how to confirm the storefront and admin show correct results afterward.
Inventory the indexers and their modes
Start by listing every indexer the store runs, its current mode (Update on Save or Update by Schedule), and whether its data feeds the storefront, the admin or both. The store owner and the platform engineer complete this together, using the indexer status output from the production environment as the baseline. The step is done when each indexer has a documented mode, a list of the storefront and admin pages that read from it, and a note on whether a full rebuild is needed or only the affected rows.
Decide whether to use maintenance mode
For each indexer in scope, decide whether the store can keep serving during the rebuild or whether the window needs maintenance mode. The platform engineer makes this call with the store owner, based on what the indexer does to tables the storefront reads and on the database engine in use. Maintenance mode is the safer choice when the rebuild rewrites data that pages depend on, while a staged approach fits indexers that can be rebuilt in parts. The step closes with a written decision for each indexer and a named owner for any maintenance page message.
Rehearse on a staging copy with production data
Restore a recent production database and media set to a staging environment that matches production in PHP, MySQL or MariaDB, OpenSearch, Redis or Valkey and cron configuration. Run the same full reindex commands you plan to use in production, and record start time, end time, peak database load, lock waits and any errors. Staging results only help if the data volume matches production, so confirm the catalog size and customer count with the store owner before the rehearsal. The step is done when the team has a measured duration and a list of problems, not an estimate.
Set the window from measured results
Use the staging measurements to choose a low-traffic window, then add margin for the work that rehearsal cannot reproduce, such as live order volume and cron jobs that run in parallel. The store owner signs off on the window and the rollback point, and the team agrees who can extend the window and who can call a rollback. The step produces a written runbook with the window, the commands, the maintenance mode state and the contacts for each action. Any duration in the plan should come from the staging run, not from a generic figure.
Run the reindex and watch progress
During the window, run the reindex for the affected indexers in the order set in the runbook, and check the indexer status after each one. Watch the system log, the database process list and the cron and queue activity for lock waits, timeouts or failed jobs. The platform engineer records each indexer's final state and stops the run if an indexer reports an error or the database shows sustained blocking. The step closes when every planned indexer reports a ready state and no errors appear in the logs for the run.
Clear caches and bring the store back
After the indexers finish, flush the caches the runbook names, then turn off maintenance mode only if it was enabled. Confirm that the indexers still report ready and that no new backlog has built up while cron resumed. The platform engineer completes this step and writes down the time the store came back online. The step is done when the cache state and the indexer state both match the runbook.
Verify storefront and admin data
Check a fixed set of pages that depend on the rebuilt indexers: product pages with the expected price and stock, category listings with the right product count, search results, customer account pages and admin order and product grids. The store owner or a tester compares these against values recorded before the window, and logs any difference with a page address and screenshot. The step is done when every checked page shows the expected data, and any gap has a ticket and an owner.
Record lessons for the next window
Write a short review that compares the measured staging duration with the production duration, lists errors, and notes any indexer that needed more time than planned. The team updates the runbook and the staging rehearsal steps so the next window starts from the new measurements. Ask the platform engineer and store owner to confirm the review with the vendor documentation for the installed version, and to note any settings that changed during the window.
Questions teams ask before reindexing a live Magento store
What does a reindexing project cost and what drives the effort?
The cost is the labor to analyze indexers, set modes, test, and document, and it is usually one-time, with recurring costs for operations and upgrades. The main drivers are catalog size, the number of store views and customer groups (which multiply price and catalog index work), the number of installed extensions that add their own indexers or triggers, and how much custom indexer code exists. Adobe's upgrade guide names customizations, extension count, third-party integrations and coding practices as the drivers of upgrade effort, and the same factors shape indexing work. Ask any partner for a written scope that lists each indexer, each extension that touches indexing, and the staging test they will run before changes reach production.
How long does a full reindex take on a live store?
The duration depends on catalog size, number of store views and customer groups, indexer types, database capacity, and whether other processes such as cron or queue consumers run at the same time. No general figure is reliable across stores, so do not plan around a number from another project. The practical answer is a timed run on a staging copy with production-sized data, using the same hardware and the same extensions. Record how long each indexer takes and how long the store stays in a state where results may be stale, then plan the production window from those measurements.
What must our internal team provide before a reindex project starts?
Your team needs to provide several things before work starts:
- Admin and shell access to the staging and production environments, with a named owner for each
- A working cron schedule and visibility into cron job history and logs
- A staging environment that matches production in database size, PHP and MySQL configuration, and installed extensions
- A recent, verified database copy and a current backup policy
- A list of extensions and integrations that write to product, price or stock data
Without a production-like staging copy, timings and mode decisions cannot be trusted.
Can our own team switch indexer modes without a partner?
Yes, a competent internal team can change indexer modes using the Magento command line, provided it understands the trade-offs. Update on Save keeps an index current as data changes, which adds write load to each save, while Update by Schedule defers work to cron and queue processing, which can leave data briefly stale. Switching modes, rebuilding triggers and running full reindexes on a live store all need a plan, a staging test and a rollback step. Teams usually bring in a partner when the catalog is large, many extensions alter indexing, or the store cannot tolerate stale prices or stock during the change.
What happens when a reindex fails part way through?
A failed reindex usually leaves an indexer in an invalid or partially updated state, which the admin shows as needing reindex. The store can keep serving pages, but search, category listings, prices or stock may be wrong until the index is rebuilt. The recovery steps are to read the indexer status, check the logs for the failing indexer and error, fix the cause (often memory, timeouts, a faulty extension, or a database lock), and rerun that indexer on staging before production. Keep the database backup and the previous code release available so you can roll back if the fault came from a deployment rather than the index itself.
Does a reindex affect PCI DSS scope or customer data handling?
Reindexing itself does not change which systems handle cardholder data, but access to staging copies matters. Staging environments often contain full production databases, including customer records and order data, so they must be controlled to the same standard as production. Confirm with your assessor and your own compliance team how staging data is masked, who can access it, and how it is removed. DeployOpen does not issue audit reports or certifications, so the scope decision belongs to your assessor.
When is it worth bringing in a partner for indexer work?
Bring in a partner when the risk of stale or incorrect catalog data is high and your internal team has not yet tested indexing on production-sized data. Typical triggers are a large catalog, several store views and customer groups, custom indexers, extensions that add triggers, or an upcoming upgrade that will change indexing behavior. A partner should give you a written, fixed scope with deliverables such as a mode plan per indexer, a timed staging run, a rollback procedure and handover documentation. DeployOpen plans, tests and documents this kind of work inside your infrastructure, and ongoing support is available as a retainer.
What to confirm for your Magento release and environment
Indexer behavior depends on the exact Magento Open Source release, the database and search versions it runs against, and the size of your catalog. The cards below list what to confirm before you pick modes, schedule reindexes or estimate server load, and where to check each item in Adobe's documentation.
Indexer names and modes in your release
The indexers and their available modes come from the installed release, not from this guide. Run the indexer status command on your own build to list each indexer, its current mode and whether it is valid. Confirm that the mode you plan to use is offered for each indexer in that release, because the list changes between 2.4.x lines. Record the output as your baseline before any change.
System requirementsSupported database and search versions
Adobe supports only the listed combinations of PHP, MySQL or MariaDB, OpenSearch, Redis or Valkey, RabbitMQ and nginx for each release. Check the database and OpenSearch versions on your servers against the system requirements for your target release before you plan any reindex, since an unsupported pairing can make indexing fail or behave differently. Plan the upgrade of those components first if they fall outside the list.
- Release to verify
- 2.4.9
Update by Schedule support in custom indexers
Only indexers that implement the scheduled mode can run on a cron-driven changelog. Custom and third-party indexers from extensions may not support Update by Schedule, or may only support it partially. Ask each extension vendor or read its code for the mode it declares, and test a scheduled run on a staging copy before you switch it in production. An indexer that ignores the schedule can leave stale data that the status command does not flag.
Cron and consumer configuration
Scheduled indexing depends on cron running the indexer tasks and on the message queue consumers that process asynchronous updates. Confirm that cron is installed, that the user running it has the right permissions, and that consumers are started by the mechanism your environment uses. Without a running cron, a scheduled indexer falls behind silently, and the backlog grows until someone checks the status output.
Caching guideReindex time on your own catalog
Reindex duration depends on catalog size, the number of products, prices, customer groups and websites, and the hardware running MySQL and PHP. Published figures from other stores do not transfer to yours. Run a full reindex on a copy of production hardware and record the time for each indexer, then compare it against your window for maintenance and against the rate of catalog changes during the day.
Store behavior during full reindex
Some indexers lock tables or slow catalog reads while they rebuild, and the effect depends on the mode, the database engine and the release. Confirm how your chosen release behaves during a full reindex on staging, including whether storefront search and category pages stay responsive. Use the result to decide whether a full rebuild belongs in a maintenance window or can run during trading hours.
How changes flow from admin edits to a rebuilt index
An admin edit or import writes to source tables. For Update by Schedule, database triggers record each change in a change-log table, and cron later processes that backlog into the index tables. For Update on Save, the save writes straight to the index. Storefront and search then read the rebuilt index, so check the backlog and the trigger health whenever product data looks stale.
Two indexer modes feed the same index that storefront and search read.
When an implementation partner helps with indexer planning
An outside team earns its place when indexer problems are structural rather than occasional. The usual triggers are a large catalog with frequent imports, a multi-store or multi-dimension setup where price and catalog indexers multiply in workload, custom indexers added by extensions that were never planned against the mode decisions, and a backlog that returns after every import or cron change. In each case the question is not which mode to pick for one indexer but how the full set behaves together under your import schedule, cron load and cache flushes. An experienced reviewer can map those interactions in a few sessions, while an internal team may only see them after a peak-day incident.
A partner should scope this work in writing before any change is made. A typical written scope for DeployOpen would cover an inventory of every indexer in use, including those added by third-party modules, with its current mode and the trigger tables it depends on; a review of the import jobs, cron schedule and message queue consumers that write to those tables; a backlog and status baseline read from the installed Magento CLI and the database; and a recommended mode per indexer with the reasoning recorded. The scope should also name what is excluded, such as load testing, server sizing or Varnish configuration, which are covered by sibling topics. The deliverable that most often gets skipped is a reindex runbook written for internal staff, covering the commands to run, the expected status checks, the order of operations after an import and the escalation path when the backlog does not clear.
Confirm with any partner what is one-time and what recurs. The assessment and runbook are normally one-time work, while monitoring of backlog, retesting after an upgrade or extension change, and a periodic review of import volume are ongoing. Ask for the expected effort broken down by these items, the assumptions about your catalog size and store count, and who on your side must supply import files, access and a test environment that matches production. Ask also how changes will be verified on a staging copy before they reach the live store. DeployOpen does not publish prices or fixed timelines, so the quote should follow directly from the written scope and the environment you describe.
How DeployOpen scopes and delivers indexer work
DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside the client's own infrastructure, and indexer work follows the same arc. We agree which indexers run on Update on Save or Update by Schedule, how triggers and cron are monitored, and how full reindexes run in your maintenance windows before any change reaches production.
How we scope
- Inventory every indexer, its current mode and the storefront features that depend on it.
- Agree in writing which indexers change mode, which stay put and why.
- Define the reindex window, backlog thresholds and who receives status alerts.
How we build
- Configure indexer modes and cron jobs in a staging copy that mirrors production catalog size.
- Test trigger health, backlog behavior and full reindex runtime under realistic admin and storefront load.
- Document each change so the team can reproduce it through the same deployment pipeline.
How we hand over
- Deliver a runbook covering mode decisions, status commands, log locations and recovery steps for stuck indexers.
- Walk your operations and engineering teams through reading indexer status and backlog during a live check.
- Record the final configuration and rollback steps so your team can audit and repeat the work.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer.
- Confirm with us at scoping how indexer checks fit into patch cycles and future Adobe release upgrades.

