Index Event
This is the moment when the entity is changed. So if a product is updated then it will get a row in the event table index_event
. It has the following information:
- The old data,
- The new data,
- Event type,
- Entity,
- The id of the entity,
- The date time that the event was saved
Event Types
There are also the following event types:
- Save - when entity is saved,
- Delete - when entity is deleted,
- Mass Update - when a batch of entities was updated,
Index Process
This is basically a wrapper for the indexer itself and can be found in the table index_process
. It has the following information:
- Indexer code,
- Current indexer status,
- Start and end times,
- And the mode.
Indexer Process Statuses
- Pending - indexer is up to date,
- Running - currently being processed,
- Require reindex - something has changed in the entity and the index need to be rerun,
If the index mode is set to "real-time" then when an entity is changed then the process will be rerun straight away, but when the index mode is set to "manual" then on update the process status will be set to "Require reindex"
Note: super article on this http://www.slideshare.net/ivanchepurnyi/magento-indexes