[1]
SELECT @@SESSION.sql_mode
(this query time : 0.000 s)
(total SQL time : 0.000 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.001 s)
(total time : 0.006 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D849a97bafcf03221468eadc0fc982cf6f0f'
;
(this query time : 0.000 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.000 s)
(total SQL time : 0.002 s)
(total time : 0.007 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.003 s)
(total time : 0.009 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.003 s)
(total time : 0.010 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.004 s)
(total time : 0.011 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.001 s)
(total SQL time : 0.004 s)
(total time : 0.011 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (1862,3172)
(this query time : 0.001 s)
(total SQL time : 0.005 s)
(total time : 0.016 s)
(num rows : 2 )
[9]
SELECT id
FROM g_images i
INNER JOIN g_image_category ic ON id=ic.image_id
INNER JOIN g_image_tag it ON id=it.image_id
WHERE tag_id IN (1862,3172)
AND (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212) AND level<=0)
GROUP BY id
HAVING COUNT(DISTINCT tag_id)=2
ORDER BY date_creation DESC, file ASC, id ASC
(this query time : 0.264 s)
(total SQL time : 0.268 s)
(total time : 0.280 s)
(num rows : 68 )
[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.271 s)
(total time : 0.283 s)
(num rows : 374 )
[11]
SELECT SUBDATE(CURRENT_DATE,INTERVAL 30 DAY)
(this query time : 0.000 s)
(total SQL time : 0.272 s)
(total time : 0.283 s)
(num rows : 1 )
[12]
SELECT
c.id,
c.uppercats,
count(*) AS counter
FROM g_image_category
INNER JOIN g_categories c ON category_id = id
WHERE image_id IN (31963,31756,31459,31516,31005,31020,29871,29361,10788,30912,30910,30907,30906,30904,30739,30738,30736,30735,30734,30733,12195,11264,11265,11266,30724,30723,7414,7417,30719,30900,30712,30901,10464,10632,30894,30892,4980,4978,30890,30889,30888,30692,30881,30880,30878,30879,30688,30687,30685,30684,30683,30682,30876,30874,30676,30873,30870,30869,30867,30677,30866,30863,30669,30667,30665,30855,30663,30645)
AND (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212))
GROUP BY c.id
ORDER BY counter DESC
LIMIT 20
(this query time : 0.004 s)
(total SQL time : 0.276 s)
(total time : 0.289 s)
(num rows : 20 )
[13]
SELECT
id,
name,
permalink,
id_uppercat,
uppercats,
global_rank
FROM g_categories
WHERE id IN (122,131,100,101,256,257,140,585,871,876,103,259,318,152,169,206,157,204,262,172,205,323,270,276,753,762,874,223,277,877,327,208,855,868)
;
(this query time : 0.001 s)
(total SQL time : 0.276 s)
(total time : 0.290 s)
(num rows : 34 )
[14]
SELECT *
FROM g_tags
(this query time : 0.015 s)
(total SQL time : 0.292 s)
(total time : 0.306 s)
(num rows : 17957 )
[15]
SELECT t.*, count(*) AS counter
FROM g_image_tag
INNER JOIN g_tags t ON tag_id = id
WHERE image_id IN (31963,31756,31459,31516,31005,31020,29871,29361,10788,30912,30910,30907,30906,30904,30739,30738,30736,30735,30734,30733,12195,11264,11265,11266,30724,30723,7414,7417,30719,30900,30712,30901,10464,10632,30894,30892,4980,4978,30890,30889,30888,30692,30881,30880,30878,30879,30688,30687,30685,30684,30683,30682,30876,30874,30676,30873,30870,30869,30867,30677,30866,30863,30669,30667,30665,30855,30663,30645)
AND tag_id NOT IN (1862,3172)
GROUP BY t.id
ORDER BY counter DESC
LIMIT 3
(this query time : 0.029 s)
(total SQL time : 0.321 s)
(total time : 0.398 s)
(num rows : 3 )
[16]
SELECT *
FROM g_images
WHERE id IN (31963,31756,31459,31516,31005,31020,29871,29361,10788,30912,30910,30907,30906,30904,30739,30738,30736,30735,30734,30733,12195,11264,11265,11266,30724,30723,7414,7417,30719,30900,30712,30901,10464,10632,30894,30892,4980,4978,30890,30889,30888,30692,30881,30880,30878)
;
(this query time : 0.005 s)
(total SQL time : 0.326 s)
(total time : 0.404 s)
(num rows : 45 )
[0.409 s, 16 queries] : end include/category_default.inc.php
[17]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (31963,31756,31459,31516,31005,31020,29871,29361,10788,30912,30910,30907,30906,30904,30739,30738,30736,30735,30734,30733,12195,11264,11265,11266,30724,30723,7414,7417,30719,30900,30712,30901,10464,10632,30894,30892,4980,4978,30890,30889,30888,30692,30881,30880,30878,30879,30688,30687,30685,30684,30683,30682,30876,30874,30676,30873,30870,30869,30867,30677,30866,30863,30669,30667,30665,30855,30663,30645)
ORDER BY FIELD(id, 31963,31756,31459,31516,31005,31020,29871,29361,10788,30912,30910,30907,30906,30904,30739,30738,30736,30735,30734,30733,12195,11264,11265,11266,30724,30723,7414,7417,30719,30900,30712,30901,10464,10632,30894,30892,4980,4978,30890,30889,30888,30692,30881,30880,30878,30879,30688,30687,30685,30684,30683,30682,30876,30874,30676,30873,30870,30869,30867,30677,30866,30863,30669,30667,30665,30855,30663,30645)
;
(this query time : 0.001 s)
(total SQL time : 0.327 s)
(total time : 0.411 s)
(num rows : 68 )
[18]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.328 s)
(total time : 0.435 s)
(num rows : 1 )