julien-duponchelle/python-mysql-replication

How can I efficiently retrieve multiple events from Stream ?

blackoctop opened this issue · 0 comments

#QUESTION

I performed an update on a table affecting 500 records. The table has several columns with large string values, and I suspect that the size of these values may have caused the update to be recorded as 500 separate events, each with a single row, instead of a single event with 500 rows. This has resulted in a performance issue. Is there a way to retrieve multiple records from the stream at once, as iterating through the events one by one is not an efficient solution for my needs.

Thanks.