[1]
SELECT @@SESSION.sql_mode
(this query time : 0.000 s)
(total SQL time : 0.000 s)
(total time : 0.037 s)
(num rows : 1 )
[2]
SET SESSION sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
(this query time : 0.000 s)
(total SQL time : 0.000 s)
(total time : 0.037 s)
[3]
SELECT param, value
FROM piwigo_config
;
(this query time : 0.001 s)
(total SQL time : 0.001 s)
(total time : 0.038 s)
(num rows : 106 )
[4]
SELECT data
FROM piwigo_sessions
WHERE id = 'C0A8vak3bli1obhbvnmdlpvahfrhgp'
;
(this query time : 0.001 s)
(total SQL time : 0.002 s)
(total time : 0.039 s)
(num rows : 0 )
[5]
SELECT * FROM piwigo_plugins
WHERE state='active'
(this query time : 0.000 s)
(total SQL time : 0.002 s)
(total time : 0.040 s)
(num rows : 8 )
[6]
SELECT
image_id,
date_available,
NOW() AS dbnow
FROM piwigo_lounge
JOIN piwigo_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.047 s)
(num rows : 0 )
[7]
SELECT id AS id
, username AS username
, password AS password
, mail_address AS email
FROM piwigo_users
WHERE id = '2'
(this query time : 0.000 s)
(total SQL time : 0.003 s)
(total time : 0.048 s)
(num rows : 1 )
[8]
SELECT
ui.*,
uc.*,
t.name AS theme_name
FROM piwigo_user_infos AS ui
LEFT JOIN piwigo_user_cache AS uc ON ui.user_id = uc.user_id
LEFT JOIN piwigo_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.048 s)
(num rows : 1 )
[9]
SELECT *
FROM piwigo_user_infos
WHERE user_id = 2
;
(this query time : 0.000 s)
(total SQL time : 0.004 s)
(total time : 0.049 s)
(num rows : 1 )
[0.053 s, 9 queries] : start initialize_calendar
[10]
SELECT DISTINCT(YEAR(date_available)) as period,
COUNT(DISTINCT id) as nb_images FROM piwigo_images
INNER JOIN piwigo_image_category ON id = image_id
WHERE (category_id NOT IN (23,25,26,27,28,29,30,31,50,51,52,53,54,55,56,57,58,59,60,61,87,86,90)) AND date_available IS NOT NULL
GROUP BY period;
(this query time : 0.005 s)
(total SQL time : 0.009 s)
(total time : 0.059 s)
(num rows : 4 )
[11]
SELECT DISTINCT id FROM piwigo_images
INNER JOIN piwigo_image_category ON id = image_id
WHERE (category_id NOT IN (23,25,26,27,28,29,30,31,50,51,52,53,54,55,56,57,58,59,60,61,87,86,90))
AND date_available IS NOT NULL
ORDER BY date_available DESC, date_available DESC, file ASC, id ASC
(this query time : 0.009 s)
(total SQL time : 0.018 s)
(total time : 0.069 s)
(num rows : 712 )
[0.070 s, 11 queries] : end initialize_calendar
[12]
SELECT i.latitude, i.longitude,
IFNULL(i.name, '') AS `name`,
TRIM(LEADING '.' FROM IF(i.representative_ext IS NULL,
CONCAT(LEFT(i.path,CHAR_LENGTH(i.path)-1-CHAR_LENGTH(SUBSTRING_INDEX(i.path, '.', -1 ))), '-sq.', SUBSTRING_INDEX(i.path, '.', -1 )),
REPLACE(i.path, TRIM(TRAILING '.' FROM SUBSTRING_INDEX(i.path, '/', -1 )),
CONCAT('pwg_representative/',
CONCAT(
TRIM(TRAILING '.' FROM SUBSTRING_INDEX( SUBSTRING_INDEX(i.path, '/', -1 ) , '.', 1 )),
CONCAT('-sq.', i.representative_ext)
)
)
)
)) AS `pathurl`,
TRIM(TRAILING '/' FROM CONCAT( i.id, '/category/', IFNULL(ic.category_id, '') ) ) AS `imgurl`,
IFNULL(i.comment, '') AS `comment`,
IFNULL(i.author, '') AS `author`,
i.width
FROM piwigo_images AS i
INNER JOIN (piwigo_image_category AS ic ) ON i.id = ic.image_id
WHERE i.latitude IS NOT NULL AND i.longitude IS NOT NULL
AND (ic.category_id NOT IN (23,25,26,27,28,29,30,31,50,51,52,53,54,55,56,57,58,59,60,61,87,86,90)) GROUP BY i.id;
(this query time : 0.017 s)
(total SQL time : 0.035 s)
(total time : 0.089 s)
(num rows : 630 )
[13]
SELECT i.path FROM piwigo_images AS i
INNER JOIN (piwigo_image_category AS ic ) ON i.id = ic.image_id
WHERE `path` LIKE '%.gpx'
AND (ic.category_id NOT IN (23,25,26,27,28,29,30,31,50,51,52,53,54,55,56,57,58,59,60,61,87,86,90))
(this query time : 0.004 s)
(total SQL time : 0.039 s)
(total time : 0.097 s)
(num rows : 71 )
[14]
SELECT id, uppercats
FROM piwigo_categories
WHERE name LIKE "%%"
(this query time : 0.001 s)
(total SQL time : 0.040 s)
(total time : 0.126 s)
(num rows : 0 )
[15]
SELECT
id, name, permalink, nb_images, global_rank,
date_last, max_date_last, count_images, count_categories
FROM piwigo_categories INNER JOIN piwigo_user_cache_categories
ON id = cat_id and user_id = 2
WHERE
(id_uppercat is NULL)
;
(this query time : 0.000 s)
(total SQL time : 0.040 s)
(total time : 0.127 s)
(num rows : 1 )
[16]
SELECT SUBDATE(CURRENT_DATE,INTERVAL 7 DAY)
(this query time : 0.000 s)
(total SQL time : 0.040 s)
(total time : 0.127 s)
(num rows : 1 )
[17]
SELECT
c.id,
c.uppercats,
count(*) AS counter
FROM piwigo_image_category
INNER JOIN piwigo_categories c ON category_id = id
WHERE image_id IN (973,972,971,970,969,968,967,966,965,964,963,962,961,960,959,958,957,956,955,954,953,952,951,950,949,948,947,946,945,944,943,942,941,940,939,938,937,936,935,934,933,932,931,930,929,928,927,926,925,924,923,922,921,920,919,918,917,916,915,914,913,912,911,910,909,908,907,906,905,904,903,902,900,899,898,897,896,895,894,893,892,891,890,889,887,886,885,884,883,882,881,880,879,878,877,876,875,874,873,872,871,870,869,868,867,866,865,864,863,862,861,860,859,858,857,856,855,854,853,852,851,850,849,848,847,846,845,844,843,842,841,840,839,838,837,836,835,834,833,832,831,830,829,828,827,826,825,824,823,822,821,820,819,818,817,816,815,814,813,812,811,810,809,808,807,806,805,804,803,802,801,800,799,798,797,796,795,794,793,792,791,790,789,788,787,785,784,783,782,781,769,768,767,766,765,764,763,762,761,760,759,758,757,756,743,741,740,739,738,737,736,735,734,733,732,731,730,729,727,726,725,724,723,719,717,715,714,713,711,710,708,707,706,705,704,703,702,701,700,699,698,697,696,695,694,693,692,691,690,689,688,687,686,685,684,683,682,681,680,679,678,677,676,675,674,673,672,671,670,669,668,667,666,665,664,663,662,661,660,659,658,657,656,655,654,653,652,651,650,649,648,647,646,645,644,643,642,641,640,639,638,637,636,635,634,633,632,631,630,629,628,627,626,625,624,623,622,621,620,619,618,617,616,615,614,613,612,611,610,609,608,607,606,605,604,603,602,601,600,599,598,597,596,595,594,593,592,591,590,589,588,587,586,585,584,583,582,581,580,579,578,577,515,514,513,512,511,510,509,508,507,506,505,504,503,502,501,500,499,498,497,496,495,494,493,492,491,490,489,488,487,486,485,484,483,482,481,480,479,474,473,472,471,470,469,468,467,466,465,464,463,462,461,460,459,458,457,456,455,454,453,452,451,450,449,447,446,445,436,435,434,433,432,431,430,429,428,427,426,425,414,413,412,411,410,409,408,407,406,405,404,403,402,401,400,399,387,386,385,384,383,382,381,380,379,378,376,375,374,373,372,371,370,369,368,367,366,365,364,363,362,361,360,359,358,357,356,355,354,353,352,351,350,349,348,347,346,345,344,343,342,341,340,339,338,337,336,335,334,333,332,331,330,329,328,327,326,325,324,323,322,321,320,319,318,317,316,315,314,313,312,311,310,309,308,307,306,305,304,303,302,301,300,299,298,297,296,295,294,293,292,291,290,289,205,204,203,202,201,200,199,198,197,196,195,194,193,192,191,188,187,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,128,127,126,122,121,120,119,118,117,116,114,115,113,111,112,110,109,108,107,106,105,103,104,102,101,100,99,98,97,96,95,94,93,92,91,90,89,88,87,86,85,84,83,82,81,80,79,78,77,75,74,73,72,71,70,69,68,67,66,65,64,63,62,61,60,59,58,57,56,55,54,53,52,51,50,49,48,47,46,45,44,43,42,41,40,39,38,37,35,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,18,17,16,15,14,13,12,11,10,9,8,7,5,6,4,3,1)
AND (category_id NOT IN (23,25,26,27,28,29,30,31,50,51,52,53,54,55,56,57,58,59,60,61,87,86,90))
GROUP BY c.id
ORDER BY counter DESC
LIMIT 20
(this query time : 0.034 s)
(total SQL time : 0.075 s)
(total time : 0.162 s)
(num rows : 20 )
[18]
SELECT
id,
name,
permalink,
id_uppercat,
uppercats,
global_rank
FROM piwigo_categories
WHERE id IN (2,3,18,105,32,33,19,24,20,13,35,17,36,66,70,75,73,67,49,104,74,41,81,91,14,21,9,37)
;
(this query time : 0.001 s)
(total SQL time : 0.075 s)
(total time : 0.163 s)
(num rows : 28 )
[19]
SELECT t.*, count(*) AS counter
FROM piwigo_image_tag
INNER JOIN piwigo_tags t ON tag_id = id
WHERE image_id IN (973,972,971,970,969,968,967,966,965,964,963,962,961,960,959,958,957,956,955,954,953,952,951,950,949,948,947,946,945,944,943,942,941,940,939,938,937,936,935,934,933,932,931,930,929,928,927,926,925,924,923,922,921,920,919,918,917,916,915,914,913,912,911,910,909,908,907,906,905,904,903,902,900,899,898,897,896,895,894,893)
GROUP BY t.id
ORDER BY counter DESC
LIMIT 12
(this query time : 0.001 s)
(total SQL time : 0.076 s)
(total time : 0.164 s)
(num rows : 0 )
[20]
SELECT *
FROM piwigo_images
WHERE id IN (973,972,971,970,969,968,967,966,965,964,963,962,961,960,959,958,957,956,955,954,953,952,951,950,949,948,947,946,945,944,943,942,941,940,939,938,937,936,935,934,933,932,931,930,929,928,927,926,925,924,923,922,921,920,919,918,917,916,915,914,913,912,911,910,909,908,907,906,905,904,903,902,900,899,898,897,896,895,894,893)
;
(this query time : 0.002 s)
(total SQL time : 0.078 s)
(total time : 0.203 s)
(num rows : 80 )
[0.237 s, 20 queries] : end include/category_default.inc.php
[21]
SELECT
id,
name
FROM piwigo_themes
ORDER BY name ASC
;
(this query time : 0.001 s)
(total SQL time : 0.078 s)
(total time : 0.271 s)
(num rows : 4 )
[22]
SELECT
id,
file,
representative_ext,
name,
comment,
width,
height,
date_creation,
path,
rotation
FROM piwigo_images
WHERE id IN (973,972,971,970,969,968,967,966,965,964,963,962,961,960,959,958,957,956,955,954,953,952,951,950,949,948,947,946,945,944,943,942,941,940,939,938,937,936,935,934,933,932,931,930,929,928,927,926,925,924,923,922,921,920,919,918,917,916,915,914,913,912,911,910,909,908,907,906,905,904,903,902,900,899,898,897,896,895,894,893,892,891,890,889,887,886,885,884,883,882,881,880,879,878,877,876,875,874,873,872,871,870,869,868,867,866,865,864,863,862,861,860,859,858,857,856,855,854,853,852,851,850,849,848,847,846,845,844,843,842,841,840,839,838,837,836,835,834,833,832,831,830,829,828,827,826,825,824,823,822,821,820,819,818,817,816,815,814,813,812,811,810,809,808,807,806,805,804,803,802,801,800,799,798,797,796,795,794,793,792,791,790,789,788,787,785,784,783,782,781,769,768,767,766,765,764,763,762,761,760,759,758,757,756,743,741,740,739,738,737,736,735,734,733,732,731,730,729,727,726,725,724,723,719,717,715,714,713,711,710,708,707,706,705,704,703,702,701,700,699,698,697,696,695,694,693,692,691,690,689,688,687,686,685,684,683,682,681,680,679,678,677,676,675,674,673,672,671,670,669,668,667,666,665,664,663,662,661,660,659,658,657,656,655,654,653,652,651,650,649,648,647,646,645,644,643,642,641,640,639,638,637,636,635,634,633,632,631,630,629,628,627,626,625,624,623,622,621,620,619,618,617,616,615,614,613,612,611,610,609,608,607,606,605,604,603,602,601,600,599,598,597,596,595,594,593,592,591,590,589,588,587,586,585,584,583,582,581,580,579,578,577,515,514,513,512,511,510,509,508,507,506,505,504,503,502,501,500,499,498,497,496,495,494,493,492,491,490,489,488,487,486,485,484,483,482,481,480,479,474,473,472,471,470,469,468,467,466,465,464,463,462,461,460,459,458,457,456,455,454,453,452,451,450,449,447,446,445,436,435,434,433,432,431,430,429,428,427,426,425,414,413,412,411,410,409,408,407,406,405,404,403,402,401,400,399,387,386,385,384,383,382,381,380,379,378,376,375,374,373,372,371,370,369,368,367,366,365,364,363,362,361,360,359,358,357,356,355,354,353,352,351,350,349,348,347,346,345,344,343,342,341,340,339,338,337,336,335,334,333,332,331,330,329,328,327,326,325,324,323,322,321,320,319,318,317,316,315,314,313,312,311,310,309,308,307,306,305,304,303,302,301,300,299,298,297,296,295,294,293,292,291,290,289,205,204,203,202,201,200,199,198,197,196,195,194,193,192,191,188,187,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,128,127,126,122,121,120,119,118,117,116,114,115,113,111,112,110,109,108,107,106,105,103,104,102,101,100,99,98,97,96,95,94,93,92,91,90,89,88,87,86,85,84,83,82,81,80,79,78,77,75,74,73,72,71,70,69,68,67,66,65,64,63,62,61,60,59,58,57,56,55,54,53,52,51,50,49,48,47,46,45,44,43,42,41,40,39,38,37,35,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,18,17,16,15,14,13,12,11,10,9,8,7,5,6,4,3,1)
ORDER BY FIELD(id, 973,972,971,970,969,968,967,966,965,964,963,962,961,960,959,958,957,956,955,954,953,952,951,950,949,948,947,946,945,944,943,942,941,940,939,938,937,936,935,934,933,932,931,930,929,928,927,926,925,924,923,922,921,920,919,918,917,916,915,914,913,912,911,910,909,908,907,906,905,904,903,902,900,899,898,897,896,895,894,893,892,891,890,889,887,886,885,884,883,882,881,880,879,878,877,876,875,874,873,872,871,870,869,868,867,866,865,864,863,862,861,860,859,858,857,856,855,854,853,852,851,850,849,848,847,846,845,844,843,842,841,840,839,838,837,836,835,834,833,832,831,830,829,828,827,826,825,824,823,822,821,820,819,818,817,816,815,814,813,812,811,810,809,808,807,806,805,804,803,802,801,800,799,798,797,796,795,794,793,792,791,790,789,788,787,785,784,783,782,781,769,768,767,766,765,764,763,762,761,760,759,758,757,756,743,741,740,739,738,737,736,735,734,733,732,731,730,729,727,726,725,724,723,719,717,715,714,713,711,710,708,707,706,705,704,703,702,701,700,699,698,697,696,695,694,693,692,691,690,689,688,687,686,685,684,683,682,681,680,679,678,677,676,675,674,673,672,671,670,669,668,667,666,665,664,663,662,661,660,659,658,657,656,655,654,653,652,651,650,649,648,647,646,645,644,643,642,641,640,639,638,637,636,635,634,633,632,631,630,629,628,627,626,625,624,623,622,621,620,619,618,617,616,615,614,613,612,611,610,609,608,607,606,605,604,603,602,601,600,599,598,597,596,595,594,593,592,591,590,589,588,587,586,585,584,583,582,581,580,579,578,577,515,514,513,512,511,510,509,508,507,506,505,504,503,502,501,500,499,498,497,496,495,494,493,492,491,490,489,488,487,486,485,484,483,482,481,480,479,474,473,472,471,470,469,468,467,466,465,464,463,462,461,460,459,458,457,456,455,454,453,452,451,450,449,447,446,445,436,435,434,433,432,431,430,429,428,427,426,425,414,413,412,411,410,409,408,407,406,405,404,403,402,401,400,399,387,386,385,384,383,382,381,380,379,378,376,375,374,373,372,371,370,369,368,367,366,365,364,363,362,361,360,359,358,357,356,355,354,353,352,351,350,349,348,347,346,345,344,343,342,341,340,339,338,337,336,335,334,333,332,331,330,329,328,327,326,325,324,323,322,321,320,319,318,317,316,315,314,313,312,311,310,309,308,307,306,305,304,303,302,301,300,299,298,297,296,295,294,293,292,291,290,289,205,204,203,202,201,200,199,198,197,196,195,194,193,192,191,188,187,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,128,127,126,122,121,120,119,118,117,116,114,115,113,111,112,110,109,108,107,106,105,103,104,102,101,100,99,98,97,96,95,94,93,92,91,90,89,88,87,86,85,84,83,82,81,80,79,78,77,75,74,73,72,71,70,69,68,67,66,65,64,63,62,61,60,59,58,57,56,55,54,53,52,51,50,49,48,47,46,45,44,43,42,41,40,39,38,37,35,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,18,17,16,15,14,13,12,11,10,9,8,7,5,6,4,3,1)
;
(this query time : 0.007 s)
(total SQL time : 0.085 s)
(total time : 0.283 s)
(num rows : 712 )
[23]
UPDATE piwigo_user_infos
SET last_visit = NOW(),
lastmodified = lastmodified
WHERE user_id = 2
(this query time : 0.028 s)
(total SQL time : 0.114 s)
(total time : 0.486 s)
(affected rows : 1 )
[24]
INSERT INTO piwigo_history
(
date,
time,
user_id,
IP,
section,
category_id,
search_id,
image_id,
image_type,
format_id,
auth_key_id,
tag_ids
)
VALUES
(
CURRENT_DATE,
CURRENT_TIME,
2,
'192.168.1.10',
'categories',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
)
;
(this query time : 0.069 s)
(total SQL time : 0.183 s)
(total time : 0.555 s)
(affected rows : 1 )