Total Queries: 27
Total Time: 0.30431032180786
Array
(
[0] => Array
(
[query] => select * from setting where property = 'datetime_timezone'
[start] => 1766071739.1861
[end] => 1766071739.1864
[time] => 0.00031495094299316
)
[1] => Array
(
[query] => select player.*,player_to_team.team_id,player_to_team.number,player_to_team.start,player_to_team.end from player
left join player_to_team on (player.player_id = player_to_team.player_id) where deleted = '0' AND player.player_id = '198' ORDER BY lastname,firstname ASC
[start] => 1766071739.1881
[end] => 1766071739.1888
[time] => 0.00066995620727539
)
[2] => Array
(
[query] => select team.*,team_to_club.club_id,team_to_club.start,team_to_club.end from team
left join team_to_club on (team.team_id = team_to_club.team_id) where deleted = '0' AND (start = 0 OR start <= 1766071739 OR start >= 1766071739) AND (end >= 1766071739 OR end = 0) AND (start < 1766071739) ORDER BY name ASC
[start] => 1766071739.1891
[end] => 1766071739.1899
[time] => 0.00080013275146484
)
[3] => Array
(
[query] => select * from player_to_team WHERE player_id = '198'
[start] => 1766071739.19
[end] => 1766071739.1906
[time] => 0.00054812431335449
)
[4] => Array
(
[query] => select * from matches where (home_team_id = '30' OR visitor_team_id = '30') AND date <= '1696450781' ORDER BY
case when description in('', '') then 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZ' else description end,
round_id+0,
date+0,
match_id
ASC LIMIT 0,1
[start] => 1766071739.1909
[end] => 1766071739.1935
[time] => 0.0025589466094971
)
[5] => Array
(
[query] => select * from match_time where match_id in (2093) order by id ASC
[start] => 1766071739.1935
[end] => 1766071739.1959
[time] => 0.0023598670959473
)
[6] => Array
(
[query] => SELECT * FROM match_data where match_id IN (2093)
[start] => 1766071739.196
[end] => 1766071739.2074
[time] => 0.011462926864624
)
[7] => Array
(
[query] => select * from matches where (home_team_id = '23' OR visitor_team_id = '23') AND date >= '1696450950' AND date <= '1727097386' ORDER BY
case when description in('', '') then 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZ' else description end,
round_id+0,
date+0,
match_id
ASC LIMIT 0,1
[start] => 1766071739.208
[end] => 1766071739.2106
[time] => 0.0026090145111084
)
[8] => Array
(
[query] => select * from match_time where match_id in (3150) order by id ASC
[start] => 1766071739.2106
[end] => 1766071739.2129
[time] => 0.0022950172424316
)
[9] => Array
(
[query] => SELECT * FROM match_data where match_id IN (3150)
[start] => 1766071739.213
[end] => 1766071739.2244
[time] => 0.011482954025269
)
[10] => Array
(
[query] => select * from matches where (home_team_id = '33' OR visitor_team_id = '33') AND date >= '1727097193' AND date <= '1758743372' ORDER BY
case when description in('', '') then 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZ' else description end,
round_id+0,
date+0,
match_id
ASC LIMIT 0,1
[start] => 1766071739.2249
[end] => 1766071739.2276
[time] => 0.0026381015777588
)
[11] => Array
(
[query] => select * from match_time where match_id in (3912) order by id ASC
[start] => 1766071739.2276
[end] => 1766071739.23
[time] => 0.002331018447876
)
[12] => Array
(
[query] => SELECT * FROM match_data where match_id IN (3912)
[start] => 1766071739.23
[end] => 1766071739.2414
[time] => 0.011427879333496
)
[13] => Array
(
[query] => select team.*,team_to_club.club_id,team_to_club.start,team_to_club.end from team
left join team_to_club on (team.team_id = team_to_club.team_id) where team.team_id = '46' AND deleted = '0' AND (start = 0 OR start <= 1766071739 OR start >= 1766071739) AND (end >= 1766071739 OR end = 0) AND (start < 1766071739) ORDER BY name ASC
[start] => 1766071739.242
[end] => 1766071739.2424
[time] => 0.00042080879211426
)
[14] => Array
(
[query] => select player.*,player_to_team.team_id,player_to_team.number,player_to_team.start,player_to_team.end from player
left join player_to_team on (player.player_id = player_to_team.player_id) where team_id = '46' AND end = '0' AND deleted = '0' ORDER BY number+0 ASC
[start] => 1766071739.2425
[end] => 1766071739.2431
[time] => 0.00063991546630859
)
[15] => Array
(
[query] => SELECT player_id, COUNT(player_id) as attendance FROM match_roster LEFT JOIN matches ON (match_roster.match_id = matches.match_id) where player_id = '198' AND match_roster.match_id NOT IN (select match_id from matches where championship_id IN (select championship_id from championship where show_player_ranking = '0')) GROUP BY player_id
[start] => 1766071739.2435
[end] => 1766071739.249
[time] => 0.0055248737335205
)
[16] => Array
(
[query] => SELECT player_id,
SUM(
CASE
WHEN point != 'A' THEN point
END
) as total,
SUM(
CASE
WHEN point = 'A' THEN 1
WHEN point != 'A' THEN 0
END
) as autohit,
SUM(
CASE
WHEN point = '3' THEN 1
WHEN point != '3' THEN 0
END
) as defense,
SUM(
CASE
WHEN point = '2' THEN 1
WHEN point != '2' THEN 0
END
) as attack,
SUM(
CASE
WHEN point = 'P' THEN 1
WHEN point != 'P' THEN 0
END
) as admonitions,
SUM(
CASE
WHEN point = 'E' THEN 1
WHEN point != 'E' THEN 0
END
) as expulsions
FROM point
LEFT JOIN matches ON (point.match_id = matches.match_id) where player_id = '198' AND point.match_id NOT IN (select match_id from matches where championship_id IN (select championship_id from championship where show_player_ranking = '0')) GROUP BY point.player_id
[start] => 1766071739.249
[end] => 1766071739.2855
[time] => 0.036444902420044
)
[17] => Array
(
[query] => SELECT player_id, COUNT(player_id) as attendance, CASE
WHEN from_unixtime(matches.date, "%Y-%m-%d %H:%i") <= CONCAT(from_unixtime(matches.date, "%Y"), "-08-31" , '23:59:59') THEN CONCAT(from_unixtime(matches.date, "%Y")-1, '-', from_unixtime(matches.date, "%Y"))
ELSE CONCAT(from_unixtime(matches.date, "%Y"), '-', from_unixtime(matches.date, "%Y")+1)
END as period FROM match_roster LEFT JOIN matches ON (match_roster.match_id = matches.match_id) where player_id = '198' AND team_id = '30' AND match_roster.match_id NOT IN (select match_id from matches where championship_id IN (select championship_id from championship where show_player_ranking = '0')) GROUP BY player_id, period
[start] => 1766071739.2857
[end] => 1766071739.292
[time] => 0.0062999725341797
)
[18] => Array
(
[query] => SELECT player_id, CASE
WHEN from_unixtime(matches.date, "%Y-%m-%d %H:%i") <= CONCAT(from_unixtime(matches.date, "%Y"), "-08-31" , '23:59:59') THEN CONCAT(from_unixtime(matches.date, "%Y")-1, '-', from_unixtime(matches.date, "%Y"))
ELSE CONCAT(from_unixtime(matches.date, "%Y"), '-', from_unixtime(matches.date, "%Y")+1)
END as period,
SUM(
CASE
WHEN point != 'A' THEN point
END
) as total,
SUM(
CASE
WHEN point = 'A' THEN 1
WHEN point != 'A' THEN 0
END
) as autohit,
SUM(
CASE
WHEN point = '3' THEN 1
WHEN point != '3' THEN 0
END
) as defense,
SUM(
CASE
WHEN point = '2' THEN 1
WHEN point != '2' THEN 0
END
) as attack,
SUM(
CASE
WHEN point = 'P' THEN 1
WHEN point != 'P' THEN 0
END
) as admonitions,
SUM(
CASE
WHEN point = 'E' THEN 1
WHEN point != 'E' THEN 0
END
) as expulsions
FROM point
LEFT JOIN matches ON (point.match_id = matches.match_id) where player_id = '198' AND point.match_id NOT IN (select match_id from matches where championship_id IN (select championship_id from championship where show_player_ranking = '0')) AND team_id = '30' GROUP BY point.player_id, period ORDER BY period ASC;
[start] => 1766071739.292
[end] => 1766071739.3383
[time] => 0.046259880065918
)
[19] => Array
(
[query] => SELECT player_id, COUNT(player_id) as attendance, CASE
WHEN from_unixtime(matches.date, "%Y-%m-%d %H:%i") <= CONCAT(from_unixtime(matches.date, "%Y"), "-08-31" , '23:59:59') THEN CONCAT(from_unixtime(matches.date, "%Y")-1, '-', from_unixtime(matches.date, "%Y"))
ELSE CONCAT(from_unixtime(matches.date, "%Y"), '-', from_unixtime(matches.date, "%Y")+1)
END as period FROM match_roster LEFT JOIN matches ON (match_roster.match_id = matches.match_id) where player_id = '198' AND team_id = '23' AND match_roster.match_id NOT IN (select match_id from matches where championship_id IN (select championship_id from championship where show_player_ranking = '0')) GROUP BY player_id, period
[start] => 1766071739.3385
[end] => 1766071739.3448
[time] => 0.0062968730926514
)
[20] => Array
(
[query] => SELECT player_id, CASE
WHEN from_unixtime(matches.date, "%Y-%m-%d %H:%i") <= CONCAT(from_unixtime(matches.date, "%Y"), "-08-31" , '23:59:59') THEN CONCAT(from_unixtime(matches.date, "%Y")-1, '-', from_unixtime(matches.date, "%Y"))
ELSE CONCAT(from_unixtime(matches.date, "%Y"), '-', from_unixtime(matches.date, "%Y")+1)
END as period,
SUM(
CASE
WHEN point != 'A' THEN point
END
) as total,
SUM(
CASE
WHEN point = 'A' THEN 1
WHEN point != 'A' THEN 0
END
) as autohit,
SUM(
CASE
WHEN point = '3' THEN 1
WHEN point != '3' THEN 0
END
) as defense,
SUM(
CASE
WHEN point = '2' THEN 1
WHEN point != '2' THEN 0
END
) as attack,
SUM(
CASE
WHEN point = 'P' THEN 1
WHEN point != 'P' THEN 0
END
) as admonitions,
SUM(
CASE
WHEN point = 'E' THEN 1
WHEN point != 'E' THEN 0
END
) as expulsions
FROM point
LEFT JOIN matches ON (point.match_id = matches.match_id) where player_id = '198' AND point.match_id NOT IN (select match_id from matches where championship_id IN (select championship_id from championship where show_player_ranking = '0')) AND team_id = '23' GROUP BY point.player_id, period ORDER BY period ASC;
[start] => 1766071739.3448
[end] => 1766071739.3914
[time] => 0.046534061431885
)
[21] => Array
(
[query] => SELECT player_id, COUNT(player_id) as attendance, CASE
WHEN from_unixtime(matches.date, "%Y-%m-%d %H:%i") <= CONCAT(from_unixtime(matches.date, "%Y"), "-08-31" , '23:59:59') THEN CONCAT(from_unixtime(matches.date, "%Y")-1, '-', from_unixtime(matches.date, "%Y"))
ELSE CONCAT(from_unixtime(matches.date, "%Y"), '-', from_unixtime(matches.date, "%Y")+1)
END as period FROM match_roster LEFT JOIN matches ON (match_roster.match_id = matches.match_id) where player_id = '198' AND team_id = '33' AND match_roster.match_id NOT IN (select match_id from matches where championship_id IN (select championship_id from championship where show_player_ranking = '0')) GROUP BY player_id, period
[start] => 1766071739.3916
[end] => 1766071739.3977
[time] => 0.0061731338500977
)
[22] => Array
(
[query] => SELECT player_id, CASE
WHEN from_unixtime(matches.date, "%Y-%m-%d %H:%i") <= CONCAT(from_unixtime(matches.date, "%Y"), "-08-31" , '23:59:59') THEN CONCAT(from_unixtime(matches.date, "%Y")-1, '-', from_unixtime(matches.date, "%Y"))
ELSE CONCAT(from_unixtime(matches.date, "%Y"), '-', from_unixtime(matches.date, "%Y")+1)
END as period,
SUM(
CASE
WHEN point != 'A' THEN point
END
) as total,
SUM(
CASE
WHEN point = 'A' THEN 1
WHEN point != 'A' THEN 0
END
) as autohit,
SUM(
CASE
WHEN point = '3' THEN 1
WHEN point != '3' THEN 0
END
) as defense,
SUM(
CASE
WHEN point = '2' THEN 1
WHEN point != '2' THEN 0
END
) as attack,
SUM(
CASE
WHEN point = 'P' THEN 1
WHEN point != 'P' THEN 0
END
) as admonitions,
SUM(
CASE
WHEN point = 'E' THEN 1
WHEN point != 'E' THEN 0
END
) as expulsions
FROM point
LEFT JOIN matches ON (point.match_id = matches.match_id) where player_id = '198' AND point.match_id NOT IN (select match_id from matches where championship_id IN (select championship_id from championship where show_player_ranking = '0')) AND team_id = '33' GROUP BY point.player_id, period ORDER BY period ASC;
[start] => 1766071739.3978
[end] => 1766071739.4434
[time] => 0.045599937438965
)
[23] => Array
(
[query] => SELECT player_id, COUNT(player_id) as attendance, CASE
WHEN from_unixtime(matches.date, "%Y-%m-%d %H:%i") <= CONCAT(from_unixtime(matches.date, "%Y"), "-08-31" , '23:59:59') THEN CONCAT(from_unixtime(matches.date, "%Y")-1, '-', from_unixtime(matches.date, "%Y"))
ELSE CONCAT(from_unixtime(matches.date, "%Y"), '-', from_unixtime(matches.date, "%Y")+1)
END as period FROM match_roster LEFT JOIN matches ON (match_roster.match_id = matches.match_id) where player_id = '198' AND team_id = '46' AND match_roster.match_id NOT IN (select match_id from matches where championship_id IN (select championship_id from championship where show_player_ranking = '0')) GROUP BY player_id, period
[start] => 1766071739.4435
[end] => 1766071739.4497
[time] => 0.0061089992523193
)
[24] => Array
(
[query] => SELECT player_id, CASE
WHEN from_unixtime(matches.date, "%Y-%m-%d %H:%i") <= CONCAT(from_unixtime(matches.date, "%Y"), "-08-31" , '23:59:59') THEN CONCAT(from_unixtime(matches.date, "%Y")-1, '-', from_unixtime(matches.date, "%Y"))
ELSE CONCAT(from_unixtime(matches.date, "%Y"), '-', from_unixtime(matches.date, "%Y")+1)
END as period,
SUM(
CASE
WHEN point != 'A' THEN point
END
) as total,
SUM(
CASE
WHEN point = 'A' THEN 1
WHEN point != 'A' THEN 0
END
) as autohit,
SUM(
CASE
WHEN point = '3' THEN 1
WHEN point != '3' THEN 0
END
) as defense,
SUM(
CASE
WHEN point = '2' THEN 1
WHEN point != '2' THEN 0
END
) as attack,
SUM(
CASE
WHEN point = 'P' THEN 1
WHEN point != 'P' THEN 0
END
) as admonitions,
SUM(
CASE
WHEN point = 'E' THEN 1
WHEN point != 'E' THEN 0
END
) as expulsions
FROM point
LEFT JOIN matches ON (point.match_id = matches.match_id) where player_id = '198' AND point.match_id NOT IN (select match_id from matches where championship_id IN (select championship_id from championship where show_player_ranking = '0')) AND team_id = '46' GROUP BY point.player_id, period ORDER BY period ASC;
[start] => 1766071739.4497
[end] => 1766071739.4953
[time] => 0.045624017715454
)
[25] => Array
(
[query] => select * from championship ORDER BY YEAR(FROM_UNIXTIME(date)) DESC, name ASC
[start] => 1766071739.4974
[end] => 1766071739.4979
[time] => 0.0005800724029541
)
[26] => Array
(
[query] => select * from match_group where deleted = '0' ORDER BY from_unixtime(date, '%Y') DESC,name,match_group_id ASC
[start] => 1766071739.4987
[end] => 1766071739.499
[time] => 0.00030398368835449
)
)