This is language agnostic (but I am using PHP and MySQL if it helps). How can I save MASSIVE amounts of text data efficiently? Google Docs, for example, autosaves a document and saves every version of that document. I imagine they don't store EACH version as that would be super huge. They probably just store a series of DIFFS.
Any ideas?