Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › Adobe Commerce

Magento 2 Product Reviews Performance: How to Diagnose Cron Delays and N+1 Queries

By Freedom251 Team · · 5 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Slow Magento 2 product reviews can point to two different problems: scheduled background work that is late, or repeated database queries made while a page or API request is running. Adobe documents scheduled indexing as a general performance practice, but that does not establish a product-review-specific core indexer bottleneck. Treat cron lag and N+1 queries as separate hypotheses, then profile the review implementation your store actually uses.

What the evidence does—and does not—show

Adobe recommends Update on Schedule for performance purposes: updates are processed in portions in the background through cron. Update on Save instead performs indexing when data changes, which Adobe warns can cause significant delays or data unavailability under high loads. This is guidance about indexation generally, not proof that core product reviews have a dedicated indexer.

As an Amazon Associate I earn from qualifying purchases.

Indexing transforms data for storefront use, and the relevant indexers depend on the data and Commerce version. Adobe’s indexer management documentation describes how to inspect and manage indexers; it does not establish that review content is indexed by a core review-specific process. First determine whether the review data or derived values involved in the slow experience are handled by an indexer at all.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

N+1 queries describe another mechanism: code loads related data repeatedly for each product or review item instead of loading or batching it efficiently. A community example discusses this pattern in custom GraphQL resolvers, not confirmed core product-review rendering. The implementation must be profiled before attributing that behavior to reviews.

Distinguish cron/indexing lag from request-time N+1 queries

Diagnostic clue Scheduled cron or indexing delay Request-time N+1 pattern
When it occurs In background processing after data changes; storefront visibility or derived data may lag. While a storefront page, API request, or resolver is loading a listing.
What to inspect cron_schedule, cron logs, indexer mode and status, backlog, and job duration. Repeated similar SQL calls, query count as item count grows, and a profiler trace.
Typical scope Indexers and scheduled jobs generally; no review-specific core path is established. Potentially custom code or an extension; the documented example is a custom GraphQL resolver.
First useful check Verify cron is installed, discovering scheduled work, executing it, and not failing or missing its window. Profile the exact slow page or resolver and find whether it performs database work per item.

This is a diagnostic distinction, not a benchmark or finding about any particular store. If review changes appear late, investigate the scheduled-work path. If one request becomes slower as its product or review list grows and repeats similar SQL, investigate request-time loading. Both issues can coexist, but evidence for one does not prove the other.

Investigate scheduled work and indexers

1. Identify whether an indexer is involved

Record the Commerce edition and version, then inspect indexer modes and status. Establish whether the data behind the affected review experience is actually handled by an indexer before treating an indexer as the cause. Adobe’s indexer commands provide the relevant management entry point; available details can vary by version and indexer.

If the relevant indexer is set to Update on Save, indexing runs as data changes. With Update on Schedule, work is processed in the background through cron. Adobe’s configuration best practices recommend the scheduled mode for performance, while cautioning that save-time indexing can create significant delays or data unavailability under high load.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. Check cron scheduling and execution history

Scheduled Commerce operations depend on cron. Adobe explains that cron first discovers tasks and then runs them at or after their scheduled time, so a job may not execute immediately when its schedule is first generated. The cron_schedule table records the job code, status, creation time, scheduled time, execution time, and finish time. Compare those timestamps with cron logs to find work that is missing, late, failed, or still running.

In a controlled environment, the documented command to run the index cron group is:

bin/magento cron:run --group index

Use it as a diagnostic or operational action only when appropriate for that environment; a manual run does not replace a reliable production cron configuration. Adobe’s cron configuration guide covers setup, execution behavior, logs, and schedule history. Its admin cron documentation describes schedule-generation and retention parameters, missed-job thresholds, and process behavior.

3. Look for failures, not just a backlog

Inspect job status and timestamps alongside log output. A large or old schedule entry alone does not say whether a job is delayed, repeatedly failing, or irrelevant to review data. Adobe’s cron guidance explains the scheduling lifecycle; its indexer optimization guidance gives additional operational context, with details varying by version and indexer.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A user report for Magento 2.4.5 describes a stuck indexer after a cron process was terminated under memory pressure. That incident is a specific reported failure mode, not evidence of a widespread current defect. If logs or process monitoring suggest termination or resource pressure, investigate those conditions in your own environment rather than inferring them from the report.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Profile the slow review experience for N+1 queries

1. Pin down the affected surface

Record whether the slowdown is on storefront HTML, GraphQL, REST, or the admin, and identify the exact page, endpoint, resolver, or review module/provider involved. A custom resolver or extension can behave differently from core rendering, so “product reviews” alone is not enough to identify the code path.

2. Capture query shape and scaling

Profile the request and record its duration, total query count, repeated SQL shapes, and the number of products or reviews returned. Compare those measures across controlled requests with different list sizes and representative data. A rising query count tied to each additional item, with repeated per-item database loads, supports an N+1 diagnosis; a slow request by itself does not.

For GraphQL, inspect custom resolver loading and batching behavior if the trace points there. The available community example concerns custom GraphQL resolvers and is illustrative only; it does not demonstrate that core review blocks have the same issue.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

3. Test one change at a time

After identifying a likely custom extension, resolver, or loading path, compare a baseline with a controlled change under representative data volume. Keep request profiling separate from cron/indexer checks so a change to one mechanism is not mistaken for proof about the other. Report results only for the version, configuration, and workload actually measured; no review-specific performance benchmark is established here.

What to record before calling it a review-performance defect

  • Magento Open Source or Adobe Commerce edition and exact version.
  • PHP and database setup, plus the installed review module or provider.
  • The affected storefront page, GraphQL or REST route, or admin screen.
  • Indexer modes and status, and whether the relevant review data uses an indexer.
  • Cron job/group, schedule history, logs, and job duration for suspected background delays.
  • Request duration, query count, repeated SQL, and item count for suspected N+1 behavior.

Adobe’s documentation establishes general cron and indexing behavior, not a review-specific defect or performance result. A defensible diagnosis names the exact implementation and shows evidence from the corresponding background job or live request.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Adobe Commercecron jobsMagento 2Magento Open SourceN+1 queriesperformance troubleshooting

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.