Some learning about JOIN filled queries like the SELECT that is used to list post_aggregates table when browsing postings on Lemmy.

https://dba.stackexchange.com/questions/155972/postgres-join-conditions-vs-where-conditions

“Logically, it makes no difference at all whether you place conditions in the join clause of an INNER JOIN or the WHERE clause of the same SELECT. The effect is the same. (Not the case for OUTER JOIN!)”

Learning about join_collapse_limit

  • RoundSparrow @ BTOPM
    link
    fedilink
    11 year ago

    I’m thinking for Lemmy…

    SET geqo = on;
    SET geqo_threshold = 12;
    
    SET from_collapse_limit = 15;
    SET join_collapse_limit = 15;