Skip to content

Commit

Permalink
magemojo#134 Fix SQL Performance degredation as cron_schedule grows
Browse files Browse the repository at this point in the history
Co-authored-by: Jessica King <>
  • Loading branch information
JesKingDev committed Nov 16, 2024
1 parent 8d15251 commit e923a0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/db_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
<table name="cron_schedule" resource="default" engine="innodb" comment="Cron Schedule">
<column xsi:type="varchar" name="execution_host" nullable="true" length="255" comment="Execution Host"/>
<index referenceId="CRON_SCHEDULE_EXECUTION_HOST" indexType="btree">
<index referenceId="CRON_SCHEDULE_STATUS_EXECUTION_HOST" indexType="btree">
<column name="status"/>
<column name="execution_host"/>
</index>
<index referenceId="CRON_SCHEDULE_SCHEDULED_AT_HOST_STATUS" indexType="btree">
Expand Down

0 comments on commit e923a0d

Please sign in to comment.