|
|
|
|
|
by gigatexal
2419 days ago
|
|
Have you thought about materialized views that pre-aggregate your queries and then updating those views with triggers? I got this idea from a forum so it’s not mine but it works. Sharding by month or other bucket of time could help. We have a very similar situation except it’s billions of rows. One benefit is it’s a bit denormalized in that we store the meat of our data in a hstore field |
|