PennyDreadfulMTG / perf-reports

2 stars 2 forks source link

Exceeded slow_query limit (1043.7 > 30.0) in mysql: ``` #54799

Open vorpal-buildbot opened 4 years ago

vorpal-buildbot commented 4 years ago
    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1599833379) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 1043.7, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd40d91cd3bcc6d0b26e6153ee87bca1041599749270'), ('_ga', 'GA1.2.1080008113.1599749271'), ('_gid', 'GA1.2.2098970943.1599749271'), ('hide_intro', 'True'), ('page_size', '100'), ('views', '47')]) Endpoint: home View Args: {} Person: logged_out Referrer: https://www.google.com/ Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 4.28.60.194, 172.68.189.105 Cf-Ray: 5d11f7ba09b08522-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: cross-site Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Referer: https://www.google.com/ Accept-Language: en-US,en;q=0.9 Cookie: __cfduid=d40d91cd3bcc6d0b26e6153ee87bca1041599749270; _ga=GA1.2.1080008113.1599749271; _gid=GA1.2.2098970943.1599749271; hide_intro=True; page_size=100; views=47 Cf-Request-Id: 051f1928430000852277a56200000001 Cf-Connecting-Ip: 4.28.60.194 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```
vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (85.1 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605015464) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 85.1, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: HEAD Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.162.124.229, 172.68.141.132 Cf-Ray: 5f002a105837b3c4-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 0653f89e380000b3c41410e000000001 Cf-Connecting-Ip: 69.162.124.229 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Content-Length: 0 Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (64.8 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605015554) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 64.8, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.162.124.229, 172.68.133.8 Cf-Ray: 5f002bf8eb65fee6-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 0653f9cf930000fee64689a000000001 Cf-Connecting-Ip: 69.162.124.229 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (70.3 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605015581) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 70.3, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: GB X-Forwarded-For: 139.59.173.249, 172.68.143.50 Cf-Ray: 5f002d26ea1fce8b-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 0653fa8c520000ce8b6e108000000001 Cf-Connecting-Ip: 139.59.173.249 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (68.7 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605015585) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 68.7, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: CA X-Forwarded-For: 159.203.30.41, 172.69.22.154 Cf-Ray: 5f002d2f0d37cf64-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 0653fa91690000cf64d6084000000001 Cf-Connecting-Ip: 159.203.30.41 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (42.5 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605015758) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 42.5, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('_ga', 'GA1.2.1939120013.1601927669'), ('hide_intro', 'True'), ('__cfduid', 'd4010df46fa97acc8f3b2d1272d00dd651604536481'), ('_gid', 'GA1.2.926906943.1604694352'), ('page_size', '20'), ('views', '50'), ('session', '.eJx1UctuwjAQ_BefUxTiJJjeCqXQCloJUfpSFbnxYgyJndoOgiL-vRsk4FD15tmZ3dkd70lWgS25Bu3Jtbc1BISLUmlyveCFQySgVKURF6xcbqzIFJYIZYy1uzSJkjQK45DRhFwUhcl5Aaiq_FVvisT_LUpnslaFOK1QGClBNKs5o49WNE3aASm9NFntwGpeNpPBcS0sFzjC8Novo8x57hvmnsqV6t_tqM7lePPT4dNaxrPtpPs4nO9GF703a8Bj94TnOTh3wmTKBvn37dC-rOWC5q_OjarNCJLprLY3c4P9sK2UBZdxzK2dhlFC46QTtTpxN6RxeuGbKNMwZmEYEAsLLC3PJjMzrAQYZr7y58mb9oOngvXZ-7o334jxA5pgkBVe84HR4QepxQ5rx6Dc-dFaGbT4DMhxaOZ3TQPpAbdgySEgfzL03ErApXVdFIdfzAWmZQ.X6qNHA.iha1NCzJA325NKzX5ynPzCNoegA')]) Endpoint: home View Args: {} Person: 388819352562040835 Referrer: https://pennydreadfulmagic.com/ Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 179.34.47.19, 172.69.23.95 Cf-Ray: 5f0032a1bab6f62b-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Dnt: 1 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Referer: https://pennydreadfulmagic.com/ Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7 Cookie: _ga=GA1.2.1939120013.1601927669; hide_intro=True; __cfduid=d4010df46fa97acc8f3b2d1272d00dd651604536481; _gid=GA1.2.926906943.1604694352; page_size=20; views=50; session=.eJx1UctuwjAQ_BefUxTiJJjeCqXQCloJUfpSFbnxYgyJndoOgiL-vRsk4FD15tmZ3dkd70lWgS25Bu3Jtbc1BISLUmlyveCFQySgVKURF6xcbqzIFJYIZYy1uzSJkjQK45DRhFwUhcl5Aaiq_FVvisT_LUpnslaFOK1QGClBNKs5o49WNE3aASm9NFntwGpeNpPBcS0sFzjC8Novo8x57hvmnsqV6t_tqM7lePPT4dNaxrPtpPs4nO9GF703a8Bj94TnOTh3wmTKBvn37dC-rOWC5q_OjarNCJLprLY3c4P9sK2UBZdxzK2dhlFC46QTtTpxN6RxeuGbKNMwZmEYEAsLLC3PJjMzrAQYZr7y58mb9oOngvXZ-7o334jxA5pgkBVe84HR4QepxQ5rx6Dc-dFaGbT4DMhxaOZ3TQPpAbdgySEgfzL03ErApXVdFIdfzAWmZQ.X6qNHA.iha1NCzJA325NKzX5ynPzCNoegA Cf-Request-Id: 0653fdf90f0000f62b3619a000000001 Cf-Connecting-Ip: 179.34.47.19 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (41.9 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605015771) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 41.9, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.162.124.229, 172.68.141.114 Cf-Ray: 5f0032f93ee8feea-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 0653fe2fc20000feea58a55000000001 Cf-Connecting-Ip: 69.162.124.229 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (40.4 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605015785) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 40.4, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('_ga', 'GA1.2.1837909924.1593813759'), ('hide_intro', 'True'), ('__cfduid', 'db10a2da477fdbf244ad12c2ae57098c01602490926'), ('_gid', 'GA1.2.2061926194.1604790220'), ('page_size', '20'), ('views', '28'), ('session', '.eJx1kcluwjAQht_F5xRlIYnh1obQ0kWiLK2gqiIrcRJTx45sBwiId-8ECThUvXmWf_6Zz0eU1FRVRFBh0NCohlqIZBUTaJgTriHKaMUqmd1iplOpsoRBCnnYdRy3j8PA833fdh2Mbh1cpoRT6KLibjmHwv8SJpKiYTy7rMBlUdCsW01LcbZy7GBgocoUMmk0VYJU3WS-LXAIekkaU7qJNsR0aSeaHPhuvNvfr0exP2_jUUyKzZuM3se7dHHrN_KHwqVHRNKUan2JURGXdRgdPgfx9mkyWry-zLw29XGUPW8edQt6uq-ZojohAM3xB37fdV2Me05oh37g3eodx8DuY9u2kKI5pMqrCVtOTCY_gMN4xUt7ujrMlnuTT5vpmtdbMAGKNVzzBdzgd1jeGZ8p6eujt5Fg8W2h89DEtJ0APVCiqEInC_0BaIgqKCwtGs5Pv2eKpDg.X6qJ1g.Iv5ouCOAytnUcc_XEAjhGtSsVYo')]) Endpoint: home View Args: {} Person: 382112487635550218 Referrer: https://pennydreadfulmagic.com/decks/109434/ Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: NL X-Forwarded-For: 143.176.129.70, 172.68.133.8 Cf-Ray: 5f0033372cc3d13f-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Referer: https://pennydreadfulmagic.com/decks/109434/ Accept-Language: en-US,en;q=0.9 Cookie: _ga=GA1.2.1837909924.1593813759; hide_intro=True; __cfduid=db10a2da477fdbf244ad12c2ae57098c01602490926; _gid=GA1.2.2061926194.1604790220; page_size=20; views=28; session=.eJx1kcluwjAQht_F5xRlIYnh1obQ0kWiLK2gqiIrcRJTx45sBwiId-8ECThUvXmWf_6Zz0eU1FRVRFBh0NCohlqIZBUTaJgTriHKaMUqmd1iplOpsoRBCnnYdRy3j8PA833fdh2Mbh1cpoRT6KLibjmHwv8SJpKiYTy7rMBlUdCsW01LcbZy7GBgocoUMmk0VYJU3WS-LXAIekkaU7qJNsR0aSeaHPhuvNvfr0exP2_jUUyKzZuM3se7dHHrN_KHwqVHRNKUan2JURGXdRgdPgfx9mkyWry-zLw29XGUPW8edQt6uq-ZojohAM3xB37fdV2Me05oh37g3eodx8DuY9u2kKI5pMqrCVtOTCY_gMN4xUt7ujrMlnuTT5vpmtdbMAGKNVzzBdzgd1jeGZ8p6eujt5Fg8W2h89DEtJ0APVCiqEInC_0BaIgqKCwtGs5Pv2eKpDg.X6qJ1g.Iv5ouCOAytnUcc_XEAjhGtSsVYo Cf-Request-Id: 0653fe567b0000d13f383ea000000001 Cf-Connecting-Ip: 143.176.129.70 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (51.0 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605015777) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 51.0, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('_ga', 'GA1.2.994836812.1588292461'), ('hide_intro', 'True'), ('__cfduid', 'dcf67ee319b97e4bf109a81c73c14ab061604404911'), ('_gid', 'GA1.2.479350117.1604863365'), ('views', '10')]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 191.177.183.221, 172.69.22.184 Cf-Ray: 5f003319aae5f64f-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Save-Data: on Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Linux; Android 10; SM-A805F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.185 Mobile Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7 Cookie: _ga=GA1.2.994836812.1588292461; hide_intro=True; __cfduid=dcf67ee319b97e4bf109a81c73c14ab061604404911; _gid=GA1.2.479350117.1604863365; views=10 Cf-Request-Id: 0653fe44070000f64f762b8000000001 Cf-Connecting-Ip: 191.177.183.221 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (30.6 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605015897) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 30.6, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('_ga', 'GA1.2.1939120013.1601927669'), ('hide_intro', 'True'), ('__cfduid', 'd4010df46fa97acc8f3b2d1272d00dd651604536481'), ('_gid', 'GA1.2.926906943.1604694352'), ('page_size', '20'), ('views', '51'), ('session', '.eJx1UctuwjAQ_BefUxTiJJjeCqXQCloJUfpSFbnxYgyJndoOgiL-vRsk4FD15tmZ3dkd70lWgS25Bu3Jtbc1BISLUmlyveCFQySgVKURF6xcbqzIFJYIZYy1uzSJkjQK45DRhFwUhcl5Aaiq_FVvisT_LUpnslaFOK1QGClBNKs5o49WNE3aASm9NFntwGpeNpPBcS0sFzjC8Novo8x57hvmnsqV6t_tqM7lePPT4dNaxrPtpPs4nO9GF703a8Bj94TnOTh3wmTKBvn37dC-rOWC5q_OjarNCJLprLY3c4P9sK2UBZdxzK2dhlFC46QTtTpxN6RxeuGbKNMwZmEYEAsLLC3PJjMzrAQYZr7y58mb9oOngvXZ-7o334jxA5pgkBVe84HR4QepxQ5rx6Dc-dFaGbT4DMhxaOZ3TQPpAbdgySEgfzL03ErApXVdFIdfzAWmZQ.X6qZDQ.xAEQ6p-O1xcZNFEGvof-dAoEeEw')]) Endpoint: home View Args: {} Person: 388819352562040835 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 179.34.47.19, 172.69.23.95 Cf-Ray: 5f0035ff3c4ef62b-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Dnt: 1 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7 Cookie: _ga=GA1.2.1939120013.1601927669; hide_intro=True; __cfduid=d4010df46fa97acc8f3b2d1272d00dd651604536481; _gid=GA1.2.926906943.1604694352; page_size=20; views=51; session=.eJx1UctuwjAQ_BefUxTiJJjeCqXQCloJUfpSFbnxYgyJndoOgiL-vRsk4FD15tmZ3dkd70lWgS25Bu3Jtbc1BISLUmlyveCFQySgVKURF6xcbqzIFJYIZYy1uzSJkjQK45DRhFwUhcl5Aaiq_FVvisT_LUpnslaFOK1QGClBNKs5o49WNE3aASm9NFntwGpeNpPBcS0sFzjC8Novo8x57hvmnsqV6t_tqM7lePPT4dNaxrPtpPs4nO9GF703a8Bj94TnOTh3wmTKBvn37dC-rOWC5q_OjarNCJLprLY3c4P9sK2UBZdxzK2dhlFC46QTtTpxN6RxeuGbKNMwZmEYEAsLLC3PJjMzrAQYZr7y58mb9oOngvXZ-7o334jxA5pgkBVe84HR4QepxQ5rx6Dc-dFaGbT4DMhxaOZ3TQPpAbdgySEgfzL03ErApXVdFIdfzAWmZQ.X6qZDQ.xAEQ6p-O1xcZNFEGvof-dAoEeEw Cf-Request-Id: 06540013850000f62b961ae000000001 Cf-Connecting-Ip: 179.34.47.19 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (35.0 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016079) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 35.0, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.162.124.229, 172.68.141.114 Cf-Ray: 5f003a4c4962feaa-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 065402c3a90000feaa132db000000001 Cf-Connecting-Ip: 69.162.124.229 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (34.2 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016167) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 34.2, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: HEAD Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: FR X-Forwarded-For: 217.182.175.162, 172.69.23.95 Cf-Ray: 5f003b30fd21cdc3-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36 Cf-Request-Id: 06540352980000cdc3f58d3000000001 Cf-Connecting-Ip: 217.182.175.162 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (37.8 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016551) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 37.8, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: RU X-Forwarded-For: 77.88.5.139, 172.68.132.43 Cf-Ray: 5f0045c00d087b1f-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.268 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Upgrade-Insecure-Requests: 1 From: support@search.yandex.ru Accept-Language: en, *;q=0.01 Cf-Request-Id: 065409ec0100007b1fa703a000000001 Cf-Connecting-Ip: 77.88.5.139 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: Search Engine; decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (31.9 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016703) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 31.9, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('hide_intro', 'True'), ('session', '.eJx1kclOwzAQht_F51BlcZb2xiIqSlmkKhSEUGSSaWripbIdmlL13ZlUanNA3Dzzz8w_83lPig0YyRQoRybOtOARVkmuyGTFhMWoAsmlroaY21KbquCYIoE_DtOEhkHm-4mfppSSoULokgnAKlAX-QKF_1u4KuqWi-q0gtB1DVW_mtXqaJWG2dgj0tW6aC0YxWQ_-bMVYie0wBGatW4dFtYx1yvVMrqTi9dH0XYwf_O5jER5oyKIo9k8Hg_1TjeAx-4JK0uw9hSTLu5m7nqadU-JSd2za0xe6_zl3vx0jbnFfug23IAtGHILEp-GMU2zZBRklMbJIPckUcVjPWJghan12SPI1DYHfbn85qaz04UOtyxsKMjZQ1BK9ECOGzzmHcnh__DVDnNHTvb8GH1ptPjwyHFo4XZ9A7kCZsCQg0f-IHTM1IA7K0R3-AUgS6ZN.X6qcHg.Q1zBKjPM0vO8Sca95igzTpWPOoM'), ('__cfduid', 'd128ff8eaffc2016455175f5a4b5dd6f31604435207'), ('page_size', '20'), ('deck_id', '109584'), ('views', '944')]) Endpoint: home View Args: {} Person: 109276421800607744 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: GB X-Forwarded-For: 92.233.234.35, 172.68.133.8 Cf-Ray: 5f0048e3689134ea-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-GB Dnt: 1 Upgrade-Insecure-Requests: 1 Cookie: hide_intro=True; session=.eJx1kclOwzAQht_F51BlcZb2xiIqSlmkKhSEUGSSaWripbIdmlL13ZlUanNA3Dzzz8w_83lPig0YyRQoRybOtOARVkmuyGTFhMWoAsmlroaY21KbquCYIoE_DtOEhkHm-4mfppSSoULokgnAKlAX-QKF_1u4KuqWi-q0gtB1DVW_mtXqaJWG2dgj0tW6aC0YxWQ_-bMVYie0wBGatW4dFtYx1yvVMrqTi9dH0XYwf_O5jER5oyKIo9k8Hg_1TjeAx-4JK0uw9hSTLu5m7nqadU-JSd2za0xe6_zl3vx0jbnFfug23IAtGHILEp-GMU2zZBRklMbJIPckUcVjPWJghan12SPI1DYHfbn85qaz04UOtyxsKMjZQ1BK9ECOGzzmHcnh__DVDnNHTvb8GH1ptPjwyHFo4XZ9A7kCZsCQg0f-IHTM1IA7K0R3-AUgS6ZN.X6qcHg.Q1zBKjPM0vO8Sca95igzTpWPOoM; __cfduid=d128ff8eaffc2016455175f5a4b5dd6f31604435207; page_size=20; deck_id=109584; views=944 Cf-Request-Id: 06540be224000034eae4b10000000001 Cf-Connecting-Ip: 92.233.234.35 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (32.3 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016704) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 32.3, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.162.124.229, 172.68.141.114 Cf-Ray: 5f0048f24c47b3ee-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 06540beb6a0000b3eeb9aa6000000001 Cf-Connecting-Ip: 69.162.124.229 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (32.9 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016708) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 32.9, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd01a4299d96043afe96acecb5aa7ccd061604183594'), ('hide_intro', 'True'), ('session', '.eJx1UdtugkAQ_Zd9pobrSvuINZE0tcZLbGwassIAq8DS3QVLjf_ewUR5aPqymcuZc2bOnklUgyxZBZUmT1o2YBCWlLwiTykrFGYJlLwUyZBzFQuZRBxLhNr-2PTwNT3Pcm3X8ciAKETMCkAUVA-bFTb-H-FVlDW8SG4rFCLLIOlXU6K6SjljzzZIqTMRNQpkxcqeWcX5iac6OjRK8xiQSbBG53akNNM9YPa2nDLazrchf88WM8tfTs3gMdwFrenXqwGvxRHw5jNhcQxK3XJizzv9tZTHcLuedG2t833o0qzZbX4WdNPiPHzXXIKKGNpnUdP1qePY7sjrL6NDuze075qmQSSkWMrvGpPX572zHgfMjtt29nKE0ySV1Fd7K-XuCTXQzhqP-UAD8Zt42mHtape6B6ODQIlPg1xJI931AyQAJkGSi0H-OKmZzAB3rpqiuPwCSH2nug.X6hXVQ.yAoCggXvFh8vYMLLft8OVrbXaAU')]) Endpoint: home View Args: {} Person: 628705628055142435 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 2601:805:8400:dab0:e9c0:773:a102:71, 172.68.141.114 Cf-Ray: 5f0049416ab12fee-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Accept-Language: en-US,en;q=0.9,es;q=0.8 Cookie: __cfduid=d01a4299d96043afe96acecb5aa7ccd061604183594; hide_intro=True; session=.eJx1UdtugkAQ_Zd9pobrSvuINZE0tcZLbGwassIAq8DS3QVLjf_ewUR5aPqymcuZc2bOnklUgyxZBZUmT1o2YBCWlLwiTykrFGYJlLwUyZBzFQuZRBxLhNr-2PTwNT3Pcm3X8ciAKETMCkAUVA-bFTb-H-FVlDW8SG4rFCLLIOlXU6K6SjljzzZIqTMRNQpkxcqeWcX5iac6OjRK8xiQSbBG53akNNM9YPa2nDLazrchf88WM8tfTs3gMdwFrenXqwGvxRHw5jNhcQxK3XJizzv9tZTHcLuedG2t833o0qzZbX4WdNPiPHzXXIKKGNpnUdP1qePY7sjrL6NDuze075qmQSSkWMrvGpPX572zHgfMjtt29nKE0ySV1Fd7K-XuCTXQzhqP-UAD8Zt42mHtape6B6ODQIlPg1xJI931AyQAJkGSi0H-OKmZzAB3rpqiuPwCSH2nug.X6hXVQ.yAoCggXvFh8vYMLLft8OVrbXaAU Cf-Request-Id: 06540c1ce000002fee780f5000000001 Cf-Connecting-Ip: 2601:805:8400:dab0:e9c0:773:a102:71 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (44.9 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016724) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 44.9, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd01a4299d96043afe96acecb5aa7ccd061604183594'), ('hide_intro', 'True'), ('session', '.eJx1UdtugkAQ_Zd9pobrSvuINZE0tcZLbGwassIAq8DS3QVLjf_ewUR5aPqymcuZc2bOnklUgyxZBZUmT1o2YBCWlLwiTykrFGYJlLwUyZBzFQuZRBxLhNr-2PTwNT3Pcm3X8ciAKETMCkAUVA-bFTb-H-FVlDW8SG4rFCLLIOlXU6K6SjljzzZIqTMRNQpkxcqeWcX5iac6OjRK8xiQSbBG53akNNM9YPa2nDLazrchf88WM8tfTs3gMdwFrenXqwGvxRHw5jNhcQxK3XJizzv9tZTHcLuedG2t833o0qzZbX4WdNPiPHzXXIKKGNpnUdP1qePY7sjrL6NDuze075qmQSSkWMrvGpPX572zHgfMjtt29nKE0ySV1Fd7K-XuCTXQzhqP-UAD8Zt42mHtape6B6ODQIlPg1xJI931AyQAJkGSi0H-OKmZzAB3rpqiuPwCSH2nug.X6hXVQ.yAoCggXvFh8vYMLLft8OVrbXaAU')]) Endpoint: home View Args: {} Person: 628705628055142435 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 2601:805:8400:dab0:e9c0:773:a102:71, 172.68.141.114 Cf-Ray: 5f0049b888df2fee-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Accept-Language: en-US,en;q=0.9,es;q=0.8 Cookie: __cfduid=d01a4299d96043afe96acecb5aa7ccd061604183594; hide_intro=True; session=.eJx1UdtugkAQ_Zd9pobrSvuINZE0tcZLbGwassIAq8DS3QVLjf_ewUR5aPqymcuZc2bOnklUgyxZBZUmT1o2YBCWlLwiTykrFGYJlLwUyZBzFQuZRBxLhNr-2PTwNT3Pcm3X8ciAKETMCkAUVA-bFTb-H-FVlDW8SG4rFCLLIOlXU6K6SjljzzZIqTMRNQpkxcqeWcX5iac6OjRK8xiQSbBG53akNNM9YPa2nDLazrchf88WM8tfTs3gMdwFrenXqwGvxRHw5jNhcQxK3XJizzv9tZTHcLuedG2t833o0qzZbX4WdNPiPHzXXIKKGNpnUdP1qePY7sjrL6NDuze075qmQSSkWMrvGpPX572zHgfMjtt29nKE0ySV1Fd7K-XuCTXQzhqP-UAD8Zt42mHtape6B6ODQIlPg1xJI931AyQAJkGSi0H-OKmZzAB3rpqiuPwCSH2nug.X6hXVQ.yAoCggXvFh8vYMLLft8OVrbXaAU Cf-Request-Id: 06540c675200002fee782c4000000001 Cf-Connecting-Ip: 2601:805:8400:dab0:e9c0:773:a102:71 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (84.9 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016853) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 84.9, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: RU X-Forwarded-For: 2a02:6b8:c0d:4e1d:0:492c:599e:0, 172.68.132.43 Cf-Ray: 5f004d44e9dd0c3c-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.268 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Cf-Request-Id: 06540e9f1100000c3c593c3000000001 Cf-Connecting-Ip: 2a02:6b8:c0d:4e1d:0:492c:599e:0 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: Search Engine; decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (115.0 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016910) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 115.0, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: RU X-Forwarded-For: 2a02:6b8:c0b:6cfd:0:492c:da08:0, 172.68.132.43 Cf-Ray: 5f004de8a8a8b639-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.268 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Cf-Request-Id: 06540f056a0000b639d0888000000001 Cf-Connecting-Ip: 2a02:6b8:c0b:6cfd:0:492c:da08:0 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: Search Engine; decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (97.9 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016973) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 97.9, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: magic.vorpald20.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 13.66.139.59, 172.68.189.135 Cf-Ray: 5f004fa849fd138a-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: no-cache Pragma: no-cache Accept: */* From: bingbot(at)microsoft.com User-Agent: Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Cf-Request-Id: 0654101d300000138af2b0b000000001 Cf-Connecting-Ip: 13.66.139.59 Cdn-Loop: cloudflare X-Forwarded-Host: magic.vorpald20.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: Search Engine; decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (97.8 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016966) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 97.8, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd4ca15880d0c61ca430cca9585e8b73651603003924'), ('hide_intro', 'True')]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: NL X-Forwarded-For: 2a02:a458:9c33:1:2125:7e0:e946:2a93, 172.68.143.50 Cf-Ray: 5f004f2e5f01d90d-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Accept-Language: nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7 Dnt: 1 Sec-Gpc: 1 Cookie: __cfduid=d4ca15880d0c61ca430cca9585e8b73651603003924; hide_intro=True Cf-Request-Id: 06540fd0f60000d90d210a8000000001 Cf-Connecting-Ip: 2a02:a458:9c33:1:2125:7e0:e946:2a93 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (108.3 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016991) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 108.3, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd96162d6f1ebc9fd4c01a21bea75b06721603654086'), ('_ga', 'GA1.2.1966634350.1603654074'), ('hide_intro', 'True'), ('session', '.eJx1UctuwjAQ_BefoyovnIRbHwdaUdrwENCqiqx4CSZOnNoOjyL-vRsk4FD15p2Z3dkdH0nWgK5YDbUlfatbcAjjlahJf8WkwYpDJSrFb7UwudI8EwgRmri9IKRxQgM38P3IS8hNIVXOJKCKA6L_60WdFa2Q_OIvVVEA7_Yyqj77REGQOKSyhcpaA7pmVTe2rUXBtGAGZyjW2rWfGctsRz3D_G03l2k-firH_rIZDl7VdpgyXqQDT9z0VpWApx4Jy3Mw5lKTkD3G0_vpTynlLF5_JMNWb3fxJGxe3ifrGPth3wgNJmOYmkfdMKJREvTuQpd61I9ufBck0rHrOkTDCqH11eQ7pLtg5hpvtOC9allu6KyM0kWxb0I_HaEJxtjgNZ-YHX6PWB0QOydlro-7jUKLL4ech2b20DWQB2AaNDk55E-IlukCcOm6lfL0CyRRpMo.X6miWw.jJtrXCzxq98XpJ__TE8mDR2DY48'), ('_gid', 'GA1.2.93228720.1604947326')]) Endpoint: home View Args: {} Person: 690534689630322719 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: DE X-Forwarded-For: 2a02:810c:ccc0:3c9d:d4c1:1d5d:4848:c157, 172.68.132.241 Cf-Ray: 5f00501b6ae2645b-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: de,en-US;q=0.7,en;q=0.3 Upgrade-Insecure-Requests: 1 Cookie: __cfduid=d96162d6f1ebc9fd4c01a21bea75b06721603654086; _ga=GA1.2.1966634350.1603654074; hide_intro=True; session=.eJx1UctuwjAQ_BefoyovnIRbHwdaUdrwENCqiqx4CSZOnNoOjyL-vRsk4FD15p2Z3dkdH0nWgK5YDbUlfatbcAjjlahJf8WkwYpDJSrFb7UwudI8EwgRmri9IKRxQgM38P3IS8hNIVXOJKCKA6L_60WdFa2Q_OIvVVEA7_Yyqj77REGQOKSyhcpaA7pmVTe2rUXBtGAGZyjW2rWfGctsRz3D_G03l2k-firH_rIZDl7VdpgyXqQDT9z0VpWApx4Jy3Mw5lKTkD3G0_vpTynlLF5_JMNWb3fxJGxe3ifrGPth3wgNJmOYmkfdMKJREvTuQpd61I9ufBck0rHrOkTDCqH11eQ7pLtg5hpvtOC9allu6KyM0kWxb0I_HaEJxtjgNZ-YHX6PWB0QOydlro-7jUKLL4ech2b20DWQB2AaNDk55E-IlukCcOm6lfL0CyRRpMo.X6miWw.jJtrXCzxq98XpJ__TE8mDR2DY48; _gid=GA1.2.93228720.1604947326 Cf-Request-Id: 06541065220000645ba59fa000000001 Cf-Connecting-Ip: 2a02:810c:ccc0:3c9d:d4c1:1d5d:4848:c157 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (104.4 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605016998) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 104.4, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.162.124.229, 172.68.142.205 Cf-Ray: 5f0050455b24fef6-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 0654107f570000fef69887e000000001 Cf-Connecting-Ip: 69.162.124.229 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (162.4 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017038) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 162.4, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd96162d6f1ebc9fd4c01a21bea75b06721603654086'), ('_ga', 'GA1.2.1966634350.1603654074'), ('hide_intro', 'True'), ('session', '.eJx1UctuwjAQ_BefoyovnIRbHwdaUdrwENCqiqx4CSZOnNoOjyL-vRsk4FD15p2Z3dkdH0nWgK5YDbUlfatbcAjjlahJf8WkwYpDJSrFb7UwudI8EwgRmri9IKRxQgM38P3IS8hNIVXOJKCKA6L_60WdFa2Q_OIvVVEA7_Yyqj77REGQOKSyhcpaA7pmVTe2rUXBtGAGZyjW2rWfGctsRz3D_G03l2k-firH_rIZDl7VdpgyXqQDT9z0VpWApx4Jy3Mw5lKTkD3G0_vpTynlLF5_JMNWb3fxJGxe3ifrGPth3wgNJmOYmkfdMKJREvTuQpd61I9ufBck0rHrOkTDCqH11eQ7pLtg5hpvtOC9allu6KyM0kWxb0I_HaEJxtjgNZ-YHX6PWB0QOydlro-7jUKLL4ech2b20DWQB2AaNDk55E-IlukCcOm6lfL0CyRRpMo.X6miWw.jJtrXCzxq98XpJ__TE8mDR2DY48'), ('_gid', 'GA1.2.93228720.1604947326')]) Endpoint: home View Args: {} Person: 690534689630322719 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: DE X-Forwarded-For: 2a02:810c:ccc0:3c9d:d4c1:1d5d:4848:c157, 172.68.132.241 Cf-Ray: 5f005111de74645b-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: de,en-US;q=0.7,en;q=0.3 Upgrade-Insecure-Requests: 1 Cookie: __cfduid=d96162d6f1ebc9fd4c01a21bea75b06721603654086; _ga=GA1.2.1966634350.1603654074; hide_intro=True; session=.eJx1UctuwjAQ_BefoyovnIRbHwdaUdrwENCqiqx4CSZOnNoOjyL-vRsk4FD15p2Z3dkdH0nWgK5YDbUlfatbcAjjlahJf8WkwYpDJSrFb7UwudI8EwgRmri9IKRxQgM38P3IS8hNIVXOJKCKA6L_60WdFa2Q_OIvVVEA7_Yyqj77REGQOKSyhcpaA7pmVTe2rUXBtGAGZyjW2rWfGctsRz3D_G03l2k-firH_rIZDl7VdpgyXqQDT9z0VpWApx4Jy3Mw5lKTkD3G0_vpTynlLF5_JMNWb3fxJGxe3ifrGPth3wgNJmOYmkfdMKJREvTuQpd61I9ufBck0rHrOkTDCqH11eQ7pLtg5hpvtOC9allu6KyM0kWxb0I_HaEJxtjgNZ-YHX6PWB0QOydlro-7jUKLL4ech2b20DWQB2AaNDk55E-IlukCcOm6lfL0CyRRpMo.X6miWw.jJtrXCzxq98XpJ__TE8mDR2DY48; _gid=GA1.2.93228720.1604947326 Cf-Request-Id: 065410ff250000645ba5beb000000001 Cf-Connecting-Ip: 2a02:810c:ccc0:3c9d:d4c1:1d5d:4848:c157 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (156.4 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017056) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 156.4, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd96162d6f1ebc9fd4c01a21bea75b06721603654086'), ('_ga', 'GA1.2.1966634350.1603654074'), ('hide_intro', 'True'), ('session', '.eJx1UctuwjAQ_BefoyovnIRbHwdaUdrwENCqiqx4CSZOnNoOjyL-vRsk4FD15p2Z3dkdH0nWgK5YDbUlfatbcAjjlahJf8WkwYpDJSrFb7UwudI8EwgRmri9IKRxQgM38P3IS8hNIVXOJKCKA6L_60WdFa2Q_OIvVVEA7_Yyqj77REGQOKSyhcpaA7pmVTe2rUXBtGAGZyjW2rWfGctsRz3D_G03l2k-firH_rIZDl7VdpgyXqQDT9z0VpWApx4Jy3Mw5lKTkD3G0_vpTynlLF5_JMNWb3fxJGxe3ifrGPth3wgNJmOYmkfdMKJREvTuQpd61I9ufBck0rHrOkTDCqH11eQ7pLtg5hpvtOC9allu6KyM0kWxb0I_HaEJxtjgNZ-YHX6PWB0QOydlro-7jUKLL4ech2b20DWQB2AaNDk55E-IlukCcOm6lfL0CyRRpMo.X6miWw.jJtrXCzxq98XpJ__TE8mDR2DY48'), ('_gid', 'GA1.2.93228720.1604947326')]) Endpoint: home View Args: {} Person: 690534689630322719 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: DE X-Forwarded-For: 2a02:810c:ccc0:3c9d:d4c1:1d5d:4848:c157, 172.68.132.241 Cf-Ray: 5f0051d5a89d645b-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: de,en-US;q=0.7,en;q=0.3 Upgrade-Insecure-Requests: 1 Cookie: __cfduid=d96162d6f1ebc9fd4c01a21bea75b06721603654086; _ga=GA1.2.1966634350.1603654074; hide_intro=True; session=.eJx1UctuwjAQ_BefoyovnIRbHwdaUdrwENCqiqx4CSZOnNoOjyL-vRsk4FD15p2Z3dkdH0nWgK5YDbUlfatbcAjjlahJf8WkwYpDJSrFb7UwudI8EwgRmri9IKRxQgM38P3IS8hNIVXOJKCKA6L_60WdFa2Q_OIvVVEA7_Yyqj77REGQOKSyhcpaA7pmVTe2rUXBtGAGZyjW2rWfGctsRz3D_G03l2k-firH_rIZDl7VdpgyXqQDT9z0VpWApx4Jy3Mw5lKTkD3G0_vpTynlLF5_JMNWb3fxJGxe3ifrGPth3wgNJmOYmkfdMKJREvTuQpd61I9ufBck0rHrOkTDCqH11eQ7pLtg5hpvtOC9allu6KyM0kWxb0I_HaEJxtjgNZ-YHX6PWB0QOydlro-7jUKLL4ech2b20DWQB2AaNDk55E-IlukCcOm6lfL0CyRRpMo.X6miWw.jJtrXCzxq98XpJ__TE8mDR2DY48; _gid=GA1.2.93228720.1604947326 Cf-Request-Id: 065411798e0000645ba1b50000000001 Cf-Connecting-Ip: 2a02:810c:ccc0:3c9d:d4c1:1d5d:4848:c157 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (159.4 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017109) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 159.4, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd4ca15880d0c61ca430cca9585e8b73651603003924'), ('hide_intro', 'True'), ('views', '1')]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com/ Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: NL X-Forwarded-For: 2a02:a458:9c33:1:2125:7e0:e946:2a93, 172.68.143.50 Cf-Ray: 5f0053698bb0d90d-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Referer: https://pennydreadfulmagic.com/ Accept-Language: nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7 Dnt: 1 Sec-Gpc: 1 Cookie: __cfduid=d4ca15880d0c61ca430cca9585e8b73651603003924; hide_intro=True; views=1 Cf-Request-Id: 06541275f60000d90d4496e000000001 Cf-Connecting-Ip: 2a02:a458:9c33:1:2125:7e0:e946:2a93 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (143.9 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017125) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 143.9, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('hide_intro', 'True'), ('session', '.eJx1kclOwzAQht_F51BlcZb2xiIqSlmkKhSEUGSSaWripbIdmlL13ZlUanNA3Dzzz8w_83lPig0YyRQoRybOtOARVkmuyGTFhMWoAsmlroaY21KbquCYIoE_DtOEhkHm-4mfppSSoULokgnAKlAX-QKF_1u4KuqWi-q0gtB1DVW_mtXqaJWG2dgj0tW6aC0YxWQ_-bMVYie0wBGatW4dFtYx1yvVMrqTi9dH0XYwf_O5jER5oyKIo9k8Hg_1TjeAx-4JK0uw9hSTLu5m7nqadU-JSd2za0xe6_zl3vx0jbnFfug23IAtGHILEp-GMU2zZBRklMbJIPckUcVjPWJghan12SPI1DYHfbn85qaz04UOtyxsKMjZQ1BK9ECOGzzmHcnh__DVDnNHTvb8GH1ptPjwyHFo4XZ9A7kCZsCQg0f-IHTM1IA7K0R3-AUgS6ZN.X6qdjQ.vTpHy1L_2Kc8DY0hIKwcKzlqOJA'), ('__cfduid', 'd128ff8eaffc2016455175f5a4b5dd6f31604435207'), ('page_size', '20'), ('deck_id', '109584'), ('views', '952'), ('cf_ob_info', '502:5f0051511bda34ea:DUB'), ('cf_use_ob', '0')]) Endpoint: home View Args: {} Person: 109276421800607744 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: GB X-Forwarded-For: 92.233.234.35, 172.68.133.8 Cf-Ray: 5f0053da29ee34ea-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-GB Dnt: 1 Upgrade-Insecure-Requests: 1 Cookie: hide_intro=True; session=.eJx1kclOwzAQht_F51BlcZb2xiIqSlmkKhSEUGSSaWripbIdmlL13ZlUanNA3Dzzz8w_83lPig0YyRQoRybOtOARVkmuyGTFhMWoAsmlroaY21KbquCYIoE_DtOEhkHm-4mfppSSoULokgnAKlAX-QKF_1u4KuqWi-q0gtB1DVW_mtXqaJWG2dgj0tW6aC0YxWQ_-bMVYie0wBGatW4dFtYx1yvVMrqTi9dH0XYwf_O5jER5oyKIo9k8Hg_1TjeAx-4JK0uw9hSTLu5m7nqadU-JSd2za0xe6_zl3vx0jbnFfug23IAtGHILEp-GMU2zZBRklMbJIPckUcVjPWJghan12SPI1DYHfbn85qaz04UOtyxsKMjZQ1BK9ECOGzzmHcnh__DVDnNHTvb8GH1ptPjwyHFo4XZ9A7kCZsCQg0f-IHTM1IA7K0R3-AUgS6ZN.X6qdjQ.vTpHy1L_2Kc8DY0hIKwcKzlqOJA; __cfduid=d128ff8eaffc2016455175f5a4b5dd6f31604435207; page_size=20; deck_id=109584; views=952; cf_ob_info=502:5f0051511bda34ea:DUB; cf_use_ob=0 Cf-Request-Id: 065412bc56000034eaec22b000000001 Cf-Connecting-Ip: 92.233.234.35 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (130.3 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017151) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 130.3, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('_ga', 'GA1.2.1780629750.1571316993'), ('hide_intro', 'True'), ('__cfduid', 'd2896091f595b736280cb38af1a08dc351603199825'), ('session', '.eJx1UctuwjAQ_BefU2SSEBJu0EalEqhFQAFVVeQmS3DxI9gOgiL-vQsS5FD15pnd2dkdn0hWgZFMgXKk50wNHmGF5Ir01kxYRAVILnXRYG5zbYqMI0WCJOgEcUg7XUo7SRLThDQdQudMAHaBephPsfC_hKusrLkobisIXZZQXFazWl2tfD_xPSJdqbPaglFMXifbXaUBB2hWu42fWcfchS-U0dxOF9tZO5rv-0vzMp1IN4rfR9WsnzT9Tm8BTz0Rludg7Q0TuRST1A0P-lHIn_Rp5HS9H27XY_a1Ge5mqIdDxQ3YjGFq7YgGMQ2jbtiKgtAPwm5TvwQZ0TCm1CMG1kht7iZROE7566G7yOeQ8ulbe5WUY50O2nW8WD2jCcZY4TUfGBx-D18fkbvGZO-P1rdGi0-PXIdm7ngRkAEwA4acPfInQcdMCbi0qoU4_wKrsKVb.X6laEA.OKdtYc6AEJrtVKL1GLbJ6YXt-7w'), ('_gid', 'GA1.2.1506125945.1604931503')]) Endpoint: home View Args: {} Person: 393538405700599809 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 108.24.175.45, 172.68.142.193 Cf-Ray: 5f0054686dcccf1c-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Upgrade-Insecure-Requests: 1 Cookie: _ga=GA1.2.1780629750.1571316993; hide_intro=True; __cfduid=d2896091f595b736280cb38af1a08dc351603199825; session=.eJx1UctuwjAQ_BefU2SSEBJu0EalEqhFQAFVVeQmS3DxI9gOgiL-vQsS5FD15pnd2dkdn0hWgZFMgXKk50wNHmGF5Ir01kxYRAVILnXRYG5zbYqMI0WCJOgEcUg7XUo7SRLThDQdQudMAHaBephPsfC_hKusrLkobisIXZZQXFazWl2tfD_xPSJdqbPaglFMXifbXaUBB2hWu42fWcfchS-U0dxOF9tZO5rv-0vzMp1IN4rfR9WsnzT9Tm8BTz0Rludg7Q0TuRST1A0P-lHIn_Rp5HS9H27XY_a1Ge5mqIdDxQ3YjGFq7YgGMQ2jbtiKgtAPwm5TvwQZ0TCm1CMG1kht7iZROE7566G7yOeQ8ulbe5WUY50O2nW8WD2jCcZY4TUfGBx-D18fkbvGZO-P1rdGi0-PXIdm7ngRkAEwA4acPfInQcdMCbi0qoU4_wKrsKVb.X6laEA.OKdtYc6AEJrtVKL1GLbJ6YXt-7w; _gid=GA1.2.1506125945.1604931503 Cf-Request-Id: 06541315450000cf1c09158000000001 Cf-Connecting-Ip: 108.24.175.45 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (131.8 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017219) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 131.8, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://www.google.com/ Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: IT X-Forwarded-For: 151.75.122.48, 172.68.141.144 Cf-Ray: 5f005518ce9232b1-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Purpose: prefetch Sec-Fetch-Site: cross-site Sec-Fetch-Mode: navigate Sec-Fetch-Dest: document Referer: https://www.google.com/ Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7 Cf-Request-Id: 065413837e000032b1493a9000000001 Cf-Connecting-Ip: 151.75.122.48 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (97.0 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017285) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 97.0, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: RU X-Forwarded-For: 77.88.5.139, 172.68.132.43 Cf-Ray: 5f0055bb0c972de2-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.268 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Upgrade-Insecure-Requests: 1 From: support@search.yandex.ru Accept-Language: en, *;q=0.01 Cf-Request-Id: 065413e8e900002de2fe92e000000001 Cf-Connecting-Ip: 77.88.5.139 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: Search Engine; decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (88.4 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017314) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 88.4, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('_ga', 'GA1.2.1780629750.1571316993'), ('hide_intro', 'True'), ('__cfduid', 'd2896091f595b736280cb38af1a08dc351603199825'), ('session', '.eJx1UctuwjAQ_BefU2SSEBJu0EalEqhFQAFVVeQmS3DxI9gOgiL-vQsS5FD15pnd2dkdn0hWgZFMgXKk50wNHmGF5Ir01kxYRAVILnXRYG5zbYqMI0WCJOgEcUg7XUo7SRLThDQdQudMAHaBephPsfC_hKusrLkobisIXZZQXFazWl2tfD_xPSJdqbPaglFMXifbXaUBB2hWu42fWcfchS-U0dxOF9tZO5rv-0vzMp1IN4rfR9WsnzT9Tm8BTz0Rludg7Q0TuRST1A0P-lHIn_Rp5HS9H27XY_a1Ge5mqIdDxQ3YjGFq7YgGMQ2jbtiKgtAPwm5TvwQZ0TCm1CMG1kht7iZROE7566G7yOeQ8ulbe5WUY50O2nW8WD2jCcZY4TUfGBx-D18fkbvGZO-P1rdGi0-PXIdm7ngRkAEwA4acPfInQcdMCbi0qoU4_wKrsKVb.X6laEA.OKdtYc6AEJrtVKL1GLbJ6YXt-7w'), ('_gid', 'GA1.2.1506125945.1604931503')]) Endpoint: home View Args: {} Person: 393538405700599809 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 108.24.175.45, 172.68.142.193 Cf-Ray: 5f00568ebbc1cf1c-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Upgrade-Insecure-Requests: 1 Cookie: _ga=GA1.2.1780629750.1571316993; hide_intro=True; __cfduid=d2896091f595b736280cb38af1a08dc351603199825; session=.eJx1UctuwjAQ_BefU2SSEBJu0EalEqhFQAFVVeQmS3DxI9gOgiL-vQsS5FD15pnd2dkdn0hWgZFMgXKk50wNHmGF5Ir01kxYRAVILnXRYG5zbYqMI0WCJOgEcUg7XUo7SRLThDQdQudMAHaBephPsfC_hKusrLkobisIXZZQXFazWl2tfD_xPSJdqbPaglFMXifbXaUBB2hWu42fWcfchS-U0dxOF9tZO5rv-0vzMp1IN4rfR9WsnzT9Tm8BTz0Rludg7Q0TuRST1A0P-lHIn_Rp5HS9H27XY_a1Ge5mqIdDxQ3YjGFq7YgGMQ2jbtiKgtAPwm5TvwQZ0TCm1CMG1kht7iZROE7566G7yOeQ8ulbe5WUY50O2nW8WD2jCcZY4TUfGBx-D18fkbvGZO-P1rdGi0-PXIdm7ngRkAEwA4acPfInQcdMCbi0qoU4_wKrsKVb.X6laEA.OKdtYc6AEJrtVKL1GLbJ6YXt-7w; _gid=GA1.2.1506125945.1604931503 Cf-Request-Id: 0654146d2f0000cf1c33bf2000000001 Cf-Connecting-Ip: 108.24.175.45 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (115.7 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017252) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 115.7, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd96162d6f1ebc9fd4c01a21bea75b06721603654086'), ('_ga', 'GA1.2.1966634350.1603654074'), ('hide_intro', 'True'), ('session', '.eJx1UctuwjAQ_BefoyovnIRbHwdaUdrwENCqiqx4CSZOnNoOjyL-vRsk4FD15p2Z3dkdH0nWgK5YDbUlfatbcAjjlahJf8WkwYpDJSrFb7UwudI8EwgRmri9IKRxQgM38P3IS8hNIVXOJKCKA6L_60WdFa2Q_OIvVVEA7_Yyqj77REGQOKSyhcpaA7pmVTe2rUXBtGAGZyjW2rWfGctsRz3D_G03l2k-firH_rIZDl7VdpgyXqQDT9z0VpWApx4Jy3Mw5lKTkD3G0_vpTynlLF5_JMNWb3fxJGxe3ifrGPth3wgNJmOYmkfdMKJREvTuQpd61I9ufBck0rHrOkTDCqH11eQ7pLtg5hpvtOC9allu6KyM0kWxb0I_HaEJxtjgNZ-YHX6PWB0QOydlro-7jUKLL4ech2b20DWQB2AaNDk55E-IlukCcOm6lfL0CyRRpMo.X6miWw.jJtrXCzxq98XpJ__TE8mDR2DY48'), ('_gid', 'GA1.2.93228720.1604947326')]) Endpoint: home View Args: {} Person: 690534689630322719 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: DE X-Forwarded-For: 2a02:810c:ccc0:3c9d:c93a:1907:7f98:5c8c, 172.68.142.205 Cf-Ray: 5f00557c2ad42484-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: de,en-US;q=0.7,en;q=0.3 Upgrade-Insecure-Requests: 1 Cookie: __cfduid=d96162d6f1ebc9fd4c01a21bea75b06721603654086; _ga=GA1.2.1966634350.1603654074; hide_intro=True; session=.eJx1UctuwjAQ_BefoyovnIRbHwdaUdrwENCqiqx4CSZOnNoOjyL-vRsk4FD15p2Z3dkdH0nWgK5YDbUlfatbcAjjlahJf8WkwYpDJSrFb7UwudI8EwgRmri9IKRxQgM38P3IS8hNIVXOJKCKA6L_60WdFa2Q_OIvVVEA7_Yyqj77REGQOKSyhcpaA7pmVTe2rUXBtGAGZyjW2rWfGctsRz3D_G03l2k-firH_rIZDl7VdpgyXqQDT9z0VpWApx4Jy3Mw5lKTkD3G0_vpTynlLF5_JMNWb3fxJGxe3ifrGPth3wgNJmOYmkfdMKJREvTuQpd61I9ufBck0rHrOkTDCqH11eQ7pLtg5hpvtOC9allu6KyM0kWxb0I_HaEJxtjgNZ-YHX6PWB0QOydlro-7jUKLL4ech2b20DWQB2AaNDk55E-IlukCcOm6lfL0CyRRpMo.X6miWw.jJtrXCzxq98XpJ__TE8mDR2DY48; _gid=GA1.2.93228720.1604947326 Cf-Request-Id: 065413c198000024844d00b000000001 Cf-Connecting-Ip: 2a02:810c:ccc0:3c9d:c93a:1907:7f98:5c8c Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (90.4 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017309) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 90.4, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd96162d6f1ebc9fd4c01a21bea75b06721603654086'), ('_ga', 'GA1.2.1966634350.1603654074'), ('hide_intro', 'True'), ('session', '.eJx1UctuwjAQ_BefoyovnIRbHwdaUdrwENCqiqx4CSZOnNoOjyL-vRsk4FD15p2Z3dkdH0nWgK5YDbUlfatbcAjjlahJf8WkwYpDJSrFb7UwudI8EwgRmri9IKRxQgM38P3IS8hNIVXOJKCKA6L_60WdFa2Q_OIvVVEA7_Yyqj77REGQOKSyhcpaA7pmVTe2rUXBtGAGZyjW2rWfGctsRz3D_G03l2k-firH_rIZDl7VdpgyXqQDT9z0VpWApx4Jy3Mw5lKTkD3G0_vpTynlLF5_JMNWb3fxJGxe3ifrGPth3wgNJmOYmkfdMKJREvTuQpd61I9ufBck0rHrOkTDCqH11eQ7pLtg5hpvtOC9allu6KyM0kWxb0I_HaEJxtjgNZ-YHX6PWB0QOydlro-7jUKLL4ech2b20DWQB2AaNDk55E-IlukCcOm6lfL0CyRRpMo.X6miWw.jJtrXCzxq98XpJ__TE8mDR2DY48'), ('_gid', 'GA1.2.93228720.1604947326')]) Endpoint: home View Args: {} Person: 690534689630322719 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: DE X-Forwarded-For: 2a02:810c:ccc0:3c9d:c93a:1907:7f98:5c8c, 172.68.142.205 Cf-Ray: 5f0056798bc02484-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: de,en-US;q=0.7,en;q=0.3 Upgrade-Insecure-Requests: 1 Cookie: __cfduid=d96162d6f1ebc9fd4c01a21bea75b06721603654086; _ga=GA1.2.1966634350.1603654074; hide_intro=True; session=.eJx1UctuwjAQ_BefoyovnIRbHwdaUdrwENCqiqx4CSZOnNoOjyL-vRsk4FD15p2Z3dkdH0nWgK5YDbUlfatbcAjjlahJf8WkwYpDJSrFb7UwudI8EwgRmri9IKRxQgM38P3IS8hNIVXOJKCKA6L_60WdFa2Q_OIvVVEA7_Yyqj77REGQOKSyhcpaA7pmVTe2rUXBtGAGZyjW2rWfGctsRz3D_G03l2k-firH_rIZDl7VdpgyXqQDT9z0VpWApx4Jy3Mw5lKTkD3G0_vpTynlLF5_JMNWb3fxJGxe3ifrGPth3wgNJmOYmkfdMKJREvTuQpd61I9ufBck0rHrOkTDCqH11eQ7pLtg5hpvtOC9allu6KyM0kWxb0I_HaEJxtjgNZ-YHX6PWB0QOydlro-7jUKLL4ech2b20DWQB2AaNDk55E-IlukCcOm6lfL0CyRRpMo.X6miWw.jJtrXCzxq98XpJ__TE8mDR2DY48; _gid=GA1.2.93228720.1604947326 Cf-Request-Id: 0654145ff50000248423852000000001 Cf-Connecting-Ip: 2a02:810c:ccc0:3c9d:c93a:1907:7f98:5c8c Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (93.8 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017309) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 93.8, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://www.reddit.com/ Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: IT X-Forwarded-For: 151.75.122.48, 172.68.132.241 Cf-Ray: 5f0056768b4a04a3-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: cross-site Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Referer: https://www.reddit.com/ Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7 Cf-Request-Id: 0654145e19000004a312288000000001 Cf-Connecting-Ip: 151.75.122.48 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (74.8 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017334) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 74.8, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.162.124.229, 172.68.142.205 Cf-Ray: 5f0057985deab3e2-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 065415133c0000b3e2f5205000000001 Cf-Connecting-Ip: 69.162.124.229 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (75.9 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017341) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 75.9, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: CA X-Forwarded-For: 76.71.167.107, 172.68.142.205 Cf-Ray: 5f00584aad535739-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Dnt: 1 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Linux; Android 10; ONEPLUS A6003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.185 Mobile Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Accept-Language: en-CA,en;q=0.9,en-GB;q=0.8,en-US;q=0.7,fr;q=0.6 Cf-Request-Id: 06541582a500005739bb38d000000001 Cf-Connecting-Ip: 76.71.167.107 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (30.0 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017647) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 30.0, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('session', '.eJx1UdluwjAQ_Bc_p8g5yMFbC33pJSSgQlRV5CZLcOqD2k7TBPHv3SBBK1V98-7szOyODyTfg5FMgXJk4kwDHmGl5IpMtkxYrEqQXOryDJbcFtqUOccO8aOMjtMwSvw4yWiSRpT8TAhdMAE4BepqtUDgfwpXedVwcTERuqqgHDazWp2swsQPPSJdpfPGglFMDsot73swXDUWRTRr3C7IrWNuwORdfVvNV0G02dO2F_OHqXwaP7t-N75_lL_mnX4HvPZAWFGAteeaJOv3sOr6oP2Ki2L-QT8T-TwLr6NmB800QD587bkBmzMMzo8pjf2QJv4oC7IojNIffMgyplFKqUcMbLG1u5isUhHfj7tZ2z4tOj5d3r3VtVjqpHvL1vUGTTDKPV7zguHhD_Fth71TVPbyGNUaLV49chLNXTcQyA0wA4YcPfInRcdMBbi0aoQ4fgO1DKbL.X6qTig.tHTmme5o4B0-9pFQ1Wz_UmPn2_0'), ('hide_intro', 'True'), ('__cfduid', 'dce84bc1244f8c686e75ce62edcdfec0a1602603226'), ('views', '181'), ('page_size', '20'), ('deck_id', '109579')]) Endpoint: home View Args: {} Person: 149058347167907840 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: RU X-Forwarded-For: 46.242.11.235, 172.68.143.62 Cf-Ray: 5f00609cca513a71-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Dnt: 1 Upgrade-Insecure-Requests: 1 Cookie: session=.eJx1UdluwjAQ_Bc_p8g5yMFbC33pJSSgQlRV5CZLcOqD2k7TBPHv3SBBK1V98-7szOyODyTfg5FMgXJk4kwDHmGl5IpMtkxYrEqQXOryDJbcFtqUOccO8aOMjtMwSvw4yWiSRpT8TAhdMAE4BepqtUDgfwpXedVwcTERuqqgHDazWp2swsQPPSJdpfPGglFMDsot73swXDUWRTRr3C7IrWNuwORdfVvNV0G02dO2F_OHqXwaP7t-N75_lL_mnX4HvPZAWFGAteeaJOv3sOr6oP2Ki2L-QT8T-TwLr6NmB800QD587bkBmzMMzo8pjf2QJv4oC7IojNIffMgyplFKqUcMbLG1u5isUhHfj7tZ2z4tOj5d3r3VtVjqpHvL1vUGTTDKPV7zguHhD_Fth71TVPbyGNUaLV49chLNXTcQyA0wA4YcPfInRcdMBbi0aoQ4fgO1DKbL.X6qTig.tHTmme5o4B0-9pFQ1Wz_UmPn2_0; hide_intro=True; __cfduid=dce84bc1244f8c686e75ce62edcdfec0a1602603226; views=181; page_size=20; deck_id=109579 Cf-Request-Id: 06541ab5ff00003a71bdb0c000000001 Cf-Connecting-Ip: 46.242.11.235 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (35.1 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017693) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 35.1, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd01a4299d96043afe96acecb5aa7ccd061604183594'), ('hide_intro', 'True'), ('views', '1'), ('session', '.eJx1UdtugkAQ_Zd9pobrSvuINZE0tcZLbGwassIAq8DS3QVLjf_ewUR5aPqymcuZc2bOnklUgyxZBZUmT1o2YBCWlLwiTykrFGYJlLwUyZBzFQuZRBxLhNr-2PTwNT3Pcm3X8ciAKETMCkAUVA-bFTb-H-FVlDW8SG4rFCLLIOlXU6K6SjljzzZIqTMRNQpkxcqeWcX5iac6OjRK8xiQSbBG53akNNM9YPa2nDLazrchf88WM8tfTs3gMdwFrenXqwGvxRHw5jNhcQxK3XJizzv9tZTHcLuedG2t833o0qzZbX4WdNPiPHzXXIKKGNpnUdP1qePY7sjrL6NDuze075qmQSSkWMrvGpPX572zHgfMjtt29nKE0ySV1Fd7K-XuCTXQzhqP-UAD8Zt42mHtape6B6ODQIlPg1xJI931AyQAJkGSi0H-OKmZzAB3rpqiuPwCSH2nug.X6qcwQ.SXkbne1VB11eBxnmjajVQs1Pdh0')]) Endpoint: home View Args: {} Person: 628705628055142435 Referrer: https://pennydreadfulmagic.com/ Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 2601:805:8400:dab0:e9c0:773:a102:71, 172.68.189.201 Cf-Ray: 5f0061d08b532fea-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Referer: https://pennydreadfulmagic.com/ Accept-Language: en-US,en;q=0.9,es;q=0.8 Cookie: __cfduid=d01a4299d96043afe96acecb5aa7ccd061604183594; hide_intro=True; views=1; session=.eJx1UdtugkAQ_Zd9pobrSvuINZE0tcZLbGwassIAq8DS3QVLjf_ewUR5aPqymcuZc2bOnklUgyxZBZUmT1o2YBCWlLwiTykrFGYJlLwUyZBzFQuZRBxLhNr-2PTwNT3Pcm3X8ciAKETMCkAUVA-bFTb-H-FVlDW8SG4rFCLLIOlXU6K6SjljzzZIqTMRNQpkxcqeWcX5iac6OjRK8xiQSbBG53akNNM9YPa2nDLazrchf88WM8tfTs3gMdwFrenXqwGvxRHw5jNhcQxK3XJizzv9tZTHcLuedG2t833o0qzZbX4WdNPiPHzXXIKKGNpnUdP1qePY7sjrL6NDuze075qmQSSkWMrvGpPX572zHgfMjtt29nKE0ySV1Fd7K-XuCTXQzhqP-UAD8Zt42mHtape6B6ODQIlPg1xJI931AyQAJkGSi0H-OKmZzAB3rpqiuPwCSH2nug.X6qcwQ.SXkbne1VB11eBxnmjajVQs1Pdh0 Cf-Request-Id: 06541b765800002fea38bb4000000001 Cf-Connecting-Ip: 2601:805:8400:dab0:e9c0:773:a102:71 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (35.9 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017865) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 35.9, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'de122c9665dc2197c8af4479b2112a06d1604584801'), ('views', '1287'), ('session', '.eJx1UVtPwjAU_i99RtJtjIJvYjC4IBIwi2DMUtfTUdha0nbhFv67ZyTAg_Gt37l9l55ItgVbcQ3ak0dva2gRLiqlyaPkpUMkoFKVEXesXG6syBSWSNSJaRT0WNSPaRzEIQ3IfaI0OS8Bp7b-YTDDxv8rSmdFrUpxlVCaogDRSHNGX6jisEtbpPKFyWoHVvOquVzWYqcKaZU3eMXw2q_CzHnum-bzSB7ZJFk4MV1Nk-VcHqnM50JWA8ZMep_3ZgPo90R4noNzV0yWLB0n42RGd-swnSRdeF3uAp0ON8OnxXqC-7DfKgsu4xhd0EU3_SDs9duMsX6vE9z7TZpd2ulRdGBBYml1I3k7ypi9J6Gevkx-mIcRnQ8KkY46H-E--kQSzHKLbr4wPfwjJQ9Yu2Tlbo_22iDFd4tcjmb-0CyQAXALlpxb5E-MntsCULSuy_L8C4l8pWc.X6qVUw.0OxS18R7_jqYgyAezCiJioM7YEQ'), ('deck_id', '109514'), ('hide_intro', 'True'), ('page_size', '20'), ('cf_ob_info', '502:5f00637b8cfff6f8:GRU'), ('cf_use_ob', '0')]) Endpoint: home View Args: {} Person: 345031873950515201 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 201.26.43.217, 172.68.132.241 Cf-Ray: 5f006608ce0cf6f8-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3 Dnt: 1 Upgrade-Insecure-Requests: 1 Cookie: __cfduid=de122c9665dc2197c8af4479b2112a06d1604584801; views=1287; session=.eJx1UVtPwjAU_i99RtJtjIJvYjC4IBIwi2DMUtfTUdha0nbhFv67ZyTAg_Gt37l9l55ItgVbcQ3ak0dva2gRLiqlyaPkpUMkoFKVEXesXG6syBSWSNSJaRT0WNSPaRzEIQ3IfaI0OS8Bp7b-YTDDxv8rSmdFrUpxlVCaogDRSHNGX6jisEtbpPKFyWoHVvOquVzWYqcKaZU3eMXw2q_CzHnum-bzSB7ZJFk4MV1Nk-VcHqnM50JWA8ZMep_3ZgPo90R4noNzV0yWLB0n42RGd-swnSRdeF3uAp0ON8OnxXqC-7DfKgsu4xhd0EU3_SDs9duMsX6vE9z7TZpd2ulRdGBBYml1I3k7ypi9J6Gevkx-mIcRnQ8KkY46H-E--kQSzHKLbr4wPfwjJQ9Yu2Tlbo_22iDFd4tcjmb-0CyQAXALlpxb5E-MntsCULSuy_L8C4l8pWc.X6qVUw.0OxS18R7_jqYgyAezCiJioM7YEQ; deck_id=109514; hide_intro=True; page_size=20; cf_ob_info=502:5f00637b8cfff6f8:GRU; cf_use_ob=0 Cf-Request-Id: 06541e19790000f6f8102bf000000001 Cf-Connecting-Ip: 201.26.43.217 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (31.7 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605017875) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 31.7, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.162.124.229, 172.68.141.132 Cf-Ray: 5f00663e6f8ffee6-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 06541e3b020000fee69116e000000001 Cf-Connecting-Ip: 69.162.124.229 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (35.8 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018140) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 35.8, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd5a9387a1a85a3e4c905d94e84a16da5b1603262008'), ('views', '800'), ('session', '.eJx1UV1v2zAM_CuBnr34K5XjvMVFMAwtgmBds6LDYDASbauzJE-S12ZF__voAJ2BAXsTeUfe8fTK6gGdBoMmsE1wI0YMpFaGbRroPVUStdJWzrXywjpZK2oxXpY8LVZZlq6TYnWVc85mRm8F9EgsNB_u7wj4_4gydTuqXr5b6G3bopyseWsuUilPI6ZDa-vRozOgp8V-AIHC2WdaYWEMXVb7AGGCKrldH4fyUX8Sp922HE_b4uMR5OO-qx6-2pkf7A-kY18ZCIHev9fsIJ-q4-24uq321c_yuVM3XJndS76zD_bzNc3jy6Ac-hrCZC5Z5VmW8GRZ8HV2VfAZn6IkeJ0kEXPYUKubRezhd2HaNEv2v_ZZebh31cmruzy_EddHJBEKcqBrvlF09EGqOVPvEpT_-1g-WZL4HrHL0jqch8v5CA4de4vYvxkGcC2SZ9aFMGzieEBjztIhyGbsNbRKLIXVsUegMR-nPBbgpI8PIMLCNovQ4eKLCmBi9vYHeLe6sA.X6qh1w.FJuZcneS0QorEveTDF0DeSVqbn8'), ('hide_intro', 'True'), ('deck_id', '109580'), ('page_size', '100')]) Endpoint: home View Args: {} Person: 699617422180745366 Referrer: https://pennydreadfulmagic.com/retire/ Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: NL X-Forwarded-For: 86.95.6.4, 172.68.133.8 Cf-Ray: 5f006ca33ecf68ee-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Dnt: 1 Referer: https://pennydreadfulmagic.com/retire/ Upgrade-Insecure-Requests: 1 Cookie: __cfduid=d5a9387a1a85a3e4c905d94e84a16da5b1603262008; views=800; session=.eJx1UV1v2zAM_CuBnr34K5XjvMVFMAwtgmBds6LDYDASbauzJE-S12ZF__voAJ2BAXsTeUfe8fTK6gGdBoMmsE1wI0YMpFaGbRroPVUStdJWzrXywjpZK2oxXpY8LVZZlq6TYnWVc85mRm8F9EgsNB_u7wj4_4gydTuqXr5b6G3bopyseWsuUilPI6ZDa-vRozOgp8V-AIHC2WdaYWEMXVb7AGGCKrldH4fyUX8Sp922HE_b4uMR5OO-qx6-2pkf7A-kY18ZCIHev9fsIJ-q4-24uq321c_yuVM3XJndS76zD_bzNc3jy6Ac-hrCZC5Z5VmW8GRZ8HV2VfAZn6IkeJ0kEXPYUKubRezhd2HaNEv2v_ZZebh31cmruzy_EddHJBEKcqBrvlF09EGqOVPvEpT_-1g-WZL4HrHL0jqch8v5CA4de4vYvxkGcC2SZ9aFMGzieEBjztIhyGbsNbRKLIXVsUegMR-nPBbgpI8PIMLCNovQ4eKLCmBi9vYHeLe6sA.X6qh1w.FJuZcneS0QorEveTDF0DeSVqbn8; hide_intro=True; deck_id=109580; page_size=100 Cf-Request-Id: 0654223a07000068eec49ea000000001 Cf-Connecting-Ip: 86.95.6.4 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (48.8 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018153) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 48.8, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('_ga', 'GA1.2.1468552866.1599751998'), ('hide_intro', 'True'), ('__cfduid', 'd2fdc48d8d404e14eccf84bc6c550470e1604950134'), ('_gid', 'GA1.2.34329223.1604950140'), ('session', '.eJx1UdluwjAQ_Bc_p8g5yMEjpRxtqUoRlUpVRSZZgotjB9tpOcS_d4NE81D1zbM7uzM7PpG0Al0yCdKSntU1OITlJZekt2bCIMqh5KXKW8xNpnSeciwRL478OE486lE3pInnRqRlCJUxAcgCebOYY-P_ES7TouYiv1oQqiggb6wZJS9SXZcGDiltodLagJasbDZXvLAbZjPNIdec4ybFarvxUmOZbQgCxlE0m26rbFlMvgaJ9qotH33DYlXc75KWb9UW8OYTYVkGxlwxCd5kvOirvKLuy2wqjlINIDq6j-Hzaj4c4zzsK67BpAzjw3uo3w1jt9vx3SDp-n7bbxINaRBT6hANayxtWpHx3chf3oZTGwfy4RVGi91-Wk5K72nY9xuTmGeF17xjgvhPfH3A2iUv8_vofCqU-HDIZWlqD80A6QPToMnZIX-itEwXgKZlLcT5B-ELpyc.X6npqQ.pYa-d9NxepCrZUNap9YC-XN2wc8')]) Endpoint: home View Args: {} Person: 287388920201609217 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.141.236.72, 172.68.141.144 Cf-Ray: 5f006ce1eb0573d5-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: none Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Accept-Language: en-US,en;q=0.9 Cookie: _ga=GA1.2.1468552866.1599751998; hide_intro=True; __cfduid=d2fdc48d8d404e14eccf84bc6c550470e1604950134; _gid=GA1.2.34329223.1604950140; session=.eJx1UdluwjAQ_Bc_p8g5yMEjpRxtqUoRlUpVRSZZgotjB9tpOcS_d4NE81D1zbM7uzM7PpG0Al0yCdKSntU1OITlJZekt2bCIMqh5KXKW8xNpnSeciwRL478OE486lE3pInnRqRlCJUxAcgCebOYY-P_ES7TouYiv1oQqiggb6wZJS9SXZcGDiltodLagJasbDZXvLAbZjPNIdec4ybFarvxUmOZbQgCxlE0m26rbFlMvgaJ9qotH33DYlXc75KWb9UW8OYTYVkGxlwxCd5kvOirvKLuy2wqjlINIDq6j-Hzaj4c4zzsK67BpAzjw3uo3w1jt9vx3SDp-n7bbxINaRBT6hANayxtWpHx3chf3oZTGwfy4RVGi91-Wk5K72nY9xuTmGeF17xjgvhPfH3A2iUv8_vofCqU-HDIZWlqD80A6QPToMnZIX-itEwXgKZlLcT5B-ELpyc.X6npqQ.pYa-d9NxepCrZUNap9YC-XN2wc8 Cf-Request-Id: 065422612e000073d57db8a000000001 Cf-Connecting-Ip: 69.141.236.72 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (37.6 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018194) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 37.6, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.162.124.229, 172.68.141.132 Cf-Ray: 5f006d916b57feda-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 065422cee20000feda82bbb000000001 Cf-Connecting-Ip: 69.162.124.229 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (53.5 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018245) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 53.5, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd5a9387a1a85a3e4c905d94e84a16da5b1603262008'), ('views', '800'), ('session', '.eJx1UV1v2zAM_CuBnr34K5XjvMVFMAwtgmBds6LDYDASbauzJE-S12ZF__voAJ2BAXsTeUfe8fTK6gGdBoMmsE1wI0YMpFaGbRroPVUStdJWzrXywjpZK2oxXpY8LVZZlq6TYnWVc85mRm8F9EgsNB_u7wj4_4gydTuqXr5b6G3bopyseWsuUilPI6ZDa-vRozOgp8V-AIHC2WdaYWEMXVb7AGGCKrldH4fyUX8Sp922HE_b4uMR5OO-qx6-2pkf7A-kY18ZCIHev9fsIJ-q4-24uq321c_yuVM3XJndS76zD_bzNc3jy6Ac-hrCZC5Z5VmW8GRZ8HV2VfAZn6IkeJ0kEXPYUKubRezhd2HaNEv2v_ZZebh31cmruzy_EddHJBEKcqBrvlF09EGqOVPvEpT_-1g-WZL4HrHL0jqch8v5CA4de4vYvxkGcC2SZ9aFMGzieEBjztIhyGbsNbRKLIXVsUegMR-nPBbgpI8PIMLCNovQ4eKLCmBi9vYHeLe6sA.X6qh1w.FJuZcneS0QorEveTDF0DeSVqbn8'), ('hide_intro', 'True'), ('deck_id', '109580'), ('page_size', '100'), ('cf_ob_info', '502:5f006d1d1f3b68ee:CDG'), ('cf_use_ob', '0')]) Endpoint: home View Args: {} Person: 699617422180745366 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: NL X-Forwarded-For: 86.95.6.4, 172.68.133.8 Cf-Ray: 5f006f2dcea468ee-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Dnt: 1 Upgrade-Insecure-Requests: 1 Cookie: __cfduid=d5a9387a1a85a3e4c905d94e84a16da5b1603262008; views=800; session=.eJx1UV1v2zAM_CuBnr34K5XjvMVFMAwtgmBds6LDYDASbauzJE-S12ZF__voAJ2BAXsTeUfe8fTK6gGdBoMmsE1wI0YMpFaGbRroPVUStdJWzrXywjpZK2oxXpY8LVZZlq6TYnWVc85mRm8F9EgsNB_u7wj4_4gydTuqXr5b6G3bopyseWsuUilPI6ZDa-vRozOgp8V-AIHC2WdaYWEMXVb7AGGCKrldH4fyUX8Sp922HE_b4uMR5OO-qx6-2pkf7A-kY18ZCIHev9fsIJ-q4-24uq321c_yuVM3XJndS76zD_bzNc3jy6Ac-hrCZC5Z5VmW8GRZ8HV2VfAZn6IkeJ0kEXPYUKubRezhd2HaNEv2v_ZZebh31cmruzy_EddHJBEKcqBrvlF09EGqOVPvEpT_-1g-WZL4HrHL0jqch8v5CA4de4vYvxkGcC2SZ9aFMGzieEBjztIhyGbsNbRKLIXVsUegMR-nPBbgpI8PIMLCNovQ4eKLCmBi9vYHeLe6sA.X6qh1w.FJuZcneS0QorEveTDF0DeSVqbn8; hide_intro=True; deck_id=109580; page_size=100; cf_ob_info=502:5f006d1d1f3b68ee:CDG; cf_use_ob=0 Cf-Request-Id: 065423d099000068eec284a000000001 Cf-Connecting-Ip: 86.95.6.4 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (70.1 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018431) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 70.1, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: HEAD Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 54.145.6.77, 162.158.255.164 Cf-Ray: 5f0073ac1e5b29a7-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: scalaj-http/2.4.2 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Cf-Request-Id: 0654269f8e000029a7328ef000000001 Cf-Connecting-Ip: 54.145.6.77 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (134.2 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018474) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 134.2, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 54.145.6.77, 162.158.255.38 Cf-Ray: 5f007469ca6a2ae4-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cookie: Dnt: 1 Pragma: no-cache Cache-Control: no-cache Accept: text/html,application/xhtml+xml,application/xml Upgrade-Insecure-Requests: 1 User-Agent: Buck/2.2; (+https://app.hypefactors.com/media-monitoring/about.html) Cf-Request-Id: 065427161800002ae4e19b9000000001 Cf-Connecting-Ip: 54.145.6.77 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (137.9 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018481) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 137.9, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('__cfduid', 'd9a7046ba93382759197ee505df2142ae1603318478'), ('_ga', 'GA1.2.733128660.1604664739'), ('_gid', 'GA1.2.256393888.1604845367'), ('hide_intro', 'True'), ('page_size', '100'), ('deck_id', '109581'), ('views', '274'), ('session', '.eJx1UV1TwjAQ_C95rkxa2vLxBmoVqTIyCIOO04lNKMG0wVyKrQz_3SszwIPjW_Z27_ZusyfJVpicFaKwpG9NKRzCeC4L0l8xBYi4yGWu-QVLSLXhicQS8Tpe0A6DTo-GvW6703Y9clEonTIlULW1V8MpEv-3yCLJSqn4aQWls0zwZjXQxdHKd0PXIbnNdFKCMAXLm8mG6UL-yBJwhmalXXsJWGYbarkcu6-PEN_Oyuxj_TIaVfHuYRfU38_6Ce4ueqs_BV67JyxNBcAJk4VYDqxaqet7qIY-1BDtbjYzzhXM4zjCflFtpRGQMAzODWngB9Sjbivw270O7V74JsuQ-l1KHWLECkvrs8l0HAKdZRB39XQwCib1ZBBFX3y-mNKq94ommOQWr3nD7PCH5KrG2jEpOD9aG40W7w45Dk1s3TSQoWBGGHJwyJ8QLTOZwKWLUqnDL_niprM.X6qiew.XWW7L21u2KbLAITwAN07j_Jg2aQ')]) Endpoint: home View Args: {} Person: 272536579069837312 Referrer: https://pennydreadfulmagic.com/decks/109581/ Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 45.164.86.40, 172.69.22.184 Cf-Ray: 5f007479a815f623-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Referer: https://pennydreadfulmagic.com/decks/109581/ Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7 Cookie: __cfduid=d9a7046ba93382759197ee505df2142ae1603318478; _ga=GA1.2.733128660.1604664739; _gid=GA1.2.256393888.1604845367; hide_intro=True; page_size=100; deck_id=109581; views=274; session=.eJx1UV1TwjAQ_C95rkxa2vLxBmoVqTIyCIOO04lNKMG0wVyKrQz_3SszwIPjW_Z27_ZusyfJVpicFaKwpG9NKRzCeC4L0l8xBYi4yGWu-QVLSLXhicQS8Tpe0A6DTo-GvW6703Y9clEonTIlULW1V8MpEv-3yCLJSqn4aQWls0zwZjXQxdHKd0PXIbnNdFKCMAXLm8mG6UL-yBJwhmalXXsJWGYbarkcu6-PEN_Oyuxj_TIaVfHuYRfU38_6Ce4ueqs_BV67JyxNBcAJk4VYDqxaqet7qIY-1BDtbjYzzhXM4zjCflFtpRGQMAzODWngB9Sjbivw270O7V74JsuQ-l1KHWLECkvrs8l0HAKdZRB39XQwCib1ZBBFX3y-mNKq94ommOQWr3nD7PCH5KrG2jEpOD9aG40W7w45Dk1s3TSQoWBGGHJwyJ8QLTOZwKWLUqnDL_niprM.X6qiew.XWW7L21u2KbLAITwAN07j_Jg2aQ Cf-Request-Id: 065427200b0000f623449b1000000001 Cf-Connecting-Ip: 45.164.86.40 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (165.6 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018497) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 165.6, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([]) Endpoint: home View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.162.124.229, 172.68.133.8 Cf-Ray: 5f0074e46f82feae-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7 Cache-Control: no-cache Referer: https://pennydreadfulmagic.com Cf-Request-Id: 06542762c40000feae5f1e3000000001 Cf-Connecting-Ip: 69.162.124.229 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (171.8 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018506) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 171.8, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('session', '.eJx1UdluwjAQ_Bc_p8g5yMFbC33pJSSgQlRV5CZLcOqD2k7TBPHv3SBBK1V98-7szOyODyTfg5FMgXJk4kwDHmGl5IpMtkxYrEqQXOryDJbcFtqUOccO8aOMjtMwSvw4yWiSRpT8TAhdMAE4BepqtUDgfwpXedVwcTERuqqgHDazWp2swsQPPSJdpfPGglFMDsot73swXDUWRTRr3C7IrWNuwORdfVvNV0G02dO2F_OHqXwaP7t-N75_lL_mnX4HvPZAWFGAteeaJOv3sOr6oP2Ki2L-QT8T-TwLr6NmB800QD587bkBmzMMzo8pjf2QJv4oC7IojNIffMgyplFKqUcMbLG1u5isUhHfj7tZ2z4tOj5d3r3VtVjqpHvL1vUGTTDKPV7zguHhD_Fth71TVPbyGNUaLV49chLNXTcQyA0wA4YcPfInRcdMBbi0aoQ4fgO1DKbL.X6qg6A.ROZ4aCLhrHvorNbpP7DVooX6d6Y'), ('hide_intro', 'True'), ('__cfduid', 'dce84bc1244f8c686e75ce62edcdfec0a1602603226'), ('views', '186'), ('page_size', '20'), ('deck_id', '109579')]) Endpoint: home View Args: {} Person: 149058347167907840 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: RU X-Forwarded-For: 46.242.11.235, 172.68.143.62 Cf-Ray: 5f0074fe1f687a6d-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Dnt: 1 Upgrade-Insecure-Requests: 1 Cookie: session=.eJx1UdluwjAQ_Bc_p8g5yMFbC33pJSSgQlRV5CZLcOqD2k7TBPHv3SBBK1V98-7szOyODyTfg5FMgXJk4kwDHmGl5IpMtkxYrEqQXOryDJbcFtqUOccO8aOMjtMwSvw4yWiSRpT8TAhdMAE4BepqtUDgfwpXedVwcTERuqqgHDazWp2swsQPPSJdpfPGglFMDsot73swXDUWRTRr3C7IrWNuwORdfVvNV0G02dO2F_OHqXwaP7t-N75_lL_mnX4HvPZAWFGAteeaJOv3sOr6oP2Ki2L-QT8T-TwLr6NmB800QD587bkBmzMMzo8pjf2QJv4oC7IojNIffMgyplFKqUcMbLG1u5isUhHfj7tZ2z4tOj5d3r3VtVjqpHvL1vUGTTDKPV7zguHhD_Fth71TVPbyGNUaLV49chLNXTcQyA0wA4YcPfInRcdMBbi0aoQ4fgO1DKbL.X6qg6A.ROZ4aCLhrHvorNbpP7DVooX6d6Y; hide_intro=True; __cfduid=dce84bc1244f8c686e75ce62edcdfec0a1602603226; views=186; page_size=20; deck_id=109579 Cf-Request-Id: 06542772d500007a6d8ab04000000001 Cf-Connecting-Ip: 46.242.11.235 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (153.4 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018549) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 153.4, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('_ga', 'GA1.2.1468552866.1599751998'), ('hide_intro', 'True'), ('__cfduid', 'd2fdc48d8d404e14eccf84bc6c550470e1604950134'), ('_gid', 'GA1.2.34329223.1604950140'), ('views', '1'), ('session', '.eJx1UdluwjAQ_Bc_p8g5yMEjpRxtqUoRlUpVRSZZgotjB9tpOcS_d4NE81D1zbM7uzM7PpG0Al0yCdKSntU1OITlJZekt2bCIMqh5KXKW8xNpnSeciwRL478OE486lE3pInnRqRlCJUxAcgCebOYY-P_ES7TouYiv1oQqiggb6wZJS9SXZcGDiltodLagJasbDZXvLAbZjPNIdec4ybFarvxUmOZbQgCxlE0m26rbFlMvgaJ9qotH33DYlXc75KWb9UW8OYTYVkGxlwxCd5kvOirvKLuy2wqjlINIDq6j-Hzaj4c4zzsK67BpAzjw3uo3w1jt9vx3SDp-n7bbxINaRBT6hANayxtWpHx3chf3oZTGwfy4RVGi91-Wk5K72nY9xuTmGeF17xjgvhPfH3A2iUv8_vofCqU-HDIZWlqD80A6QPToMnZIX-itEwXgKZlLcT5B-ELpyc.X6qigQ.puVrRjWjiBA-qRZ1vNdshQS-UdQ')]) Endpoint: home View Args: {} Person: 287388920201609217 Referrer: https://pennydreadfulmagic.com/ Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 69.141.236.72, 172.68.143.86 Cf-Ray: 5f00761d0c6e0dba-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Referer: https://pennydreadfulmagic.com/ Accept-Language: en-US,en;q=0.9 Cookie: _ga=GA1.2.1468552866.1599751998; hide_intro=True; __cfduid=d2fdc48d8d404e14eccf84bc6c550470e1604950134; _gid=GA1.2.34329223.1604950140; views=1; session=.eJx1UdluwjAQ_Bc_p8g5yMEjpRxtqUoRlUpVRSZZgotjB9tpOcS_d4NE81D1zbM7uzM7PpG0Al0yCdKSntU1OITlJZekt2bCIMqh5KXKW8xNpnSeciwRL478OE486lE3pInnRqRlCJUxAcgCebOYY-P_ES7TouYiv1oQqiggb6wZJS9SXZcGDiltodLagJasbDZXvLAbZjPNIdec4ybFarvxUmOZbQgCxlE0m26rbFlMvgaJ9qotH33DYlXc75KWb9UW8OYTYVkGxlwxCd5kvOirvKLuy2wqjlINIDq6j-Hzaj4c4zzsK67BpAzjw3uo3w1jt9vx3SDp-n7bbxINaRBT6hANayxtWpHx3chf3oZTGwfy4RVGi91-Wk5K72nY9xuTmGeF17xjgvhPfH3A2iUv8_vofCqU-HDIZWlqD80A6QPToMnZIX-itEwXgKZlLcT5B-ELpyc.X6qigQ.puVrRjWjiBA-qRZ1vNdshQS-UdQ Cf-Request-Id: 065428262500000dbaba8d3000000001 Cf-Connecting-Ip: 69.141.236.72 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite

