Skip to content

Commit 48df346

Browse files
author
Stanislav Idolov
committed
MAGETWO-64182: [Indexer optimizations] Batch data processing for price indexer
1 parent ccb9148 commit 48df346

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/internal/Magento/Framework/Indexer/BatchSizeManagement.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ public function ensureBatchSize(\Magento\Framework\DB\Adapter\AdapterInterface $
5151
// Log warning if allocated memory for temp table greater than 20% of innodb_buffer_pool_size
5252
if ($size > $bufferPoolSize * .2) {
5353
$this->logger->warning(new \Magento\Framework\Phrase(
54-
'Memory size allocated for temporary table is more than 20% innodb_buffer_pool_size. ' .
55-
'Please update innodb_buffer_pool_size or decrease batch size value.'
54+
'Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. ' .
55+
'Please update innodb_buffer_pool_size or decrease batch size value '.
56+
'(which decreases memory usages for the temporary table).'
5657
));
5758
}
5859

0 commit comments

Comments
 (0)