Questions tagged [mview]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Magento 2 using mview.xml for tracking changes in custom table

Magento indexing uses mview.xml to track changes in tables similarly, can we use mview.xml to track changes in custom table ? custom table doesn't do any indexing. I just want to track changes and do ...
Vishwanath Kharabe's user avatar
0 votes
0 answers

Custom indexer for modified product in magento 2

I am try to create custom indexer in Magento 2.4. Which we will execute when any product is modified like catalog_product_category. Because i want to update the product attribute at that time. indexer....
Kushal Dani's user avatar
  • 2,074
1 vote
1 answer

How to call Magento2 mview reindexer programmatically

I have line of code which schedule full or partial reindex cron job. using Trigger::REINDEX_SCOPE_PARTIAL and Trigger::REINDEX_SCOPE_FULL parameter. public function restoreIndexers($reindex = false, ...
Charlie's user avatar
  • 3,116
6 votes
2 answers

Deleting values from `_cl` tables

This is a 2 part question. Main question: How risky is to delete the records from the *_cl tables (cataloginventory_stock_cl, catalog_product_attribute_cl, ...) where the version_id field is lower ...
Marius's user avatar
  • 198k
2 votes
1 answer

Remove trigger creation when changing an indexer mode

I've disabled the Magento_Bundle module because I don't need it. But now when I try to set the catalogsearch_fulltext index to schedule via cli: php bin/magento indexer:set-mode schedule ...
Marius's user avatar
  • 198k
41 votes
4 answers

What is mview in Magento 2?

First of all what I know : Index management is useful for increasing store performance. EAV has one will store data in different tables. So that retrieving data is time-consuming. So ...
Sivakumar K's user avatar
  • 2,003
7 votes
2 answers

Custom indexer on Magento2

I'm trying to create a custom indexer on Magento2. I defined a mview.xml and one indexer.xml as follows: indexer.xml: <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http://www....
Phoenix128_RiccardoT's user avatar