[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 = 'D84996354d66fac0410817e8cd3724e1b64a'
;
(this query time : 0.000 s)
(total SQL time : 0.001 s)
(total time : 0.003 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.002 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.000 s)
(total SQL time : 0.003 s)
(total time : 0.007 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (965)
(this query time : 0.000 s)
(total SQL time : 0.003 s)
(total time : 0.010 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 (965)
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.007 s)
(total time : 0.014 s)
(num rows : 278 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 32358
;
(this query time : 0.000 s)
(total SQL time : 0.007 s)
(total time : 0.015 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 = 32358
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 : 1 )
[12]
SELECT *
FROM g_images
WHERE id IN (32358,32389,33639,32363,18223)
;
(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 (32358)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.009 s)
(total time : 0.020 s)
(num rows : 27 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,871,877)
(this query time : 0.000 s)
(total SQL time : 0.009 s)
(total time : 0.020 s)
(num rows : 3 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 32358 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 (33639,33647,33557,33468,33423,33428,33439,33458,33302,33303,33304,33002,32993,32920,32942,32954,32889,32874,32867,32850,32849,32847,32773,32689,32636,32549,32520,33678,33677,32512,32502,32474,32445,32428,32409,32399,32391,32389,32358,32363,32231,32256,32289,32334,32199,32134,32114,32108,32111,31806,31818,31832,31771,31757,31732,31726,31714,31670,31671,31685,31656,31642,31632,31626,31565,31548,31472,31478,31492,31509,31516,31233,31244,31248,31143,31368,31365,31095,31091,31353,31058,31057,30969,30930,30922,30917,30642,30591,30571,30509,30414,30421,30422,30458,30431,30436,29730,30106,30142,30144,30146,30147,30149,30153,30156,30157,30158,30159,30161,30166,30163,30178,30180,30185,30085,30081,30071,30068,30034,30041,30025,30019,29995,30005,29951,29939,29936,29925,29922,29912,29876,29878,29891,29804,29809,29803,29766,29686,29705,29706,29709,29652,29667,29673,29611,29542,29543,29555,29558,29561,29583,29584,29585,29586,29595,29603,29516,29522,29527,29533,29506,29483,29491,29499,29502,29440,29422,29389,29391,29397,29387,29291,29294,29306,29359,29363,29364,29365,29368,29367,29383,29165,29170,29180,29201,29204,29213,29217,29243,29251,29152,29139,29122,29066,29067,29078,29080,29087,28990,28992,29029,29037,28986,28973,28951,28907,28885,28886,28878,28867,28870,28797,28774,28775,28777,28833,28763,28727,28729,28736,28737,28692,28725,28717,28672,28671,28670,28666,28645,28598,28588,28540,28525,28453,28452,28451,28450,28431,28429,22023,17001,15938,15403,12752,12753,9392,8150,7898,6828,6040,30907,7315,30713,30901,30902,5799,5620,30890,5038,5229,5354,30878,4783,4737,30863,4570,30852,4034,4035,4033,4030,4032,4106,4031,4036,4050,4029,18223)
ORDER BY FIELD(id, 33639,33647,33557,33468,33423,33428,33439,33458,33302,33303,33304,33002,32993,32920,32942,32954,32889,32874,32867,32850,32849,32847,32773,32689,32636,32549,32520,33678,33677,32512,32502,32474,32445,32428,32409,32399,32391,32389,32358,32363,32231,32256,32289,32334,32199,32134,32114,32108,32111,31806,31818,31832,31771,31757,31732,31726,31714,31670,31671,31685,31656,31642,31632,31626,31565,31548,31472,31478,31492,31509,31516,31233,31244,31248,31143,31368,31365,31095,31091,31353,31058,31057,30969,30930,30922,30917,30642,30591,30571,30509,30414,30421,30422,30458,30431,30436,29730,30106,30142,30144,30146,30147,30149,30153,30156,30157,30158,30159,30161,30166,30163,30178,30180,30185,30085,30081,30071,30068,30034,30041,30025,30019,29995,30005,29951,29939,29936,29925,29922,29912,29876,29878,29891,29804,29809,29803,29766,29686,29705,29706,29709,29652,29667,29673,29611,29542,29543,29555,29558,29561,29583,29584,29585,29586,29595,29603,29516,29522,29527,29533,29506,29483,29491,29499,29502,29440,29422,29389,29391,29397,29387,29291,29294,29306,29359,29363,29364,29365,29368,29367,29383,29165,29170,29180,29201,29204,29213,29217,29243,29251,29152,29139,29122,29066,29067,29078,29080,29087,28990,28992,29029,29037,28986,28973,28951,28907,28885,28886,28878,28867,28870,28797,28774,28775,28777,28833,28763,28727,28729,28736,28737,28692,28725,28717,28672,28671,28670,28666,28645,28598,28588,28540,28525,28453,28452,28451,28450,28431,28429,22023,17001,15938,15403,12752,12753,9392,8150,7898,6828,6040,30907,7315,30713,30901,30902,5799,5620,30890,5038,5229,5354,30878,4783,4737,30863,4570,30852,4034,4035,4033,4030,4032,4106,4031,4036,4050,4029,18223)
;
(this query time : 0.004 s)
(total SQL time : 0.013 s)
(total time : 0.028 s)
(num rows : 278 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.014 s)
(total time : 0.135 s)
(num rows : 1 )