[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.002 s)
(total time : 0.005 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D84996354d66fac0410817e8cd3724e1b64a'
;
(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.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.001 s)
(total SQL time : 0.003 s)
(total time : 0.011 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.005 s)
(total time : 0.013 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (384)
(this query time : 0.001 s)
(total SQL time : 0.006 s)
(total time : 0.018 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 (384)
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.008 s)
(total time : 0.021 s)
(num rows : 116 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 4579
;
(this query time : 0.064 s)
(total SQL time : 0.072 s)
(total time : 0.086 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 = 4579
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.073 s)
(total time : 0.086 s)
(num rows : 4 )
[12]
SELECT *
FROM g_images
WHERE id IN (4579,4582,6633,4580,3548)
;
(this query time : 0.000 s)
(total SQL time : 0.073 s)
(total time : 0.087 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 (4579)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.074 s)
(total time : 0.091 s)
(num rows : 12 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (152,169,221,264,173,146,100,101,256,324)
(this query time : 0.000 s)
(total SQL time : 0.074 s)
(total time : 0.091 s)
(num rows : 10 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 4579 AND validated = 'true'
;
(this query time : 0.000 s)
(total SQL time : 0.075 s)
(total time : 0.093 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (6633,6169,6117,6706,6748,6025,6806,6807,6820,6822,6821,6823,6825,6824,6826,5999,5983,7413,7412,5934,5933,5932,5924,5922,5855,5840,5839,5838,5837,5836,5835,5834,5833,5832,5831,5830,5752,5755,5798,5797,5802,5811,5810,5814,5817,5406,5404,5398,5399,5286,5287,5285,5283,5278,5275,5280,5078,4937,4943,4944,4942,4939,4948,4945,4946,4976,5053,5036,5038,5044,4987,5151,5160,5161,5225,5230,5231,5229,5245,5247,5249,5252,5322,5312,5354,5376,5377,4832,4830,4747,4742,4581,4582,4579,4580,5033,4996,5002,5007,5003,4545,4278,4226,4033,4030,4032,4106,4031,4036,4105,3303,3304,3306,3305,3300,3548)
ORDER BY FIELD(id, 6633,6169,6117,6706,6748,6025,6806,6807,6820,6822,6821,6823,6825,6824,6826,5999,5983,7413,7412,5934,5933,5932,5924,5922,5855,5840,5839,5838,5837,5836,5835,5834,5833,5832,5831,5830,5752,5755,5798,5797,5802,5811,5810,5814,5817,5406,5404,5398,5399,5286,5287,5285,5283,5278,5275,5280,5078,4937,4943,4944,4942,4939,4948,4945,4946,4976,5053,5036,5038,5044,4987,5151,5160,5161,5225,5230,5231,5229,5245,5247,5249,5252,5322,5312,5354,5376,5377,4832,4830,4747,4742,4581,4582,4579,4580,5033,4996,5002,5007,5003,4545,4278,4226,4033,4030,4032,4106,4031,4036,4105,3303,3304,3306,3305,3300,3548)
;
(this query time : 0.003 s)
(total SQL time : 0.077 s)
(total time : 0.097 s)
(num rows : 116 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.078 s)
(total time : 0.167 s)
(num rows : 1 )