[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.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.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.003 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 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 '2012-01-01' AND '2012-12-31 23:59:59'
ORDER BY date_creation DESC, date_creation DESC, file ASC, id ASC
(this query time : 0.005 s)
(total SQL time : 0.008 s)
(total time : 0.014 s)
(num rows : 307 )
[0.015 s, 9 queries] : end initialize_calendar
[10] UPDATE g_images SET hit = hit+1, lastmodified = lastmodified WHERE id = 14743 ; (this query time : 0.000 s) (total SQL time : 0.008 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 = 14743
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.016 s)
(num rows : 1 )
[12] SELECT * FROM g_images WHERE id IN (14743,14742,14621,14741,7647) ; (this query time : 0.000 s) (total SQL time : 0.009 s) (total time : 0.016 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 (14743)
GROUP BY t.id
ORDER BY NULL
(this query time : 0.001 s)
(total SQL time : 0.010 s)
(total time : 0.020 s)
(num rows : 11 )
[14] SELECT id, name, permalink FROM g_categories WHERE id IN (213,495,503) (this query time : 0.000 s) (total SQL time : 0.010 s) (total time : 0.020 s) (num rows : 3 )
[15]
SELECT
COUNT(*) AS nb_comments
FROM g_comments
WHERE image_id = 14743 AND validated = 'true'
;
(this query time : 0.000 s)
(total SQL time : 0.010 s)
(total time : 0.022 s)
(num rows : 1 )
[16]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM g_images
WHERE id IN (14621,14620,14619,14618,14617,14615,14616,14614,14613,14612,14611,14610,14609,14608,14607,14606,14605,14602,14604,14603,14601,14779,14778,14777,14776,14775,14771,14774,14773,14772,14823,14824,14687,14685,14686,14684,14806,14805,14803,14804,14802,14801,14800,14797,14799,14798,14796,14795,14794,14793,14792,14791,14790,14789,14788,14787,14786,14784,14785,14781,14780,14783,14782,14878,14877,14876,14875,14874,14873,14871,14870,14869,14868,14867,14866,14865,14864,14872,14863,14862,14859,14861,14860,14858,14857,14855,14856,14854,14853,14852,14850,14851,14849,14848,14847,14846,14844,14842,14845,14843,14716,14715,14718,14717,14721,14719,14720,14722,14723,14724,14725,14726,14727,14729,14728,14730,14731,14732,14733,14735,14734,14736,14738,14737,14739,14740,14770,14769,14768,14766,14765,14767,14764,14763,14762,14761,14760,14759,14757,14758,14756,14755,14753,14754,14752,14751,14748,14750,14749,14742,14743,14741,14744,14714,14747,14746,14745,14655,14654,14656,14657,14658,14659,14660,14661,14662,14663,14664,14665,14666,14667,14668,14669,14671,14670,14672,14675,14673,14674,14676,14677,14678,14653,14679,14680,14682,14681,14683,14825,14826,14827,14828,14829,14830,14831,14832,14834,14833,14835,14838,14837,14836,14839,14841,14822,14840,14695,14694,14696,14693,14692,14691,14688,14690,14689,14821,14820,14819,14818,14817,14816,14815,14652,14649,14651,14648,14650,14647,14644,14645,14646,14643,14642,14641,14640,14639,14638,14637,14636,14634,14635,14632,14631,14633,14630,14627,14628,14629,14814,14813,14812,14811,14807,14809,14808,14810,14626,14622,14623,14624,14625,14698,14699,14700,14701,14702,14703,14704,14705,14706,14708,14707,14709,14710,14712,14697,14713,14711,14598,14600,14597,14599,14595,14596,14594,14593,14592,14590,14591,14589,7639,3360,3359,3358,3357,3356,3355,3354,7642,3353,7643,3352,3351,7646,7645,7648,7647)
ORDER BY FIELD(id, 14621,14620,14619,14618,14617,14615,14616,14614,14613,14612,14611,14610,14609,14608,14607,14606,14605,14602,14604,14603,14601,14779,14778,14777,14776,14775,14771,14774,14773,14772,14823,14824,14687,14685,14686,14684,14806,14805,14803,14804,14802,14801,14800,14797,14799,14798,14796,14795,14794,14793,14792,14791,14790,14789,14788,14787,14786,14784,14785,14781,14780,14783,14782,14878,14877,14876,14875,14874,14873,14871,14870,14869,14868,14867,14866,14865,14864,14872,14863,14862,14859,14861,14860,14858,14857,14855,14856,14854,14853,14852,14850,14851,14849,14848,14847,14846,14844,14842,14845,14843,14716,14715,14718,14717,14721,14719,14720,14722,14723,14724,14725,14726,14727,14729,14728,14730,14731,14732,14733,14735,14734,14736,14738,14737,14739,14740,14770,14769,14768,14766,14765,14767,14764,14763,14762,14761,14760,14759,14757,14758,14756,14755,14753,14754,14752,14751,14748,14750,14749,14742,14743,14741,14744,14714,14747,14746,14745,14655,14654,14656,14657,14658,14659,14660,14661,14662,14663,14664,14665,14666,14667,14668,14669,14671,14670,14672,14675,14673,14674,14676,14677,14678,14653,14679,14680,14682,14681,14683,14825,14826,14827,14828,14829,14830,14831,14832,14834,14833,14835,14838,14837,14836,14839,14841,14822,14840,14695,14694,14696,14693,14692,14691,14688,14690,14689,14821,14820,14819,14818,14817,14816,14815,14652,14649,14651,14648,14650,14647,14644,14645,14646,14643,14642,14641,14640,14639,14638,14637,14636,14634,14635,14632,14631,14633,14630,14627,14628,14629,14814,14813,14812,14811,14807,14809,14808,14810,14626,14622,14623,14624,14625,14698,14699,14700,14701,14702,14703,14704,14705,14706,14708,14707,14709,14710,14712,14697,14713,14711,14598,14600,14597,14599,14595,14596,14594,14593,14592,14590,14591,14589,7639,3360,3359,3358,3357,3356,3355,3354,7642,3353,7643,3352,3351,7646,7645,7648,7647)
;
(this query time : 0.007 s)
(total SQL time : 0.017 s)
(total time : 0.031 s)
(num rows : 307 )
[17] SELECT param, value FROM g_config WHERE param = "send_piwigo_infos_last_notice" ; (this query time : 0.001 s) (total SQL time : 0.018 s) (total time : 0.151 s) (num rows : 1 )