vorpal-buildbot commented 4 years ago

Exceeded slow_query limit (94.2 > 30.0) in mysql: ```

    SELECT

    d.id,
    d.finish,
    d.decklist_hash,
    cache.active_date,
    cache.wins,
    cache.losses,
    cache.draws,
    cache.color_sort,
    ct.name AS competition_type_name

    FROM
        deck AS d

    LEFT JOIN
        competition AS c ON d.competition_id = c.id
    LEFT JOIN
        competition_series AS cs ON cs.id = c.competition_series_id
    LEFT JOIN
        competition_type AS ct ON ct.id = cs.competition_type_id

    LEFT JOIN
        deck_cache AS cache ON d.id = cache.deck_id

    LEFT JOIN
        (
            SELECT
                `start`.id,
                `start`.code,
                `start`.start_date AS start_date,
                `end`.start_date AS end_date
            FROM
                season AS `start`
            LEFT JOIN
                season AS `end` ON `end`.id = `start`.id + 1
        ) AS season ON season.start_date <= d.created_date AND (season.end_date IS NULL OR season.end_date > d.created_date)

    WHERE
        (ct.name = 'League' AND d.created_date > 0 AND d.created_date <= 1605018626) AND (TRUE)
    GROUP BY 
        d.id,
        d.competition_id, -- Every deck has only one competition_id but if we want to use competition_id in the HAVING clause we need this.
        season.id -- In theory this is not necessary as all decks are in a single season and we join on the date but MySQL cannot work that out so give it the hint it needs.

    HAVING
        wins >= 5 AND losses = 0
    ORDER BY
        active_date DESC, d.finish IS NULL, d.finish
    LIMIT 10
```

