[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 = 'D84903a2b31863b31db80609fd719da3d411'
;
(this query time : 0.000 s)
(total SQL time : 0.002 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.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.001 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_categories
WHERE id = 255
;
(this query time : 0.000 s)
(total SQL time : 0.004 s)
(total time : 0.012 s)
(num rows : 1 )
[10]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (122,255)
;
(this query time : 0.000 s)
(total SQL time : 0.004 s)
(total time : 0.012 s)
(num rows : 2 )
[9]
SELECT DISTINCT(image_id)
FROM g_image_category
INNER JOIN g_images ON id = image_id
WHERE
category_id = 255
AND (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212) AND level<=0)
ORDER BY date_creation DESC, file ASC, id ASC
;
(this query time : 0.002 s)
(total SQL time : 0.005 s)
(total time : 0.014 s)
(num rows : 137 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 12960
;
(this query time : 0.001 s)
(total SQL time : 0.006 s)
(total time : 0.015 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 = 12960
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.015 s)
(num rows : 1 )
[12]
SELECT *
FROM g_images
WHERE id IN (12960,12959,15254,12961,7636)
;
(this query time : 0.000 s)
(total SQL time : 0.007 s)
(total time : 0.015 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 (12960)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.000 s)
(total SQL time : 0.007 s)
(total time : 0.019 s)
(num rows : 6 )
[14]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 12960 AND validated = 'true'
;
(this query time : 0.000 s)
(total SQL time : 0.008 s)
(total time : 0.022 s)
(num rows : 1 )
[15]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (15254,15251,15250,15249,15247,15248,15252,15253,15246,13506,13505,12958,12959,12960,12961,12653,12652,12650,12651,12779,12963,12962,11832,11830,11831,11748,11629,11630,11513,11514,11515,11516,11517,11294,11295,11519,11518,11380,11379,12092,9679,8459,8119,8123,8016,7967,7968,7969,7970,7971,7973,7972,8042,8041,7886,7723,7724,7650,7652,14290,9874,9875,9876,9877,12194,12193,7439,7653,7651,7654,7656,7655,7657,10990,10988,10989,10987,10931,10930,10929,7605,7603,7659,7658,7661,7662,7660,7663,7664,7665,7667,7666,7669,7668,7616,7617,7615,7618,7619,7620,7621,7622,7623,7609,7610,7611,7612,7613,7614,7607,7606,7625,7624,7627,7628,7629,7630,7626,7631,7632,7633,7634,7637,7640,7639,7642,7643,7646,7645,7648,7647,7649,7644,7641,7638,7635,7636)
ORDER BY FIELD(id, 15254,15251,15250,15249,15247,15248,15252,15253,15246,13506,13505,12958,12959,12960,12961,12653,12652,12650,12651,12779,12963,12962,11832,11830,11831,11748,11629,11630,11513,11514,11515,11516,11517,11294,11295,11519,11518,11380,11379,12092,9679,8459,8119,8123,8016,7967,7968,7969,7970,7971,7973,7972,8042,8041,7886,7723,7724,7650,7652,14290,9874,9875,9876,9877,12194,12193,7439,7653,7651,7654,7656,7655,7657,10990,10988,10989,10987,10931,10930,10929,7605,7603,7659,7658,7661,7662,7660,7663,7664,7665,7667,7666,7669,7668,7616,7617,7615,7618,7619,7620,7621,7622,7623,7609,7610,7611,7612,7613,7614,7607,7606,7625,7624,7627,7628,7629,7630,7626,7631,7632,7633,7634,7637,7640,7639,7642,7643,7646,7645,7648,7647,7649,7644,7641,7638,7635,7636)
;
(this query time : 0.004 s)
(total SQL time : 0.011 s)
(total time : 0.027 s)
(num rows : 137 )
[16]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.000 s)
(total SQL time : 0.012 s)
(total time : 0.086 s)
(num rows : 1 )