[1] SELECT @@SESSION.sql_mode (this query time : 0.001 s) (total SQL time : 0.001 s) (total time : 0.007 s) (num rows : 1 )
[2] SELECT param, value FROM g_config ; (this query time : 0.003 s) (total SQL time : 0.004 s) (total time : 0.011 s) (num rows : 126 )
[3] SELECT data FROM g_sessions WHERE id = 'D84996fc53db53875380133e463bbd254222' ; (this query time : 0.002 s) (total SQL time : 0.006 s) (total time : 0.014 s) (num rows : 1 )
[4] SELECT * FROM g_plugins WHERE state='active' (this query time : 0.001 s) (total SQL time : 0.007 s) (total time : 0.015 s) (num rows : 9 )
[5]
SELECT
image_id,
date_available,
NOW() AS dbnow
FROM g_lounge
JOIN g_images ON image_id = id
ORDER BY image_id ASC
LIMIT 1
;
(this query time : 0.002 s)
(total SQL time : 0.009 s)
(total time : 0.024 s)
(num rows : 0 )
[6]
SELECT id AS id
, username AS username
, password AS password
, mail_address AS email
FROM g_users
WHERE id = '2'
(this query time : 0.001 s)
(total SQL time : 0.010 s)
(total time : 0.026 s)
(num rows : 1 )
[7]
SELECT
ui.*,
uc.*,
t.name AS theme_name
FROM g_user_infos AS ui
LEFT JOIN g_user_cache AS uc ON ui.user_id = uc.user_id
LEFT JOIN g_themes AS t ON t.id = ui.theme
WHERE ui.user_id = 2
;
(this query time : 0.002 s)
(total SQL time : 0.012 s)
(total time : 0.028 s)
(num rows : 1 )
[8] SELECT * FROM g_user_infos WHERE user_id = 2 ; (this query time : 0.002 s) (total SQL time : 0.014 s) (total time : 0.030 s) (num rows : 1 )
[0.044 s, 8 queries] : start initialize_calendar
[9]
SELECT DISTINCT id FROM g_images
INNER JOIN g_image_category ON id = image_id
WHERE (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212) AND level<=0)
AND date_creation BETWEEN '2019-01-01' AND '2019-12-31 23:59:59'
ORDER BY date_creation ASC, date_creation DESC, file ASC, id ASC
(this query time : 0.083 s)
(total SQL time : 0.097 s)
(total time : 0.127 s)
(num rows : 3550 )
[0.128 s, 9 queries] : end initialize_calendar
[10] UPDATE g_images SET hit = hit+1, lastmodified = lastmodified WHERE id = 11486 ; (this query time : 0.001 s) (total SQL time : 0.097 s) (total time : 0.129 s) (affected rows : 1 )
[11]
SELECT id,uppercats,commentable,visible,status,global_rank
FROM g_image_category
INNER JOIN g_categories ON category_id = id
WHERE image_id = 11486
AND (id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212))
;
(this query time : 0.001 s)
(total SQL time : 0.098 s)
(total time : 0.130 s)
(num rows : 3 )
[12] SELECT * FROM g_images WHERE id IN (11486,11488,7596,11487,12190) ; (this query time : 0.001 s) (total SQL time : 0.099 s) (total time : 0.131 s) (num rows : 5 )
[13]
SELECT t.*, count(*) AS counter
FROM g_image_tag
INNER JOIN g_tags t ON tag_id = id
WHERE image_id IN (11486)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.100 s)
(total time : 0.138 s)
(num rows : 9 )
[14] SELECT id, name, permalink FROM g_categories WHERE id IN (585,753,763,152,169,345,102) (this query time : 0.001 s) (total SQL time : 0.100 s) (total time : 0.139 s) (num rows : 7 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 11486 AND validated = 'true'
;
(this query time : 0.001 s)
(total SQL time : 0.102 s)
(total time : 0.143 s)
(num rows : 1 )
[16] SELECT param, value FROM g_config WHERE param = "send_piwigo_infos_last_notice" ; (this query time : 0.001 s) (total SQL time : 0.103 s) (total time : 0.160 s) (num rows : 1 )