Skip to content

antonshell/magento2-products-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 products export, via SQL

Export products from Magento 2 database to Elastic Search(or whatever).

Performance

Magento is quite slow itself. So if you try to export via magento REST or Programmatically, it would take a lot of time.

This script works via SQL queries, to improve performance.

Tested on Magento 2.2.2, Core i7 2.5. Exported 8653 products per minute

Install, usage

1 . Clone repository

https://github.com/antonshell/magento2-products-export.git

2 . Set database connection and base url

cp _config.php.dist _config.php
nano _config.php

3 . Run

php export.php

4 . Multi thread

./multitread.sh

kill all scripts:

./multitread_stop.sh

About

Export Magento 2 products via SQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors