google / google/leveldb

leveldb write slow after database is large?

Open
#828 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
39.4k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

Hello, I encountered some problems when using leveldb. The scenario is like this: I kept writing key value to the database. At first, it was very fast, but after writing for an hour, I found that the writing became slower and slower. Before each write, it will query whether the key exists. The key value written is only tens of bytes, but eventually hundreds of terabytes of data will be written. Is the speed of this write affected by the size of the database?

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.