[1]
SELECT @@SESSION.sql_mode
(this query time : 0.000 s)
(total SQL time : 0.000 s)
(total time : 0.003 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.004 s)
(num rows : 126 )
[3]
SELECT data
FROM g_sessions
WHERE id = 'D849a97bafcf03221468eadc0fc982cf6f0f'
;
(this query time : 0.000 s)
(total SQL time : 0.002 s)
(total time : 0.005 s)
(num rows : 1 )
[4]
SELECT * FROM g_plugins
WHERE state='active'
(this query time : 0.001 s)
(total SQL time : 0.002 s)
(total time : 0.005 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.003 s)
(total time : 0.008 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.008 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.004 s)
(total time : 0.009 s)
(num rows : 1 )
[8]
SELECT *
FROM g_user_infos
WHERE user_id = 2
;
(this query time : 0.000 s)
(total SQL time : 0.004 s)
(total time : 0.010 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (44,861)
(this query time : 0.001 s)
(total SQL time : 0.005 s)
(total time : 0.015 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 (44,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
HAVING COUNT(DISTINCT tag_id)=2
ORDER BY date_creation DESC, file ASC, id ASC
(this query time : 0.031 s)
(total SQL time : 0.035 s)
(total time : 0.046 s)
(num rows : 49 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 27749
;
(this query time : 0.001 s)
(total SQL time : 0.036 s)
(total time : 0.047 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 = 27749
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.037 s)
(total time : 0.048 s)
(num rows : 1 )
[12]
SELECT *
FROM g_images
WHERE id IN (27749,28317,33489,27428,5538)
;
(this query time : 0.001 s)
(total SQL time : 0.037 s)
(total time : 0.049 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 (27749)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.038 s)
(total time : 0.055 s)
(num rows : 35 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,855,864)
(this query time : 0.001 s)
(total SQL time : 0.039 s)
(total time : 0.056 s)
(num rows : 3 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 27749 AND validated = 'true'
;
(this query time : 0.001 s)
(total SQL time : 0.040 s)
(total time : 0.059 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (33489,33465,32748,32248,32146,31259,31209,31208,30529,29962,29956,29955,29840,29844,29768,29612,29626,29640,29604,29476,29424,29442,29347,29357,29168,29169,29093,29060,29079,29039,28885,28886,28789,28734,28564,28525,28522,28486,28379,28317,27749,27428,25753,25223,24775,17444,17401,17005,5538)
ORDER BY FIELD(id, 33489,33465,32748,32248,32146,31259,31209,31208,30529,29962,29956,29955,29840,29844,29768,29612,29626,29640,29604,29476,29424,29442,29347,29357,29168,29169,29093,29060,29079,29039,28885,28886,28789,28734,28564,28525,28522,28486,28379,28317,27749,27428,25753,25223,24775,17444,17401,17005,5538)
;
(this query time : 0.002 s)
(total SQL time : 0.041 s)
(total time : 0.062 s)
(num rows : 49 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.042 s)
(total time : 0.095 s)
(num rows : 1 )