PHPMem v2.0.1
Version
1.6.45
Uptime
7 days 11 hours 35 minutes 15 seconds
Memory
Total
512MB
Used
13,32MB (2.6%)
Free
498,68MB
Keys
Current
10 162
Total (since start)
11 092
Evictions
0
Reclaimed
157
Expired Unfetched
0
Evicted Unfetched
0
Connections
Current
2 / 1 024 max
Total
66 904
Rejected
0
llm:f8c18d052d302476f983046c666707e7294b313a05c68bc3afd9b0bda40664d2
Edit
```json
{
"table_name": "favorites",
"primary_key": "favorite_id",
"candidates": [
{
"rank": 0,
"partition_key": "user_id",
"partition_key_label": "E",
"partition_key_reasoning": "Entity column representing the user whose favorite-marking timeline we trace. RPUV=7.32 is excellent for partitioning (29,016 unique users). Top 3 coverage is 2.43%, indicating good distribution. Semantically, this groups all favorites by the user who created them.",
"clustering_key": "created_at",
"clustering_key_label": "S",
"clustering_key_reasoning": "Event timestamp with monotonicity=1.000, providing perfect temporal ordering within each user's partition. This orders each user's favorite-marking events chronologically, enabling timeline analysis of when users marked beers as favorites.",
"world_line": "user_id",
"session_column": null,
"confidence": "HIGH",
"notes": "Primary perspective: user-centric analysis. Each partition contains one user's complete favorite-marking history ordered by time. The favorite_id is a unique sequential identifier (RPUV=1.00, uniqueness=1.000) serving as primary key."
},
{
"rank": 1,
"partition_key": "beer_id",
"partition_key_label": "E",
"partition_key_reasoning": "Alternative entity perspective representing the beer being favorited. RPUV=3.29 is viable for partitioning (64,514 unique beers). Top 3 coverage is 1.44%, showing reasonable distribution. This groups all favorite events by the beer that was marked, useful for beer popularity analysis.",
"clustering_key": "created_at",
"clustering_key_label": "S",
"clustering_key_reasoning": "Same temporal ordering axis. Within each beer's partition, this orders all favorite-marking events chronologically, showing when different users marked this beer as a favorite over time.",
"world_line": "beer_id",
"session_column": null,
"confidence": "MEDIUM",
"notes": "Alternative perspective: beer-centric analysis. Each partition contains all users who favorited a specific beer, ordered by when they did so. Useful for tracking beer popularity trends over time. Lower confidence than user_id because user behavior analysis is typically the primary use case for favorites tables."
}
]
}
```