[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.002 s) (total SQL time : 0.004 s) (total time : 0.011 s) (num rows : 126 )
[3] SELECT data FROM g_sessions WHERE id = 'D8495675e0270552f9ebe9d4210a181d9d47' ; (this query time : 0.001 s) (total SQL time : 0.005 s) (total time : 0.013 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.008 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.025 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.003 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.045 s, 8 queries] : start initialize_calendar
[0.054 s, 8 queries] : end initialize_calendar
[9] UPDATE g_images SET hit = hit+1, lastmodified = lastmodified WHERE id = 10427 ; (this query time : 0.001 s) (total SQL time : 0.015 s) (total time : 0.059 s) (affected rows : 1 )
[10]
SELECT id,uppercats,commentable,visible,status,global_rank
FROM g_image_category
INNER JOIN g_categories ON category_id = id
WHERE image_id = 10427
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.017 s)
(total time : 0.060 s)
(num rows : 4 )
[11] SELECT * FROM g_images WHERE id IN (10427,10425,33705,10428,23121) ; (this query time : 0.001 s) (total SQL time : 0.018 s) (total time : 0.061 s) (num rows : 5 )
[12]
SELECT t.*, count(*) AS counter
FROM g_image_tag
INNER JOIN g_tags t ON tag_id = id
WHERE image_id IN (10427)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.019 s)
(total time : 0.073 s)
(num rows : 8 )
[13] SELECT id, name, permalink FROM g_categories WHERE id IN (585,753,761,152,169,323,367,561,100,215) (this query time : 0.001 s) (total SQL time : 0.020 s) (total time : 0.075 s) (num rows : 10 )
[14]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 10427 AND validated = 'true'
;
(this query time : 0.001 s)
(total SQL time : 0.021 s)
(total time : 0.080 s)
(num rows : 1 )
[15] SELECT param, value FROM g_config WHERE param = "send_piwigo_infos_last_notice" ; (this query time : 0.001 s) (total SQL time : 0.022 s) (total time : 0.091 s) (num rows : 1 )