Just wanted to add that tree and graph structures of course can be stored sequentially on disk or a flash drive (log-structured). For instance with a really fast random access storage and some additional space you can even save the history, that is lightweight snapshots of your data. That is you always append data.
This way you can also use clever versioning algorithms to predict the performance (no read or write peaks) and to lower the space consumption.