[1]
SELECT @@SESSION.sql_mode
(this query time : 0.000 s)
(total SQL time : 0.000 s)
(total time : 0.002 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.003 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D84994c5865d4976d8574ea7a73ebc1a7e53'
;
(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.001 s)
(total SQL time : 0.002 s)
(total time : 0.006 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.003 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.000 s)
(total SQL time : 0.003 s)
(total time : 0.008 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (2963)
(this query time : 0.000 s)
(total SQL time : 0.004 s)
(total time : 0.011 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 (2963)
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 hit DESC,date_creation DESC, file ASC, id ASC
(this query time : 0.002 s)
(total SQL time : 0.005 s)
(total time : 0.013 s)
(num rows : 128 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 6162
;
(this query time : 0.000 s)
(total SQL time : 0.006 s)
(total time : 0.013 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 = 6162
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.006 s)
(total time : 0.014 s)
(num rows : 3 )
[12]
SELECT *
FROM g_images
WHERE id IN (6162,7299,6678,7730,14309)
;
(this query time : 0.000 s)
(total SQL time : 0.007 s)
(total time : 0.014 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 (6162)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.007 s)
(total time : 0.019 s)
(num rows : 19 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (152,169,209,367,565,100,215)
(this query time : 0.000 s)
(total SQL time : 0.008 s)
(total time : 0.020 s)
(num rows : 7 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 6162 AND validated = 'true'
;
(this query time : 0.000 s)
(total SQL time : 0.008 s)
(total time : 0.022 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (6678,6631,6768,6181,6533,7731,7297,6193,6188,6941,6943,6195,7384,6529,6940,7306,7308,6202,7334,6161,6169,6262,6196,6550,7299,6162,7730,6165,7304,6168,6307,6758,6626,7383,6154,7371,6761,6516,6203,6757,6223,7316,7370,7089,7719,6135,6756,6624,6365,7127,6608,7202,6767,7021,7115,6147,6946,6625,7136,7307,7114,6314,7727,7342,6225,6504,7335,7348,7325,7098,6447,6369,6466,7286,7599,6467,7385,7293,7292,6359,7280,6510,7291,7086,7284,7285,6633,7104,7103,6126,6627,7386,7288,7595,7330,7328,6821,7351,6630,7331,7358,7422,6136,6607,6317,6542,7303,7465,6123,7078,6539,6210,6763,6535,7416,7049,7073,6616,7338,6610,7594,7347,6762,6543,7420,7091,7079,14309)
ORDER BY FIELD(id, 6678,6631,6768,6181,6533,7731,7297,6193,6188,6941,6943,6195,7384,6529,6940,7306,7308,6202,7334,6161,6169,6262,6196,6550,7299,6162,7730,6165,7304,6168,6307,6758,6626,7383,6154,7371,6761,6516,6203,6757,6223,7316,7370,7089,7719,6135,6756,6624,6365,7127,6608,7202,6767,7021,7115,6147,6946,6625,7136,7307,7114,6314,7727,7342,6225,6504,7335,7348,7325,7098,6447,6369,6466,7286,7599,6467,7385,7293,7292,6359,7280,6510,7291,7086,7284,7285,6633,7104,7103,6126,6627,7386,7288,7595,7330,7328,6821,7351,6630,7331,7358,7422,6136,6607,6317,6542,7303,7465,6123,7078,6539,6210,6763,6535,7416,7049,7073,6616,7338,6610,7594,7347,6762,6543,7420,7091,7079,14309)
;
(this query time : 0.002 s)
(total SQL time : 0.010 s)
(total time : 0.025 s)
(num rows : 128 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.011 s)
(total time : 0.084 s)
(num rows : 1 )