[1]
SELECT @@SESSION.sql_mode
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.010 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.014 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D8495675e0270552f9ebe9d4210a181d9d47'
;
(this query time : 0.001 s)
(total SQL time : 0.005 s)
(total time : 0.016 s)
(num rows : 1 )
[4]
SELECT * FROM g_plugins
WHERE state='active'
(this query time : 0.001 s)
(total SQL time : 0.006 s)
(total time : 0.018 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.002 s)
(total SQL time : 0.008 s)
(total time : 0.027 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.009 s)
(total time : 0.029 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.002 s)
(total SQL time : 0.011 s)
(total time : 0.031 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.002 s)
(total SQL time : 0.013 s)
(total time : 0.033 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (19995)
(this query time : 0.002 s)
(total SQL time : 0.015 s)
(total time : 0.047 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 (19995)
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 ASC,date_creation DESC, file ASC, id ASC
(this query time : 0.010 s)
(total SQL time : 0.023 s)
(total time : 0.058 s)
(num rows : 94 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 32522
;
(this query time : 0.002 s)
(total SQL time : 0.025 s)
(total time : 0.060 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 = 32522
AND (id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212))
;
(this query time : 0.002 s)
(total SQL time : 0.026 s)
(total time : 0.061 s)
(num rows : 1 )
[12]
SELECT *
FROM g_images
WHERE id IN (32522,32864,29919)
;
(this query time : 0.002 s)
(total SQL time : 0.028 s)
(total time : 0.063 s)
(num rows : 3 )
[13]
SELECT t.*, count(*) AS counter
FROM g_image_tag
INNER JOIN g_tags t ON tag_id = id
WHERE image_id IN (32522)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.002 s)
(total SQL time : 0.030 s)
(total time : 0.081 s)
(num rows : 15 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,871,880)
(this query time : 0.001 s)
(total SQL time : 0.031 s)
(total time : 0.082 s)
(num rows : 3 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 32522 AND validated = 'true'
;
(this query time : 0.001 s)
(total SQL time : 0.032 s)
(total time : 0.087 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (32522,32864,32226,27760,33407,32233,29061,32488,32466,31742,32326,32411,31802,27726,31840,31464,29899,31161,32325,31579,29785,30090,29897,31550,31139,31792,30204,29529,31490,31876,29431,29526,31515,30248,30252,31407,31226,31914,30178,31248,31441,31076,29625,29421,31082,31511,31453,30580,31510,30096,31589,29398,31559,31523,31534,30474,31288,31500,31146,29922,30532,31125,29965,30530,31079,31673,30173,31636,31512,30821,31366,29408,31517,31376,30776,31569,29955,31159,29044,30566,30772,30047,31215,27746,31132,31535,30430,31611,30011,30778,31514,31109,30065,29919)
ORDER BY FIELD(id, 32522,32864,32226,27760,33407,32233,29061,32488,32466,31742,32326,32411,31802,27726,31840,31464,29899,31161,32325,31579,29785,30090,29897,31550,31139,31792,30204,29529,31490,31876,29431,29526,31515,30248,30252,31407,31226,31914,30178,31248,31441,31076,29625,29421,31082,31511,31453,30580,31510,30096,31589,29398,31559,31523,31534,30474,31288,31500,31146,29922,30532,31125,29965,30530,31079,31673,30173,31636,31512,30821,31366,29408,31517,31376,30776,31569,29955,31159,29044,30566,30772,30047,31215,27746,31132,31535,30430,31611,30011,30778,31514,31109,30065,29919)
;
(this query time : 0.005 s)
(total SQL time : 0.036 s)
(total time : 0.094 s)
(num rows : 94 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.037 s)
(total time : 0.146 s)
(num rows : 1 )