[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 = 'D8495675e0270552f9ebe9d4210a181d9d47'
;
(this query time : 0.000 s)
(total SQL time : 0.002 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.003 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.001 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.001 s)
(total SQL time : 0.004 s)
(total time : 0.008 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (1289)
(this query time : 0.000 s)
(total SQL time : 0.004 s)
(total time : 0.011 s)
(num rows : 1 )
[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 (1289)
AND (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212) AND level<=0)
GROUP BY id
ORDER BY date_creation DESC, file ASC, id ASC
(this query time : 0.003 s)
(total SQL time : 0.006 s)
(total time : 0.014 s)
(num rows : 156 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 27308
;
(this query time : 0.000 s)
(total SQL time : 0.007 s)
(total time : 0.014 s)
(affected rows : 1 )
[11]
SELECT id,uppercats,commentable,visible,status,global_rank
FROM g_image_category
INNER JOIN g_categories ON category_id = id
WHERE image_id = 27308
AND (id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212))
;
(this query time : 0.000 s)
(total SQL time : 0.007 s)
(total time : 0.015 s)
(num rows : 3 )
[12]
SELECT *
FROM g_images
WHERE id IN (27308,27385,33546,27252,14931)
;
(this query time : 0.001 s)
(total SQL time : 0.008 s)
(total time : 0.015 s)
(num rows : 5 )
[13]
SELECT t.*, count(*) AS counter
FROM g_image_tag
INNER JOIN g_tags t ON tag_id = id
WHERE image_id IN (27308)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.008 s)
(total time : 0.019 s)
(num rows : 15 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,855,860,152,262,159,100,101,256,257)
(this query time : 0.000 s)
(total SQL time : 0.009 s)
(total time : 0.020 s)
(num rows : 10 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 27308 AND validated = 'true'
;
(this query time : 0.000 s)
(total SQL time : 0.009 s)
(total time : 0.022 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (33546,33310,33311,33170,33171,33193,33062,33066,33076,33078,33019,33018,32897,32937,32791,32761,32566,32549,32510,32508,32507,32465,32423,32396,32392,32292,32126,31951,31642,31641,31478,31509,31394,30825,30821,30515,30412,30158,30164,30179,30187,30087,29923,29512,29434,29452,29400,29211,29224,29066,28943,28914,28771,28908,28820,28400,28372,28365,28335,28333,28232,27385,27308,27252,27064,26610,26420,26164,26099,26087,26036,25796,25590,25167,25140,25101,24989,24992,24888,24837,24836,24817,24816,23933,23509,23473,23398,23320,21856,21666,21361,21165,21103,20350,20272,19499,18944,18857,18507,18383,17438,17435,17604,15619,15634,17084,16890,16236,15441,15233,15193,14179,14069,13788,13710,13251,13320,12957,10776,9580,9501,10320,12140,8240,8083,8082,8095,8005,6349,7240,11153,11088,10948,5272,5482,30889,5889,4234,14804,14785,14855,14736,14738,14739,14750,14745,14671,14675,14673,14812,14705,14708,14592,14590,14591,14931)
ORDER BY FIELD(id, 33546,33310,33311,33170,33171,33193,33062,33066,33076,33078,33019,33018,32897,32937,32791,32761,32566,32549,32510,32508,32507,32465,32423,32396,32392,32292,32126,31951,31642,31641,31478,31509,31394,30825,30821,30515,30412,30158,30164,30179,30187,30087,29923,29512,29434,29452,29400,29211,29224,29066,28943,28914,28771,28908,28820,28400,28372,28365,28335,28333,28232,27385,27308,27252,27064,26610,26420,26164,26099,26087,26036,25796,25590,25167,25140,25101,24989,24992,24888,24837,24836,24817,24816,23933,23509,23473,23398,23320,21856,21666,21361,21165,21103,20350,20272,19499,18944,18857,18507,18383,17438,17435,17604,15619,15634,17084,16890,16236,15441,15233,15193,14179,14069,13788,13710,13251,13320,12957,10776,9580,9501,10320,12140,8240,8083,8082,8095,8005,6349,7240,11153,11088,10948,5272,5482,30889,5889,4234,14804,14785,14855,14736,14738,14739,14750,14745,14671,14675,14673,14812,14705,14708,14592,14590,14591,14931)
;
(this query time : 0.002 s)
(total SQL time : 0.012 s)
(total time : 0.025 s)
(num rows : 156 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.012 s)
(total time : 0.086 s)
(num rows : 1 )