Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Large transactional writes leave large memtables #1906
After inserting 1M rows using a single distributed transaction (e.g. YSQL COPY) it was observed that the IntentsDB and RegularDB memtables were much larger than the configured memstore size limit. The memstore size limit was 128MB, but the IntentsDB memtable was 793MB and the RegularDB memtable was 477MB.
The issue has two causes: