lemmy/crates/db_schema/src/aggregates
Sander Saarend b511c2e6cb
Denormalize community_id into post_aggregates for a 1000x speed-up when loading posts (#3653)
* Denormalize community_id into post_aggregates for a 1000x speed-up when loading posts

* Remove unused index

* Add creator_id to post_aggregates

* Use post_aggregates as main table for PostQuery

* Make post_aggregates the main table for PostView

* Reformat SQL
2023-07-20 11:13:21 -04:00
..
comment_aggregates.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
community_aggregates.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
mod.rs Showing # of unread comments for posts. Fixes #2134 (#2393) 2022-09-27 16:45:46 +00:00
person_aggregates.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
person_post_aggregates.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
post_aggregates.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
site_aggregates.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
structs.rs Denormalize community_id into post_aggregates for a 1000x speed-up when loading posts (#3653) 2023-07-20 11:13:21 -04:00