It’s been a week since I’ve had to do a major attitude adjustment.

I’ve created tons of local comments on this server to try and figure out what is going on with performance that lemmy.world is still blocking all comment links: https://lemmy.world/post/2697806

I really wish developer would have rushed in a fix for the ampersand munging in URL and other content… a lot of links now on Lemmy are broken because of the damage to the URL.

  • RoundSparrow @ BTOPM
    link
    fedilink
    11 year ago
    -- Add missing most comments index
    create index idx_post_aggregates_featured_local_most_comments on post_aggregates (featured_local desc, comments desc, published desc);
    create index idx_post_aggregates_featured_community_most_comments on post_aggregates (featured_community desc, comments desc, published desc);
    
    -- featured_local
    create index idx_post_aggregates_featured_local_hot on post_aggregates (featured_local desc, hot_rank desc, published desc);
    create index idx_post_aggregates_featured_local_active on post_aggregates (featured_local desc, hot_rank_active desc, published desc);
    create index idx_post_aggregates_featured_local_score on post_aggregates (featured_local desc, score desc, published desc);
    
    -- featured_community
    create index idx_post_aggregates_featured_community_hot on post_aggregates (featured_community desc, hot_rank desc, published desc);
    create index idx_post_aggregates_featured_community_active on post_aggregates (featured_community desc, hot_rank_active desc, published desc);
    create index idx_post_aggregates_featured_community_score on post_aggregates (featured_community desc, score desc, published desc);
    
    -- Fixing some comment aggregates ones
    create index idx_comment_aggregates_hot on comment_aggregates (hot_rank desc, published desc);
    create index idx_comment_aggregates_score on comment_aggregates (score desc, published desc);