Open vorpal-buildbot opened 6 months ago
Exceeded slow_query limit (1.1 > 1.0) in mysql: ```
SELECT
p.id,
LOWER(IFNULL(IFNULL(IFNULL(p.name, p.mtgo_username), p.mtggoldfish_username), p.tappedout_username)) AS name,
p.mtgo_username,
p.tappedout_username,
p.mtggoldfish_username,
p.discord_id,
p.elo,
p.locale,
p.banned,
SUM(1) AS num_decks,
SUM(dc.wins) AS wins,
SUM(dc.losses) AS losses,
SUM(dc.draws) AS draws,
SUM(dc.wins - dc.losses) AS record,
SUM(CASE WHEN dc.wins >= 5 AND dc.losses = 0 AND d.source_id IN (SELECT id FROM source WHERE name = 'League') THEN 1 ELSE 0 END) AS perfect_runs,
SUM(CASE WHEN d.finish = 1 THEN 1 ELSE 0 END) AS tournament_wins,
SUM(CASE WHEN d.finish <= 8 THEN 1 ELSE 0 END) AS tournament_top8s,
IFNULL(ROUND((SUM(dc.wins) / NULLIF(SUM(dc.wins + dc.losses), 0)) * 100, 1), '') AS win_percent,
SUM(DISTINCT CASE WHEN d.competition_id IS NOT NULL THEN 1 ELSE 0 END) AS num_competitions,
COUNT(*) OVER () AS total
FROM
person AS p
LEFT JOIN
deck AS d ON d.person_id = p.id
LEFT JOIN
deck_cache AS dc ON d.id = dc.deck_id
WHERE
(p.mtgo_username IS NOT NULL) AND (TRUE)
GROUP BY
p.id
ORDER BY
num_decks DESC, p.name
```
[]
(slow_query, 1.1, mysql)
Reported on decksite by mysql-perf
Location Hash: 005bf57dad8309e697e3437c0b04494cb813d697
Labels: decksite
Exceeded slow_query limit (1.1 > 1.0) in mysql: ```
SELECT
p.id,
LOWER(IFNULL(IFNULL(IFNULL(p.name, p.mtgo_username), p.mtggoldfish_username), p.tappedout_username)) AS name,
p.mtgo_username,
p.tappedout_username,
p.mtggoldfish_username,
p.discord_id,
p.elo,
p.locale,
p.banned,
SUM(1) AS num_decks,
SUM(dc.wins) AS wins,
SUM(dc.losses) AS losses,
SUM(dc.draws) AS draws,
SUM(dc.wins - dc.losses) AS record,
SUM(CASE WHEN dc.wins >= 5 AND dc.losses = 0 AND d.source_id IN (SELECT id FROM source WHERE name = 'League') THEN 1 ELSE 0 END) AS perfect_runs,
SUM(CASE WHEN d.finish = 1 THEN 1 ELSE 0 END) AS tournament_wins,
SUM(CASE WHEN d.finish <= 8 THEN 1 ELSE 0 END) AS tournament_top8s,
IFNULL(ROUND((SUM(dc.wins) / NULLIF(SUM(dc.wins + dc.losses), 0)) * 100, 1), '') AS win_percent,
SUM(DISTINCT CASE WHEN d.competition_id IS NOT NULL THEN 1 ELSE 0 END) AS num_competitions,
COUNT(*) OVER () AS total
FROM
person AS p
LEFT JOIN
deck AS d ON d.person_id = p.id
LEFT JOIN
deck_cache AS dc ON d.id = dc.deck_id
WHERE
(p.mtgo_username IS NOT NULL) AND (TRUE)
GROUP BY
p.id
ORDER BY
num_decks DESC, p.name
```
[]
(slow_query, 1.1, mysql)
Reported on decksite by mysql-perf
Location Hash: 005bf57dad8309e697e3437c0b04494cb813d697
Labels: Search Engine; decksite
Exceeded slow_query limit (1.0 > 1.0) in mysql: ```
SELECT
p.id,
LOWER(IFNULL(IFNULL(IFNULL(p.name, p.mtgo_username), p.mtggoldfish_username), p.tappedout_username)) AS name,
p.mtgo_username,
p.tappedout_username,
p.mtggoldfish_username,
p.discord_id,
p.elo,
p.locale,
p.banned,
SUM(1) AS num_decks,
SUM(dc.wins) AS wins,
SUM(dc.losses) AS losses,
SUM(dc.draws) AS draws,
SUM(dc.wins - dc.losses) AS record,
SUM(CASE WHEN dc.wins >= 5 AND dc.losses = 0 AND d.source_id IN (SELECT id FROM source WHERE name = 'League') THEN 1 ELSE 0 END) AS perfect_runs,
SUM(CASE WHEN d.finish = 1 THEN 1 ELSE 0 END) AS tournament_wins,
SUM(CASE WHEN d.finish <= 8 THEN 1 ELSE 0 END) AS tournament_top8s,
IFNULL(ROUND((SUM(dc.wins) / NULLIF(SUM(dc.wins + dc.losses), 0)) * 100, 1), '') AS win_percent,
SUM(DISTINCT CASE WHEN d.competition_id IS NOT NULL THEN 1 ELSE 0 END) AS num_competitions,
COUNT(*) OVER () AS total
FROM
person AS p
LEFT JOIN
deck AS d ON d.person_id = p.id
LEFT JOIN
deck_cache AS dc ON d.id = dc.deck_id
WHERE
(p.mtgo_username IS NOT NULL) AND (TRUE)
GROUP BY
p.id
ORDER BY
num_decks DESC, p.name
```
[]
(slow_query, 1.0, mysql)
Reported on decksite by mysql-perf
Location Hash: 005bf57dad8309e697e3437c0b04494cb813d697
Labels: decksite
Exceeded slow_query limit (1.0 > 1.0) in mysql: ```
SELECT
p.id,
LOWER(IFNULL(IFNULL(IFNULL(p.name, p.mtgo_username), p.mtggoldfish_username), p.tappedout_username)) AS name,
p.mtgo_username,
p.tappedout_username,
p.mtggoldfish_username,
p.discord_id,
p.elo,
p.locale,
p.banned,
SUM(1) AS num_decks,
SUM(dc.wins) AS wins,
SUM(dc.losses) AS losses,
SUM(dc.draws) AS draws,
SUM(dc.wins - dc.losses) AS record,
SUM(CASE WHEN dc.wins >= 5 AND dc.losses = 0 AND d.source_id IN (SELECT id FROM source WHERE name = 'League') THEN 1 ELSE 0 END) AS perfect_runs,
SUM(CASE WHEN d.finish = 1 THEN 1 ELSE 0 END) AS tournament_wins,
SUM(CASE WHEN d.finish <= 8 THEN 1 ELSE 0 END) AS tournament_top8s,
IFNULL(ROUND((SUM(dc.wins) / NULLIF(SUM(dc.wins + dc.losses), 0)) * 100, 1), '') AS win_percent,
SUM(DISTINCT CASE WHEN d.competition_id IS NOT NULL THEN 1 ELSE 0 END) AS num_competitions,
COUNT(*) OVER () AS total
FROM
person AS p
LEFT JOIN
deck AS d ON d.person_id = p.id
LEFT JOIN
deck_cache AS dc ON d.id = dc.deck_id
WHERE
(p.mtgo_username IS NOT NULL) AND (TRUE)
GROUP BY
p.id
ORDER BY
num_decks DESC, p.name
```
[]
(slow_query, 1.0, mysql)
Reported on decksite by mysql-perf
Location Hash: 005bf57dad8309e697e3437c0b04494cb813d697
Labels: decksite
Exceeded slow_query limit (1.0 > 1.0) in mysql: ```
SELECT
p.id,
LOWER(IFNULL(IFNULL(IFNULL(p.name, p.mtgo_username), p.mtggoldfish_username), p.tappedout_username)) AS name,
p.mtgo_username,
p.tappedout_username,
p.mtggoldfish_username,
p.discord_id,
p.elo,
p.locale,
p.banned,
SUM(1) AS num_decks,
SUM(dc.wins) AS wins,
SUM(dc.losses) AS losses,
SUM(dc.draws) AS draws,
SUM(dc.wins - dc.losses) AS record,
SUM(CASE WHEN dc.wins >= 5 AND dc.losses = 0 AND d.source_id IN (SELECT id FROM source WHERE name = 'League') THEN 1 ELSE 0 END) AS perfect_runs,
SUM(CASE WHEN d.finish = 1 THEN 1 ELSE 0 END) AS tournament_wins,
SUM(CASE WHEN d.finish <= 8 THEN 1 ELSE 0 END) AS tournament_top8s,
IFNULL(ROUND((SUM(dc.wins) / NULLIF(SUM(dc.wins + dc.losses), 0)) * 100, 1), '') AS win_percent,
SUM(DISTINCT CASE WHEN d.competition_id IS NOT NULL THEN 1 ELSE 0 END) AS num_competitions,
COUNT(*) OVER () AS total
FROM
person AS p
LEFT JOIN
deck AS d ON d.person_id = p.id
LEFT JOIN
deck_cache AS dc ON d.id = dc.deck_id
WHERE
(p.mtgo_username IS NOT NULL) AND (TRUE)
GROUP BY
p.id
ORDER BY
num_decks DESC, p.name
```
[]
(slow_query, 1.0, mysql)
Reported on decksite by mysql-perf
Location Hash: 005bf57dad8309e697e3437c0b04494cb813d697
Labels: decksite
Exceeded slow_query limit (1.3 > 1.0) in mysql: ```
SELECT
p.id,
LOWER(IFNULL(IFNULL(IFNULL(p.name, p.mtgo_username), p.mtggoldfish_username), p.tappedout_username)) AS name,
p.mtgo_username,
p.tappedout_username,
p.mtggoldfish_username,
p.discord_id,
p.elo,
p.locale,
p.banned,
SUM(1) AS num_decks,
SUM(dc.wins) AS wins,
SUM(dc.losses) AS losses,
SUM(dc.draws) AS draws,
SUM(dc.wins - dc.losses) AS record,
SUM(CASE WHEN dc.wins >= 5 AND dc.losses = 0 AND d.source_id IN (SELECT id FROM source WHERE name = 'League') THEN 1 ELSE 0 END) AS perfect_runs,
SUM(CASE WHEN d.finish = 1 THEN 1 ELSE 0 END) AS tournament_wins,
SUM(CASE WHEN d.finish <= 8 THEN 1 ELSE 0 END) AS tournament_top8s,
IFNULL(ROUND((SUM(dc.wins) / NULLIF(SUM(dc.wins + dc.losses), 0)) * 100, 1), '') AS win_percent,
SUM(DISTINCT CASE WHEN d.competition_id IS NOT NULL THEN 1 ELSE 0 END) AS num_competitions,
COUNT(*) OVER () AS total
FROM
person AS p
LEFT JOIN
deck AS d ON d.person_id = p.id
LEFT JOIN
deck_cache AS dc ON d.id = dc.deck_id
WHERE
(p.mtgo_username IS NOT NULL) AND (TRUE)
GROUP BY
p.id
ORDER BY
num_decks DESC, p.name
```
[]
(slow_query, 1.3, mysql)
Reported on decksite by mysql-perf
Location Hash: 005bf57dad8309e697e3437c0b04494cb813d697
Labels: decksite
[]
(slow_query, 1.2, mysql)Reported on decksite by mysql-perf
Location Hash: 005bf57dad8309e697e3437c0b04494cb813d697
Request Data
``` Request Method: GET Path: /matchups/? Cookies: ImmutableMultiDict([('hide_intro', 'True'), ('deck_id', ''), ('page_size', '20'), ('session', '.eJx1UV1PwjAU_S99nmTfG7yNZShqcAE1ojFL2e7GZG2XthsQwn-3xeAejG-999x7zrmnJ5S1wAmmQCWaSN6BgXBBaoomJW6EqgogNWHFUNciZ7zIatVCrmPZtmmHwdgcm6Zjhx4aJhqW4wbUFNCbl5UC_l-paVZ1dVNcLTSsqqDQ1gSjFykrsC0DEVmxrBPAKSaaGe8wwVJ0ioLhTm7tTEgsNfK4T_ar6HjYPuRvs3SJY8dr-3Q-Xke2w6bDvGQ7UMeeEM5zEOJao_tNEiSLWVwt3bSfdtBLv81f02i-76tbbRkObc1BZFhqc5bnOWEQBCPfMV3fsQZcR-mbbmiaBuJQqtb2V4SR9R1tF2X4VD2XfipWcWQ5GyzfySKeJUpEBdmqaz7QJR0x-mKKTgepvqsuj-r5A6BPA11IM3nUC2gKmANHZwP9yVBiXoEyTbumOX8DbsOkvg.ZknFuQ.Jss2tzNFnEusL9dCOuEHiQKmV_8'), ('views', '125')]) Endpoint: matchups View Args: {} Person: 431220287909003285 Referrer: https://pennydreadfulmagic.com/seasons/8/cards/ Request Data: {} Host: pennydreadfulmagic.com Connection: Keep-Alive Accept-Encoding: gzip, br X-Forwarded-For: 2603:6010:ad03:f823:7857:d3fa:a3b6:f7f6 Cf-Ray: 88630b7e6bca0843-IAD X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Sec-Ch-Ua: "Chromium";v="124", "Microsoft Edge";v="124", "Not-A.Brand";v="99" Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: "Windows" Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0 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.7 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Sec-Fetch-Dest: document Referer: https://pennydreadfulmagic.com/seasons/8/cards/ Accept-Language: en-US,en;q=0.9 Priority: u=0, i Cookie: hide_intro=True; deck_id=; page_size=20; session=.eJx1UV1PwjAU_S99nmTfG7yNZShqcAE1ojFL2e7GZG2XthsQwn-3xeAejG-999x7zrmnJ5S1wAmmQCWaSN6BgXBBaoomJW6EqgogNWHFUNciZ7zIatVCrmPZtmmHwdgcm6Zjhx4aJhqW4wbUFNCbl5UC_l-paVZ1dVNcLTSsqqDQ1gSjFykrsC0DEVmxrBPAKSaaGe8wwVJ0ioLhTm7tTEgsNfK4T_ar6HjYPuRvs3SJY8dr-3Q-Xke2w6bDvGQ7UMeeEM5zEOJao_tNEiSLWVwt3bSfdtBLv81f02i-76tbbRkObc1BZFhqc5bnOWEQBCPfMV3fsQZcR-mbbmiaBuJQqtb2V4SR9R1tF2X4VD2XfipWcWQ5GyzfySKeJUpEBdmqaz7QJR0x-mKKTgepvqsuj-r5A6BPA11IM3nUC2gKmANHZwP9yVBiXoEyTbumOX8DbsOkvg.ZknFuQ.Jss2tzNFnEusL9dCOuEHiQKmV_8; views=125 Cf-Connecting-Ip: 2603:6010:ad03:f823:7857:d3fa:a3b6:f7f6 Cdn-Loop: cloudflare Cf-Ipcountry: US ```