[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 = 'D849dc9a10f1e05f5e42ec863dddce0e20ff'
;
(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.001 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.007 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.008 s)
(num rows : 1 )
[0.011 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.056 s)
(total time : 0.065 s)
(num rows : 12 )
[0.067 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.059 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.060 s)
(total time : 0.070 s)
(num rows : 1 )
[12]
SELECT *
FROM g_tags
(this query time : 0.011 s)
(total SQL time : 0.071 s)
(total time : 0.084 s)
(num rows : 17957 )
[13]
SELECT *
FROM g_images
WHERE id IN (15429,15428,15427,15426,15425,15424,15423,15422,15421,15420,15419,15418,15417,15416,15415,15414,15413,15412,15411,15410,15409,15408,15407,15406,15405,15404,15403,15402,15401,15400,15399,15398,15397,15396,15395,15394,15393,15392,15391,15390,15389,15388,15387,15386,15385)
;
(this query time : 0.001 s)
(total SQL time : 0.072 s)
(total time : 0.143 s)
(num rows : 45 )
[0.148 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 (15429,15428,15427,15426,15425,15424,15423,15422,15421,15420,15419,15418,15417,15416,15415,15414,15413,15412,15411,15410,15409,15408,15407,15406,15405,15404,15403,15402,15401,15400,15399,15398,15397,15396,15395,15394,15393,15392,15391,15390,15389,15388,15387,15386,15385)
GROUP BY t.id
ORDER BY counter DESC
LIMIT 2
(this query time : 0.003 s)
(total SQL time : 0.075 s)
(total time : 0.152 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.076 s)
(total time : 0.155 s)
(num rows : 1 )