[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 = 'D8493dd259ec2ed672ee23f2ca3811ba0a97'
;
(this query time : 0.000 s)
(total SQL time : 0.001 s)
(total time : 0.003 s)
(num rows : 1 )
[4]
SELECT * FROM g_plugins
WHERE state='active'
(this query time : 0.000 s)
(total SQL time : 0.001 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.002 s)
(total time : 0.006 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.002 s)
(total time : 0.006 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.007 s)
(num rows : 1 )
[0.010 s, 8 queries] : start initialize_calendar
[9]
SELECT DISTINCT(WEEKDAY(date_creation)) as period,
COUNT(DISTINCT id) as nb_images FROM g_images
INNER JOIN g_image_category ON id = image_id
WHERE (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212) AND level<=0) AND date_creation BETWEEN '2003-01-01' AND '2003-12-31 23:59:59'
GROUP BY period;
(this query time : 0.002 s)
(total SQL time : 0.005 s)
(total time : 0.012 s)
(num rows : 7 )
[10]
SELECT CONCAT_WS('-',YEAR(date_creation),'any') AS period FROM g_images
INNER JOIN g_image_category ON id = image_id
WHERE (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212) AND level<=0)
AND date_creation IS NOT NULL
GROUP BY period
(this query time : 0.066 s)
(total SQL time : 0.071 s)
(total time : 0.079 s)
(num rows : 22 )
[11]
SELECT DISTINCT id FROM g_images
INNER JOIN g_image_category ON id = image_id
WHERE (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212) AND level<=0)
AND date_creation BETWEEN '2003-01-01' AND '2003-12-31 23:59:59'
ORDER BY hit ASC,date_creation DESC, file ASC, id ASC
(this query time : 0.003 s)
(total SQL time : 0.074 s)
(total time : 0.082 s)
(num rows : 319 )
[0.082 s, 11 queries] : end initialize_calendar
[12]
SELECT
id, name, permalink, nb_images, global_rank,
date_last, max_date_last, count_images, count_categories
FROM g_categories INNER JOIN g_user_cache_categories
ON id = cat_id and user_id = 2
WHERE
1 = 1
;
(this query time : 0.003 s)
(total SQL time : 0.077 s)
(total time : 0.084 s)
(num rows : 374 )
[13]
SELECT SUBDATE(CURRENT_DATE,INTERVAL 30 DAY)
(this query time : 0.000 s)
(total SQL time : 0.077 s)
(total time : 0.085 s)
(num rows : 1 )
[14]
SELECT
c.id,
c.uppercats,
count(*) AS counter
FROM g_image_category
INNER JOIN g_categories c ON category_id = id
WHERE image_id IN (22359,22390,22666,22275,22667,22661,22273,22346,22335,22354,22338,22400,22268,22257,22358,22341,22504,22271,22305,22298,22387,22347,22272,22372,22360,22349,22342,22312,22249,22318,22276,22260,22365,22350,22332,22289,22278,22254,22324,22392,22316,22657,22508,22265,22256,22403,22317,22398,22391,22385,22339,22333,22328,22279,22351,22327,22320,22314,22277,22258,22363,22348,22283,22604,22352,22639,22624,22505,22255,22250,22389,22344,22287,22259,22404,22393,22356,22355,22353,22648,22367,22364,22304,22622,22267,22401,22394,22288,22659,22651,22631,22617,22511,22362,22326,22671,22509,22252,22396,22361,22325,22663,22264,22410,22345,22329,22323,22303,22300,22299,22641,22369,22321,22647,22453,22280,22248,22407,22340,22311,22503,22263,22262,22383,22343,22295,22266,22408,22399,22371,22658,22630,22496,22405,22382,22291,22662,22626,22489,22479,22274,22269,22397,22386,22375,22373,22616,22281,22270,22384,22357,22664,22653,22485,22388,22478,22441,22366,22315,22510,22502,22402,22380,22285,22660,22650,22646,22374,22322,22296,22605,22486,22475,22506,22253,22395,22301,22670,22637,22629,22498,22495,22507,22251,22406,22294,22292,22656,22638,22627,22606,22381,22319,22620,22334,22307,22306,22512,22261,22246,22377,22370,22642,22614,22607,22450,22672,22649,22467,22454,22368,22640,22634,22612,22436,22309,22284,22462,22438,22331,22618,22435,22310,22494,22501,22379,22297,22286,22282,22455,22446,22337,22669,22654,22644,22621,22619,22447,22434,22247,22336,22635,22610,22474,22636,22477,22473,22471,22444,22655,22613,22633,22466,22459,22445,22409,22302,22290,22472,22439,22437,22628,22609,22313,22625,22492,22491,22378,22308,22500,22482,22411,22499,22469,22645,22643,22623,22460,22668,22608,22481,22476,22457,22456,22665,22480,22330,22615,22487,22463,22497,22470,22376,22483,22429,22632,22440,22464,22458,22293,22484,22432,22488,22451,22448,22452,22490,22442,22433,22430,22493,22431,22465,22611,22652,22461,22443,22449,22468)
AND (category_id NOT IN (878,294,266,321,272,273,822,823,824,825,826,182,212))
GROUP BY c.id
ORDER BY counter DESC
LIMIT 20
(this query time : 0.016 s)
(total SQL time : 0.093 s)
(total time : 0.102 s)
(num rows : 6 )
[15]
SELECT
id,
name,
permalink,
id_uppercat,
uppercats,
global_rank
FROM g_categories
WHERE id IN (122,801,802,804,810,812,807,808,805,806)
;
(this query time : 0.000 s)
(total SQL time : 0.093 s)
(total time : 0.103 s)
(num rows : 10 )
[16]
SELECT *
FROM g_tags
(this query time : 0.014 s)
(total SQL time : 0.107 s)
(total time : 0.117 s)
(num rows : 17957 )
[17]
SELECT *
FROM g_images
WHERE id IN (22498,22495,22507,22251,22406,22294,22292,22656,22638,22627,22606,22381,22319,22620,22334,22307,22306,22512,22261,22246,22377,22370,22642,22614,22607,22450,22672,22649,22467,22454,22368,22640,22634,22612,22436,22309,22284,22462,22438,22331,22618,22435,22310,22494,22501)
;
(this query time : 0.001 s)
(total SQL time : 0.108 s)
(total time : 0.180 s)
(num rows : 45 )
[0.185 s, 17 queries] : end include/category_default.inc.php
[18]
SELECT t.*, count(*) AS counter
FROM g_image_tag
INNER JOIN g_tags t ON tag_id = id
WHERE image_id IN (22498,22495,22507,22251,22406,22294,22292,22656,22638,22627,22606,22381,22319,22620,22334,22307,22306,22512,22261,22246,22377,22370,22642,22614,22607,22450,22672,22649,22467,22454,22368,22640,22634,22612,22436,22309,22284,22462,22438,22331,22618,22435,22310,22494,22501)
GROUP BY t.id
ORDER BY counter DESC
LIMIT 2
(this query time : 0.001 s)
(total SQL time : 0.109 s)
(total time : 0.186 s)
(num rows : 0 )
[19]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (22359,22390,22666,22275,22667,22661,22273,22346,22335,22354,22338,22400,22268,22257,22358,22341,22504,22271,22305,22298,22387,22347,22272,22372,22360,22349,22342,22312,22249,22318,22276,22260,22365,22350,22332,22289,22278,22254,22324,22392,22316,22657,22508,22265,22256,22403,22317,22398,22391,22385,22339,22333,22328,22279,22351,22327,22320,22314,22277,22258,22363,22348,22283,22604,22352,22639,22624,22505,22255,22250,22389,22344,22287,22259,22404,22393,22356,22355,22353,22648,22367,22364,22304,22622,22267,22401,22394,22288,22659,22651,22631,22617,22511,22362,22326,22671,22509,22252,22396,22361,22325,22663,22264,22410,22345,22329,22323,22303,22300,22299,22641,22369,22321,22647,22453,22280,22248,22407,22340,22311,22503,22263,22262,22383,22343,22295,22266,22408,22399,22371,22658,22630,22496,22405,22382,22291,22662,22626,22489,22479,22274,22269,22397,22386,22375,22373,22616,22281,22270,22384,22357,22664,22653,22485,22388,22478,22441,22366,22315,22510,22502,22402,22380,22285,22660,22650,22646,22374,22322,22296,22605,22486,22475,22506,22253,22395,22301,22670,22637,22629,22498,22495,22507,22251,22406,22294,22292,22656,22638,22627,22606,22381,22319,22620,22334,22307,22306,22512,22261,22246,22377,22370,22642,22614,22607,22450,22672,22649,22467,22454,22368,22640,22634,22612,22436,22309,22284,22462,22438,22331,22618,22435,22310,22494,22501,22379,22297,22286,22282,22455,22446,22337,22669,22654,22644,22621,22619,22447,22434,22247,22336,22635,22610,22474,22636,22477,22473,22471,22444,22655,22613,22633,22466,22459,22445,22409,22302,22290,22472,22439,22437,22628,22609,22313,22625,22492,22491,22378,22308,22500,22482,22411,22499,22469,22645,22643,22623,22460,22668,22608,22481,22476,22457,22456,22665,22480,22330,22615,22487,22463,22497,22470,22376,22483,22429,22632,22440,22464,22458,22293,22484,22432,22488,22451,22448,22452,22490,22442,22433,22430,22493,22431,22465,22611,22652,22461,22443,22449,22468)
ORDER BY FIELD(id, 22359,22390,22666,22275,22667,22661,22273,22346,22335,22354,22338,22400,22268,22257,22358,22341,22504,22271,22305,22298,22387,22347,22272,22372,22360,22349,22342,22312,22249,22318,22276,22260,22365,22350,22332,22289,22278,22254,22324,22392,22316,22657,22508,22265,22256,22403,22317,22398,22391,22385,22339,22333,22328,22279,22351,22327,22320,22314,22277,22258,22363,22348,22283,22604,22352,22639,22624,22505,22255,22250,22389,22344,22287,22259,22404,22393,22356,22355,22353,22648,22367,22364,22304,22622,22267,22401,22394,22288,22659,22651,22631,22617,22511,22362,22326,22671,22509,22252,22396,22361,22325,22663,22264,22410,22345,22329,22323,22303,22300,22299,22641,22369,22321,22647,22453,22280,22248,22407,22340,22311,22503,22263,22262,22383,22343,22295,22266,22408,22399,22371,22658,22630,22496,22405,22382,22291,22662,22626,22489,22479,22274,22269,22397,22386,22375,22373,22616,22281,22270,22384,22357,22664,22653,22485,22388,22478,22441,22366,22315,22510,22502,22402,22380,22285,22660,22650,22646,22374,22322,22296,22605,22486,22475,22506,22253,22395,22301,22670,22637,22629,22498,22495,22507,22251,22406,22294,22292,22656,22638,22627,22606,22381,22319,22620,22334,22307,22306,22512,22261,22246,22377,22370,22642,22614,22607,22450,22672,22649,22467,22454,22368,22640,22634,22612,22436,22309,22284,22462,22438,22331,22618,22435,22310,22494,22501,22379,22297,22286,22282,22455,22446,22337,22669,22654,22644,22621,22619,22447,22434,22247,22336,22635,22610,22474,22636,22477,22473,22471,22444,22655,22613,22633,22466,22459,22445,22409,22302,22290,22472,22439,22437,22628,22609,22313,22625,22492,22491,22378,22308,22500,22482,22411,22499,22469,22645,22643,22623,22460,22668,22608,22481,22476,22457,22456,22665,22480,22330,22615,22487,22463,22497,22470,22376,22483,22429,22632,22440,22464,22458,22293,22484,22432,22488,22451,22448,22452,22490,22442,22433,22430,22493,22431,22465,22611,22652,22461,22443,22449,22468)
;
(this query time : 0.004 s)
(total SQL time : 0.114 s)
(total time : 0.191 s)
(num rows : 319 )
[20]
SELECT param, value
FROM g_config
WHERE param = "send_piwigo_infos_last_notice"
;
(this query time : 0.000 s)
(total SQL time : 0.114 s)
(total time : 0.283 s)
(num rows : 1 )