mysql - Magento importing customers(700k) using csv dataflow is too slow -
mysql - Magento importing customers(700k) using csv dataflow is too slow -
i building magento ecommerce website, , importing client profiles old one. using csv importer, , process way slower can imagine. takes 4 seconds 1 customer. far process has been running 6+ hours , 30k customers imported. csv file chunked several ~10m smaller ones.
for now, using amazon web services ec2 instance (micro) development server. has 1 vcpu (2.5ghz) , 1gib memory. don't think can issue. increased php memory limit 1g.
i've read article saying speed issues of importing products mutual because of magento's eav database scheme , heavy php api modules [speeding magento imports]. says magento sends 450 mysql queries in order import 1 single product. have seen workaround using [magmi] tries bypass magento's api , insert info straight mysql tables. afaik doesn't seem import customers, products , categories. don't know if (products , customers) using same mechanism.
i disabled caching management , set alternative of index management 'manual update'. though client profiles don't utilize these processes.
do have suggestion increment csv importing speed?
[follow-up]
i have found 1 of problem sources, amazon ec2 t2 instances. utilize cpu credits command maximum cpu usage. micro instances, base of operations cpu performance limited 10% of capacity. used of cpu credits, , server didn't allow me utilize total cpu.
i checked importing performance now, , importing approximately 2 records per sec. think still slow, wait more other solutions. perhaps optimizations?
forget magmi, forget dataflow. best practice magento way...
use one:
https://github.com/avstudnitz/avs_fastsimpleimport
you can utilize array import entities product , customer.
mysql web-services api magento csv
Comments
Post a Comment