Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrease leveldb storage usage #1601

Open
olehnikolaiev opened this issue Jul 19, 2023 · 1 comment
Open

Decrease leveldb storage usage #1601

olehnikolaiev opened this issue Jul 19, 2023 · 1 comment
Assignees
Labels
proposal Proposal for next release
Milestone

Comments

@olehnikolaiev
Copy link
Contributor

run the following test:
add 100mb data to state - leveldb storage usage grows up to 250mb
erase the data

leveldb storage usage is still ~200mb
need to investigate the reason and fix it

@oleksandrSydorenkoJ to add more details and logs

@oleksandrSydorenkoJ
Copy link

skalenetwork/schain:3.17.0-beta.5
skale_schain_polite-friendly-alphard

0x8a6B98607a18B5855009E644c666505Bf0384594
before test

"skaledDBUsage":{"blocks.db_disk_usage":101725369,"contractStorageUsed":2137664,"pieceUsageBytes":232798489,"state.db_disk_usage":82198395}}

after load of 100 MB

"skaledDBUsage":{"blocks.db_disk_usage":103025913,"contractStorageUsed":106612384,"pieceUsageBytes":233597727,"state.db_disk_usage":195984235}}}

after self-destruct of 100 MB

"skaledDBUsage":{"blocks.db_disk_usage":103129051,"contractStorageUsed":106612352,"pieceUsageBytes":233610683,"state.db_disk_usage":262751272}}}

self-destruct-doesnt-works.txt

@DmytroNazarenko DmytroNazarenko removed this from the SKALE 2.3 milestone Jul 27, 2023
@DmytroNazarenko DmytroNazarenko changed the title decrease leveldb storage usage Decrease leveldb storage usage Aug 28, 2023
@PolinaKiporenko PolinaKiporenko added this to the SKALE 2.4 milestone Nov 20, 2023
@PolinaKiporenko PolinaKiporenko modified the milestones: SKALE 2.4, SKALE 2.5 Apr 29, 2024
@DmytroNazarenko DmytroNazarenko modified the milestones: SKALE 2.5, SKALE 2.6 May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal for next release
Projects
Status: To Do
Development

No branches or pull requests

4 participants