[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.001 s)
(total time : 0.004 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D8491cf9d4550864236ae18f06aac869dc13'
;
(this query time : 0.000 s)
(total SQL time : 0.001 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.004 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.000 s)
(total SQL time : 0.002 s)
(total time : 0.007 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.000 s)
(total SQL time : 0.002 s)
(total time : 0.007 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.000 s)
(total SQL time : 0.003 s)
(total time : 0.007 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.001 s)
(total SQL time : 0.003 s)
(total time : 0.008 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (8553)
(this query time : 0.001 s)
(total SQL time : 0.004 s)
(total time : 0.012 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 (8553)
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.002 s)
(total SQL time : 0.006 s)
(total time : 0.015 s)
(num rows : 145 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 11097
;
(this query time : 0.001 s)
(total SQL time : 0.006 s)
(total time : 0.016 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 = 11097
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.007 s)
(total time : 0.016 s)
(num rows : 1 )
[12]
SELECT *
FROM g_images
WHERE id IN (11097,11092,33603,11200,11200)
;
(this query time : 0.001 s)
(total SQL time : 0.008 s)
(total time : 0.017 s)
(num rows : 4 )
[13]
SELECT t.*, count(*) AS counter
FROM g_image_tag
INNER JOIN g_tags t ON tag_id = id
WHERE image_id IN (11097)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.008 s)
(total time : 0.020 s)
(num rows : 6 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (103,259,341)
(this query time : 0.000 s)
(total SQL time : 0.009 s)
(total time : 0.021 s)
(num rows : 3 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 11097 AND validated = 'true'
;
(this query time : 0.000 s)
(total SQL time : 0.009 s)
(total time : 0.023 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (33603,33606,33607,31698,31699,31700,31701,31702,31704,31703,31705,31659,31631,31626,30259,30260,30261,30285,30286,30287,30288,30289,30290,30292,30293,30294,30295,30296,30297,30298,30299,30300,30301,30302,30303,30304,30306,30307,30308,30305,30255,28937,28936,28935,28934,28941,28940,28939,28933,28932,28931,28930,28929,28928,28927,28926,28925,28924,28923,28922,28921,28920,28919,28918,28917,28916,28915,28914,28912,28909,28910,28911,28913,28803,28938,27075,25677,24843,24842,24841,24840,20248,20243,20239,20240,20235,17525,12630,12191,12186,12189,12061,12063,12062,11730,10644,10639,10640,10641,10642,10634,10633,10636,10635,10638,10637,9589,9561,9562,9563,9564,9566,9565,9568,12135,12134,12136,9932,9924,9923,11209,11211,11212,11213,11214,11216,11215,11218,11217,11141,11143,11142,11132,11133,11134,11135,11136,11137,11138,11140,11139,11091,11092,11097,11200)
ORDER BY FIELD(id, 33603,33606,33607,31698,31699,31700,31701,31702,31704,31703,31705,31659,31631,31626,30259,30260,30261,30285,30286,30287,30288,30289,30290,30292,30293,30294,30295,30296,30297,30298,30299,30300,30301,30302,30303,30304,30306,30307,30308,30305,30255,28937,28936,28935,28934,28941,28940,28939,28933,28932,28931,28930,28929,28928,28927,28926,28925,28924,28923,28922,28921,28920,28919,28918,28917,28916,28915,28914,28912,28909,28910,28911,28913,28803,28938,27075,25677,24843,24842,24841,24840,20248,20243,20239,20240,20235,17525,12630,12191,12186,12189,12061,12063,12062,11730,10644,10639,10640,10641,10642,10634,10633,10636,10635,10638,10637,9589,9561,9562,9563,9564,9566,9565,9568,12135,12134,12136,9932,9924,9923,11209,11211,11212,11213,11214,11216,11215,11218,11217,11141,11143,11142,11132,11133,11134,11135,11136,11137,11138,11140,11139,11091,11092,11097,11200)
;
(this query time : 0.002 s)
(total SQL time : 0.011 s)
(total time : 0.027 s)
(num rows : 145 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.012 s)
(total time : 0.083 s)
(num rows : 1 )