Commit graph

8 commits

Author SHA1 Message Date
6cb66dc941 Some more DB optimizings
- Changing the fast_id pkeys to just ids on the fast tables.
- Removing the private_message_fast, since the view contains no aggregates.
- Comment and post voting now no longer pull from the views, they update the counts directly.
2020-07-06 10:10:11 -04:00
768328ae83 Removing some unecessary indexes. 2020-07-05 14:08:15 -04:00
a8aeee58e5 Some more DB additions.
- Adding a hot_rank desc, published desc index to post_aggregates_fast.
- Removed WITH CTE queries in favor of direct selects (since CTEs cant
  use indexes)
2020-07-05 13:45:28 -04:00
377f76a018 Fixing the comment delete trigger 2020-07-05 00:18:18 -04:00
5a88a6ecdc Fixing accidental addadmin bug from asonix async merge. 2020-07-04 23:38:45 -04:00
2eaafae892 DB Rework working, still need more testing. 2020-07-04 22:51:05 -04:00
eae1b96155 Before merging master to test out bans. 2020-07-04 19:14:29 -04:00
9c30c65c07 One pass at materialized views, only about 30% faster, not good. 2020-07-04 13:20:06 -04:00