[1]
SELECT @@SESSION.sql_mode
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.004 s)
(num rows : 1 )
[2]
SELECT param, value
FROM g_config
;
(this query time : 0.002 s)
(total SQL time : 0.002 s)
(total time : 0.007 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D8495675e0270552f9ebe9d4210a181d9d47'
;
(this query time : 0.001 s)
(total SQL time : 0.003 s)
(total time : 0.009 s)
(num rows : 1 )
[4]
SELECT * FROM g_plugins
WHERE state='active'
(this query time : 0.001 s)
(total SQL time : 0.004 s)
(total time : 0.010 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.002 s)
(total SQL time : 0.006 s)
(total time : 0.017 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.007 s)
(total time : 0.018 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.002 s)
(total SQL time : 0.009 s)
(total time : 0.020 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.001 s)
(total SQL time : 0.010 s)
(total time : 0.021 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (8,1430)
(this query time : 0.001 s)
(total SQL time : 0.011 s)
(total time : 0.033 s)
(num rows : 2 )
[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 (8,1430)
AND (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212) AND level<=0)
GROUP BY id
HAVING COUNT(DISTINCT tag_id)=2
ORDER BY date_creation DESC, file ASC, id ASC
(this query time : 0.039 s)
(total SQL time : 0.048 s)
(total time : 0.072 s)
(num rows : 94 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 4485
;
(this query time : 0.001 s)
(total SQL time : 0.049 s)
(total time : 0.073 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 = 4485
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.050 s)
(total time : 0.075 s)
(num rows : 1 )
[12]
SELECT *
FROM g_images
WHERE id IN (4485,4484,4469,4487,4425)
;
(this query time : 0.001 s)
(total SQL time : 0.051 s)
(total time : 0.076 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 (4485)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.003 s)
(total SQL time : 0.054 s)
(total time : 0.090 s)
(num rows : 12 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (107,150)
(this query time : 0.001 s)
(total SQL time : 0.056 s)
(total time : 0.092 s)
(num rows : 2 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 4485 AND validated = 'true'
;
(this query time : 0.002 s)
(total SQL time : 0.057 s)
(total time : 0.100 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (4469,4484,4485,4487,4490,4489,4488,4486,4483,4482,4481,4479,4480,4477,4478,4475,4476,4474,4473,4472,4471,4470,4468,4467,4465,4466,4460,4464,4446,4449,4450,4451,4452,4402,4403,4404,4405,4406,4407,4408,4409,4410,4411,4412,4413,4414,4415,4416,4417,4418,4419,4420,4421,4422,4423,4400,4401,4398,4399,4396,4397,4445,4444,4456,4457,4454,4455,4453,4448,4447,4463,4461,4462,4459,4427,4430,4429,4431,4493,4433,4434,4435,4436,4438,4458,4440,4439,4441,4442,4432,4428,4426,4424,4425)
ORDER BY FIELD(id, 4469,4484,4485,4487,4490,4489,4488,4486,4483,4482,4481,4479,4480,4477,4478,4475,4476,4474,4473,4472,4471,4470,4468,4467,4465,4466,4460,4464,4446,4449,4450,4451,4452,4402,4403,4404,4405,4406,4407,4408,4409,4410,4411,4412,4413,4414,4415,4416,4417,4418,4419,4420,4421,4422,4423,4400,4401,4398,4399,4396,4397,4445,4444,4456,4457,4454,4455,4453,4448,4447,4463,4461,4462,4459,4427,4430,4429,4431,4493,4433,4434,4435,4436,4438,4458,4440,4439,4441,4442,4432,4428,4426,4424,4425)
;
(this query time : 0.008 s)
(total SQL time : 0.065 s)
(total time : 0.114 s)
(num rows : 94 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.066 s)
(total time : 0.195 s)
(num rows : 1 )