ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 38 - AD0-E716 discussion

Report
Export

When researching some issues with the indexer, an Adobe Commerce developer is seeing errors in the logs similar to Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. It is suggested that the client update innodb_buf f er_pool_size or decrease the batch size value.

Why does decreasing the batch size value improve performance?

A.
This decreases memory usage for the temporary table.
Answers
A.
This decreases memory usage for the temporary table.
B.
This allows for a longer timeout per batch process.
Answers
B.
This allows for a longer timeout per batch process.
C.
This allows for more PHP threads to be utilized during the process.
Answers
C.
This allows for more PHP threads to be utilized during the process.
Suggested answer: A

Explanation:

Decreasing the batch size value improves performance by reducing the memory usage for the temporary table. The batch size value determines how many rows of data are processed at a time by the indexer. A large batch size value can cause the allocated memory size for the temporary table to exceed 20% of innodb_buffer_pool_size, which can result in errors and slow down the indexing process. By lowering the batch size value, the indexer can process the data more efficiently and avoid memory issues. Verified

Reference: [Magento 2.4 DevDocs] [Magento Stack Exchange]

asked 02/10/2024
Zeshan Tariq
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first