Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase Recordings retention #14040

Closed
benjackwhite opened this issue Feb 1, 2023 · 1 comment
Closed

Increase Recordings retention #14040

benjackwhite opened this issue Feb 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@benjackwhite
Copy link
Contributor

benjackwhite commented Feb 1, 2023

Currently for PostHog Cloud we have a 3 week TTL on Recordings. The reason for this is that recordings contain huge amounts of data that over time .
As Recordings are (in most cases) less insightful the older they get, it doesn't make sense to keep all recordings in perpetuity but the current TTL of 3 weeks is not always enough and for many people they would happily pay for the ability to increase the longevity to, for example, 6 months for a variety of reasons.

Describe the solution you'd like

We have internally had many discussions and proposals about this but essentially the core concept for the purpose of this Roadmap issue is:

  • Extend the default retention period to 1 month (this is pretty standard across the board)
  • Extend the retention period for paying customers to something longer e.g. 3 months - to be decided
  • Add an option for individual Teams to extend this storage period with some cost at least to cover our overheads.

Technical notes

  • Move the "blob" like data out of Clickhouse and into a two-tiered storage solution - Tier 1 being expensive storage but cheap to write to (we have a few options here) and Tier 2 being cheap storage but expensive (relatively) to write to.
  • Change the Clickhouse schema we use to an Aggregating system so that the 1000s of events making up a recording can be neatly compressed into a single representation

Related issues:

@pauldambra
Copy link
Member

We haven't added "Add an option for individual Teams to extend this storage period with some cost at least to cover our overheads." but other than that we have now completed this.

Everyone gets 30 days retention and paying customers get 90 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants