Truncate yourls_log && keep stats intact
Open
Nobody has claimed this yet.
database
enhancement
- Dominant language
- PHP
- Stars
- 12.2k
- Forks
- 2.1k
- Avg merge
- 6h 15m
- Merged PRs (30d)
- 7
Description
This is a COPY of Issue 372: Truncate yourls_log && keep stats in tact, filed on Google Code before the project was moved on Github.
- Submitted on 2010-06-21T01:48:53.000Z by pawlec...@gmail.com
- Status: Migrated
Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.
Original description
In 5 weeks I have nearly 700,000 records in yourls_log, and I anticipate very rapid growth in the near future.
I want to be able to truncate yourls_log && keep stats in tact. Has anyone attempted to tackle this? Any thoughts? ideas?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Start by reviewing the original request about truncating yourls_log while preserving statistics, then determine the required data-retention behavior and affected database paths; done means an agreed, verifiable approach that keeps the statistics intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100