[1]
SELECT @@SESSION.sql_mode
(this query time : 0.000 s)
(total SQL time : 0.000 s)
(total time : 0.003 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 = 'D8493dd259ec2ed672ee23f2ca3811ba0a97'
;
(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.004 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.005 s)
(total time : 0.012 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.006 s)
(total time : 0.013 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.001 s)
(total SQL time : 0.006 s)
(total time : 0.014 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (1168)
(this query time : 0.001 s)
(total SQL time : 0.007 s)
(total time : 0.021 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 (1168)
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.004 s)
(total SQL time : 0.010 s)
(total time : 0.025 s)
(num rows : 104 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 30171
;
(this query time : 0.001 s)
(total SQL time : 0.011 s)
(total time : 0.026 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 = 30171
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.012 s)
(total time : 0.027 s)
(num rows : 2 )
[12]
SELECT *
FROM g_images
WHERE id IN (30171,30163,33625,30172,4180)
;
(this query time : 0.001 s)
(total SQL time : 0.013 s)
(total time : 0.028 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 (30171)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.002 s)
(total SQL time : 0.015 s)
(total time : 0.038 s)
(num rows : 53 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,855,870,102)
(this query time : 0.001 s)
(total SQL time : 0.015 s)
(total time : 0.039 s)
(num rows : 4 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 30171 AND validated = 'true'
;
(this query time : 0.001 s)
(total SQL time : 0.016 s)
(total time : 0.045 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (33625,33643,33650,33450,33359,33221,32972,32945,32488,32444,32412,32358,32059,31869,31781,31780,31748,31747,31740,31667,31669,31678,31687,31689,31690,31650,31580,31510,31441,31258,31267,31284,31295,31297,31306,31411,31241,31399,31140,31125,31118,31107,31106,31103,31363,31079,31074,31346,31047,31046,30960,30957,30955,30953,31016,30566,30413,30421,30427,29721,30148,30160,30161,30163,30171,30172,30090,30033,30251,30009,29935,29932,29910,29502,29330,29243,28878,28868,28814,28805,28802,28765,28766,28717,28687,28625,28410,27808,27738,27331,25622,25254,17191,17192,16463,15896,10406,10407,6481,6482,6483,6485,30739,4180)
ORDER BY FIELD(id, 33625,33643,33650,33450,33359,33221,32972,32945,32488,32444,32412,32358,32059,31869,31781,31780,31748,31747,31740,31667,31669,31678,31687,31689,31690,31650,31580,31510,31441,31258,31267,31284,31295,31297,31306,31411,31241,31399,31140,31125,31118,31107,31106,31103,31363,31079,31074,31346,31047,31046,30960,30957,30955,30953,31016,30566,30413,30421,30427,29721,30148,30160,30161,30163,30171,30172,30090,30033,30251,30009,29935,29932,29910,29502,29330,29243,28878,28868,28814,28805,28802,28765,28766,28717,28687,28625,28410,27808,27738,27331,25622,25254,17191,17192,16463,15896,10406,10407,6481,6482,6483,6485,30739,4180)
;
(this query time : 0.004 s)
(total SQL time : 0.020 s)
(total time : 0.052 s)
(num rows : 104 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.021 s)
(total time : 0.120 s)
(num rows : 1 )