Command Line Interface - Fast Asynchronous Re-indexing

To run extension via command line (shell, SSH) you can use php script located at /shell/asyncindex.php.

    Usage:  php asyncindex.php [options]

                          Run (reindex queue, index validation (if enabled))
      --fill-queue        Generate random queue
      --help              Help

Examples

php asyncindex.php
php asyncindex.php --fill-queue

Additionaly, for handle indexes you can use native magento php script located at /shell/indexer.php.

    Usage:  php indexer.php [options]

      --status <indexer>            Show Indexer(s) Status
      --mode <indexer>              Show Indexer(s) Index Mode
      --mode-realtime <indexer>     Set index mode type "Update on Save"
      --mode-manual <indexer>       Set index mode type "Manual Update"
      --reindex <indexer>           Reindex Data
      info                          Show allowed indexers
      reindexall                    Reindex Data by all indexers
      help                          This help

<indexer> - Comma separated indexer codes or value "all" for all indexers (if without codes). To see all available indexers, run php indexer.php info

Examples

php indexer.php reindexall
php indexer.php --reindex catalog_product_attribute

Fast Asynchronous Re-indexing