[1]
SELECT @@SESSION.sql_mode
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.003 s)
(num rows : 1 )
[2]
SELECT param, value
FROM g_config
;
(this query time : 0.001 s)
(total SQL time : 0.002 s)
(total time : 0.005 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D8494ca28a6ee6e4ee838d3ca870ce52a291'
;
(this query time : 0.001 s)
(total SQL time : 0.002 s)
(total time : 0.006 s)
(num rows : 1 )
[4]
SELECT * FROM g_plugins
WHERE state='active'
(this query time : 0.001 s)
(total SQL time : 0.003 s)
(total time : 0.006 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.001 s)
(total SQL time : 0.004 s)
(total time : 0.010 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.004 s)
(total time : 0.011 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.001 s)
(total SQL time : 0.005 s)
(total time : 0.012 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.001 s)
(total SQL time : 0.006 s)
(total time : 0.012 s)
(num rows : 1 )
[0.018 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.084 s)
(total SQL time : 0.090 s)
(total time : 0.102 s)
(num rows : 12 )
[0.105 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.093 s)
(total time : 0.108 s)
(num rows : 374 )
[11]
SELECT SUBDATE(CURRENT_DATE,INTERVAL 30 DAY)
(this query time : 0.000 s)
(total SQL time : 0.093 s)
(total time : 0.109 s)
(num rows : 1 )
[12]
SELECT *
FROM g_tags
(this query time : 0.009 s)
(total SQL time : 0.102 s)
(total time : 0.120 s)
(num rows : 17957 )
[13]
SELECT *
FROM g_images
WHERE id IN (18851,18850,18849,18848,18847,18846,18845,18844,18843,18842,18841,18840,18839,18838,18837,18836,18835,18834,18833,18832,18831,18830,18829,18828,18827,18826,18825,18824,18823,18822,18821,18820,18819,18818,18817,18816,18815,18814,18813,18812,18811,18810,18809,18808,18807)
;
(this query time : 0.001 s)
(total SQL time : 0.103 s)
(total time : 0.206 s)
(num rows : 45 )
[0.213 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 (18851,18850,18849,18848,18847,18846,18845,18844,18843,18842,18841,18840,18839,18838,18837,18836,18835,18834,18833,18832,18831,18830,18829,18828,18827,18826,18825,18824,18823,18822,18821,18820,18819,18818,18817,18816,18815,18814,18813,18812,18811,18810,18809,18808,18807)
GROUP BY t.id
ORDER BY counter DESC
LIMIT 2
(this query time : 0.005 s)
(total SQL time : 0.108 s)
(total time : 0.219 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.109 s)
(total time : 0.223 s)
(num rows : 1 )