Skip to content

Question about performance on bulk updates (ex. UPDATE table SET value = value + 1) #103

Open
@cyppe

Description

@cyppe

Hello!

Maybe it's a general replication "thing", but when I run the benchmark script I get good performance.

18106 event by seconds (1365000 total)
18105 event by seconds (1366000 total)
18105 event by seconds (1367000 total)
18105 event by seconds (1368000 total)
18106 event by seconds (1369000 total)
18106 event by seconds (1370000 total)
18107 event by seconds (1371000 total)
18107 event by seconds (1372000 total)

But if I run a huge bulk update (UPDATE table SET value = value + 1) on say 2 million rows. Then I only seem to handle about 500 events per second.

Is that expected or is there something I could look into?

This is without any processing of the data, just how many events being fired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions