[1]
SELECT @@SESSION.sql_mode
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.005 s)
(num rows : 1 )
[2]
SELECT param, value
FROM g_config
;
(this query time : 0.002 s)
(total SQL time : 0.003 s)
(total time : 0.008 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D8495675e0270552f9ebe9d4210a181d9d47'
;
(this query time : 0.001 s)
(total SQL time : 0.004 s)
(total time : 0.010 s)
(num rows : 1 )
[4]
SELECT * FROM g_plugins
WHERE state='active'
(this query time : 0.001 s)
(total SQL time : 0.005 s)
(total time : 0.011 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.006 s)
(total time : 0.018 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.003 s)
(total SQL time : 0.009 s)
(total time : 0.021 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.011 s)
(total time : 0.023 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.001 s)
(total SQL time : 0.012 s)
(total time : 0.025 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (589)
(this query time : 0.001 s)
(total SQL time : 0.013 s)
(total time : 0.036 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 (589)
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.011 s)
(total SQL time : 0.024 s)
(total time : 0.048 s)
(num rows : 233 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 26126
;
(this query time : 0.002 s)
(total SQL time : 0.026 s)
(total time : 0.050 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 = 26126
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.027 s)
(total time : 0.052 s)
(num rows : 3 )
[12]
SELECT *
FROM g_images
WHERE id IN (26126,26750,33682,26064,14722)
;
(this query time : 0.002 s)
(total SQL time : 0.029 s)
(total time : 0.054 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 (26126)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.002 s)
(total SQL time : 0.031 s)
(total time : 0.076 s)
(num rows : 12 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,855,857,103,270,280,281)
(this query time : 0.001 s)
(total SQL time : 0.032 s)
(total time : 0.077 s)
(num rows : 7 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 26126 AND validated = 'true'
;
(this query time : 0.001 s)
(total SQL time : 0.033 s)
(total time : 0.084 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (33682,33578,33389,33258,33300,33208,33081,33052,33086,33088,32985,32933,32855,32777,32724,32659,32604,32539,32509,32507,32495,32471,32427,32397,32396,32336,32290,32327,32328,32189,32112,31915,31917,31930,31832,31779,31732,31721,31685,31583,31498,31259,31267,31268,31286,31291,31118,31379,31102,31365,31347,31059,30995,30928,30421,29720,30161,30165,30185,29624,29640,29302,29328,29335,29336,29355,29251,29080,29089,29087,28967,28964,28952,28942,28807,28705,28641,28598,28587,28577,28539,28482,28469,28378,28350,28348,27983,27835,26779,26750,26126,26064,25614,25347,25001,24894,24804,24716,24286,23940,23549,23453,22096,21410,21311,19358,18174,17950,17676,17675,17217,15520,15524,15622,16960,17086,16561,16495,16037,15953,15904,15466,15245,13887,13721,13676,13668,13648,13382,13262,13291,12840,12867,12789,12750,11924,11900,11843,11811,11754,11475,10737,10653,10409,10415,10420,10421,9233,9240,9033,8994,8902,8888,8840,8765,8589,8463,8433,12164,12163,12145,12150,12151,12154,12126,12117,12118,10192,8187,8102,8110,8060,8051,7929,7904,7907,7779,7706,6517,6516,6519,6330,6315,18342,14240,6924,6041,12293,12289,7466,7400,7399,7314,7302,7189,7201,11207,11160,11162,11166,11178,11179,11101,5848,5645,5644,5635,5634,5633,10886,10595,5324,5463,30890,4931,5036,5145,5890,5889,5885,30849,3963,3870,3867,3866,3880,3685,3860,3755,3743,3713,14804,14722)
ORDER BY FIELD(id, 33682,33578,33389,33258,33300,33208,33081,33052,33086,33088,32985,32933,32855,32777,32724,32659,32604,32539,32509,32507,32495,32471,32427,32397,32396,32336,32290,32327,32328,32189,32112,31915,31917,31930,31832,31779,31732,31721,31685,31583,31498,31259,31267,31268,31286,31291,31118,31379,31102,31365,31347,31059,30995,30928,30421,29720,30161,30165,30185,29624,29640,29302,29328,29335,29336,29355,29251,29080,29089,29087,28967,28964,28952,28942,28807,28705,28641,28598,28587,28577,28539,28482,28469,28378,28350,28348,27983,27835,26779,26750,26126,26064,25614,25347,25001,24894,24804,24716,24286,23940,23549,23453,22096,21410,21311,19358,18174,17950,17676,17675,17217,15520,15524,15622,16960,17086,16561,16495,16037,15953,15904,15466,15245,13887,13721,13676,13668,13648,13382,13262,13291,12840,12867,12789,12750,11924,11900,11843,11811,11754,11475,10737,10653,10409,10415,10420,10421,9233,9240,9033,8994,8902,8888,8840,8765,8589,8463,8433,12164,12163,12145,12150,12151,12154,12126,12117,12118,10192,8187,8102,8110,8060,8051,7929,7904,7907,7779,7706,6517,6516,6519,6330,6315,18342,14240,6924,6041,12293,12289,7466,7400,7399,7314,7302,7189,7201,11207,11160,11162,11166,11178,11179,11101,5848,5645,5644,5635,5634,5633,10886,10595,5324,5463,30890,4931,5036,5145,5890,5889,5885,30849,3963,3870,3867,3866,3880,3685,3860,3755,3743,3713,14804,14722)
;
(this query time : 0.011 s)
(total SQL time : 0.045 s)
(total time : 0.099 s)
(num rows : 233 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.045 s)
(total time : 0.232 s)
(num rows : 1 )