News for hackers. Stuff that matters.
Re:Immutability, MVCC, and garbage collection by thirsteh on Sunday December 29, 2013 @01:17AM (#6978640)
You're right, but the vast majority of databases aren't that big. You are very explicitly recommended against using something like Datomic if you think you will need to purge data with regular intervals.
Re:Immutability, MVCC, and garbage collection by mgkimsal on Sunday December 29, 2013 @08:53AM (#6979513)
"but the vast majority of databases aren't that big" probably because they don't keep all copies of everything forever. Even as basic blog system would grow huge just based on spam comments alone.
Re:Immutability, MVCC, and garbage collection by thirsteh on Sunday December 29, 2013 @09:11AM (#6979552)
But you don't have to keep redundant copies around forever. Immutability means nothing in the past can change, which means it's perfectly fine for future entries to reference old values. New rows can essentially be deltas, much like version control systems.

I disagree that Datomic necessarily grows huge. I'm just saying don't use it if you know you're going to be storing terabytes and you don't have enough disk space to handle it without needing to truncate data with regular intervals.