[1]
SELECT @@SESSION.sql_mode
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.003 s)
(num rows : 1 )
[2]
SELECT param, value
FROM g_config
;
(this query time : 0.000 s)
(total SQL time : 0.001 s)
(total time : 0.004 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D84994c5865d4976d8574ea7a73ebc1a7e53'
;
(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.005 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.007 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.007 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.000 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.004 s)
(total time : 0.008 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (1627)
(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 (1627)
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 hit DESC,date_creation DESC, file ASC, id ASC
(this query time : 0.127 s)
(total SQL time : 0.130 s)
(total time : 0.138 s)
(num rows : 252 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 30761
;
(this query time : 0.000 s)
(total SQL time : 0.131 s)
(total time : 0.139 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 = 30761
AND (id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212))
;
(this query time : 0.001 s)
(total SQL time : 0.131 s)
(total time : 0.139 s)
(num rows : 1 )
[12]
SELECT *
FROM g_images
WHERE id IN (30761,25887,14990,30460,33685)
;
(this query time : 0.000 s)
(total SQL time : 0.132 s)
(total time : 0.140 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 (30761)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.132 s)
(total time : 0.144 s)
(num rows : 10 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,871,874)
(this query time : 0.000 s)
(total SQL time : 0.133 s)
(total time : 0.145 s)
(num rows : 3 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 30761 AND validated = 'true'
;
(this query time : 0.000 s)
(total SQL time : 0.133 s)
(total time : 0.147 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (14990,15017,4739,14981,15018,18087,15022,14977,8490,7920,7775,7922,7921,8493,12727,7309,7323,7923,18161,7391,7988,7745,12728,7725,18066,7732,7387,7770,7090,7389,7379,30457,7380,12724,30778,12756,7382,11226,7381,7377,8179,14529,18048,30144,12746,11242,30945,14994,30113,25995,30767,17999,7092,15019,30772,30140,30776,29962,29739,29963,25957,13035,21194,25983,18364,21236,29731,30464,30530,30012,30531,30097,30532,30770,18369,25939,29991,26012,30779,18079,18083,30508,30186,30513,18602,30950,29733,29943,30100,25990,18078,25893,25937,18077,21254,14850,30494,21207,30111,30794,18380,30098,30498,29964,30484,30521,30138,14853,30500,30780,30136,30137,30499,26001,18374,30123,14849,21225,30775,30188,25965,30465,25938,29960,14851,30116,30109,14854,18373,30951,14852,30105,21190,29947,30509,30447,30510,30115,30748,30525,30112,18368,21255,30518,29743,25888,21228,25929,30503,30461,30117,30118,30102,30104,30099,29961,21187,18616,30139,29742,30191,25930,21176,14856,29958,21179,29946,25892,25915,29744,29895,30501,26025,18609,21533,29959,21227,21201,21174,21204,30101,29727,30124,30114,21234,25890,30502,30529,30524,25543,29893,25898,21411,30760,33597,30782,30127,30923,25874,21226,30330,29741,21532,25878,21432,29726,26343,21172,25877,18454,25889,30120,25977,30338,25875,21540,25978,21539,21193,25902,30132,30471,21213,25989,33596,26027,25539,26042,25876,33551,25887,30761,30460,25885,25880,30765,33552,30764,33602,33600,33702,33603,33550,33694,33700,33612,33598,33693,33604,22235,33703,33685)
ORDER BY FIELD(id, 14990,15017,4739,14981,15018,18087,15022,14977,8490,7920,7775,7922,7921,8493,12727,7309,7323,7923,18161,7391,7988,7745,12728,7725,18066,7732,7387,7770,7090,7389,7379,30457,7380,12724,30778,12756,7382,11226,7381,7377,8179,14529,18048,30144,12746,11242,30945,14994,30113,25995,30767,17999,7092,15019,30772,30140,30776,29962,29739,29963,25957,13035,21194,25983,18364,21236,29731,30464,30530,30012,30531,30097,30532,30770,18369,25939,29991,26012,30779,18079,18083,30508,30186,30513,18602,30950,29733,29943,30100,25990,18078,25893,25937,18077,21254,14850,30494,21207,30111,30794,18380,30098,30498,29964,30484,30521,30138,14853,30500,30780,30136,30137,30499,26001,18374,30123,14849,21225,30775,30188,25965,30465,25938,29960,14851,30116,30109,14854,18373,30951,14852,30105,21190,29947,30509,30447,30510,30115,30748,30525,30112,18368,21255,30518,29743,25888,21228,25929,30503,30461,30117,30118,30102,30104,30099,29961,21187,18616,30139,29742,30191,25930,21176,14856,29958,21179,29946,25892,25915,29744,29895,30501,26025,18609,21533,29959,21227,21201,21174,21204,30101,29727,30124,30114,21234,25890,30502,30529,30524,25543,29893,25898,21411,30760,33597,30782,30127,30923,25874,21226,30330,29741,21532,25878,21432,29726,26343,21172,25877,18454,25889,30120,25977,30338,25875,21540,25978,21539,21193,25902,30132,30471,21213,25989,33596,26027,25539,26042,25876,33551,25887,30761,30460,25885,25880,30765,33552,30764,33602,33600,33702,33603,33550,33694,33700,33612,33598,33693,33604,22235,33703,33685)
;
(this query time : 0.007 s)
(total SQL time : 0.140 s)
(total time : 0.155 s)
(num rows : 252 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.004 s)
(total SQL time : 0.144 s)
(total time : 0.258 s)
(num rows : 1 )