Join us in Miami for the IOHK summit - April 17-18

Delete and re-sync blockchain data

Follow

Comments

4 comments

  • Avatar
    Ian Green

    "this folder contains over 1.5 million files so this delete operation could take hours."

    I cannot remember how long since I started the deletion, but it looks like taking maybe 20 hours to delete on an i7 late-2013 iMac with 8GB RAM and internal HDD (not SSD).

    I had had the sync operation going for some days (the computer just reached me after a few months in another country) and had gone from 74% to 82% in a couple of days. I shutdown Daedalus and restarted the computer, hoping it would speed up the sync, before I read about all these issues. I had previously upgraded the data on a different computer with an external SSD, without problem, as the blockchain had not been so out of date, but the SSD had got corrupted, so the computer with the old blockchain was my backup.

    Now I have to try a sync from zero. It couldn't take longer than that, ... could it? ;?)

  • Avatar
    Ian Green

    Still emptying the Trash...
    over 24 hours, 2,381,702 items deleted (so far)!

  • Avatar
    Ian Green

    My suggestion for the case where someone is starting up the current version of Daedalus with a months (or conceivably years) old blockchain is to have Daedalus start making epoch files from the most recent ones (at some block number multiple until fully synced, then to start consolidating earlier files into epochs after that, as CPU and other resources allow.

  • Avatar
    Carl

    This is a good suggestion @Ian Green Thanks I have added a Feature Request for it. https://iohk.zendesk.com/hc/en-us/articles/360018109094

Please sign in to leave a comment.