Magento 2 : What is <bulk_size> and <direct_document_copy> element in data migration tool config file?
-
21-02-2021 - |
Question
In data migration tool config file we have<bulk_size>
and <direct_document_copy>
elements. What values are expected for these tags and what are their purpose?
Solution
bulk_size
It is the amount of data processed at one time.
Set bulk_size as 0
and it will be auto-detected for every document. It is better than set bulk_size as a fixed value.
direct_document_copy
Default value is 0
, set it as 1
for better performance.
Set direct_document_copy as 1
will direct copy data from database, but 'source' and 'destination' databases MUST be placed on the same MySQL instance and 'destination' user MUST be granted with 'SELECT' permissions on 'source' database.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange