Replies: 6 comments 25 replies
-
I don't know but I think that the chia guys should offer a current version, updated every night a mid-night, for download from chia.net so every time I have to re-install the chia software I can catch-up to the block 4 days faster. |
Beta Was this translation helpful? Give feedback.
-
My db file is now >20Gb... Any news on this front? |
Beta Was this translation helpful? Give feedback.
-
My db file is now >40Gb... and my Rasp SD is 120GB. This will really become a huge problem in the long term. |
Beta Was this translation helpful? Give feedback.
-
I've come to the conclusion that the best blockchain backup strategy is to run a secondary standalone full-node. No keys, no upnp, no port forwarding, config.yaml: db_sync: full. It's not farming so you won't care much about drive speed. Needs neither have to reserve blockchain*2 disk size to run sqlite live backups on the primary node, nor stopping full-node before to copy files. |
Beta Was this translation helpful? Give feedback.
-
I've come to the conclusion that the best blockchain backup strategy is to run a secondary standalone full-node. No keys, no upnp, no port forwarding, config.yaml: db_sync: full. It's not farming so you won't care much about drive speed. Needs neither have to reserve blockchain*2 disk size to run sqlite live backups on the primary node, nor stopping full-node before to copy files. |
Beta Was this translation helpful? Give feedback.
-
Hello all, just dropping a pointer to sqlite_zstd_vfs which is the type of SQLite extension one would need to compress the database whilst still permitting random I/O. I strongly doubt the Chia software can use that code as-is (for several reasons), but, at least I have a lot of experience built up in how to implement this underneath SQLite. If any of the devs want to brainstorm about this then I'd be happy to. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Recently, I transferred the blockchain and multiple wallet database files and realized those files can be compressed to under 50% of it's uncompressed size. (Something like 45%).
Now that those files grow rapidly in size daily and take a lot of space (blockchain close to 5GB, every wallet db close to 3GB), this could become a problem for small devices like Rasperry Pi's soon, if they store the dbs on something like their 32GB microSD system drive.
So I asked myself if it's worth the small performance tradeoff and compress those files to under 50% of it's current size?
I personally use compression at least for backups of those sqlite files.
In some weeks this would save you the space for 1 more plot. ;)
Is there any database compression coming with sqlite out of the box like with other database systems?
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions