[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.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.002 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.009 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.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.003 s)
(total time : 0.010 s)
(num rows : 1 )
[9]
SELECT *
FROM g_tags
WHERE id IN (20458)
(this query time : 0.000 s)
(total SQL time : 0.004 s)
(total time : 0.014 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 (20458)
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.004 s)
(total SQL time : 0.007 s)
(total time : 0.018 s)
(num rows : 164 )
[10]
UPDATE
g_images
SET hit = hit+1, lastmodified = lastmodified
WHERE id = 31109
;
(this query time : 0.001 s)
(total SQL time : 0.008 s)
(total time : 0.019 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 = 31109
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.008 s)
(total time : 0.019 s)
(num rows : 2 )
[12]
SELECT *
FROM g_images
WHERE id IN (31109,29130,11112,30457,33432)
;
(this query time : 0.000 s)
(total SQL time : 0.009 s)
(total time : 0.020 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 (31109)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.010 s)
(total time : 0.024 s)
(num rows : 60 )
[14]
SELECT id, name, permalink
FROM g_categories
WHERE id IN (585,871,875,152,262,175)
(this query time : 0.000 s)
(total SQL time : 0.011 s)
(total time : 0.025 s)
(num rows : 6 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 31109 AND validated = 'true'
;
(this query time : 0.000 s)
(total SQL time : 0.011 s)
(total time : 0.027 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (11112,31588,30783,11265,30080,29099,29919,30065,29130,31109,30457,29835,29528,29909,31110,29718,30092,29591,30799,29901,30064,29093,31117,30788,29105,31132,29098,31377,30208,30988,30207,30171,30113,29100,30433,30812,31396,30767,31220,30073,30789,30020,29656,31426,30089,29422,31065,29115,30694,29944,30948,30066,29458,30025,29317,29548,31512,29555,30052,31053,30250,29553,31271,31508,31135,30203,28868,30959,30425,30983,30785,31050,30039,29714,31146,29910,31230,29906,30038,29928,30022,30964,29931,28804,31149,30493,28805,30096,31252,29342,31773,30982,29730,30494,29864,31127,30095,30040,29964,30484,30032,29711,29861,29599,30897,30804,29790,31466,29357,29772,30769,30178,28420,29373,31060,29382,30082,30958,31226,29433,29164,29818,29536,30174,31087,29748,28998,29510,30424,29002,28871,29609,29757,29663,29657,29778,29183,30093,31409,29814,29686,29052,29063,29899,29868,29774,29692,29428,29029,30472,28999,29762,29094,29763,29598,29162,29494,29112,32123,32464,28758,33647,32952,33432)
ORDER BY FIELD(id, 11112,31588,30783,11265,30080,29099,29919,30065,29130,31109,30457,29835,29528,29909,31110,29718,30092,29591,30799,29901,30064,29093,31117,30788,29105,31132,29098,31377,30208,30988,30207,30171,30113,29100,30433,30812,31396,30767,31220,30073,30789,30020,29656,31426,30089,29422,31065,29115,30694,29944,30948,30066,29458,30025,29317,29548,31512,29555,30052,31053,30250,29553,31271,31508,31135,30203,28868,30959,30425,30983,30785,31050,30039,29714,31146,29910,31230,29906,30038,29928,30022,30964,29931,28804,31149,30493,28805,30096,31252,29342,31773,30982,29730,30494,29864,31127,30095,30040,29964,30484,30032,29711,29861,29599,30897,30804,29790,31466,29357,29772,30769,30178,28420,29373,31060,29382,30082,30958,31226,29433,29164,29818,29536,30174,31087,29748,28998,29510,30424,29002,28871,29609,29757,29663,29657,29778,29183,30093,31409,29814,29686,29052,29063,29899,29868,29774,29692,29428,29029,30472,28999,29762,29094,29763,29598,29162,29494,29112,32123,32464,28758,33647,32952,33432)
;
(this query time : 0.004 s)
(total SQL time : 0.015 s)
(total time : 0.032 s)
(num rows : 164 )
[17]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.001 s)
(total SQL time : 0.016 s)
(total time : 0.095 s)
(num rows : 1 )