skip to Main Content

I’m currently stuck at my magento shop and I can’t find a solution. I want to import almost 600.000 products. The process of it is really slow. The more product are in the system, the slower the import of new products works. I also can’t open some category pages. Its simply not loading.

Any idea what could be the problem?

3

Answers


  1. If your indexes are set to auto-update you should switch them to manual mode before importing. this is a common reason for decreasing performance (and db locks)

    $collection = Mage::getSingleton('index/indexer')->getProcessesCollection(); 
    foreach ($collection as $process) {
      $process->setMode(Mage_Index_Model_Process::MODE_MANUAL)->save();
    }
    

    after import you could switch back to

      $process->setMode(Mage_Index_Model_Process::MODE_REAL_TIME)->save();
    
    Login or Signup to reply.
  2. You should look into https://github.com/avstudnitz/AvS_FastSimpleImport

    This one is based on Mage_ImportExport_Model_Import_Entity_Product and is therefore much faster, than instantiating new product model on each iteration

    Login or Signup to reply.
  3. For Faster import, you can use Magmi : http://wiki.magmi.org/index.php?title=Main_Page

    once you upload products through, reindex through system > Index Management….

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search