[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.004 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.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.001 s)
(total SQL time : 0.003 s)
(total time : 0.008 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.003 s)
(total time : 0.009 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.004 s)
(total time : 0.010 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.011 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (509)
(this query time : 0.001 s)
(total SQL time : 0.005 s)
(total time : 0.019 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 (509)
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.009 s)
(total SQL time : 0.014 s)
(total time : 0.028 s)
(num rows : 235 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 5923
;
(this query time : 0.001 s)
(total SQL time : 0.014 s)
(total time : 0.029 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 = 5923
AND (id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212))
;
(this query time : 0.002 s)
(total SQL time : 0.017 s)
(total time : 0.031 s)
(num rows : 3 )
[12]
SELECT *
FROM g_images
WHERE id IN (5923,5928,28588,5915,7614)
;
(this query time : 0.001 s)
(total SQL time : 0.018 s)
(total time : 0.032 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 (5923)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.019 s)
(total time : 0.040 s)
(num rows : 17 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (152,169,205,262,172,102)
(this query time : 0.001 s)
(total SQL time : 0.019 s)
(total time : 0.041 s)
(num rows : 6 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 5923 AND validated = 'true'
;
(this query time : 0.001 s)
(total SQL time : 0.020 s)
(total time : 0.044 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (28588,25133,23486,21407,18774,18694,18431,18411,18408,18190,18186,12923,8242,7884,6650,6059,6663,6665,6630,6629,6632,6112,6113,6118,6120,6119,30906,6687,6689,6749,6777,6776,6779,6778,6781,30904,30740,30739,6804,6827,5997,5988,5985,30737,7814,7474,7439,7416,7388,30714,5936,5935,5930,5929,11015,5928,5923,5915,5914,5850,5849,5848,5847,5739,5736,5748,5735,10988,10989,10987,5768,5767,5766,5815,10931,10930,10910,5378,5391,5388,5389,5397,5394,5395,5405,5402,5403,5400,5401,5454,5453,5465,5457,5456,5458,5460,5459,5462,5697,5690,5646,5461,5464,5329,5284,5282,5281,5279,7605,5079,5096,5094,4979,4980,4978,5085,5034,4941,4949,4947,4967,5051,5039,5040,5042,4988,4986,4985,4983,4984,5152,5149,5150,5148,5146,5162,5176,5177,5174,5175,5172,5173,5170,5171,5168,5178,5180,5226,5223,5224,5246,5253,5259,5323,5302,5303,5346,5353,5344,5345,5341,5339,5340,5370,5369,5374,5371,5698,4748,4745,4746,4743,4744,4739,4735,5330,4583,4599,4600,4598,4595,4596,4602,4603,4604,5326,30677,5008,5004,5005,4997,4998,5000,4989,4992,4995,4565,4566,4564,4563,4562,4560,4561,4547,4292,4295,4296,4297,4293,4277,4276,4274,4280,4285,4282,4283,4558,4553,4253,4256,4549,4252,4122,4093,4097,4101,4034,4035,4556,4050,4025,4027,3551,7613,7614)
ORDER BY FIELD(id, 28588,25133,23486,21407,18774,18694,18431,18411,18408,18190,18186,12923,8242,7884,6650,6059,6663,6665,6630,6629,6632,6112,6113,6118,6120,6119,30906,6687,6689,6749,6777,6776,6779,6778,6781,30904,30740,30739,6804,6827,5997,5988,5985,30737,7814,7474,7439,7416,7388,30714,5936,5935,5930,5929,11015,5928,5923,5915,5914,5850,5849,5848,5847,5739,5736,5748,5735,10988,10989,10987,5768,5767,5766,5815,10931,10930,10910,5378,5391,5388,5389,5397,5394,5395,5405,5402,5403,5400,5401,5454,5453,5465,5457,5456,5458,5460,5459,5462,5697,5690,5646,5461,5464,5329,5284,5282,5281,5279,7605,5079,5096,5094,4979,4980,4978,5085,5034,4941,4949,4947,4967,5051,5039,5040,5042,4988,4986,4985,4983,4984,5152,5149,5150,5148,5146,5162,5176,5177,5174,5175,5172,5173,5170,5171,5168,5178,5180,5226,5223,5224,5246,5253,5259,5323,5302,5303,5346,5353,5344,5345,5341,5339,5340,5370,5369,5374,5371,5698,4748,4745,4746,4743,4744,4739,4735,5330,4583,4599,4600,4598,4595,4596,4602,4603,4604,5326,30677,5008,5004,5005,4997,4998,5000,4989,4992,4995,4565,4566,4564,4563,4562,4560,4561,4547,4292,4295,4296,4297,4293,4277,4276,4274,4280,4285,4282,4283,4558,4553,4253,4256,4549,4252,4122,4093,4097,4101,4034,4035,4556,4050,4025,4027,3551,7613,7614)
;
(this query time : 0.006 s)
(total SQL time : 0.026 s)
(total time : 0.051 s)
(num rows : 235 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.026 s)
(total time : 0.168 s)
(num rows : 1 )