electric-sql / electric-sql/electric

SIGKILL after a giant DELETE

Open
#3,185 2 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
10.4k
Forks
375
Avg merge
3d 1h
Merged PRs (30d)
18

Description

Does ElectricSQL meant to work with big tables (at least 1kk rows)?
After 1kk rows "/v1/shape" requests sometimes freezes up to 800 ms by localhost.
But when i deleted 1kk in one transaction electric gets sigkilled in like 10-20 seconds after boot.

**Bug description**
1. Start an Electric connected to empty db
2. Insert 1kk rows by 20k in 1 operation
3. delete all rows
4. Electric gets sigkilled :c

Am i doing something wrong?
Is there any way to fix this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.