[1]
SELECT @@SESSION.sql_mode
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.006 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 = 'D8493dd259ec2ed672ee23f2ca3811ba0a97'
;
(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.001 s)
(total SQL time : 0.007 s)
(total time : 0.019 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.008 s)
(total time : 0.021 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.023 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (861)
(this query time : 0.001 s)
(total SQL time : 0.011 s)
(total time : 0.033 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 (861)
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.018 s)
(total time : 0.041 s)
(num rows : 180 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 30151
;
(this query time : 0.001 s)
(total SQL time : 0.019 s)
(total time : 0.043 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 = 30151
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.020 s)
(total time : 0.044 s)
(num rows : 2 )
[12]
SELECT *
FROM g_images
WHERE id IN (30151,29743,33696,30159,14930)
;
(this query time : 0.002 s)
(total SQL time : 0.022 s)
(total time : 0.046 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 (30151)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.003 s)
(total SQL time : 0.025 s)
(total time : 0.060 s)
(num rows : 32 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,855,870,100,101,256,257)
(this query time : 0.005 s)
(total SQL time : 0.030 s)
(total time : 0.066 s)
(num rows : 7 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 30151 AND validated = 'true'
;
(this query time : 0.001 s)
(total SQL time : 0.031 s)
(total time : 0.073 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (33696,33693,33596,33595,33607,33665,33671,33570,33510,33501,33489,33681,33429,33465,33064,33014,32989,32868,32748,32726,32668,32614,32545,32502,32248,32183,32146,32142,32131,31883,31868,31750,31604,31510,31522,31528,31259,31262,31290,31422,31209,31208,31218,31414,31055,30756,30642,30596,30529,30494,29743,30151,30159,30004,29963,29962,29956,29955,29951,29948,29950,29944,29938,29928,29840,29844,29750,29768,29612,29626,29640,29546,29549,29604,29513,29476,29424,29430,29442,29347,29357,29168,29169,29145,29093,29131,29060,29079,29039,29006,29029,29035,28907,28885,28886,28789,28734,28670,28564,28525,28524,28522,28517,28486,28379,28317,28194,28123,27759,27749,27742,27740,27428,27427,27230,26380,25753,25757,25772,25223,24970,24775,23216,23211,21893,21544,21501,21223,18464,18451,18108,18107,18073,18075,18051,18049,18046,18045,17888,17773,17632,17548,17444,17401,17005,17129,16466,15867,15757,15415,15312,15201,14085,13965,13150,12968,12969,12937,12760,12616,12084,9479,9258,8692,8352,12125,8245,8246,8248,7771,7097,6576,14252,12268,5538,7660,3905,7631,14622,14930)
ORDER BY FIELD(id, 33696,33693,33596,33595,33607,33665,33671,33570,33510,33501,33489,33681,33429,33465,33064,33014,32989,32868,32748,32726,32668,32614,32545,32502,32248,32183,32146,32142,32131,31883,31868,31750,31604,31510,31522,31528,31259,31262,31290,31422,31209,31208,31218,31414,31055,30756,30642,30596,30529,30494,29743,30151,30159,30004,29963,29962,29956,29955,29951,29948,29950,29944,29938,29928,29840,29844,29750,29768,29612,29626,29640,29546,29549,29604,29513,29476,29424,29430,29442,29347,29357,29168,29169,29145,29093,29131,29060,29079,29039,29006,29029,29035,28907,28885,28886,28789,28734,28670,28564,28525,28524,28522,28517,28486,28379,28317,28194,28123,27759,27749,27742,27740,27428,27427,27230,26380,25753,25757,25772,25223,24970,24775,23216,23211,21893,21544,21501,21223,18464,18451,18108,18107,18073,18075,18051,18049,18046,18045,17888,17773,17632,17548,17444,17401,17005,17129,16466,15867,15757,15415,15312,15201,14085,13965,13150,12968,12969,12937,12760,12616,12084,9479,9258,8692,8352,12125,8245,8246,8248,7771,7097,6576,14252,12268,5538,7660,3905,7631,14622,14930)
;
(this query time : 0.013 s)
(total SQL time : 0.044 s)
(total time : 0.090 s)
(num rows : 180 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.000 s)
(total SQL time : 0.044 s)
(total time : 0.209 s)
(num rows : 1 )