[1]
SELECT @@SESSION.sql_mode
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.004 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.007 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D8493dd259ec2ed672ee23f2ca3811ba0a97'
;
(this query time : 0.001 s)
(total SQL time : 0.003 s)
(total time : 0.008 s)
(num rows : 1 )
[4]
SELECT * FROM g_plugins
WHERE state='active'
(this query time : 0.001 s)
(total SQL time : 0.004 s)
(total time : 0.009 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.005 s)
(total time : 0.014 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.006 s)
(total time : 0.015 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.007 s)
(total time : 0.016 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.001 s)
(total SQL time : 0.008 s)
(total time : 0.018 s)
(num rows : 1 )
[0.026 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.102 s)
(total SQL time : 0.109 s)
(total time : 0.128 s)
(num rows : 12 )
[0.131 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.112 s)
(total time : 0.134 s)
(num rows : 374 )
[11]
SELECT SUBDATE(CURRENT_DATE,INTERVAL 30 DAY)
(this query time : 0.000 s)
(total SQL time : 0.113 s)
(total time : 0.134 s)
(num rows : 1 )
[12]
SELECT *
FROM g_tags
(this query time : 0.010 s)
(total SQL time : 0.123 s)
(total time : 0.148 s)
(num rows : 17957 )
[13]
SELECT *
FROM g_images
WHERE id IN (25718,25204,24937,23924,20333,20317,20179,19601,16592,31044,29592,25713,23727,20303,19178,17503,14952,31360,28262,23898,23812,23755,20184,15709,15359,32145,30461,29807,29701,23922,20225,19818,19449,16891,14700,31104,26267,23858,20115,31471,30503,30128,29065,23925,21384)
;
(this query time : 0.001 s)
(total SQL time : 0.124 s)
(total time : 0.227 s)
(num rows : 45 )
[0.233 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 (25718,25204,24937,23924,20333,20317,20179,19601,16592,31044,29592,25713,23727,20303,19178,17503,14952,31360,28262,23898,23812,23755,20184,15709,15359,32145,30461,29807,29701,23922,20225,19818,19449,16891,14700,31104,26267,23858,20115,31471,30503,30128,29065,23925,21384)
GROUP BY t.id
ORDER BY counter DESC
LIMIT 2
(this query time : 0.005 s)
(total SQL time : 0.129 s)
(total time : 0.237 s)
(num rows : 2 )
[15]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.000 s)
(total SQL time : 0.129 s)
(total time : 0.240 s)
(num rows : 1 )