What is the analogue CDataProviderIterator in Yii2 to work with a large amount of data?

in yii1 there CDataProviderIterator to work with large volumes of data (yiiframework.ru/doc/cookbook/ru/model.data.provide... ). Is there any equivalent in yii2 (something I can't find..). If not, how to build a work, not to design your bike?
Came across this article (https://orlov.io/ru/articles/rabota-s-bolshimi-oby...where the bottom line is that the author offers to process data in a cycle on 500 records at a time. But something tells me that there are better options.
July 8th 19 at 11:24
1 answer
July 8th 19 at 11:26
thank you, that's it! - Alexzander.Hamill commented on July 8th 19 at 11:29
and you read the comments, this bug with Fatal error: memory exhausted still relevant or just need to upgrade to mysqlnd ? - Alexzander.Hamill commented on July 8th 19 at 11:32

Find more questions by tags PHPYii