[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.001 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.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.003 s)
(total time : 0.007 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (1337)
(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 (1337)
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 : 263 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 4257
;
(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 = 4257
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 : 4 )
[12]
SELECT *
FROM g_images
WHERE id IN (4257,4541,33705)
;
(this query time : 0.000 s)
(total SQL time : 0.008 s)
(total time : 0.015 s)
(num rows : 3 )
[13]
SELECT t.*, count(*) AS counter
FROM g_image_tag
INNER JOIN g_tags t ON tag_id = id
WHERE image_id IN (4257)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.008 s)
(total time : 0.018 s)
(num rows : 15 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (152,262,176,146,140,100,101)
(this query time : 0.000 s)
(total SQL time : 0.009 s)
(total time : 0.018 s)
(num rows : 7 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 4257 AND validated = 'true'
;
(this query time : 0.001 s)
(total SQL time : 0.009 s)
(total time : 0.021 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (33705,33503,33443,33250,33152,33167,33163,33168,33166,33169,33170,33184,33209,33037,33038,33040,33042,33039,32987,32951,32955,32740,32739,32738,32737,32597,32533,32508,32423,32422,31875,31615,31613,31249,31380,30433,30434,30437,30438,30439,29519,29520,29446,29447,29448,29450,29451,29375,29082,28880,27946,27947,27948,27949,27950,27951,27952,27957,27958,27961,27805,27677,27520,27514,27410,27408,27407,27406,27405,27404,27402,27399,27398,27397,27396,27376,27375,27282,26731,26730,26729,26728,26557,26385,26403,26404,26405,26129,26127,25833,25831,25829,25828,25826,25827,25825,25824,25823,25822,25821,25820,25718,25458,25457,25452,25161,25160,24850,24617,24352,24351,24350,24349,24126,24125,23739,23738,23737,23492,22203,22205,22001,21739,21738,21488,21321,20886,20531,18956,18955,18758,17877,17161,17105,16661,16324,16155,16157,16156,16153,16149,16148,16146,16147,16019,16017,16020,16016,16177,15704,15699,15318,15314,14511,14425,14080,14087,13915,13914,13807,13809,13806,13619,13257,13256,13323,13142,12918,12598,11628,11590,11610,11614,11571,10784,10672,10671,10386,10385,9668,9313,9315,9316,9247,9256,9258,9045,9046,8598,8610,8411,8412,8273,8320,8134,8056,8058,8057,8018,8019,7914,7915,7916,7917,7918,7748,7749,7597,7035,7002,6977,6590,14230,14229,6937,6936,6634,6040,30911,6617,6619,6693,6694,9899,9939,9956,9959,9958,9961,9960,9962,9963,9965,9964,9966,5743,5794,10956,10957,10897,10898,5382,5692,5689,5688,5687,5686,5086,5087,5072,5481,5158,5155,5156,5884,5883,5882,5881,4588,4542,4543,4541,4257)
ORDER BY FIELD(id, 33705,33503,33443,33250,33152,33167,33163,33168,33166,33169,33170,33184,33209,33037,33038,33040,33042,33039,32987,32951,32955,32740,32739,32738,32737,32597,32533,32508,32423,32422,31875,31615,31613,31249,31380,30433,30434,30437,30438,30439,29519,29520,29446,29447,29448,29450,29451,29375,29082,28880,27946,27947,27948,27949,27950,27951,27952,27957,27958,27961,27805,27677,27520,27514,27410,27408,27407,27406,27405,27404,27402,27399,27398,27397,27396,27376,27375,27282,26731,26730,26729,26728,26557,26385,26403,26404,26405,26129,26127,25833,25831,25829,25828,25826,25827,25825,25824,25823,25822,25821,25820,25718,25458,25457,25452,25161,25160,24850,24617,24352,24351,24350,24349,24126,24125,23739,23738,23737,23492,22203,22205,22001,21739,21738,21488,21321,20886,20531,18956,18955,18758,17877,17161,17105,16661,16324,16155,16157,16156,16153,16149,16148,16146,16147,16019,16017,16020,16016,16177,15704,15699,15318,15314,14511,14425,14080,14087,13915,13914,13807,13809,13806,13619,13257,13256,13323,13142,12918,12598,11628,11590,11610,11614,11571,10784,10672,10671,10386,10385,9668,9313,9315,9316,9247,9256,9258,9045,9046,8598,8610,8411,8412,8273,8320,8134,8056,8058,8057,8018,8019,7914,7915,7916,7917,7918,7748,7749,7597,7035,7002,6977,6590,14230,14229,6937,6936,6634,6040,30911,6617,6619,6693,6694,9899,9939,9956,9959,9958,9961,9960,9962,9963,9965,9964,9966,5743,5794,10956,10957,10897,10898,5382,5692,5689,5688,5687,5686,5086,5087,5072,5481,5158,5155,5156,5884,5883,5882,5881,4588,4542,4543,4541,4257)
;
(this query time : 0.004 s)
(total SQL time : 0.013 s)
(total time : 0.026 s)
(num rows : 263 )
[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.129 s)
(num rows : 1 )