[1]
SELECT @@SESSION.sql_mode
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.009 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.012 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D8497ec09a2a5c5e26df3f968172458ceef9'
;
(this query time : 0.001 s)
(total SQL time : 0.004 s)
(total time : 0.013 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.014 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.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.001 s)
(total SQL time : 0.007 s)
(total time : 0.022 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.009 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.010 s)
(total time : 0.025 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (12,43)
(this query time : 0.002 s)
(total SQL time : 0.011 s)
(total time : 0.037 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 (12,43)
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 hit ASC,date_creation DESC, file ASC, id ASC
(this query time : 0.117 s)
(total SQL time : 0.127 s)
(total time : 0.154 s)
(num rows : 267 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 31056
;
(this query time : 0.001 s)
(total SQL time : 0.127 s)
(total time : 0.155 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 = 31056
AND (id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212))
;
(this query time : 0.000 s)
(total SQL time : 0.128 s)
(total time : 0.156 s)
(num rows : 1 )
[12]
SELECT *
FROM g_images
WHERE id IN (31056,29376,33141,31674,4184)
;
(this query time : 0.001 s)
(total SQL time : 0.128 s)
(total time : 0.156 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 (31056)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.129 s)
(total time : 0.161 s)
(num rows : 33 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,871,875)
(this query time : 0.000 s)
(total SQL time : 0.130 s)
(total time : 0.162 s)
(num rows : 3 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 31056 AND validated = 'true'
;
(this query time : 0.000 s)
(total SQL time : 0.130 s)
(total time : 0.164 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (33141,33416,32580,33428,32640,33473,33570,33496,32734,33561,32506,33405,32853,27474,27818,32959,27477,33448,33334,32833,29207,31896,33474,26515,32494,33579,31946,28518,32147,33592,29749,31905,32461,31843,32184,31891,30589,31883,31894,29513,28572,20818,31892,27753,31606,28094,29546,29221,29181,28980,29160,28555,30249,30641,29774,29608,29889,29206,29497,29803,29124,31863,29770,29886,29155,30200,32177,29837,29540,31945,29212,31278,29849,29472,29538,32457,29757,29609,31550,29145,29173,29215,30912,29477,32453,29743,31897,31792,30424,31045,31412,31723,29840,29658,29060,29161,29539,31605,29476,30590,28339,30583,30826,31389,29391,30958,30582,29040,31112,30195,29582,31603,30579,29673,29386,29200,29406,31433,30465,28789,29059,30598,31731,29373,29541,30178,30628,31524,29333,29357,31488,30800,30499,29048,30637,29376,31056,31674,29416,29165,30467,30947,31576,30095,29290,31442,29864,30494,28944,29420,28093,30538,31591,31425,30982,29372,28455,31510,30640,30981,30927,31504,28754,31533,28979,29923,29334,30808,18236,31716,29320,31541,29169,29380,29928,29638,29851,30213,29910,28482,31727,31639,30983,31544,29879,31400,30425,29217,29395,30588,30959,28762,30809,30004,31756,31644,31620,29650,29555,29616,29613,29548,30806,29046,29458,29779,30586,29739,30575,31404,31063,31569,31159,29640,28558,28994,30969,30089,30584,29036,30017,30914,29927,31220,30795,29437,31396,28554,30988,30916,31398,28712,30587,28322,28342,30920,30918,30979,28993,29095,28678,28314,28360,29617,28603,30960,30597,31590,30576,29909,31083,29933,28991,31631,29765,31600,29312,30070,31475,29350,31229,29462,28625,29766,14669,31599,4184)
ORDER BY FIELD(id, 33141,33416,32580,33428,32640,33473,33570,33496,32734,33561,32506,33405,32853,27474,27818,32959,27477,33448,33334,32833,29207,31896,33474,26515,32494,33579,31946,28518,32147,33592,29749,31905,32461,31843,32184,31891,30589,31883,31894,29513,28572,20818,31892,27753,31606,28094,29546,29221,29181,28980,29160,28555,30249,30641,29774,29608,29889,29206,29497,29803,29124,31863,29770,29886,29155,30200,32177,29837,29540,31945,29212,31278,29849,29472,29538,32457,29757,29609,31550,29145,29173,29215,30912,29477,32453,29743,31897,31792,30424,31045,31412,31723,29840,29658,29060,29161,29539,31605,29476,30590,28339,30583,30826,31389,29391,30958,30582,29040,31112,30195,29582,31603,30579,29673,29386,29200,29406,31433,30465,28789,29059,30598,31731,29373,29541,30178,30628,31524,29333,29357,31488,30800,30499,29048,30637,29376,31056,31674,29416,29165,30467,30947,31576,30095,29290,31442,29864,30494,28944,29420,28093,30538,31591,31425,30982,29372,28455,31510,30640,30981,30927,31504,28754,31533,28979,29923,29334,30808,18236,31716,29320,31541,29169,29380,29928,29638,29851,30213,29910,28482,31727,31639,30983,31544,29879,31400,30425,29217,29395,30588,30959,28762,30809,30004,31756,31644,31620,29650,29555,29616,29613,29548,30806,29046,29458,29779,30586,29739,30575,31404,31063,31569,31159,29640,28558,28994,30969,30089,30584,29036,30017,30914,29927,31220,30795,29437,31396,28554,30988,30916,31398,28712,30587,28322,28342,30920,30918,30979,28993,29095,28678,28314,28360,29617,28603,30960,30597,31590,30576,29909,31083,29933,28991,31631,29765,31600,29312,30070,31475,29350,31229,29462,28625,29766,14669,31599,4184)
;
(this query time : 0.005 s)
(total SQL time : 0.135 s)
(total time : 0.170 s)
(num rows : 267 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.135 s)
(total time : 0.294 s)
(num rows : 1 )