How long to store data?

I agree. Furthermore, the OP does not seem to have sufficiently clear ideas about its objectives, so it is difficult to help more than that.
In my opinion, if even the goals of the project are not clear, it is useless to continue giving advice. Thus, I'm done here.