Magento 2 : What is <bulk_size> and <direct_document_copy> element in data migration tool config file?

magento.stackexchange https://magento.stackexchange.com/questions/264228

  •  21-02-2021
  •  | 
  •  

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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
scroll top