[1]
SELECT @@SESSION.sql_mode
(this query time : 0.000 s)
(total SQL time : 0.000 s)
(total time : 0.002 s)
(num rows : 1 )
[2]
SELECT param, value
FROM g_config
;
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.003 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D84996354d66fac0410817e8cd3724e1b64a'
;
(this query time : 0.000 s)
(total SQL time : 0.001 s)
(total time : 0.004 s)
(num rows : 1 )
[4]
SELECT * FROM g_plugins
WHERE state='active'
(this query time : 0.000 s)
(total SQL time : 0.002 s)
(total time : 0.004 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.000 s)
(total SQL time : 0.002 s)
(total time : 0.006 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.000 s)
(total SQL time : 0.002 s)
(total time : 0.006 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.000 s)
(total SQL time : 0.003 s)
(total time : 0.007 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.000 s)
(total SQL time : 0.003 s)
(total time : 0.007 s)
(num rows : 1 )
[0.010 s, 8 queries] : start initialize_calendar
[9]
SELECT DISTINCT(YEAR(date_available)) as period,
COUNT(DISTINCT id) as nb_images 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_available IS NOT NULL
GROUP BY period;
(this query time : 0.054 s)
(total SQL time : 0.058 s)
(total time : 0.065 s)
(num rows : 12 )
[0.066 s, 9 queries] : end initialize_calendar
[10]
SELECT
id, name, permalink, nb_images, global_rank,
date_last, max_date_last, count_images, count_categories
FROM g_categories INNER JOIN g_user_cache_categories
ON id = cat_id and user_id = 2
WHERE
1 = 1
;
(this query time : 0.003 s)
(total SQL time : 0.061 s)
(total time : 0.070 s)
(num rows : 374 )
[11]
SELECT SUBDATE(CURRENT_DATE,INTERVAL 30 DAY)
(this query time : 0.000 s)
(total SQL time : 0.061 s)
(total time : 0.070 s)
(num rows : 1 )
[12]
SELECT *
FROM g_tags
(this query time : 0.013 s)
(total SQL time : 0.074 s)
(total time : 0.086 s)
(num rows : 17957 )
[13]
SELECT *
FROM g_images
WHERE id IN (20221,20220,20219,20218,20217,20216,20215,20214,20213,20212,20211,20210,20209,20208,20207,20206,20205,20204,20203,20202,20201,20200,20199,20198,20197,20196,20195,20194,20193,20192,20191,20190,20189,20188,20187,20186,20185,20184,20183,20182,20181,20180,20179,20178,20177)
;
(this query time : 0.001 s)
(total SQL time : 0.075 s)
(total time : 0.209 s)
(num rows : 45 )
[0.215 s, 13 queries] : end include/category_default.inc.php
[14]
SELECT t.*, count(*) AS counter
FROM g_image_tag
INNER JOIN g_tags t ON tag_id = id
WHERE image_id IN (20221,20220,20219,20218,20217,20216,20215,20214,20213,20212,20211,20210,20209,20208,20207,20206,20205,20204,20203,20202,20201,20200,20199,20198,20197,20196,20195,20194,20193,20192,20191,20190,20189,20188,20187,20186,20185,20184,20183,20182,20181,20180,20179,20178,20177)
GROUP BY t.id
ORDER BY counter DESC
LIMIT 2
(this query time : 0.003 s)
(total SQL time : 0.079 s)
(total time : 0.218 s)
(num rows : 2 )
[15]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.079 s)
(total time : 0.222 s)
(num rows : 1 )