[] (slow_query, 94.2, mysql)

Reported on decksite by mysql-perf

Location Hash: d8bc71d414409f395e7e893227c05b3246aef841

Request Data ``` Request Method: GET Path: /? Cookies: ImmutableMultiDict([('_ga', 'GA1.2.1780629750.1571316993'), ('hide_intro', 'True'), ('__cfduid', 'd2896091f595b736280cb38af1a08dc351603199825'), ('session', '.eJx1UctuwjAQ_BefU2SSEBJu0EalEqhFQAFVVeQmS3DxI9gOgiL-vQsS5FD15pnd2dkdn0hWgZFMgXKk50wNHmGF5Ir01kxYRAVILnXRYG5zbYqMI0WCJOgEcUg7XUo7SRLThDQdQudMAHaBephPsfC_hKusrLkobisIXZZQXFazWl2tfD_xPSJdqbPaglFMXifbXaUBB2hWu42fWcfchS-U0dxOF9tZO5rv-0vzMp1IN4rfR9WsnzT9Tm8BTz0Rludg7Q0TuRST1A0P-lHIn_Rp5HS9H27XY_a1Ge5mqIdDxQ3YjGFq7YgGMQ2jbtiKgtAPwm5TvwQZ0TCm1CMG1kht7iZROE7566G7yOeQ8ulbe5WUY50O2nW8WD2jCcZY4TUfGBx-D18fkbvGZO-P1rdGi0-PXIdm7ngRkAEwA4acPfInQcdMCbi0qoU4_wKrsKVb.X6laEA.OKdtYc6AEJrtVKL1GLbJ6YXt-7w'), ('_gid', 'GA1.2.1506125945.1604931503')]) Endpoint: home View Args: {} Person: 393538405700599809 Referrer: None Request Data: {} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 108.24.175.45, 172.68.143.62 Cf-Ray: 5f0077dcd830295e-SJC X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Upgrade-Insecure-Requests: 1 Cookie: _ga=GA1.2.1780629750.1571316993; hide_intro=True; __cfduid=d2896091f595b736280cb38af1a08dc351603199825; session=.eJx1UctuwjAQ_BefU2SSEBJu0EalEqhFQAFVVeQmS3DxI9gOgiL-vQsS5FD15pnd2dkdn0hWgZFMgXKk50wNHmGF5Ir01kxYRAVILnXRYG5zbYqMI0WCJOgEcUg7XUo7SRLThDQdQudMAHaBephPsfC_hKusrLkobisIXZZQXFazWl2tfD_xPSJdqbPaglFMXifbXaUBB2hWu42fWcfchS-U0dxOF9tZO5rv-0vzMp1IN4rfR9WsnzT9Tm8BTz0Rludg7Q0TuRST1A0P-lHIn_Rp5HS9H27XY_a1Ge5mqIdDxQ3YjGFq7YgGMQ2jbtiKgtAPwm5TvwQZ0TCm1CMG1kht7iZROE7566G7yOeQ8ulbe5WUY50O2nW8WD2jCcZY4TUfGBx-D18fkbvGZO-P1rdGi0-PXIdm7ngRkAEwA4acPfInQcdMCbi0qoU4_wKrsKVb.X6laEA.OKdtYc6AEJrtVKL1GLbJ6YXt-7w; _gid=GA1.2.1506125945.1604931503 Cf-Request-Id: 0654293e0a0000295eab3c4000000001 Cf-Connecting-Ip: 108.24.175.45 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive ```

Labels: decksite