Advertisement
Guest User

A long mysql-slow.log

a guest
Jan 30th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 70.45 KB | None | 0 0
  1. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2. # Query_time: 10.239178  Lock_time: 0.000072 Rows_sent: 0  Rows_examined: 124108
  3. SET timestamp=1391125534;
  4. SELECT DISTINCT(id)
  5.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6.   WHERE category_id NOT IN (0)
  7.     AND level>0;
  8. # User@Host: lesiteweb[lesiteweb] @ localhost []
  9. # Query_time: 10.310365  Lock_time: 0.000073 Rows_sent: 0  Rows_examined: 124108
  10. SET timestamp=1391125534;
  11. SELECT DISTINCT(id)
  12.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  13.   WHERE category_id NOT IN (0)
  14.     AND level>0;
  15. # Time: 140131  0:45:43
  16. # User@Host: lesiteweb[lesiteweb] @ localhost []
  17. # Query_time: 18.542793  Lock_time: 0.000099 Rows_sent: 954  Rows_examined: 126970
  18. SET timestamp=1391125543;
  19. SELECT c.id AS cat_id, id_uppercat,
  20.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  21. FROM piwigo_categories as c
  22.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  23.   LEFT JOIN piwigo_images AS i
  24.     ON ic.image_id = i.id
  25.       AND i.level<=0
  26.   GROUP BY c.id;
  27. # User@Host: lesiteweb[lesiteweb] @ localhost []
  28. # Query_time: 18.761835  Lock_time: 0.000108 Rows_sent: 954  Rows_examined: 126970
  29. SET timestamp=1391125543;
  30. SELECT c.id AS cat_id, id_uppercat,
  31.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  32. FROM piwigo_categories as c
  33.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  34.   LEFT JOIN piwigo_images AS i
  35.     ON ic.image_id = i.id
  36.       AND i.level<=0
  37.   GROUP BY c.id;
  38. # Time: 140131  0:45:45
  39. # User@Host: lesiteweb[lesiteweb] @ localhost []
  40. # Query_time: 20.068993  Lock_time: 0.003261 Rows_sent: 954  Rows_examined: 126970
  41. SET timestamp=1391125545;
  42. SELECT c.id AS cat_id, id_uppercat,
  43.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  44. FROM piwigo_categories as c
  45.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  46.   LEFT JOIN piwigo_images AS i
  47.     ON ic.image_id = i.id
  48.       AND i.level<=0
  49.   GROUP BY c.id;
  50. # Time: 140131  0:45:46
  51. # User@Host: lesiteweb[lesiteweb] @ localhost []
  52. # Query_time: 21.539741  Lock_time: 0.000090 Rows_sent: 954  Rows_examined: 126970
  53. SET timestamp=1391125546;
  54. SELECT c.id AS cat_id, id_uppercat,
  55.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  56. FROM piwigo_categories as c
  57.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  58.   LEFT JOIN piwigo_images AS i
  59.     ON ic.image_id = i.id
  60.       AND i.level<=0
  61.   GROUP BY c.id;
  62. # User@Host: lesiteweb[lesiteweb] @ localhost []
  63. # Query_time: 21.042279  Lock_time: 0.000127 Rows_sent: 954  Rows_examined: 126970
  64. SET timestamp=1391125546;
  65. SELECT c.id AS cat_id, id_uppercat,
  66.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  67. FROM piwigo_categories as c
  68.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  69.   LEFT JOIN piwigo_images AS i
  70.     ON ic.image_id = i.id
  71.       AND i.level<=0
  72.   GROUP BY c.id;
  73. # Time: 140131  0:45:47
  74. # User@Host: lesiteweb[lesiteweb] @ localhost []
  75. # Query_time: 21.675343  Lock_time: 0.000105 Rows_sent: 954  Rows_examined: 126970
  76. SET timestamp=1391125547;
  77. SELECT c.id AS cat_id, id_uppercat,
  78.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  79. FROM piwigo_categories as c
  80.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  81.   LEFT JOIN piwigo_images AS i
  82.     ON ic.image_id = i.id
  83.       AND i.level<=0
  84.   GROUP BY c.id;
  85. # User@Host: lesiteweb[lesiteweb] @ localhost []
  86. # Query_time: 22.113090  Lock_time: 0.000113 Rows_sent: 954  Rows_examined: 126970
  87. SET timestamp=1391125547;
  88. SELECT c.id AS cat_id, id_uppercat,
  89.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  90. FROM piwigo_categories as c
  91.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  92.   LEFT JOIN piwigo_images AS i
  93.     ON ic.image_id = i.id
  94.       AND i.level<=0
  95.   GROUP BY c.id;
  96. # Time: 140131  0:45:48
  97. # User@Host: lesiteweb[lesiteweb] @ localhost []
  98. # Query_time: 23.039748  Lock_time: 0.000095 Rows_sent: 954  Rows_examined: 126970
  99. SET timestamp=1391125548;
  100. SELECT c.id AS cat_id, id_uppercat,
  101.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  102. FROM piwigo_categories as c
  103.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  104.   LEFT JOIN piwigo_images AS i
  105.     ON ic.image_id = i.id
  106.       AND i.level<=0
  107.   GROUP BY c.id;
  108. # User@Host: lesiteweb[lesiteweb] @ localhost []
  109. # Query_time: 23.056697  Lock_time: 0.000119 Rows_sent: 954  Rows_examined: 126970
  110. SET timestamp=1391125548;
  111. SELECT c.id AS cat_id, id_uppercat,
  112.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  113. FROM piwigo_categories as c
  114.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  115.   LEFT JOIN piwigo_images AS i
  116.     ON ic.image_id = i.id
  117.       AND i.level<=0
  118.   GROUP BY c.id;
  119. # Time: 140131  0:45:49
  120. # User@Host: lesiteweb[lesiteweb] @ localhost []
  121. # Query_time: 23.924102  Lock_time: 0.000067 Rows_sent: 0  Rows_examined: 0
  122. SET timestamp=1391125549;
  123. INSERT INTO piwigo_images
  124.   (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  125.   VALUES('what-www.lesiteweb.net-21.jpg','what-www.lesiteweb.net-21','2014-01-31 00:45:24','./upload/2014/01/31/20140131004524-ce44ea0e.jpg','446','1063','1500','ce44ea0ec843da10afe90e6d85ef35dc','1','0','0');
  126. # User@Host: lesiteweb[lesiteweb] @ localhost []
  127. # Query_time: 23.750881  Lock_time: 0.000093 Rows_sent: 954  Rows_examined: 126970
  128. SET timestamp=1391125549;
  129. SELECT c.id AS cat_id, id_uppercat,
  130.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  131. FROM piwigo_categories as c
  132.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  133.   LEFT JOIN piwigo_images AS i
  134.     ON ic.image_id = i.id
  135.       AND i.level<=0
  136.   GROUP BY c.id;
  137. # Time: 140131  0:45:51
  138. # User@Host: lesiteweb[lesiteweb] @ localhost []
  139. # Query_time: 24.735669  Lock_time: 0.000086 Rows_sent: 954  Rows_examined: 126970
  140. SET timestamp=1391125551;
  141. SELECT c.id AS cat_id, id_uppercat,
  142.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  143. FROM piwigo_categories as c
  144.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  145.   LEFT JOIN piwigo_images AS i
  146.     ON ic.image_id = i.id
  147.       AND i.level<=0
  148.   GROUP BY c.id;
  149. # User@Host: lesiteweb[lesiteweb] @ localhost []
  150. # Query_time: 25.111034  Lock_time: 0.000097 Rows_sent: 954  Rows_examined: 126970
  151. SET timestamp=1391125551;
  152. SELECT c.id AS cat_id, id_uppercat,
  153.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  154. FROM piwigo_categories as c
  155.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  156.   LEFT JOIN piwigo_images AS i
  157.     ON ic.image_id = i.id
  158.       AND i.level<=0
  159.   GROUP BY c.id;
  160. # Time: 140131  0:45:52
  161. # User@Host: lesiteweb[lesiteweb] @ localhost []
  162. # Query_time: 25.421081  Lock_time: 0.000094 Rows_sent: 954  Rows_examined: 126970
  163. SET timestamp=1391125552;
  164. SELECT c.id AS cat_id, id_uppercat,
  165.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  166. FROM piwigo_categories as c
  167.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  168.   LEFT JOIN piwigo_images AS i
  169.     ON ic.image_id = i.id
  170.       AND i.level<=0
  171.   GROUP BY c.id;
  172. # Time: 140131  0:45:55
  173. # User@Host: lesiteweb[lesiteweb] @ localhost []
  174. # Query_time: 28.606223  Lock_time: 0.000105 Rows_sent: 954  Rows_examined: 126970
  175. SET timestamp=1391125555;
  176. SELECT c.id AS cat_id, id_uppercat,
  177.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  178. FROM piwigo_categories as c
  179.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  180.   LEFT JOIN piwigo_images AS i
  181.     ON ic.image_id = i.id
  182.       AND i.level<=0
  183.   GROUP BY c.id;
  184. # Time: 140131  0:45:56
  185. # User@Host: lesiteweb[lesiteweb] @ localhost []
  186. # Query_time: 28.470486  Lock_time: 0.000089 Rows_sent: 954  Rows_examined: 126970
  187. SET timestamp=1391125556;
  188. SELECT c.id AS cat_id, id_uppercat,
  189.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  190. FROM piwigo_categories as c
  191.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  192.   LEFT JOIN piwigo_images AS i
  193.     ON ic.image_id = i.id
  194.       AND i.level<=0
  195.   GROUP BY c.id;
  196. # Time: 140131  0:45:58
  197. # User@Host: lesiteweb[lesiteweb] @ localhost []
  198. # Query_time: 29.533972  Lock_time: 0.000089 Rows_sent: 954  Rows_examined: 126970
  199. SET timestamp=1391125558;
  200. SELECT c.id AS cat_id, id_uppercat,
  201.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  202. FROM piwigo_categories as c
  203.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  204.   LEFT JOIN piwigo_images AS i
  205.     ON ic.image_id = i.id
  206.       AND i.level<=0
  207.   GROUP BY c.id;
  208. # User@Host: lesiteweb[lesiteweb] @ localhost []
  209. # Query_time: 29.349243  Lock_time: 0.000091 Rows_sent: 954  Rows_examined: 126970
  210. SET timestamp=1391125558;
  211. SELECT c.id AS cat_id, id_uppercat,
  212.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  213. FROM piwigo_categories as c
  214.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  215.   LEFT JOIN piwigo_images AS i
  216.     ON ic.image_id = i.id
  217.       AND i.level<=0
  218.   GROUP BY c.id;
  219. # User@Host: lesiteweb[lesiteweb] @ localhost []
  220. # Query_time: 28.731639  Lock_time: 0.000088 Rows_sent: 954  Rows_examined: 126970
  221. SET timestamp=1391125558;
  222. SELECT c.id AS cat_id, id_uppercat,
  223.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  224. FROM piwigo_categories as c
  225.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  226.   LEFT JOIN piwigo_images AS i
  227.     ON ic.image_id = i.id
  228.       AND i.level<=0
  229.   GROUP BY c.id;
  230. # User@Host: lesiteweb[lesiteweb] @ localhost []
  231. # Query_time: 30.040677  Lock_time: 0.000095 Rows_sent: 954  Rows_examined: 126970
  232. SET timestamp=1391125558;
  233. SELECT c.id AS cat_id, id_uppercat,
  234.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  235. FROM piwigo_categories as c
  236.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  237.   LEFT JOIN piwigo_images AS i
  238.     ON ic.image_id = i.id
  239.       AND i.level<=0
  240.   GROUP BY c.id;
  241. # Time: 140131  0:45:59
  242. # User@Host: lesiteweb[lesiteweb] @ localhost []
  243. # Query_time: 29.251829  Lock_time: 0.000118 Rows_sent: 954  Rows_examined: 126970
  244. SET timestamp=1391125559;
  245. SELECT c.id AS cat_id, id_uppercat,
  246.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  247. FROM piwigo_categories as c
  248.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  249.   LEFT JOIN piwigo_images AS i
  250.     ON ic.image_id = i.id
  251.       AND i.level<=0
  252.   GROUP BY c.id;
  253. # User@Host: lesiteweb[lesiteweb] @ localhost []
  254. # Query_time: 30.365368  Lock_time: 0.000090 Rows_sent: 954  Rows_examined: 126970
  255. SET timestamp=1391125559;
  256. SELECT c.id AS cat_id, id_uppercat,
  257.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  258. FROM piwigo_categories as c
  259.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  260.   LEFT JOIN piwigo_images AS i
  261.     ON ic.image_id = i.id
  262.       AND i.level<=0
  263.   GROUP BY c.id;
  264. # User@Host: lesiteweb[lesiteweb] @ localhost []
  265. # Query_time: 30.521248  Lock_time: 0.000099 Rows_sent: 954  Rows_examined: 126970
  266. SET timestamp=1391125559;
  267. SELECT c.id AS cat_id, id_uppercat,
  268.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  269. FROM piwigo_categories as c
  270.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  271.   LEFT JOIN piwigo_images AS i
  272.     ON ic.image_id = i.id
  273.       AND i.level<=0
  274.   GROUP BY c.id;
  275. # User@Host: lesiteweb[lesiteweb] @ localhost []
  276. # Query_time: 30.283175  Lock_time: 0.000097 Rows_sent: 954  Rows_examined: 126970
  277. SET timestamp=1391125559;
  278. SELECT c.id AS cat_id, id_uppercat,
  279.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  280. FROM piwigo_categories as c
  281.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  282.   LEFT JOIN piwigo_images AS i
  283.     ON ic.image_id = i.id
  284.       AND i.level<=0
  285.   GROUP BY c.id;
  286. # Time: 140131  0:46:00
  287. # User@Host: lesiteweb[lesiteweb] @ localhost []
  288. # Query_time: 29.526385  Lock_time: 0.000122 Rows_sent: 954  Rows_examined: 126970
  289. SET timestamp=1391125560;
  290. SELECT c.id AS cat_id, id_uppercat,
  291.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  292. FROM piwigo_categories as c
  293.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  294.   LEFT JOIN piwigo_images AS i
  295.     ON ic.image_id = i.id
  296.       AND i.level<=0
  297.   GROUP BY c.id;
  298. # User@Host: lesiteweb[lesiteweb] @ localhost []
  299. # Query_time: 30.292745  Lock_time: 0.000103 Rows_sent: 954  Rows_examined: 126970
  300. SET timestamp=1391125560;
  301. SELECT c.id AS cat_id, id_uppercat,
  302.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  303. FROM piwigo_categories as c
  304.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  305.   LEFT JOIN piwigo_images AS i
  306.     ON ic.image_id = i.id
  307.       AND i.level<=0
  308.   GROUP BY c.id;
  309. # User@Host: lesiteweb[lesiteweb] @ localhost []
  310. # Query_time: 30.608166  Lock_time: 0.000086 Rows_sent: 954  Rows_examined: 126970
  311. SET timestamp=1391125560;
  312. SELECT c.id AS cat_id, id_uppercat,
  313.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  314. FROM piwigo_categories as c
  315.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  316.   LEFT JOIN piwigo_images AS i
  317.     ON ic.image_id = i.id
  318.       AND i.level<=0
  319.   GROUP BY c.id;
  320. # Time: 140131  0:46:01
  321. # User@Host: lesiteweb[lesiteweb] @ localhost []
  322. # Query_time: 30.524258  Lock_time: 0.000123 Rows_sent: 954  Rows_examined: 126970
  323. SET timestamp=1391125561;
  324. SELECT c.id AS cat_id, id_uppercat,
  325.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  326. FROM piwigo_categories as c
  327.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  328.   LEFT JOIN piwigo_images AS i
  329.     ON ic.image_id = i.id
  330.       AND i.level<=0
  331.   GROUP BY c.id;
  332. # User@Host: lesiteweb[lesiteweb] @ localhost []
  333. # Query_time: 30.855901  Lock_time: 0.000098 Rows_sent: 954  Rows_examined: 126970
  334. SET timestamp=1391125561;
  335. SELECT c.id AS cat_id, id_uppercat,
  336.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  337. FROM piwigo_categories as c
  338.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  339.   LEFT JOIN piwigo_images AS i
  340.     ON ic.image_id = i.id
  341.       AND i.level<=0
  342.   GROUP BY c.id;
  343. # User@Host: lesiteweb[lesiteweb] @ localhost []
  344. # Query_time: 31.320050  Lock_time: 0.000106 Rows_sent: 954  Rows_examined: 126970
  345. SET timestamp=1391125561;
  346. SELECT c.id AS cat_id, id_uppercat,
  347.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  348. FROM piwigo_categories as c
  349.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  350.   LEFT JOIN piwigo_images AS i
  351.     ON ic.image_id = i.id
  352.       AND i.level<=0
  353.   GROUP BY c.id;
  354. # User@Host: lesiteweb[lesiteweb] @ localhost []
  355. # Query_time: 30.422072  Lock_time: 0.000085 Rows_sent: 954  Rows_examined: 126970
  356. SET timestamp=1391125561;
  357. SELECT c.id AS cat_id, id_uppercat,
  358.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  359. FROM piwigo_categories as c
  360.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  361.   LEFT JOIN piwigo_images AS i
  362.     ON ic.image_id = i.id
  363.       AND i.level<=0
  364.   GROUP BY c.id;
  365. # User@Host: lesiteweb[lesiteweb] @ localhost []
  366. # Query_time: 30.510838  Lock_time: 0.000111 Rows_sent: 954  Rows_examined: 126970
  367. SET timestamp=1391125561;
  368. SELECT c.id AS cat_id, id_uppercat,
  369.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  370. FROM piwigo_categories as c
  371.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  372.   LEFT JOIN piwigo_images AS i
  373.     ON ic.image_id = i.id
  374.       AND i.level<=0
  375.   GROUP BY c.id;
  376. # Time: 140131  0:46:02
  377. # User@Host: lesiteweb[lesiteweb] @ localhost []
  378. # Query_time: 30.277202  Lock_time: 0.000117 Rows_sent: 954  Rows_examined: 126970
  379. SET timestamp=1391125562;
  380. SELECT c.id AS cat_id, id_uppercat,
  381.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  382. FROM piwigo_categories as c
  383.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  384.   LEFT JOIN piwigo_images AS i
  385.     ON ic.image_id = i.id
  386.       AND i.level<=0
  387.   GROUP BY c.id;
  388. # User@Host: lesiteweb[lesiteweb] @ localhost []
  389. # Query_time: 30.845326  Lock_time: 0.000120 Rows_sent: 954  Rows_examined: 126970
  390. SET timestamp=1391125562;
  391. SELECT c.id AS cat_id, id_uppercat,
  392.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  393. FROM piwigo_categories as c
  394.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  395.   LEFT JOIN piwigo_images AS i
  396.     ON ic.image_id = i.id
  397.       AND i.level<=0
  398.   GROUP BY c.id;
  399. # User@Host: lesiteweb[lesiteweb] @ localhost []
  400. # Query_time: 30.499843  Lock_time: 0.000082 Rows_sent: 954  Rows_examined: 126970
  401. SET timestamp=1391125562;
  402. SELECT c.id AS cat_id, id_uppercat,
  403.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  404. FROM piwigo_categories as c
  405.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  406.   LEFT JOIN piwigo_images AS i
  407.     ON ic.image_id = i.id
  408.       AND i.level<=0
  409.   GROUP BY c.id;
  410. # User@Host: lesiteweb[lesiteweb] @ localhost []
  411. # Query_time: 30.436185  Lock_time: 0.000077 Rows_sent: 954  Rows_examined: 126970
  412. SET timestamp=1391125562;
  413. SELECT c.id AS cat_id, id_uppercat,
  414.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  415. FROM piwigo_categories as c
  416.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  417.   LEFT JOIN piwigo_images AS i
  418.     ON ic.image_id = i.id
  419.       AND i.level<=0
  420.   GROUP BY c.id;
  421. # User@Host: lesiteweb[lesiteweb] @ localhost []
  422. # Query_time: 31.075464  Lock_time: 0.000084 Rows_sent: 954  Rows_examined: 126970
  423. SET timestamp=1391125562;
  424. SELECT c.id AS cat_id, id_uppercat,
  425.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  426. FROM piwigo_categories as c
  427.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  428.   LEFT JOIN piwigo_images AS i
  429.     ON ic.image_id = i.id
  430.       AND i.level<=0
  431.   GROUP BY c.id;
  432. # User@Host: lesiteweb[lesiteweb] @ localhost []
  433. # Query_time: 30.191417  Lock_time: 0.000071 Rows_sent: 954  Rows_examined: 126970
  434. SET timestamp=1391125562;
  435. SELECT c.id AS cat_id, id_uppercat,
  436.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  437. FROM piwigo_categories as c
  438.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  439.   LEFT JOIN piwigo_images AS i
  440.     ON ic.image_id = i.id
  441.       AND i.level<=0
  442.   GROUP BY c.id;
  443. # User@Host: lesiteweb[lesiteweb] @ localhost []
  444. # Query_time: 30.343709  Lock_time: 0.000080 Rows_sent: 954  Rows_examined: 126970
  445. SET timestamp=1391125562;
  446. SELECT c.id AS cat_id, id_uppercat,
  447.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  448. FROM piwigo_categories as c
  449.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  450.   LEFT JOIN piwigo_images AS i
  451.     ON ic.image_id = i.id
  452.       AND i.level<=0
  453.   GROUP BY c.id;
  454. # User@Host: lesiteweb[lesiteweb] @ localhost []
  455. # Query_time: 30.830652  Lock_time: 0.000103 Rows_sent: 954  Rows_examined: 126970
  456. SET timestamp=1391125562;
  457. SELECT c.id AS cat_id, id_uppercat,
  458.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  459. FROM piwigo_categories as c
  460.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  461.   LEFT JOIN piwigo_images AS i
  462.     ON ic.image_id = i.id
  463.       AND i.level<=0
  464.   GROUP BY c.id;
  465. # User@Host: lesiteweb[lesiteweb] @ localhost []
  466. # Query_time: 30.693829  Lock_time: 0.000094 Rows_sent: 954  Rows_examined: 126970
  467. SET timestamp=1391125562;
  468. SELECT c.id AS cat_id, id_uppercat,
  469.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  470. FROM piwigo_categories as c
  471.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  472.   LEFT JOIN piwigo_images AS i
  473.     ON ic.image_id = i.id
  474.       AND i.level<=0
  475.   GROUP BY c.id;
  476. # User@Host: lesiteweb[lesiteweb] @ localhost []
  477. # Query_time: 31.162936  Lock_time: 0.000093 Rows_sent: 954  Rows_examined: 126970
  478. SET timestamp=1391125562;
  479. SELECT c.id AS cat_id, id_uppercat,
  480.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  481. FROM piwigo_categories as c
  482.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  483.   LEFT JOIN piwigo_images AS i
  484.     ON ic.image_id = i.id
  485.       AND i.level<=0
  486.   GROUP BY c.id;
  487. # User@Host: lesiteweb[lesiteweb] @ localhost []
  488. # Query_time: 30.286610  Lock_time: 0.000103 Rows_sent: 954  Rows_examined: 126970
  489. SET timestamp=1391125562;
  490. SELECT c.id AS cat_id, id_uppercat,
  491.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  492. FROM piwigo_categories as c
  493.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  494.   LEFT JOIN piwigo_images AS i
  495.     ON ic.image_id = i.id
  496.       AND i.level<=0
  497.   GROUP BY c.id;
  498. # Time: 140131  0:46:03
  499. # User@Host: lesiteweb[lesiteweb] @ localhost []
  500. # Query_time: 31.252322  Lock_time: 0.000082 Rows_sent: 954  Rows_examined: 126970
  501. SET timestamp=1391125563;
  502. SELECT c.id AS cat_id, id_uppercat,
  503.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  504. FROM piwigo_categories as c
  505.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  506.   LEFT JOIN piwigo_images AS i
  507.     ON ic.image_id = i.id
  508.       AND i.level<=0
  509.   GROUP BY c.id;
  510. # User@Host: lesiteweb[lesiteweb] @ localhost []
  511. # Query_time: 28.839812  Lock_time: 0.000096 Rows_sent: 954  Rows_examined: 126970
  512. SET timestamp=1391125563;
  513. SELECT c.id AS cat_id, id_uppercat,
  514.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  515. FROM piwigo_categories as c
  516.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  517.   LEFT JOIN piwigo_images AS i
  518.     ON ic.image_id = i.id
  519.       AND i.level<=0
  520.   GROUP BY c.id;
  521. # User@Host: lesiteweb[lesiteweb] @ localhost []
  522. # Query_time: 30.359572  Lock_time: 0.000092 Rows_sent: 954  Rows_examined: 126970
  523. SET timestamp=1391125563;
  524. SELECT c.id AS cat_id, id_uppercat,
  525.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  526. FROM piwigo_categories as c
  527.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  528.   LEFT JOIN piwigo_images AS i
  529.     ON ic.image_id = i.id
  530.       AND i.level<=0
  531.   GROUP BY c.id;
  532. # User@Host: lesiteweb[lesiteweb] @ localhost []
  533. # Query_time: 29.998995  Lock_time: 0.000059 Rows_sent: 954  Rows_examined: 126970
  534. SET timestamp=1391125563;
  535. SELECT c.id AS cat_id, id_uppercat,
  536.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  537. FROM piwigo_categories as c
  538.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  539.   LEFT JOIN piwigo_images AS i
  540.     ON ic.image_id = i.id
  541.       AND i.level<=0
  542.   GROUP BY c.id;
  543. # User@Host: lesiteweb[lesiteweb] @ localhost []
  544. # Query_time: 30.952563  Lock_time: 0.000067 Rows_sent: 954  Rows_examined: 126970
  545. SET timestamp=1391125563;
  546. SELECT c.id AS cat_id, id_uppercat,
  547.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  548. FROM piwigo_categories as c
  549.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  550.   LEFT JOIN piwigo_images AS i
  551.     ON ic.image_id = i.id
  552.       AND i.level<=0
  553.   GROUP BY c.id;
  554. # User@Host: lesiteweb[lesiteweb] @ localhost []
  555. # Query_time: 28.352406  Lock_time: 0.000149 Rows_sent: 954  Rows_examined: 126970
  556. SET timestamp=1391125563;
  557. SELECT c.id AS cat_id, id_uppercat,
  558.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  559. FROM piwigo_categories as c
  560.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  561.   LEFT JOIN piwigo_images AS i
  562.     ON ic.image_id = i.id
  563.       AND i.level<=0
  564.   GROUP BY c.id;
  565. # User@Host: lesiteweb[lesiteweb] @ localhost []
  566. # Query_time: 30.188127  Lock_time: 0.000096 Rows_sent: 954  Rows_examined: 126970
  567. SET timestamp=1391125563;
  568. SELECT c.id AS cat_id, id_uppercat,
  569.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  570. FROM piwigo_categories as c
  571.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  572.   LEFT JOIN piwigo_images AS i
  573.     ON ic.image_id = i.id
  574.       AND i.level<=0
  575.   GROUP BY c.id;
  576. # User@Host: lesiteweb[lesiteweb] @ localhost []
  577. # Query_time: 29.576428  Lock_time: 0.000080 Rows_sent: 954  Rows_examined: 126970
  578. SET timestamp=1391125563;
  579. SELECT c.id AS cat_id, id_uppercat,
  580.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  581. FROM piwigo_categories as c
  582.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  583.   LEFT JOIN piwigo_images AS i
  584.     ON ic.image_id = i.id
  585.       AND i.level<=0
  586.   GROUP BY c.id;
  587. # User@Host: lesiteweb[lesiteweb] @ localhost []
  588. # Query_time: 29.841625  Lock_time: 0.000075 Rows_sent: 954  Rows_examined: 126970
  589. SET timestamp=1391125563;
  590. SELECT c.id AS cat_id, id_uppercat,
  591.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  592. FROM piwigo_categories as c
  593.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  594.   LEFT JOIN piwigo_images AS i
  595.     ON ic.image_id = i.id
  596.       AND i.level<=0
  597.   GROUP BY c.id;
  598. # Time: 140131  0:46:04
  599. # User@Host: lesiteweb[lesiteweb] @ localhost []
  600. # Query_time: 30.003043  Lock_time: 0.000092 Rows_sent: 954  Rows_examined: 126970
  601. SET timestamp=1391125564;
  602. SELECT c.id AS cat_id, id_uppercat,
  603.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  604. FROM piwigo_categories as c
  605.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  606.   LEFT JOIN piwigo_images AS i
  607.     ON ic.image_id = i.id
  608.       AND i.level<=0
  609.   GROUP BY c.id;
  610. # User@Host: lesiteweb[lesiteweb] @ localhost []
  611. # Query_time: 28.562765  Lock_time: 0.000142 Rows_sent: 954  Rows_examined: 126970
  612. SET timestamp=1391125564;
  613. SELECT c.id AS cat_id, id_uppercat,
  614.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  615. FROM piwigo_categories as c
  616.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  617.   LEFT JOIN piwigo_images AS i
  618.     ON ic.image_id = i.id
  619.       AND i.level<=0
  620.   GROUP BY c.id;
  621. # User@Host: lesiteweb[lesiteweb] @ localhost []
  622. # Query_time: 28.900625  Lock_time: 0.000144 Rows_sent: 954  Rows_examined: 126970
  623. SET timestamp=1391125564;
  624. SELECT c.id AS cat_id, id_uppercat,
  625.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  626. FROM piwigo_categories as c
  627.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  628.   LEFT JOIN piwigo_images AS i
  629.     ON ic.image_id = i.id
  630.       AND i.level<=0
  631.   GROUP BY c.id;
  632. # User@Host: lesiteweb[lesiteweb] @ localhost []
  633. # Query_time: 29.787153  Lock_time: 0.000140 Rows_sent: 954  Rows_examined: 126970
  634. SET timestamp=1391125564;
  635. SELECT c.id AS cat_id, id_uppercat,
  636.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  637. FROM piwigo_categories as c
  638.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  639.   LEFT JOIN piwigo_images AS i
  640.     ON ic.image_id = i.id
  641.       AND i.level<=0
  642.   GROUP BY c.id;
  643. # User@Host: lesiteweb[lesiteweb] @ localhost []
  644. # Query_time: 29.449030  Lock_time: 0.000207 Rows_sent: 954  Rows_examined: 126970
  645. SET timestamp=1391125564;
  646. SELECT c.id AS cat_id, id_uppercat,
  647.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  648. FROM piwigo_categories as c
  649.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  650.   LEFT JOIN piwigo_images AS i
  651.     ON ic.image_id = i.id
  652.       AND i.level<=0
  653.   GROUP BY c.id;
  654. # User@Host: lesiteweb[lesiteweb] @ localhost []
  655. # Query_time: 28.093857  Lock_time: 0.000134 Rows_sent: 954  Rows_examined: 126970
  656. SET timestamp=1391125564;
  657. SELECT c.id AS cat_id, id_uppercat,
  658.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  659. FROM piwigo_categories as c
  660.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  661.   LEFT JOIN piwigo_images AS i
  662.     ON ic.image_id = i.id
  663.       AND i.level<=0
  664.   GROUP BY c.id;
  665. # User@Host: lesiteweb[lesiteweb] @ localhost []
  666. # Query_time: 29.450005  Lock_time: 0.000126 Rows_sent: 954  Rows_examined: 126970
  667. SET timestamp=1391125564;
  668. SELECT c.id AS cat_id, id_uppercat,
  669.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  670. FROM piwigo_categories as c
  671.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  672.   LEFT JOIN piwigo_images AS i
  673.     ON ic.image_id = i.id
  674.       AND i.level<=0
  675.   GROUP BY c.id;
  676. # User@Host: lesiteweb[lesiteweb] @ localhost []
  677. # Query_time: 27.971920  Lock_time: 0.000211 Rows_sent: 954  Rows_examined: 126970
  678. SET timestamp=1391125564;
  679. SELECT c.id AS cat_id, id_uppercat,
  680.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  681. FROM piwigo_categories as c
  682.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  683.   LEFT JOIN piwigo_images AS i
  684.     ON ic.image_id = i.id
  685.       AND i.level<=0
  686.   GROUP BY c.id;
  687. # User@Host: lesiteweb[lesiteweb] @ localhost []
  688. # Query_time: 28.302500  Lock_time: 0.000156 Rows_sent: 954  Rows_examined: 126970
  689. SET timestamp=1391125564;
  690. SELECT c.id AS cat_id, id_uppercat,
  691.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  692. FROM piwigo_categories as c
  693.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  694.   LEFT JOIN piwigo_images AS i
  695.     ON ic.image_id = i.id
  696.       AND i.level<=0
  697.   GROUP BY c.id;
  698. # User@Host: lesiteweb[lesiteweb] @ localhost []
  699. # Query_time: 28.597717  Lock_time: 0.000127 Rows_sent: 954  Rows_examined: 126970
  700. SET timestamp=1391125564;
  701. SELECT c.id AS cat_id, id_uppercat,
  702.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  703. FROM piwigo_categories as c
  704.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  705.   LEFT JOIN piwigo_images AS i
  706.     ON ic.image_id = i.id
  707.       AND i.level<=0
  708.   GROUP BY c.id;
  709. # User@Host: lesiteweb[lesiteweb] @ localhost []
  710. # Query_time: 28.845241  Lock_time: 0.000128 Rows_sent: 954  Rows_examined: 126970
  711. SET timestamp=1391125564;
  712. SELECT c.id AS cat_id, id_uppercat,
  713.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  714. FROM piwigo_categories as c
  715.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  716.   LEFT JOIN piwigo_images AS i
  717.     ON ic.image_id = i.id
  718.       AND i.level<=0
  719.   GROUP BY c.id;
  720. # User@Host: lesiteweb[lesiteweb] @ localhost []
  721. # Query_time: 27.897514  Lock_time: 0.000150 Rows_sent: 954  Rows_examined: 126970
  722. SET timestamp=1391125564;
  723. SELECT c.id AS cat_id, id_uppercat,
  724.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  725. FROM piwigo_categories as c
  726.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  727.   LEFT JOIN piwigo_images AS i
  728.     ON ic.image_id = i.id
  729.       AND i.level<=0
  730.   GROUP BY c.id;
  731. # User@Host: lesiteweb[lesiteweb] @ localhost []
  732. # Query_time: 28.520564  Lock_time: 0.000177 Rows_sent: 954  Rows_examined: 126970
  733. SET timestamp=1391125564;
  734. SELECT c.id AS cat_id, id_uppercat,
  735.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  736. FROM piwigo_categories as c
  737.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  738.   LEFT JOIN piwigo_images AS i
  739.     ON ic.image_id = i.id
  740.       AND i.level<=0
  741.   GROUP BY c.id;
  742. # User@Host: lesiteweb[lesiteweb] @ localhost []
  743. # Query_time: 28.717641  Lock_time: 0.000175 Rows_sent: 954  Rows_examined: 126970
  744. SET timestamp=1391125564;
  745. SELECT c.id AS cat_id, id_uppercat,
  746.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  747. FROM piwigo_categories as c
  748.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  749.   LEFT JOIN piwigo_images AS i
  750.     ON ic.image_id = i.id
  751.       AND i.level<=0
  752.   GROUP BY c.id;
  753. # User@Host: lesiteweb[lesiteweb] @ localhost []
  754. # Query_time: 25.538647  Lock_time: 0.015942 Rows_sent: 954  Rows_examined: 126970
  755. SET timestamp=1391125564;
  756. SELECT c.id AS cat_id, id_uppercat,
  757.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  758. FROM piwigo_categories as c
  759.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  760.   LEFT JOIN piwigo_images AS i
  761.     ON ic.image_id = i.id
  762.       AND i.level<=0
  763.   GROUP BY c.id;
  764. # User@Host: lesiteweb[lesiteweb] @ localhost []
  765. # Query_time: 26.498175  Lock_time: 0.000133 Rows_sent: 954  Rows_examined: 126970
  766. SET timestamp=1391125564;
  767. SELECT c.id AS cat_id, id_uppercat,
  768.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  769. FROM piwigo_categories as c
  770.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  771.   LEFT JOIN piwigo_images AS i
  772.     ON ic.image_id = i.id
  773.       AND i.level<=0
  774.   GROUP BY c.id;
  775. # User@Host: lesiteweb[lesiteweb] @ localhost []
  776. # Query_time: 25.720716  Lock_time: 0.135633 Rows_sent: 954  Rows_examined: 126970
  777. SET timestamp=1391125564;
  778. SELECT c.id AS cat_id, id_uppercat,
  779.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  780. FROM piwigo_categories as c
  781.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  782.   LEFT JOIN piwigo_images AS i
  783.     ON ic.image_id = i.id
  784.       AND i.level<=0
  785.   GROUP BY c.id;
  786. # User@Host: lesiteweb[lesiteweb] @ localhost []
  787. # Query_time: 24.579292  Lock_time: 0.000202 Rows_sent: 954  Rows_examined: 126970
  788. SET timestamp=1391125564;
  789. SELECT c.id AS cat_id, id_uppercat,
  790.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  791. FROM piwigo_categories as c
  792.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  793.   LEFT JOIN piwigo_images AS i
  794.     ON ic.image_id = i.id
  795.       AND i.level<=0
  796.   GROUP BY c.id;
  797. # User@Host: lesiteweb[lesiteweb] @ localhost []
  798. # Query_time: 21.369607  Lock_time: 0.000169 Rows_sent: 954  Rows_examined: 126970
  799. SET timestamp=1391125564;
  800. SELECT c.id AS cat_id, id_uppercat,
  801.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  802. FROM piwigo_categories as c
  803.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  804.   LEFT JOIN piwigo_images AS i
  805.     ON ic.image_id = i.id
  806.       AND i.level<=0
  807.   GROUP BY c.id;
  808. # Time: 140131  0:46:36
  809. # User@Host: lesiteweb[lesiteweb] @ localhost []
  810. # Query_time: 25.264121  Lock_time: 1.209306 Rows_sent: 0  Rows_examined: 124114
  811. SET timestamp=1391125596;
  812. SELECT DISTINCT(id)
  813.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  814.   WHERE category_id NOT IN (0)
  815.     AND level>0;
  816. # Time: 140131  0:46:39
  817. # User@Host: lesiteweb[lesiteweb] @ localhost []
  818. # Query_time: 26.699553  Lock_time: 0.061509 Rows_sent: 0  Rows_examined: 124114
  819. SET timestamp=1391125599;
  820. SELECT DISTINCT(id)
  821.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  822.   WHERE category_id NOT IN (0)
  823.     AND level>0;
  824. # User@Host: lesiteweb[lesiteweb] @ localhost []
  825. # Query_time: 28.355768  Lock_time: 1.397375 Rows_sent: 0  Rows_examined: 124114
  826. SET timestamp=1391125599;
  827. SELECT DISTINCT(id)
  828.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  829.   WHERE category_id NOT IN (0)
  830.     AND level>0;
  831. # Time: 140131  0:46:40
  832. # User@Host: lesiteweb[lesiteweb] @ localhost []
  833. # Query_time: 27.835570  Lock_time: 0.253806 Rows_sent: 0  Rows_examined: 124114
  834. SET timestamp=1391125600;
  835. SELECT DISTINCT(id)
  836.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  837.   WHERE category_id NOT IN (0)
  838.     AND level>0;
  839. # User@Host: lesiteweb[lesiteweb] @ localhost []
  840. # Query_time: 28.236892  Lock_time: 0.473774 Rows_sent: 0  Rows_examined: 124114
  841. SET timestamp=1391125600;
  842. SELECT DISTINCT(id)
  843.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  844.   WHERE category_id NOT IN (0)
  845.     AND level>0;
  846. # Time: 140131  0:46:41
  847. # User@Host: lesiteweb[lesiteweb] @ localhost []
  848. # Query_time: 29.839923  Lock_time: 1.675001 Rows_sent: 0  Rows_examined: 124114
  849. SET timestamp=1391125601;
  850. SELECT DISTINCT(id)
  851.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  852.   WHERE category_id NOT IN (0)
  853.     AND level>0;
  854. # User@Host: lesiteweb[lesiteweb] @ localhost []
  855. # Query_time: 30.610033  Lock_time: 1.966305 Rows_sent: 0  Rows_examined: 124114
  856. SET timestamp=1391125601;
  857. SELECT DISTINCT(id)
  858.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  859.   WHERE category_id NOT IN (0)
  860.     AND level>0;
  861. # User@Host: lesiteweb[lesiteweb] @ localhost []
  862. # Query_time: 29.482252  Lock_time: 0.562739 Rows_sent: 0  Rows_examined: 124114
  863. SET timestamp=1391125601;
  864. SELECT DISTINCT(id)
  865.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  866.   WHERE category_id NOT IN (0)
  867.     AND level>0;
  868. # Time: 140131  0:46:42
  869. # User@Host: lesiteweb[lesiteweb] @ localhost []
  870. # Query_time: 29.652104  Lock_time: 0.000092 Rows_sent: 0  Rows_examined: 124114
  871. SET timestamp=1391125602;
  872. SELECT DISTINCT(id)
  873.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  874.   WHERE category_id NOT IN (0)
  875.     AND level>0;
  876. # Time: 140131  0:46:43
  877. # User@Host: lesiteweb[lesiteweb] @ localhost []
  878. # Query_time: 30.945201  Lock_time: 0.716672 Rows_sent: 0  Rows_examined: 124114
  879. SET timestamp=1391125603;
  880. SELECT DISTINCT(id)
  881.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  882.   WHERE category_id NOT IN (0)
  883.     AND level>0;
  884. # User@Host: lesiteweb[lesiteweb] @ localhost []
  885. # Query_time: 30.279328  Lock_time: 0.000041 Rows_sent: 0  Rows_examined: 124114
  886. SET timestamp=1391125603;
  887. SELECT DISTINCT(id)
  888.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  889.   WHERE category_id NOT IN (0)
  890.     AND level>0;
  891. # Time: 140131  0:46:44
  892. # User@Host: lesiteweb[lesiteweb] @ localhost []
  893. # Query_time: 31.555914  Lock_time: 0.000049 Rows_sent: 0  Rows_examined: 124114
  894. SET timestamp=1391125604;
  895. SELECT DISTINCT(id)
  896.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  897.   WHERE category_id NOT IN (0)
  898.     AND level>0;
  899. # Time: 140131  0:46:45
  900. # User@Host: lesiteweb[lesiteweb] @ localhost []
  901. # Query_time: 31.684929  Lock_time: 0.000057 Rows_sent: 0  Rows_examined: 124114
  902. SET timestamp=1391125605;
  903. SELECT DISTINCT(id)
  904.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  905.   WHERE category_id NOT IN (0)
  906.     AND level>0;
  907. # User@Host: lesiteweb[lesiteweb] @ localhost []
  908. # Query_time: 34.910187  Lock_time: 2.159383 Rows_sent: 954  Rows_examined: 126976
  909. SET timestamp=1391125605;
  910. SELECT c.id AS cat_id, id_uppercat,
  911.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  912. FROM piwigo_categories as c
  913.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  914.   LEFT JOIN piwigo_images AS i
  915.     ON ic.image_id = i.id
  916.       AND i.level<=0
  917.   GROUP BY c.id;
  918. # User@Host: lesiteweb[lesiteweb] @ localhost []
  919. # Query_time: 32.322438  Lock_time: 0.000052 Rows_sent: 0  Rows_examined: 124114
  920. SET timestamp=1391125605;
  921. SELECT DISTINCT(id)
  922.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  923.   WHERE category_id NOT IN (0)
  924.     AND level>0;
  925. # Time: 140131  0:46:46
  926. # User@Host: lesiteweb[lesiteweb] @ localhost []
  927. # Query_time: 33.312000  Lock_time: 0.011168 Rows_sent: 954  Rows_examined: 126976
  928. SET timestamp=1391125606;
  929. SELECT c.id AS cat_id, id_uppercat,
  930.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  931. FROM piwigo_categories as c
  932.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  933.   LEFT JOIN piwigo_images AS i
  934.     ON ic.image_id = i.id
  935.       AND i.level<=0
  936.   GROUP BY c.id;
  937. # User@Host: lesiteweb[lesiteweb] @ localhost []
  938. # Query_time: 32.424707  Lock_time: 0.000070 Rows_sent: 0  Rows_examined: 124114
  939. SET timestamp=1391125606;
  940. SELECT DISTINCT(id)
  941.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  942.   WHERE category_id NOT IN (0)
  943.     AND level>0;
  944. # User@Host: lesiteweb[lesiteweb] @ localhost []
  945. # Query_time: 33.498471  Lock_time: 0.053617 Rows_sent: 954  Rows_examined: 126976
  946. SET timestamp=1391125606;
  947. SELECT c.id AS cat_id, id_uppercat,
  948.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  949. FROM piwigo_categories as c
  950.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  951.   LEFT JOIN piwigo_images AS i
  952.     ON ic.image_id = i.id
  953.       AND i.level<=0
  954.   GROUP BY c.id;
  955. # User@Host: lesiteweb[lesiteweb] @ localhost []
  956. # Query_time: 32.633134  Lock_time: 0.000063 Rows_sent: 0  Rows_examined: 124114
  957. SET timestamp=1391125606;
  958. SELECT DISTINCT(id)
  959.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  960.   WHERE category_id NOT IN (0)
  961.     AND level>0;
  962. # User@Host: lesiteweb[lesiteweb] @ localhost []
  963. # Query_time: 33.656001  Lock_time: 0.000117 Rows_sent: 954  Rows_examined: 126976
  964. SET timestamp=1391125606;
  965. SELECT c.id AS cat_id, id_uppercat,
  966.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  967. FROM piwigo_categories as c
  968.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  969.   LEFT JOIN piwigo_images AS i
  970.     ON ic.image_id = i.id
  971.       AND i.level<=0
  972.   GROUP BY c.id;
  973. # User@Host: lesiteweb[lesiteweb] @ localhost []
  974. # Query_time: 32.722113  Lock_time: 0.000063 Rows_sent: 0  Rows_examined: 124114
  975. SET timestamp=1391125606;
  976. SELECT DISTINCT(id)
  977.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  978.   WHERE category_id NOT IN (0)
  979.     AND level>0;
  980. # User@Host: lesiteweb[lesiteweb] @ localhost []
  981. # Query_time: 34.134028  Lock_time: 0.077133 Rows_sent: 954  Rows_examined: 126976
  982. SET timestamp=1391125606;
  983. SELECT c.id AS cat_id, id_uppercat,
  984.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  985. FROM piwigo_categories as c
  986.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  987.   LEFT JOIN piwigo_images AS i
  988.     ON ic.image_id = i.id
  989.       AND i.level<=0
  990.   GROUP BY c.id;
  991. # Time: 140131  0:46:47
  992. # User@Host: lesiteweb[lesiteweb] @ localhost []
  993. # Query_time: 32.865457  Lock_time: 0.000048 Rows_sent: 0  Rows_examined: 124114
  994. SET timestamp=1391125607;
  995. SELECT DISTINCT(id)
  996.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  997.   WHERE category_id NOT IN (0)
  998.     AND level>0;
  999. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1000. # Query_time: 33.258772  Lock_time: 0.000073 Rows_sent: 0  Rows_examined: 124114
  1001. SET timestamp=1391125607;
  1002. SELECT DISTINCT(id)
  1003.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1004.   WHERE category_id NOT IN (0)
  1005.     AND level>0;
  1006. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1007. # Query_time: 32.924467  Lock_time: 0.000064 Rows_sent: 0  Rows_examined: 124114
  1008. SET timestamp=1391125607;
  1009. SELECT DISTINCT(id)
  1010.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1011.   WHERE category_id NOT IN (0)
  1012.     AND level>0;
  1013. # Time: 140131  0:46:48
  1014. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1015. # Query_time: 35.163388  Lock_time: 0.042558 Rows_sent: 954  Rows_examined: 126976
  1016. SET timestamp=1391125608;
  1017. SELECT c.id AS cat_id, id_uppercat,
  1018.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1019. FROM piwigo_categories as c
  1020.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1021.   LEFT JOIN piwigo_images AS i
  1022.     ON ic.image_id = i.id
  1023.       AND i.level<=0
  1024.   GROUP BY c.id;
  1025. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1026. # Query_time: 35.800682  Lock_time: 0.003124 Rows_sent: 954  Rows_examined: 126976
  1027. SET timestamp=1391125608;
  1028. SELECT c.id AS cat_id, id_uppercat,
  1029.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1030. FROM piwigo_categories as c
  1031.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1032.   LEFT JOIN piwigo_images AS i
  1033.     ON ic.image_id = i.id
  1034.       AND i.level<=0
  1035.   GROUP BY c.id;
  1036. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1037. # Query_time: 34.882053  Lock_time: 0.000074 Rows_sent: 0  Rows_examined: 124114
  1038. SET timestamp=1391125608;
  1039. SELECT DISTINCT(id)
  1040.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1041.   WHERE category_id NOT IN (0)
  1042.     AND level>0;
  1043. # Time: 140131  0:46:49
  1044. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1045. # Query_time: 36.114173  Lock_time: 0.017736 Rows_sent: 954  Rows_examined: 126976
  1046. SET timestamp=1391125609;
  1047. SELECT c.id AS cat_id, id_uppercat,
  1048.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1049. FROM piwigo_categories as c
  1050.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1051.   LEFT JOIN piwigo_images AS i
  1052.     ON ic.image_id = i.id
  1053.       AND i.level<=0
  1054.   GROUP BY c.id;
  1055. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1056. # Query_time: 34.960887  Lock_time: 0.000072 Rows_sent: 0  Rows_examined: 124114
  1057. SET timestamp=1391125609;
  1058. SELECT DISTINCT(id)
  1059.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1060.   WHERE category_id NOT IN (0)
  1061.     AND level>0;
  1062. # Time: 140131  0:46:50
  1063. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1064. # Query_time: 36.027267  Lock_time: 0.000062 Rows_sent: 0  Rows_examined: 124114
  1065. SET timestamp=1391125610;
  1066. SELECT DISTINCT(id)
  1067.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1068.   WHERE category_id NOT IN (0)
  1069.     AND level>0;
  1070. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1071. # Query_time: 36.373837  Lock_time: 0.000072 Rows_sent: 0  Rows_examined: 124114
  1072. SET timestamp=1391125610;
  1073. SELECT DISTINCT(id)
  1074.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1075.   WHERE category_id NOT IN (0)
  1076.     AND level>0;
  1077. # Time: 140131  0:46:51
  1078. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1079. # Query_time: 36.059420  Lock_time: 0.000079 Rows_sent: 0  Rows_examined: 124114
  1080. SET timestamp=1391125611;
  1081. SELECT DISTINCT(id)
  1082.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1083.   WHERE category_id NOT IN (0)
  1084.     AND level>0;
  1085. # Time: 140131  0:46:52
  1086. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1087. # Query_time: 37.250862  Lock_time: 0.000058 Rows_sent: 0  Rows_examined: 124114
  1088. SET timestamp=1391125612;
  1089. SELECT DISTINCT(id)
  1090.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1091.   WHERE category_id NOT IN (0)
  1092.     AND level>0;
  1093. # Time: 140131  0:46:53
  1094. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1095. # Query_time: 37.891030  Lock_time: 0.000072 Rows_sent: 0  Rows_examined: 124114
  1096. SET timestamp=1391125613;
  1097. SELECT DISTINCT(id)
  1098.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1099.   WHERE category_id NOT IN (0)
  1100.     AND level>0;
  1101. # Time: 140131  0:46:54
  1102. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1103. # Query_time: 37.664361  Lock_time: 0.000045 Rows_sent: 0  Rows_examined: 124114
  1104. SET timestamp=1391125614;
  1105. SELECT DISTINCT(id)
  1106.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1107.   WHERE category_id NOT IN (0)
  1108.     AND level>0;
  1109. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1110. # Query_time: 37.955342  Lock_time: 0.000070 Rows_sent: 0  Rows_examined: 124114
  1111. SET timestamp=1391125614;
  1112. SELECT DISTINCT(id)
  1113.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1114.   WHERE category_id NOT IN (0)
  1115.     AND level>0;
  1116. # Time: 140131  0:46:55
  1117. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1118. # Query_time: 39.068653  Lock_time: 0.000065 Rows_sent: 0  Rows_examined: 124114
  1119. SET timestamp=1391125615;
  1120. SELECT DISTINCT(id)
  1121.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1122.   WHERE category_id NOT IN (0)
  1123.     AND level>0;
  1124. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1125. # Query_time: 39.784974  Lock_time: 0.000055 Rows_sent: 0  Rows_examined: 124114
  1126. SET timestamp=1391125615;
  1127. SELECT DISTINCT(id)
  1128.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1129.   WHERE category_id NOT IN (0)
  1130.     AND level>0;
  1131. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1132. # Query_time: 39.614245  Lock_time: 0.000068 Rows_sent: 0  Rows_examined: 124114
  1133. SET timestamp=1391125615;
  1134. SELECT DISTINCT(id)
  1135.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1136.   WHERE category_id NOT IN (0)
  1137.     AND level>0;
  1138. # Time: 140131  0:46:56
  1139. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1140. # Query_time: 37.951571  Lock_time: 0.000095 Rows_sent: 0  Rows_examined: 124114
  1141. SET timestamp=1391125616;
  1142. SELECT DISTINCT(id)
  1143.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1144.   WHERE category_id NOT IN (0)
  1145.     AND level>0;
  1146. # Time: 140131  0:46:57
  1147. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1148. # Query_time: 39.259990  Lock_time: 0.000047 Rows_sent: 0  Rows_examined: 124114
  1149. SET timestamp=1391125617;
  1150. SELECT DISTINCT(id)
  1151.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1152.   WHERE category_id NOT IN (0)
  1153.     AND level>0;
  1154. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1155. # Query_time: 40.751800  Lock_time: 0.000068 Rows_sent: 0  Rows_examined: 124114
  1156. SET timestamp=1391125617;
  1157. SELECT DISTINCT(id)
  1158.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1159.   WHERE category_id NOT IN (0)
  1160.     AND level>0;
  1161. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1162. # Query_time: 39.595558  Lock_time: 0.000058 Rows_sent: 0  Rows_examined: 124114
  1163. SET timestamp=1391125617;
  1164. SELECT DISTINCT(id)
  1165.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1166.   WHERE category_id NOT IN (0)
  1167.     AND level>0;
  1168. # Time: 140131  0:46:58
  1169. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1170. # Query_time: 40.440036  Lock_time: 0.000071 Rows_sent: 0  Rows_examined: 124114
  1171. SET timestamp=1391125618;
  1172. SELECT DISTINCT(id)
  1173.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1174.   WHERE category_id NOT IN (0)
  1175.     AND level>0;
  1176. # Time: 140131  0:47:00
  1177. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1178. # Query_time: 39.554969  Lock_time: 0.000058 Rows_sent: 0  Rows_examined: 124114
  1179. SET timestamp=1391125620;
  1180. SELECT DISTINCT(id)
  1181.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1182.   WHERE category_id NOT IN (0)
  1183.     AND level>0;
  1184. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1185. # Query_time: 41.129477  Lock_time: 0.000067 Rows_sent: 0  Rows_examined: 124114
  1186. SET timestamp=1391125620;
  1187. SELECT DISTINCT(id)
  1188.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1189.   WHERE category_id NOT IN (0)
  1190.     AND level>0;
  1191. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1192. # Query_time: 40.311865  Lock_time: 0.000062 Rows_sent: 0  Rows_examined: 124114
  1193. SET timestamp=1391125620;
  1194. SELECT DISTINCT(id)
  1195.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1196.   WHERE category_id NOT IN (0)
  1197.     AND level>0;
  1198. # Time: 140131  0:47:01
  1199. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1200. # Query_time: 40.534280  Lock_time: 0.000058 Rows_sent: 0  Rows_examined: 124114
  1201. SET timestamp=1391125621;
  1202. SELECT DISTINCT(id)
  1203.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1204.   WHERE category_id NOT IN (0)
  1205.     AND level>0;
  1206. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1207. # Query_time: 41.526514  Lock_time: 0.000068 Rows_sent: 0  Rows_examined: 124114
  1208. SET timestamp=1391125621;
  1209. SELECT DISTINCT(id)
  1210.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1211.   WHERE category_id NOT IN (0)
  1212.     AND level>0;
  1213. # Time: 140131  0:47:03
  1214. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1215. # Query_time: 41.247432  Lock_time: 0.000066 Rows_sent: 0  Rows_examined: 124114
  1216. SET timestamp=1391125623;
  1217. SELECT DISTINCT(id)
  1218.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1219.   WHERE category_id NOT IN (0)
  1220.     AND level>0;
  1221. # Time: 140131  0:47:04
  1222. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1223. # Query_time: 40.061249  Lock_time: 0.000071 Rows_sent: 0  Rows_examined: 124114
  1224. SET timestamp=1391125624;
  1225. SELECT DISTINCT(id)
  1226.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1227.   WHERE category_id NOT IN (0)
  1228.     AND level>0;
  1229. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1230. # Query_time: 40.515108  Lock_time: 0.000066 Rows_sent: 0  Rows_examined: 124114
  1231. SET timestamp=1391125624;
  1232. SELECT DISTINCT(id)
  1233.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1234.   WHERE category_id NOT IN (0)
  1235.     AND level>0;
  1236. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1237. # Query_time: 40.447544  Lock_time: 0.000057 Rows_sent: 0  Rows_examined: 124114
  1238. SET timestamp=1391125624;
  1239. SELECT DISTINCT(id)
  1240.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1241.   WHERE category_id NOT IN (0)
  1242.     AND level>0;
  1243. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1244. # Query_time: 40.289192  Lock_time: 0.000057 Rows_sent: 0  Rows_examined: 124114
  1245. SET timestamp=1391125624;
  1246. SELECT DISTINCT(id)
  1247.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1248.   WHERE category_id NOT IN (0)
  1249.     AND level>0;
  1250. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1251. # Query_time: 40.225999  Lock_time: 0.000048 Rows_sent: 0  Rows_examined: 124114
  1252. SET timestamp=1391125624;
  1253. SELECT DISTINCT(id)
  1254.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1255.   WHERE category_id NOT IN (0)
  1256.     AND level>0;
  1257. # Time: 140131  0:47:05
  1258. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1259. # Query_time: 41.842666  Lock_time: 0.000061 Rows_sent: 0  Rows_examined: 124114
  1260. SET timestamp=1391125625;
  1261. SELECT DISTINCT(id)
  1262.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1263.   WHERE category_id NOT IN (0)
  1264.     AND level>0;
  1265. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1266. # Query_time: 39.614133  Lock_time: 0.000055 Rows_sent: 0  Rows_examined: 124114
  1267. SET timestamp=1391125625;
  1268. SELECT DISTINCT(id)
  1269.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1270.   WHERE category_id NOT IN (0)
  1271.     AND level>0;
  1272. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1273. # Query_time: 43.134134  Lock_time: 0.000070 Rows_sent: 0  Rows_examined: 124114
  1274. SET timestamp=1391125625;
  1275. SELECT DISTINCT(id)
  1276.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1277.   WHERE category_id NOT IN (0)
  1278.     AND level>0;
  1279. # Time: 140131  0:47:06
  1280. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1281. # Query_time: 41.363185  Lock_time: 0.000069 Rows_sent: 0  Rows_examined: 124114
  1282. SET timestamp=1391125626;
  1283. SELECT DISTINCT(id)
  1284.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1285.   WHERE category_id NOT IN (0)
  1286.     AND level>0;
  1287. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1288. # Query_time: 40.281606  Lock_time: 0.000043 Rows_sent: 0  Rows_examined: 124114
  1289. SET timestamp=1391125626;
  1290. SELECT DISTINCT(id)
  1291.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1292.   WHERE category_id NOT IN (0)
  1293.     AND level>0;
  1294. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1295. # Query_time: 41.214466  Lock_time: 0.000057 Rows_sent: 0  Rows_examined: 124114
  1296. SET timestamp=1391125626;
  1297. SELECT DISTINCT(id)
  1298.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1299.   WHERE category_id NOT IN (0)
  1300.     AND level>0;
  1301. # Time: 140131  0:47:07
  1302. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1303. # Query_time: 41.791762  Lock_time: 0.000061 Rows_sent: 0  Rows_examined: 124114
  1304. SET timestamp=1391125627;
  1305. SELECT DISTINCT(id)
  1306.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1307.   WHERE category_id NOT IN (0)
  1308.     AND level>0;
  1309. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1310. # Query_time: 40.035470  Lock_time: 0.000055 Rows_sent: 0  Rows_examined: 124114
  1311. SET timestamp=1391125627;
  1312. SELECT DISTINCT(id)
  1313.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1314.   WHERE category_id NOT IN (0)
  1315.     AND level>0;
  1316. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1317. # Query_time: 40.645301  Lock_time: 0.000052 Rows_sent: 0  Rows_examined: 124114
  1318. SET timestamp=1391125627;
  1319. SELECT DISTINCT(id)
  1320.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1321.   WHERE category_id NOT IN (0)
  1322.     AND level>0;
  1323. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1324. # Query_time: 40.629982  Lock_time: 0.000063 Rows_sent: 0  Rows_examined: 124114
  1325. SET timestamp=1391125627;
  1326. SELECT DISTINCT(id)
  1327.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1328.   WHERE category_id NOT IN (0)
  1329.     AND level>0;
  1330. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1331. # Query_time: 40.451843  Lock_time: 0.000067 Rows_sent: 0  Rows_examined: 124114
  1332. SET timestamp=1391125627;
  1333. SELECT DISTINCT(id)
  1334.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1335.   WHERE category_id NOT IN (0)
  1336.     AND level>0;
  1337. # Time: 140131  0:47:08
  1338. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1339. # Query_time: 38.783322  Lock_time: 0.000066 Rows_sent: 0  Rows_examined: 124114
  1340. SET timestamp=1391125628;
  1341. SELECT DISTINCT(id)
  1342.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1343.   WHERE category_id NOT IN (0)
  1344.     AND level>0;
  1345. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1346. # Query_time: 38.616679  Lock_time: 0.000055 Rows_sent: 0  Rows_examined: 124114
  1347. SET timestamp=1391125628;
  1348. SELECT DISTINCT(id)
  1349.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1350.   WHERE category_id NOT IN (0)
  1351.     AND level>0;
  1352. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1353. # Query_time: 38.804495  Lock_time: 0.000107 Rows_sent: 0  Rows_examined: 124114
  1354. SET timestamp=1391125628;
  1355. SELECT DISTINCT(id)
  1356.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1357.   WHERE category_id NOT IN (0)
  1358.     AND level>0;
  1359. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1360. # Query_time: 39.272913  Lock_time: 0.000073 Rows_sent: 0  Rows_examined: 124114
  1361. SET timestamp=1391125628;
  1362. SELECT DISTINCT(id)
  1363.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1364.   WHERE category_id NOT IN (0)
  1365.     AND level>0;
  1366. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1367. # Query_time: 37.305397  Lock_time: 0.000104 Rows_sent: 0  Rows_examined: 124114
  1368. SET timestamp=1391125628;
  1369. SELECT DISTINCT(id)
  1370.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1371.   WHERE category_id NOT IN (0)
  1372.     AND level>0;
  1373. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1374. # Query_time: 38.078305  Lock_time: 0.000148 Rows_sent: 0  Rows_examined: 124114
  1375. SET timestamp=1391125628;
  1376. SELECT DISTINCT(id)
  1377.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1378.   WHERE category_id NOT IN (0)
  1379.     AND level>0;
  1380. # Time: 140131  0:47:09
  1381. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1382. # Query_time: 37.993313  Lock_time: 0.000147 Rows_sent: 0  Rows_examined: 124114
  1383. SET timestamp=1391125629;
  1384. SELECT DISTINCT(id)
  1385.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1386.   WHERE category_id NOT IN (0)
  1387.     AND level>0;
  1388. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1389. # Query_time: 37.967822  Lock_time: 0.000105 Rows_sent: 0  Rows_examined: 124114
  1390. SET timestamp=1391125629;
  1391. SELECT DISTINCT(id)
  1392.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1393.   WHERE category_id NOT IN (0)
  1394.     AND level>0;
  1395. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1396. # Query_time: 37.684032  Lock_time: 0.000126 Rows_sent: 0  Rows_examined: 124114
  1397. SET timestamp=1391125629;
  1398. SELECT DISTINCT(id)
  1399.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1400.   WHERE category_id NOT IN (0)
  1401.     AND level>0;
  1402. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1403. # Query_time: 38.267886  Lock_time: 0.000123 Rows_sent: 0  Rows_examined: 124114
  1404. SET timestamp=1391125629;
  1405. SELECT DISTINCT(id)
  1406.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1407.   WHERE category_id NOT IN (0)
  1408.     AND level>0;
  1409. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1410. # Query_time: 36.397921  Lock_time: 0.000141 Rows_sent: 0  Rows_examined: 124114
  1411. SET timestamp=1391125629;
  1412. SELECT DISTINCT(id)
  1413.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1414.   WHERE category_id NOT IN (0)
  1415.     AND level>0;
  1416. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1417. # Query_time: 36.422448  Lock_time: 0.000246 Rows_sent: 0  Rows_examined: 124114
  1418. SET timestamp=1391125629;
  1419. SELECT DISTINCT(id)
  1420.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1421.   WHERE category_id NOT IN (0)
  1422.     AND level>0;
  1423. # Time: 140131  0:47:10
  1424. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1425. # Query_time: 36.542604  Lock_time: 0.000154 Rows_sent: 0  Rows_examined: 124114
  1426. SET timestamp=1391125630;
  1427. SELECT DISTINCT(id)
  1428.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1429.   WHERE category_id NOT IN (0)
  1430.     AND level>0;
  1431. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1432. # Query_time: 38.655692  Lock_time: 0.016146 Rows_sent: 0  Rows_examined: 124114
  1433. SET timestamp=1391125630;
  1434. SELECT DISTINCT(id)
  1435.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1436.   WHERE category_id NOT IN (0)
  1437.     AND level>0;
  1438. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1439. # Query_time: 35.979880  Lock_time: 0.000150 Rows_sent: 0  Rows_examined: 124114
  1440. SET timestamp=1391125630;
  1441. SELECT DISTINCT(id)
  1442.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1443.   WHERE category_id NOT IN (0)
  1444.     AND level>0;
  1445. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1446. # Query_time: 33.197223  Lock_time: 0.002248 Rows_sent: 0  Rows_examined: 124114
  1447. SET timestamp=1391125630;
  1448. SELECT DISTINCT(id)
  1449.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1450.   WHERE category_id NOT IN (0)
  1451.     AND level>0;
  1452. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1453. # Query_time: 32.724782  Lock_time: 0.000135 Rows_sent: 0  Rows_examined: 124114
  1454. SET timestamp=1391125630;
  1455. SELECT DISTINCT(id)
  1456.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1457.   WHERE category_id NOT IN (0)
  1458.     AND level>0;
  1459. # Time: 140131  0:47:11
  1460. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1461. # Query_time: 30.526453  Lock_time: 0.000161 Rows_sent: 0  Rows_examined: 124114
  1462. SET timestamp=1391125631;
  1463. SELECT DISTINCT(id)
  1464.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1465.   WHERE category_id NOT IN (0)
  1466.     AND level>0;
  1467. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1468. # Query_time: 33.685766  Lock_time: 0.000148 Rows_sent: 0  Rows_examined: 124114
  1469. SET timestamp=1391125631;
  1470. SELECT DISTINCT(id)
  1471.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1472.   WHERE category_id NOT IN (0)
  1473.     AND level>0;
  1474. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1475. # Query_time: 32.880421  Lock_time: 0.000193 Rows_sent: 0  Rows_examined: 124114
  1476. SET timestamp=1391125631;
  1477. SELECT DISTINCT(id)
  1478.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1479.   WHERE category_id NOT IN (0)
  1480.     AND level>0;
  1481. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1482. # Query_time: 35.542911  Lock_time: 0.000142 Rows_sent: 0  Rows_examined: 124114
  1483. SET timestamp=1391125631;
  1484. SELECT DISTINCT(id)
  1485.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1486.   WHERE category_id NOT IN (0)
  1487.     AND level>0;
  1488. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1489. # Query_time: 34.577201  Lock_time: 0.000165 Rows_sent: 0  Rows_examined: 124114
  1490. SET timestamp=1391125631;
  1491. SELECT DISTINCT(id)
  1492.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1493.   WHERE category_id NOT IN (0)
  1494.     AND level>0;
  1495. # Time: 140131  0:47:12
  1496. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1497. # Query_time: 35.188545  Lock_time: 0.000106 Rows_sent: 954  Rows_examined: 126976
  1498. SET timestamp=1391125632;
  1499. SELECT c.id AS cat_id, id_uppercat,
  1500.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1501. FROM piwigo_categories as c
  1502.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1503.   LEFT JOIN piwigo_images AS i
  1504.     ON ic.image_id = i.id
  1505.       AND i.level<=0
  1506.   GROUP BY c.id;
  1507. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1508. # Query_time: 30.946286  Lock_time: 0.000119 Rows_sent: 954  Rows_examined: 126976
  1509. SET timestamp=1391125632;
  1510. SELECT c.id AS cat_id, id_uppercat,
  1511.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1512. FROM piwigo_categories as c
  1513.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1514.   LEFT JOIN piwigo_images AS i
  1515.     ON ic.image_id = i.id
  1516.       AND i.level<=0
  1517.   GROUP BY c.id;
  1518. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1519. # Query_time: 32.995535  Lock_time: 0.000092 Rows_sent: 954  Rows_examined: 126976
  1520. SET timestamp=1391125632;
  1521. SELECT c.id AS cat_id, id_uppercat,
  1522.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1523. FROM piwigo_categories as c
  1524.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1525.   LEFT JOIN piwigo_images AS i
  1526.     ON ic.image_id = i.id
  1527.       AND i.level<=0
  1528.   GROUP BY c.id;
  1529. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1530. # Query_time: 55.995979  Lock_time: 0.000055 Rows_sent: 0  Rows_examined: 0
  1531. SET timestamp=1391125632;
  1532. INSERT INTO piwigo_images
  1533.   (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  1534.   VALUES('what-www.lesiteweb.net-24.jpg','what-www.lesiteweb.net-24','2014-01-31 00:46:14','./upload/2014/01/31/20140131004614-4726de0a.jpg','351','1063','1500','4726de0adca382b9d04c975dd84d5ce4','1','0','0');
  1535. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1536. # Query_time: 32.729680  Lock_time: 0.000125 Rows_sent: 954  Rows_examined: 126976
  1537. SET timestamp=1391125632;
  1538. SELECT c.id AS cat_id, id_uppercat,
  1539.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1540. FROM piwigo_categories as c
  1541.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1542.   LEFT JOIN piwigo_images AS i
  1543.     ON ic.image_id = i.id
  1544.       AND i.level<=0
  1545.   GROUP BY c.id;
  1546. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1547. # Query_time: 31.960845  Lock_time: 0.000114 Rows_sent: 954  Rows_examined: 126976
  1548. SET timestamp=1391125632;
  1549. SELECT c.id AS cat_id, id_uppercat,
  1550.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1551. FROM piwigo_categories as c
  1552.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1553.   LEFT JOIN piwigo_images AS i
  1554.     ON ic.image_id = i.id
  1555.       AND i.level<=0
  1556.   GROUP BY c.id;
  1557. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1558. # Query_time: 29.512756  Lock_time: 0.000107 Rows_sent: 954  Rows_examined: 126976
  1559. SET timestamp=1391125632;
  1560. SELECT c.id AS cat_id, id_uppercat,
  1561.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1562. FROM piwigo_categories as c
  1563.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1564.   LEFT JOIN piwigo_images AS i
  1565.     ON ic.image_id = i.id
  1566.       AND i.level<=0
  1567.   GROUP BY c.id;
  1568. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1569. # Query_time: 32.286973  Lock_time: 0.000106 Rows_sent: 954  Rows_examined: 126976
  1570. SET timestamp=1391125632;
  1571. SELECT c.id AS cat_id, id_uppercat,
  1572.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1573. FROM piwigo_categories as c
  1574.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1575.   LEFT JOIN piwigo_images AS i
  1576.     ON ic.image_id = i.id
  1577.       AND i.level<=0
  1578.   GROUP BY c.id;
  1579. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1580. # Query_time: 31.770975  Lock_time: 0.000132 Rows_sent: 954  Rows_examined: 126976
  1581. SET timestamp=1391125632;
  1582. SELECT c.id AS cat_id, id_uppercat,
  1583.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1584. FROM piwigo_categories as c
  1585.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1586.   LEFT JOIN piwigo_images AS i
  1587.     ON ic.image_id = i.id
  1588.       AND i.level<=0
  1589.   GROUP BY c.id;
  1590. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1591. # Query_time: 29.488213  Lock_time: 0.000112 Rows_sent: 954  Rows_examined: 126976
  1592. SET timestamp=1391125632;
  1593. SELECT c.id AS cat_id, id_uppercat,
  1594.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1595. FROM piwigo_categories as c
  1596.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1597.   LEFT JOIN piwigo_images AS i
  1598.     ON ic.image_id = i.id
  1599.       AND i.level<=0
  1600.   GROUP BY c.id;
  1601. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1602. # Query_time: 29.972516  Lock_time: 0.000100 Rows_sent: 954  Rows_examined: 126976
  1603. SET timestamp=1391125632;
  1604. SELECT c.id AS cat_id, id_uppercat,
  1605.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1606. FROM piwigo_categories as c
  1607.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1608.   LEFT JOIN piwigo_images AS i
  1609.     ON ic.image_id = i.id
  1610.       AND i.level<=0
  1611.   GROUP BY c.id;
  1612. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1613. # Query_time: 29.404046  Lock_time: 0.003961 Rows_sent: 954  Rows_examined: 126976
  1614. SET timestamp=1391125632;
  1615. SELECT c.id AS cat_id, id_uppercat,
  1616.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1617. FROM piwigo_categories as c
  1618.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1619.   LEFT JOIN piwigo_images AS i
  1620.     ON ic.image_id = i.id
  1621.       AND i.level<=0
  1622.   GROUP BY c.id;
  1623. # Time: 140131  0:47:13
  1624. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1625. # Query_time: 28.066575  Lock_time: 0.000068 Rows_sent: 954  Rows_examined: 126976
  1626. SET timestamp=1391125633;
  1627. SELECT c.id AS cat_id, id_uppercat,
  1628.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1629. FROM piwigo_categories as c
  1630.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1631.   LEFT JOIN piwigo_images AS i
  1632.     ON ic.image_id = i.id
  1633.       AND i.level<=0
  1634.   GROUP BY c.id;
  1635. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1636. # Query_time: 31.167235  Lock_time: 0.000118 Rows_sent: 954  Rows_examined: 126976
  1637. SET timestamp=1391125633;
  1638. SELECT c.id AS cat_id, id_uppercat,
  1639.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1640. FROM piwigo_categories as c
  1641.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1642.   LEFT JOIN piwigo_images AS i
  1643.     ON ic.image_id = i.id
  1644.       AND i.level<=0
  1645.   GROUP BY c.id;
  1646. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1647. # Query_time: 28.351702  Lock_time: 0.000160 Rows_sent: 954  Rows_examined: 126976
  1648. SET timestamp=1391125633;
  1649. SELECT c.id AS cat_id, id_uppercat,
  1650.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1651. FROM piwigo_categories as c
  1652.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1653.   LEFT JOIN piwigo_images AS i
  1654.     ON ic.image_id = i.id
  1655.       AND i.level<=0
  1656.   GROUP BY c.id;
  1657. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1658. # Query_time: 27.905704  Lock_time: 0.000183 Rows_sent: 954  Rows_examined: 126976
  1659. SET timestamp=1391125633;
  1660. SELECT c.id AS cat_id, id_uppercat,
  1661.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1662. FROM piwigo_categories as c
  1663.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1664.   LEFT JOIN piwigo_images AS i
  1665.     ON ic.image_id = i.id
  1666.       AND i.level<=0
  1667.   GROUP BY c.id;
  1668. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1669. # Query_time: 27.381491  Lock_time: 0.000090 Rows_sent: 954  Rows_examined: 126976
  1670. SET timestamp=1391125633;
  1671. SELECT c.id AS cat_id, id_uppercat,
  1672.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1673. FROM piwigo_categories as c
  1674.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1675.   LEFT JOIN piwigo_images AS i
  1676.     ON ic.image_id = i.id
  1677.       AND i.level<=0
  1678.   GROUP BY c.id;
  1679. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1680. # Query_time: 27.914024  Lock_time: 0.000263 Rows_sent: 954  Rows_examined: 126976
  1681. SET timestamp=1391125633;
  1682. SELECT c.id AS cat_id, id_uppercat,
  1683.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1684. FROM piwigo_categories as c
  1685.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1686.   LEFT JOIN piwigo_images AS i
  1687.     ON ic.image_id = i.id
  1688.       AND i.level<=0
  1689.   GROUP BY c.id;
  1690. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1691. # Query_time: 27.822946  Lock_time: 0.000076 Rows_sent: 954  Rows_examined: 126976
  1692. SET timestamp=1391125633;
  1693. SELECT c.id AS cat_id, id_uppercat,
  1694.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1695. FROM piwigo_categories as c
  1696.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1697.   LEFT JOIN piwigo_images AS i
  1698.     ON ic.image_id = i.id
  1699.       AND i.level<=0
  1700.   GROUP BY c.id;
  1701. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1702. # Query_time: 26.932495  Lock_time: 0.000109 Rows_sent: 954  Rows_examined: 126976
  1703. SET timestamp=1391125633;
  1704. SELECT c.id AS cat_id, id_uppercat,
  1705.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1706. FROM piwigo_categories as c
  1707.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1708.   LEFT JOIN piwigo_images AS i
  1709.     ON ic.image_id = i.id
  1710.       AND i.level<=0
  1711.   GROUP BY c.id;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement