[1]
SELECT @@SESSION.sql_mode
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.003 s)
(num rows : 1 )
[2]
SELECT param, value
FROM g_config
;
(this query time : 0.002 s)
(total SQL time : 0.004 s)
(total time : 0.007 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D8495675e0270552f9ebe9d4210a181d9d47'
;
(this query time : 0.002 s)
(total SQL time : 0.005 s)
(total time : 0.009 s)
(num rows : 1 )
[4]
SELECT * FROM g_plugins
WHERE state='active'
(this query time : 0.002 s)
(total SQL time : 0.007 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.002 s)
(total SQL time : 0.008 s)
(total time : 0.021 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.002 s)
(total SQL time : 0.010 s)
(total time : 0.023 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.012 s)
(total time : 0.025 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.002 s)
(total SQL time : 0.014 s)
(total time : 0.027 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (1458)
(this query time : 0.002 s)
(total SQL time : 0.015 s)
(total time : 0.044 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 (1458)
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.008 s)
(total SQL time : 0.022 s)
(total time : 0.052 s)
(num rows : 124 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 28478
;
(this query time : 0.002 s)
(total SQL time : 0.024 s)
(total time : 0.054 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 = 28478
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.026 s)
(total time : 0.056 s)
(num rows : 1 )
[12]
SELECT *
FROM g_images
WHERE id IN (28478,28479,32924,28458,4528)
;
(this query time : 0.002 s)
(total SQL time : 0.028 s)
(total time : 0.058 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 (28478)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.002 s)
(total SQL time : 0.030 s)
(total time : 0.076 s)
(num rows : 11 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,855,866)
(this query time : 0.001 s)
(total SQL time : 0.031 s)
(total time : 0.077 s)
(num rows : 3 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 28478 AND validated = 'true'
;
(this query time : 0.002 s)
(total SQL time : 0.033 s)
(total time : 0.086 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (32924,32939,32949,32950,32815,32728,32718,32663,32630,32546,31565,29848,29131,29086,28969,28944,28871,28911,28796,28755,28694,28693,28673,28657,28656,28648,28645,28644,28643,28637,28634,28632,28625,28617,28623,28616,28615,28614,28612,28611,28610,28609,28608,28605,28603,28599,28597,28595,28593,28594,28590,28583,28581,28828,28515,28513,28512,28511,28509,28508,28505,28504,28503,28502,28501,28500,28499,28498,28497,28496,28495,28493,28492,28491,28487,28486,28484,28482,28481,28479,28478,28458,28456,28455,28452,28451,28450,28449,28415,28399,28398,28397,28396,28393,28392,28386,28385,28380,28379,28336,28321,28313,28094,28093,27808,27775,27759,27756,27751,27750,27749,27748,27747,27746,27745,27744,27742,6040,30911,6631,30908,30895,30894,4528)
ORDER BY FIELD(id, 32924,32939,32949,32950,32815,32728,32718,32663,32630,32546,31565,29848,29131,29086,28969,28944,28871,28911,28796,28755,28694,28693,28673,28657,28656,28648,28645,28644,28643,28637,28634,28632,28625,28617,28623,28616,28615,28614,28612,28611,28610,28609,28608,28605,28603,28599,28597,28595,28593,28594,28590,28583,28581,28828,28515,28513,28512,28511,28509,28508,28505,28504,28503,28502,28501,28500,28499,28498,28497,28496,28495,28493,28492,28491,28487,28486,28484,28482,28481,28479,28478,28458,28456,28455,28452,28451,28450,28449,28415,28399,28398,28397,28396,28393,28392,28386,28385,28380,28379,28336,28321,28313,28094,28093,27808,27775,27759,27756,27751,27750,27749,27748,27747,27746,27745,27744,27742,6040,30911,6631,30908,30895,30894,4528)
;
(this query time : 0.009 s)
(total SQL time : 0.041 s)
(total time : 0.099 s)
(num rows : 124 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.042 s)
(total time : 0.203 s)
(num rows : 1 )