-
Notifications
You must be signed in to change notification settings - Fork 852
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
Full node takes up more space than archive node #7238
Comments
Hi there - can you try updating the nodes and seeing if anything changes? We have made some improvements to the database in subsequent versions. My hunch is that over time, the Archive node will absolutely be larger. We keep more data around in Full nodes to help with block processing performance like caches. Over time, this will not increase linearly, but the Archive node will. @matkt might also have some insight into this, and also commands you can run to give the size of your database, perhaps. |
could you share your configuration (flags etc) for each bonsai test ? |
could you also run
in order to have more info on your database for each step |
hi @non-fungible-nelson, which version, and do you hv any calculation formula or ratio of full node storage vs archive nodes? |
it will be nice to share your logs when your bonsai nodes are starting to be sure you have the good configuration |
Hi matkt thanks for reponding, from the eth_syncing API call, the archive node is false but in fact always importing blocks from an external source, the full node (follows the archive node) shows it's always syncing with start, current, and highest, so in our scenario, the archive node is always ahead of the full node here uploads the full node log we configured rolling, so here gave the current log file |
thanks but I need more logs. when you restart your node you should have something
also regarding the log you are sharing your don't sync at all. are you running a qbft network ? if you want to use snapsync with a qbft network there is a PR in order to enable that #7140 for the moment you can use fastsync if you want to sync quickly |
Hi @matkt sorry for late update, as mentioned, we used two nodes above to follow block producing network with 4 qbft nodes, one is archive node, and the other is snap bonsai sync configuration, we want to compare archive node with full node in private chains, how much storage can save versus archive node, here attach the full node start log for diagnosis, thanks. I also tried fast sync ,it indeed synced fast but storage a little higher than archive node too. Also what's the difference between fast sync and snap sync ,thanks! |
Description
we deployed two nodes for high availability, one archive node and one full node(snap sync both Forest and Bonsai tried), the space archive node takes up is only 3.9 G, while Forest format takes up to 8.7G, Bonesai takes up to 5.6G, very weird as we think full node should save space.
Acceptance Criteria
Steps to Reproduce (Bug)
Expected behavior: [What you expect to happen]
The full node data directory should be smaller
Actual behavior: [What actually happens]
The full node data directory is bigger
Frequency: [What percentage of the time does it occur?]
always
Logs (if a bug)
Please post relevant logs from Besu (and the consensus client, if running proof of stake) from before and after the issue.
Versions (Add all that apply)
Smart contract information (If you're reporting an issue arising from deploying or calling a smart contract, please supply related information)
solc --version
]Additional Information (Add any of the following or anything else that may be relevant)
The text was updated successfully, but these errors were encountered: