Advertisement
Guest User

mysql slow-slow

a guest
Feb 12th, 2014
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 148.93 KB | None | 0 0
  1. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2. # Query_time: 46.002059  Lock_time: 0.000073 Rows_sent: 0  Rows_examined: 0
  3. SET timestamp=1392161475;
  4. INSERT INTO piwigo_images
  5.   (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  6.   VALUES('jardins-119.jpg','jardins-119','2014-02-12 00:30:27','./upload/2014/02/12/20140212003027-51fc847d.jpg','459','1039','1500','51fc847db89bb88612613f706eb192a3','1','0','0');
  7. # User@Host: lesiteweb[lesiteweb] @ localhost []
  8. # Query_time: 15.357038  Lock_time: 0.000089 Rows_sent: 982  Rows_examined: 131778
  9. SET timestamp=1392161475;
  10. SELECT c.id AS cat_id, id_uppercat,
  11.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  12. FROM piwigo_categories as c
  13.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  14.   LEFT JOIN piwigo_images AS i
  15.     ON ic.image_id = i.id
  16.       AND i.level<=0
  17.   GROUP BY c.id;
  18. # User@Host: lesiteweb[lesiteweb] @ localhost []
  19. # Query_time: 16.493482  Lock_time: 0.000096 Rows_sent: 982  Rows_examined: 131778
  20. SET timestamp=1392161475;
  21. SELECT c.id AS cat_id, id_uppercat,
  22.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  23. FROM piwigo_categories as c
  24.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  25.   LEFT JOIN piwigo_images AS i
  26.     ON ic.image_id = i.id
  27.       AND i.level<=0
  28.   GROUP BY c.id;
  29. # User@Host: lesiteweb[lesiteweb] @ localhost []
  30. # Query_time: 15.002069  Lock_time: 0.000090 Rows_sent: 982  Rows_examined: 131778
  31. SET timestamp=1392161475;
  32. SELECT c.id AS cat_id, id_uppercat,
  33.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  34. FROM piwigo_categories as c
  35.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  36.   LEFT JOIN piwigo_images AS i
  37.     ON ic.image_id = i.id
  38.       AND i.level<=0
  39.   GROUP BY c.id;
  40. # User@Host: lesiteweb[lesiteweb] @ localhost []
  41. # Query_time: 15.414250  Lock_time: 0.000108 Rows_sent: 982  Rows_examined: 131778
  42. SET timestamp=1392161475;
  43. SELECT c.id AS cat_id, id_uppercat,
  44.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  45. FROM piwigo_categories as c
  46.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  47.   LEFT JOIN piwigo_images AS i
  48.     ON ic.image_id = i.id
  49.       AND i.level<=0
  50.   GROUP BY c.id;
  51. # Time: 140212  0:31:21
  52. # User@Host: lesiteweb[lesiteweb] @ localhost []
  53. # Query_time: 17.954668  Lock_time: 0.000094 Rows_sent: 64395  Rows_examined: 257622
  54. SET timestamp=1392161481;
  55. SELECT DISTINCT(image_id)
  56.   FROM piwigo_image_category
  57.     INNER JOIN piwigo_images ON id = image_id
  58.   WHERE
  59.     1=1
  60. AND (category_id NOT IN (40,41,42,43,97,143,310,680,965) AND level<=0)
  61.   ORDER BY file ASC;
  62. # Time: 140212  0:31:29
  63. # User@Host: lesiteweb[lesiteweb] @ localhost []
  64. # Query_time: 11.855349  Lock_time: 0.000069 Rows_sent: 21  Rows_examined: 128857
  65. SET timestamp=1392161489;
  66. SELECT DISTINCT(id)
  67.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  68.   WHERE category_id NOT IN (0)
  69.     AND level>0;
  70. # User@Host: lesiteweb[lesiteweb] @ localhost []
  71. # Query_time: 11.931069  Lock_time: 0.000040 Rows_sent: 21  Rows_examined: 128857
  72. SET timestamp=1392161489;
  73. SELECT DISTINCT(id)
  74.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  75.   WHERE category_id NOT IN (0)
  76.     AND level>0;
  77. # User@Host: lesiteweb[lesiteweb] @ localhost []
  78. # Query_time: 12.204346  Lock_time: 0.000056 Rows_sent: 21  Rows_examined: 128857
  79. SET timestamp=1392161489;
  80. SELECT DISTINCT(id)
  81.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  82.   WHERE category_id NOT IN (0)
  83.     AND level>0;
  84. # Time: 140212  0:31:30
  85. # User@Host: lesiteweb[lesiteweb] @ localhost []
  86. # Query_time: 12.291953  Lock_time: 0.000046 Rows_sent: 21  Rows_examined: 128857
  87. SET timestamp=1392161490;
  88. SELECT DISTINCT(id)
  89.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  90.   WHERE category_id NOT IN (0)
  91.     AND level>0;
  92. # User@Host: lesiteweb[lesiteweb] @ localhost []
  93. # Query_time: 12.503407  Lock_time: 0.000090 Rows_sent: 21  Rows_examined: 128857
  94. SET timestamp=1392161490;
  95. SELECT DISTINCT(id)
  96.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  97.   WHERE category_id NOT IN (0)
  98.     AND level>0;
  99. # User@Host: lesiteweb[lesiteweb] @ localhost []
  100. # Query_time: 12.538194  Lock_time: 0.000076 Rows_sent: 21  Rows_examined: 128857
  101. SET timestamp=1392161490;
  102. SELECT DISTINCT(id)
  103.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  104.   WHERE category_id NOT IN (0)
  105.     AND level>0;
  106. # User@Host: lesiteweb[lesiteweb] @ localhost []
  107. # Query_time: 12.630767  Lock_time: 0.000069 Rows_sent: 21  Rows_examined: 128857
  108. SET timestamp=1392161490;
  109. SELECT DISTINCT(id)
  110.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  111.   WHERE category_id NOT IN (0)
  112.     AND level>0;
  113. # User@Host: lesiteweb[lesiteweb] @ localhost []
  114. # Query_time: 12.439484  Lock_time: 0.000074 Rows_sent: 21  Rows_examined: 128857
  115. SET timestamp=1392161490;
  116. SELECT DISTINCT(id)
  117.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  118.   WHERE category_id NOT IN (0)
  119.     AND level>0;
  120. # User@Host: lesiteweb[lesiteweb] @ localhost []
  121. # Query_time: 12.598313  Lock_time: 0.000052 Rows_sent: 21  Rows_examined: 128857
  122. SET timestamp=1392161490;
  123. SELECT DISTINCT(id)
  124.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  125.   WHERE category_id NOT IN (0)
  126.     AND level>0;
  127. # User@Host: lesiteweb[lesiteweb] @ localhost []
  128. # Query_time: 12.673369  Lock_time: 0.000060 Rows_sent: 21  Rows_examined: 128857
  129. SET timestamp=1392161490;
  130. SELECT DISTINCT(id)
  131.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  132.   WHERE category_id NOT IN (0)
  133.     AND level>0;
  134. # User@Host: lesiteweb[lesiteweb] @ localhost []
  135. # Query_time: 12.652391  Lock_time: 0.000072 Rows_sent: 21  Rows_examined: 128857
  136. SET timestamp=1392161490;
  137. SELECT DISTINCT(id)
  138.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  139.   WHERE category_id NOT IN (0)
  140.     AND level>0;
  141. # User@Host: lesiteweb[lesiteweb] @ localhost []
  142. # Query_time: 12.541597  Lock_time: 0.000058 Rows_sent: 21  Rows_examined: 128857
  143. SET timestamp=1392161490;
  144. SELECT DISTINCT(id)
  145.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  146.   WHERE category_id NOT IN (0)
  147.     AND level>0;
  148. # User@Host: lesiteweb[lesiteweb] @ localhost []
  149. # Query_time: 12.919723  Lock_time: 0.000054 Rows_sent: 21  Rows_examined: 128857
  150. SET timestamp=1392161490;
  151. SELECT DISTINCT(id)
  152.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  153.   WHERE category_id NOT IN (0)
  154.     AND level>0;
  155. # User@Host: lesiteweb[lesiteweb] @ localhost []
  156. # Query_time: 12.431734  Lock_time: 0.000065 Rows_sent: 21  Rows_examined: 128857
  157. SET timestamp=1392161490;
  158. SELECT DISTINCT(id)
  159.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  160.   WHERE category_id NOT IN (0)
  161.     AND level>0;
  162. # User@Host: lesiteweb[lesiteweb] @ localhost []
  163. # Query_time: 13.042923  Lock_time: 0.000052 Rows_sent: 21  Rows_examined: 128857
  164. SET timestamp=1392161490;
  165. SELECT DISTINCT(id)
  166.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  167.   WHERE category_id NOT IN (0)
  168.     AND level>0;
  169. # User@Host: lesiteweb[lesiteweb] @ localhost []
  170. # Query_time: 12.749820  Lock_time: 0.000050 Rows_sent: 21  Rows_examined: 128857
  171. SET timestamp=1392161490;
  172. SELECT DISTINCT(id)
  173.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  174.   WHERE category_id NOT IN (0)
  175.     AND level>0;
  176. # User@Host: lesiteweb[lesiteweb] @ localhost []
  177. # Query_time: 12.817102  Lock_time: 0.000059 Rows_sent: 21  Rows_examined: 128857
  178. SET timestamp=1392161490;
  179. SELECT DISTINCT(id)
  180.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  181.   WHERE category_id NOT IN (0)
  182.     AND level>0;
  183. # User@Host: lesiteweb[lesiteweb] @ localhost []
  184. # Query_time: 12.350702  Lock_time: 0.000083 Rows_sent: 21  Rows_examined: 128857
  185. SET timestamp=1392161490;
  186. SELECT DISTINCT(id)
  187.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  188.   WHERE category_id NOT IN (0)
  189.     AND level>0;
  190. # User@Host: lesiteweb[lesiteweb] @ localhost []
  191. # Query_time: 13.317802  Lock_time: 0.000057 Rows_sent: 21  Rows_examined: 128857
  192. SET timestamp=1392161490;
  193. SELECT DISTINCT(id)
  194.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  195.   WHERE category_id NOT IN (0)
  196.     AND level>0;
  197. # User@Host: lesiteweb[lesiteweb] @ localhost []
  198. # Query_time: 13.082175  Lock_time: 0.000063 Rows_sent: 21  Rows_examined: 128857
  199. SET timestamp=1392161490;
  200. SELECT DISTINCT(id)
  201.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  202.   WHERE category_id NOT IN (0)
  203.     AND level>0;
  204. # User@Host: lesiteweb[lesiteweb] @ localhost []
  205. # Query_time: 13.029139  Lock_time: 0.000056 Rows_sent: 21  Rows_examined: 128857
  206. SET timestamp=1392161490;
  207. SELECT DISTINCT(id)
  208.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  209.   WHERE category_id NOT IN (0)
  210.     AND level>0;
  211. # User@Host: lesiteweb[lesiteweb] @ localhost []
  212. # Query_time: 12.880706  Lock_time: 0.000097 Rows_sent: 21  Rows_examined: 128857
  213. SET timestamp=1392161490;
  214. SELECT DISTINCT(id)
  215.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  216.   WHERE category_id NOT IN (0)
  217.     AND level>0;
  218. # User@Host: lesiteweb[lesiteweb] @ localhost []
  219. # Query_time: 12.757409  Lock_time: 0.000072 Rows_sent: 21  Rows_examined: 128857
  220. SET timestamp=1392161490;
  221. SELECT DISTINCT(id)
  222.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  223.   WHERE category_id NOT IN (0)
  224.     AND level>0;
  225. # User@Host: lesiteweb[lesiteweb] @ localhost []
  226. # Query_time: 12.755299  Lock_time: 0.000059 Rows_sent: 21  Rows_examined: 128857
  227. SET timestamp=1392161490;
  228. SELECT DISTINCT(id)
  229.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  230.   WHERE category_id NOT IN (0)
  231.     AND level>0;
  232. # Time: 140212  0:31:31
  233. # User@Host: lesiteweb[lesiteweb] @ localhost []
  234. # Query_time: 12.919239  Lock_time: 0.000063 Rows_sent: 21  Rows_examined: 128857
  235. SET timestamp=1392161491;
  236. SELECT DISTINCT(id)
  237.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  238.   WHERE category_id NOT IN (0)
  239.     AND level>0;
  240. # User@Host: lesiteweb[lesiteweb] @ localhost []
  241. # Query_time: 11.467594  Lock_time: 0.000073 Rows_sent: 21  Rows_examined: 128857
  242. SET timestamp=1392161491;
  243. SELECT DISTINCT(id)
  244.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  245.   WHERE category_id NOT IN (0)
  246.     AND level>0;
  247. # User@Host: lesiteweb[lesiteweb] @ localhost []
  248. # Query_time: 10.450674  Lock_time: 0.000080 Rows_sent: 21  Rows_examined: 128857
  249. SET timestamp=1392161491;
  250. SELECT DISTINCT(id)
  251.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  252.   WHERE category_id NOT IN (0)
  253.     AND level>0;
  254. # User@Host: lesiteweb[lesiteweb] @ localhost []
  255. # Query_time: 10.813355  Lock_time: 0.000071 Rows_sent: 21  Rows_examined: 128857
  256. SET timestamp=1392161491;
  257. SELECT DISTINCT(id)
  258.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  259.   WHERE category_id NOT IN (0)
  260.     AND level>0;
  261. # Time: 140212  0:31:57
  262. # User@Host: lesiteweb[lesiteweb] @ localhost []
  263. # Query_time: 33.707981  Lock_time: 7.005563 Rows_sent: 21  Rows_examined: 128857
  264. SET timestamp=1392161517;
  265. SELECT DISTINCT(id)
  266.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  267.   WHERE category_id NOT IN (0)
  268.     AND level>0;
  269. # Time: 140212  0:31:58
  270. # User@Host: lesiteweb[lesiteweb] @ localhost []
  271. # Query_time: 32.679379  Lock_time: 5.597901 Rows_sent: 21  Rows_examined: 128857
  272. SET timestamp=1392161518;
  273. SELECT DISTINCT(id)
  274.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  275.   WHERE category_id NOT IN (0)
  276.     AND level>0;
  277. # Time: 140212  0:31:59
  278. # User@Host: lesiteweb[lesiteweb] @ localhost []
  279. # Query_time: 30.322288  Lock_time: 2.322910 Rows_sent: 21  Rows_examined: 128857
  280. SET timestamp=1392161519;
  281. SELECT DISTINCT(id)
  282.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  283.   WHERE category_id NOT IN (0)
  284.     AND level>0;
  285. # User@Host: lesiteweb[lesiteweb] @ localhost []
  286. # Query_time: 30.506595  Lock_time: 2.463850 Rows_sent: 21  Rows_examined: 128857
  287. SET timestamp=1392161519;
  288. SELECT DISTINCT(id)
  289.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  290.   WHERE category_id NOT IN (0)
  291.     AND level>0;
  292. # User@Host: lesiteweb[lesiteweb] @ localhost []
  293. # Query_time: 37.336290  Lock_time: 9.112203 Rows_sent: 21  Rows_examined: 128857
  294. SET timestamp=1392161519;
  295. SELECT DISTINCT(id)
  296.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  297.   WHERE category_id NOT IN (0)
  298.     AND level>0;
  299. # User@Host: lesiteweb[lesiteweb] @ localhost []
  300. # Query_time: 26.870932  Lock_time: 0.000051 Rows_sent: 21  Rows_examined: 128857
  301. SET timestamp=1392161519;
  302. SELECT DISTINCT(id)
  303.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  304.   WHERE category_id NOT IN (0)
  305.     AND level>0;
  306. # Time: 140212  0:32:00
  307. # User@Host: lesiteweb[lesiteweb] @ localhost []
  308. # Query_time: 30.839422  Lock_time: 2.062334 Rows_sent: 21  Rows_examined: 128857
  309. SET timestamp=1392161520;
  310. SELECT DISTINCT(id)
  311.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  312.   WHERE category_id NOT IN (0)
  313.     AND level>0;
  314. # User@Host: lesiteweb[lesiteweb] @ localhost []
  315. # Query_time: 29.420998  Lock_time: 0.031431 Rows_sent: 982  Rows_examined: 131782
  316. SET timestamp=1392161520;
  317. SELECT c.id AS cat_id, id_uppercat,
  318.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  319. FROM piwigo_categories as c
  320.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  321.   LEFT JOIN piwigo_images AS i
  322.     ON ic.image_id = i.id
  323.       AND i.level<=0
  324.   GROUP BY c.id;
  325. # Time: 140212  0:32:01
  326. # User@Host: lesiteweb[lesiteweb] @ localhost []
  327. # Query_time: 30.554630  Lock_time: 0.697783 Rows_sent: 982  Rows_examined: 131782
  328. SET timestamp=1392161521;
  329. SELECT c.id AS cat_id, id_uppercat,
  330.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  331. FROM piwigo_categories as c
  332.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  333.   LEFT JOIN piwigo_images AS i
  334.     ON ic.image_id = i.id
  335.       AND i.level<=0
  336.   GROUP BY c.id;
  337. # User@Host: lesiteweb[lesiteweb] @ localhost []
  338. # Query_time: 30.952630  Lock_time: 0.646536 Rows_sent: 982  Rows_examined: 131782
  339. SET timestamp=1392161521;
  340. SELECT c.id AS cat_id, id_uppercat,
  341.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  342. FROM piwigo_categories as c
  343.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  344.   LEFT JOIN piwigo_images AS i
  345.     ON ic.image_id = i.id
  346.       AND i.level<=0
  347.   GROUP BY c.id;
  348. # Time: 140212  0:32:02
  349. # User@Host: lesiteweb[lesiteweb] @ localhost []
  350. # Query_time: 30.725617  Lock_time: 0.000060 Rows_sent: 982  Rows_examined: 131782
  351. SET timestamp=1392161522;
  352. SELECT c.id AS cat_id, id_uppercat,
  353.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  354. FROM piwigo_categories as c
  355.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  356.   LEFT JOIN piwigo_images AS i
  357.     ON ic.image_id = i.id
  358.       AND i.level<=0
  359.   GROUP BY c.id;
  360. # User@Host: lesiteweb[lesiteweb] @ localhost []
  361. # Query_time: 30.881610  Lock_time: 0.075509 Rows_sent: 982  Rows_examined: 131782
  362. SET timestamp=1392161522;
  363. SELECT c.id AS cat_id, id_uppercat,
  364.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  365. FROM piwigo_categories as c
  366.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  367.   LEFT JOIN piwigo_images AS i
  368.     ON ic.image_id = i.id
  369.       AND i.level<=0
  370.   GROUP BY c.id;
  371. # User@Host: lesiteweb[lesiteweb] @ localhost []
  372. # Query_time: 31.174118  Lock_time: 0.357383 Rows_sent: 982  Rows_examined: 131782
  373. SET timestamp=1392161522;
  374. SELECT c.id AS cat_id, id_uppercat,
  375.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  376. FROM piwigo_categories as c
  377.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  378.   LEFT JOIN piwigo_images AS i
  379.     ON ic.image_id = i.id
  380.       AND i.level<=0
  381.   GROUP BY c.id;
  382. # User@Host: lesiteweb[lesiteweb] @ localhost []
  383. # Query_time: 31.756601  Lock_time: 0.808055 Rows_sent: 982  Rows_examined: 131782
  384. SET timestamp=1392161522;
  385. SELECT c.id AS cat_id, id_uppercat,
  386.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  387. FROM piwigo_categories as c
  388.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  389.   LEFT JOIN piwigo_images AS i
  390.     ON ic.image_id = i.id
  391.       AND i.level<=0
  392.   GROUP BY c.id;
  393. # User@Host: lesiteweb[lesiteweb] @ localhost []
  394. # Query_time: 29.651578  Lock_time: 0.000064 Rows_sent: 21  Rows_examined: 128857
  395. SET timestamp=1392161522;
  396. SELECT DISTINCT(id)
  397.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  398.   WHERE category_id NOT IN (0)
  399.     AND level>0;
  400. # User@Host: lesiteweb[lesiteweb] @ localhost []
  401. # Query_time: 31.377704  Lock_time: 0.282399 Rows_sent: 982  Rows_examined: 131782
  402. SET timestamp=1392161522;
  403. SELECT c.id AS cat_id, id_uppercat,
  404.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  405. FROM piwigo_categories as c
  406.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  407.   LEFT JOIN piwigo_images AS i
  408.     ON ic.image_id = i.id
  409.       AND i.level<=0
  410.   GROUP BY c.id;
  411. # User@Host: lesiteweb[lesiteweb] @ localhost []
  412. # Query_time: 31.497107  Lock_time: 0.382798 Rows_sent: 982  Rows_examined: 131782
  413. SET timestamp=1392161522;
  414. SELECT c.id AS cat_id, id_uppercat,
  415.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  416. FROM piwigo_categories as c
  417.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  418.   LEFT JOIN piwigo_images AS i
  419.     ON ic.image_id = i.id
  420.       AND i.level<=0
  421.   GROUP BY c.id;
  422. # User@Host: lesiteweb[lesiteweb] @ localhost []
  423. # Query_time: 31.986195  Lock_time: 0.870802 Rows_sent: 982  Rows_examined: 131782
  424. SET timestamp=1392161522;
  425. SELECT c.id AS cat_id, id_uppercat,
  426.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  427. FROM piwigo_categories as c
  428.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  429.   LEFT JOIN piwigo_images AS i
  430.     ON ic.image_id = i.id
  431.       AND i.level<=0
  432.   GROUP BY c.id;
  433. # User@Host: lesiteweb[lesiteweb] @ localhost []
  434. # Query_time: 31.562621  Lock_time: 0.320158 Rows_sent: 982  Rows_examined: 131782
  435. SET timestamp=1392161522;
  436. SELECT c.id AS cat_id, id_uppercat,
  437.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  438. FROM piwigo_categories as c
  439.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  440.   LEFT JOIN piwigo_images AS i
  441.     ON ic.image_id = i.id
  442.       AND i.level<=0
  443.   GROUP BY c.id;
  444. # User@Host: lesiteweb[lesiteweb] @ localhost []
  445. # Query_time: 31.925651  Lock_time: 0.602825 Rows_sent: 982  Rows_examined: 131782
  446. SET timestamp=1392161522;
  447. SELECT c.id AS cat_id, id_uppercat,
  448.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  449. FROM piwigo_categories as c
  450.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  451.   LEFT JOIN piwigo_images AS i
  452.     ON ic.image_id = i.id
  453.       AND i.level<=0
  454.   GROUP BY c.id;
  455. # User@Host: lesiteweb[lesiteweb] @ localhost []
  456. # Query_time: 31.801022  Lock_time: 0.344954 Rows_sent: 982  Rows_examined: 131782
  457. SET timestamp=1392161522;
  458. SELECT c.id AS cat_id, id_uppercat,
  459.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  460. FROM piwigo_categories as c
  461.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  462.   LEFT JOIN piwigo_images AS i
  463.     ON ic.image_id = i.id
  464.       AND i.level<=0
  465.   GROUP BY c.id;
  466. # User@Host: lesiteweb[lesiteweb] @ localhost []
  467. # Query_time: 32.198163  Lock_time: 0.590655 Rows_sent: 982  Rows_examined: 131782
  468. SET timestamp=1392161522;
  469. SELECT c.id AS cat_id, id_uppercat,
  470.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  471. FROM piwigo_categories as c
  472.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  473.   LEFT JOIN piwigo_images AS i
  474.     ON ic.image_id = i.id
  475.       AND i.level<=0
  476.   GROUP BY c.id;
  477. # User@Host: lesiteweb[lesiteweb] @ localhost []
  478. # Query_time: 32.530625  Lock_time: 0.911294 Rows_sent: 982  Rows_examined: 131782
  479. SET timestamp=1392161522;
  480. SELECT c.id AS cat_id, id_uppercat,
  481.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  482. FROM piwigo_categories as c
  483.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  484.   LEFT JOIN piwigo_images AS i
  485.     ON ic.image_id = i.id
  486.       AND i.level<=0
  487.   GROUP BY c.id;
  488. # User@Host: lesiteweb[lesiteweb] @ localhost []
  489. # Query_time: 31.870125  Lock_time: 0.210714 Rows_sent: 982  Rows_examined: 131782
  490. SET timestamp=1392161522;
  491. SELECT c.id AS cat_id, id_uppercat,
  492.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  493. FROM piwigo_categories as c
  494.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  495.   LEFT JOIN piwigo_images AS i
  496.     ON ic.image_id = i.id
  497.       AND i.level<=0
  498.   GROUP BY c.id;
  499. # User@Host: lesiteweb[lesiteweb] @ localhost []
  500. # Query_time: 32.506656  Lock_time: 0.829202 Rows_sent: 982  Rows_examined: 131782
  501. SET timestamp=1392161522;
  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: 29.322040  Lock_time: 0.000096 Rows_sent: 21  Rows_examined: 128857
  512. SET timestamp=1392161522;
  513. SELECT DISTINCT(id)
  514.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  515.   WHERE category_id NOT IN (0)
  516.     AND level>0;
  517. # Time: 140212  0:32:03
  518. # User@Host: lesiteweb[lesiteweb] @ localhost []
  519. # Query_time: 32.578171  Lock_time: 0.709325 Rows_sent: 982  Rows_examined: 131782
  520. SET timestamp=1392161523;
  521. SELECT c.id AS cat_id, id_uppercat,
  522.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  523. FROM piwigo_categories as c
  524.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  525.   LEFT JOIN piwigo_images AS i
  526.     ON ic.image_id = i.id
  527.       AND i.level<=0
  528.   GROUP BY c.id;
  529. # User@Host: lesiteweb[lesiteweb] @ localhost []
  530. # Query_time: 32.333246  Lock_time: 0.459450 Rows_sent: 982  Rows_examined: 131782
  531. SET timestamp=1392161523;
  532. SELECT c.id AS cat_id, id_uppercat,
  533.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  534. FROM piwigo_categories as c
  535.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  536.   LEFT JOIN piwigo_images AS i
  537.     ON ic.image_id = i.id
  538.       AND i.level<=0
  539.   GROUP BY c.id;
  540. # User@Host: lesiteweb[lesiteweb] @ localhost []
  541. # Query_time: 32.189831  Lock_time: 0.302400 Rows_sent: 982  Rows_examined: 131782
  542. SET timestamp=1392161523;
  543. SELECT c.id AS cat_id, id_uppercat,
  544.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  545. FROM piwigo_categories as c
  546.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  547.   LEFT JOIN piwigo_images AS i
  548.     ON ic.image_id = i.id
  549.       AND i.level<=0
  550.   GROUP BY c.id;
  551. # User@Host: lesiteweb[lesiteweb] @ localhost []
  552. # Query_time: 32.217047  Lock_time: 0.303896 Rows_sent: 982  Rows_examined: 131782
  553. SET timestamp=1392161523;
  554. SELECT c.id AS cat_id, id_uppercat,
  555.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  556. FROM piwigo_categories as c
  557.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  558.   LEFT JOIN piwigo_images AS i
  559.     ON ic.image_id = i.id
  560.       AND i.level<=0
  561.   GROUP BY c.id;
  562. # User@Host: lesiteweb[lesiteweb] @ localhost []
  563. # Query_time: 32.234759  Lock_time: 0.310468 Rows_sent: 982  Rows_examined: 131782
  564. SET timestamp=1392161523;
  565. SELECT c.id AS cat_id, id_uppercat,
  566.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  567. FROM piwigo_categories as c
  568.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  569.   LEFT JOIN piwigo_images AS i
  570.     ON ic.image_id = i.id
  571.       AND i.level<=0
  572.   GROUP BY c.id;
  573. # User@Host: lesiteweb[lesiteweb] @ localhost []
  574. # Query_time: 33.180273  Lock_time: 1.044761 Rows_sent: 982  Rows_examined: 131782
  575. SET timestamp=1392161523;
  576. SELECT c.id AS cat_id, id_uppercat,
  577.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  578. FROM piwigo_categories as c
  579.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  580.   LEFT JOIN piwigo_images AS i
  581.     ON ic.image_id = i.id
  582.       AND i.level<=0
  583.   GROUP BY c.id;
  584. # User@Host: lesiteweb[lesiteweb] @ localhost []
  585. # Query_time: 32.965378  Lock_time: 0.768829 Rows_sent: 982  Rows_examined: 131782
  586. SET timestamp=1392161523;
  587. SELECT c.id AS cat_id, id_uppercat,
  588.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  589. FROM piwigo_categories as c
  590.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  591.   LEFT JOIN piwigo_images AS i
  592.     ON ic.image_id = i.id
  593.       AND i.level<=0
  594.   GROUP BY c.id;
  595. # User@Host: lesiteweb[lesiteweb] @ localhost []
  596. # Query_time: 33.188034  Lock_time: 0.971812 Rows_sent: 982  Rows_examined: 131782
  597. SET timestamp=1392161523;
  598. SELECT c.id AS cat_id, id_uppercat,
  599.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  600. FROM piwigo_categories as c
  601.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  602.   LEFT JOIN piwigo_images AS i
  603.     ON ic.image_id = i.id
  604.       AND i.level<=0
  605.   GROUP BY c.id;
  606. # User@Host: lesiteweb[lesiteweb] @ localhost []
  607. # Query_time: 32.922110  Lock_time: 0.685562 Rows_sent: 982  Rows_examined: 131782
  608. SET timestamp=1392161523;
  609. SELECT c.id AS cat_id, id_uppercat,
  610.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  611. FROM piwigo_categories as c
  612.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  613.   LEFT JOIN piwigo_images AS i
  614.     ON ic.image_id = i.id
  615.       AND i.level<=0
  616.   GROUP BY c.id;
  617. # User@Host: lesiteweb[lesiteweb] @ localhost []
  618. # Query_time: 30.238323  Lock_time: 0.000056 Rows_sent: 21  Rows_examined: 128857
  619. SET timestamp=1392161523;
  620. SELECT DISTINCT(id)
  621.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  622.   WHERE category_id NOT IN (0)
  623.     AND level>0;
  624. # User@Host: lesiteweb[lesiteweb] @ localhost []
  625. # Query_time: 32.895246  Lock_time: 0.614725 Rows_sent: 982  Rows_examined: 131782
  626. SET timestamp=1392161523;
  627. SELECT c.id AS cat_id, id_uppercat,
  628.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  629. FROM piwigo_categories as c
  630.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  631.   LEFT JOIN piwigo_images AS i
  632.     ON ic.image_id = i.id
  633.       AND i.level<=0
  634.   GROUP BY c.id;
  635. # User@Host: lesiteweb[lesiteweb] @ localhost []
  636. # Query_time: 32.641989  Lock_time: 0.343510 Rows_sent: 982  Rows_examined: 131782
  637. SET timestamp=1392161523;
  638. SELECT c.id AS cat_id, id_uppercat,
  639.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  640. FROM piwigo_categories as c
  641.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  642.   LEFT JOIN piwigo_images AS i
  643.     ON ic.image_id = i.id
  644.       AND i.level<=0
  645.   GROUP BY c.id;
  646. # User@Host: lesiteweb[lesiteweb] @ localhost []
  647. # Query_time: 32.479902  Lock_time: 0.084484 Rows_sent: 982  Rows_examined: 131782
  648. SET timestamp=1392161523;
  649. SELECT c.id AS cat_id, id_uppercat,
  650.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  651. FROM piwigo_categories as c
  652.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  653.   LEFT JOIN piwigo_images AS i
  654.     ON ic.image_id = i.id
  655.       AND i.level<=0
  656.   GROUP BY c.id;
  657. # User@Host: lesiteweb[lesiteweb] @ localhost []
  658. # Query_time: 32.834940  Lock_time: 0.367270 Rows_sent: 982  Rows_examined: 131782
  659. SET timestamp=1392161523;
  660. SELECT c.id AS cat_id, id_uppercat,
  661.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  662. FROM piwigo_categories as c
  663.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  664.   LEFT JOIN piwigo_images AS i
  665.     ON ic.image_id = i.id
  666.       AND i.level<=0
  667.   GROUP BY c.id;
  668. # Time: 140212  0:32:04
  669. # User@Host: lesiteweb[lesiteweb] @ localhost []
  670. # Query_time: 33.343004  Lock_time: 0.410471 Rows_sent: 982  Rows_examined: 131782
  671. SET timestamp=1392161524;
  672. SELECT c.id AS cat_id, id_uppercat,
  673.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  674. FROM piwigo_categories as c
  675.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  676.   LEFT JOIN piwigo_images AS i
  677.     ON ic.image_id = i.id
  678.       AND i.level<=0
  679.   GROUP BY c.id;
  680. # User@Host: lesiteweb[lesiteweb] @ localhost []
  681. # Query_time: 33.991281  Lock_time: 0.980625 Rows_sent: 982  Rows_examined: 131782
  682. SET timestamp=1392161524;
  683. SELECT c.id AS cat_id, id_uppercat,
  684.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  685. FROM piwigo_categories as c
  686.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  687.   LEFT JOIN piwigo_images AS i
  688.     ON ic.image_id = i.id
  689.       AND i.level<=0
  690.   GROUP BY c.id;
  691. # User@Host: lesiteweb[lesiteweb] @ localhost []
  692. # Query_time: 30.633350  Lock_time: 0.000050 Rows_sent: 21  Rows_examined: 128857
  693. SET timestamp=1392161524;
  694. SELECT DISTINCT(id)
  695.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  696.   WHERE category_id NOT IN (0)
  697.     AND level>0;
  698. # User@Host: lesiteweb[lesiteweb] @ localhost []
  699. # Query_time: 30.329079  Lock_time: 0.000052 Rows_sent: 21  Rows_examined: 128857
  700. SET timestamp=1392161524;
  701. SELECT DISTINCT(id)
  702.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  703.   WHERE category_id NOT IN (0)
  704.     AND level>0;
  705. # Time: 140212  0:32:06
  706. # User@Host: lesiteweb[lesiteweb] @ localhost []
  707. # Query_time: 29.349966  Lock_time: 0.000061 Rows_sent: 21  Rows_examined: 128857
  708. SET timestamp=1392161526;
  709. SELECT DISTINCT(id)
  710.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  711.   WHERE category_id NOT IN (0)
  712.     AND level>0;
  713. # User@Host: lesiteweb[lesiteweb] @ localhost []
  714. # Query_time: 28.898078  Lock_time: 0.000072 Rows_sent: 21  Rows_examined: 128857
  715. SET timestamp=1392161526;
  716. SELECT DISTINCT(id)
  717.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  718.   WHERE category_id NOT IN (0)
  719.     AND level>0;
  720. # Time: 140212  0:32:07
  721. # User@Host: lesiteweb[lesiteweb] @ localhost []
  722. # Query_time: 28.811582  Lock_time: 0.000069 Rows_sent: 21  Rows_examined: 128857
  723. SET timestamp=1392161527;
  724. SELECT DISTINCT(id)
  725.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  726.   WHERE category_id NOT IN (0)
  727.     AND level>0;
  728. # User@Host: lesiteweb[lesiteweb] @ localhost []
  729. # Query_time: 29.430492  Lock_time: 0.000074 Rows_sent: 21  Rows_examined: 128857
  730. SET timestamp=1392161527;
  731. SELECT DISTINCT(id)
  732.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  733.   WHERE category_id NOT IN (0)
  734.     AND level>0;
  735. # User@Host: lesiteweb[lesiteweb] @ localhost []
  736. # Query_time: 27.982697  Lock_time: 0.000062 Rows_sent: 21  Rows_examined: 128857
  737. SET timestamp=1392161527;
  738. SELECT DISTINCT(id)
  739.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  740.   WHERE category_id NOT IN (0)
  741.     AND level>0;
  742. # User@Host: lesiteweb[lesiteweb] @ localhost []
  743. # Query_time: 29.186858  Lock_time: 0.000079 Rows_sent: 21  Rows_examined: 128857
  744. SET timestamp=1392161527;
  745. SELECT DISTINCT(id)
  746.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  747.   WHERE category_id NOT IN (0)
  748.     AND level>0;
  749. # Time: 140212  0:32:08
  750. # User@Host: lesiteweb[lesiteweb] @ localhost []
  751. # Query_time: 28.858997  Lock_time: 0.000073 Rows_sent: 21  Rows_examined: 128857
  752. SET timestamp=1392161528;
  753. SELECT DISTINCT(id)
  754.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  755.   WHERE category_id NOT IN (0)
  756.     AND level>0;
  757. # Time: 140212  0:32:09
  758. # User@Host: lesiteweb[lesiteweb] @ localhost []
  759. # Query_time: 27.308933  Lock_time: 0.000055 Rows_sent: 21  Rows_examined: 128857
  760. SET timestamp=1392161529;
  761. SELECT DISTINCT(id)
  762.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  763.   WHERE category_id NOT IN (0)
  764.     AND level>0;
  765. # User@Host: lesiteweb[lesiteweb] @ localhost []
  766. # Query_time: 28.294604  Lock_time: 0.000071 Rows_sent: 21  Rows_examined: 128857
  767. SET timestamp=1392161529;
  768. SELECT DISTINCT(id)
  769.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  770.   WHERE category_id NOT IN (0)
  771.     AND level>0;
  772. # User@Host: lesiteweb[lesiteweb] @ localhost []
  773. # Query_time: 26.434901  Lock_time: 0.000066 Rows_sent: 21  Rows_examined: 128857
  774. SET timestamp=1392161529;
  775. SELECT DISTINCT(id)
  776.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  777.   WHERE category_id NOT IN (0)
  778.     AND level>0;
  779. # Time: 140212  0:32:10
  780. # User@Host: lesiteweb[lesiteweb] @ localhost []
  781. # Query_time: 26.774389  Lock_time: 0.000055 Rows_sent: 21  Rows_examined: 128857
  782. SET timestamp=1392161530;
  783. SELECT DISTINCT(id)
  784.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  785.   WHERE category_id NOT IN (0)
  786.     AND level>0;
  787. # User@Host: lesiteweb[lesiteweb] @ localhost []
  788. # Query_time: 25.095531  Lock_time: 0.000110 Rows_sent: 21  Rows_examined: 128857
  789. SET timestamp=1392161530;
  790. SELECT DISTINCT(id)
  791.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  792.   WHERE category_id NOT IN (0)
  793.     AND level>0;
  794. # User@Host: lesiteweb[lesiteweb] @ localhost []
  795. # Query_time: 25.996125  Lock_time: 0.000077 Rows_sent: 21  Rows_examined: 128857
  796. SET timestamp=1392161530;
  797. SELECT DISTINCT(id)
  798.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  799.   WHERE category_id NOT IN (0)
  800.     AND level>0;
  801. # User@Host: lesiteweb[lesiteweb] @ localhost []
  802. # Query_time: 24.043592  Lock_time: 0.000053 Rows_sent: 21  Rows_examined: 128857
  803. SET timestamp=1392161530;
  804. SELECT DISTINCT(id)
  805.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  806.   WHERE category_id NOT IN (0)
  807.     AND level>0;
  808. # Time: 140212  0:32:11
  809. # User@Host: lesiteweb[lesiteweb] @ localhost []
  810. # Query_time: 22.662479  Lock_time: 0.000055 Rows_sent: 21  Rows_examined: 128857
  811. SET timestamp=1392161531;
  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. # User@Host: lesiteweb[lesiteweb] @ localhost []
  817. # Query_time: 23.722372  Lock_time: 0.000075 Rows_sent: 21  Rows_examined: 128857
  818. SET timestamp=1392161531;
  819. SELECT DISTINCT(id)
  820.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  821.   WHERE category_id NOT IN (0)
  822.     AND level>0;
  823. # User@Host: lesiteweb[lesiteweb] @ localhost []
  824. # Query_time: 26.181268  Lock_time: 0.000081 Rows_sent: 21  Rows_examined: 128857
  825. SET timestamp=1392161531;
  826. SELECT DISTINCT(id)
  827.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  828.   WHERE category_id NOT IN (0)
  829.     AND level>0;
  830. # User@Host: lesiteweb[lesiteweb] @ localhost []
  831. # Query_time: 25.153257  Lock_time: 0.000047 Rows_sent: 21  Rows_examined: 128857
  832. SET timestamp=1392161531;
  833. SELECT DISTINCT(id)
  834.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  835.   WHERE category_id NOT IN (0)
  836.     AND level>0;
  837. # User@Host: lesiteweb[lesiteweb] @ localhost []
  838. # Query_time: 22.113349  Lock_time: 0.000062 Rows_sent: 21  Rows_examined: 128857
  839. SET timestamp=1392161531;
  840. SELECT DISTINCT(id)
  841.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  842.   WHERE category_id NOT IN (0)
  843.     AND level>0;
  844. # Time: 140212  0:32:12
  845. # User@Host: lesiteweb[lesiteweb] @ localhost []
  846. # Query_time: 20.068840  Lock_time: 0.000072 Rows_sent: 21  Rows_examined: 128857
  847. SET timestamp=1392161532;
  848. SELECT DISTINCT(id)
  849.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  850.   WHERE category_id NOT IN (0)
  851.     AND level>0;
  852. # User@Host: lesiteweb[lesiteweb] @ localhost []
  853. # Query_time: 18.041064  Lock_time: 0.000052 Rows_sent: 21  Rows_examined: 128857
  854. SET timestamp=1392161532;
  855. SELECT DISTINCT(id)
  856.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  857.   WHERE category_id NOT IN (0)
  858.     AND level>0;
  859. # User@Host: lesiteweb[lesiteweb] @ localhost []
  860. # Query_time: 18.796262  Lock_time: 0.000056 Rows_sent: 21  Rows_examined: 128857
  861. SET timestamp=1392161532;
  862. SELECT DISTINCT(id)
  863.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  864.   WHERE category_id NOT IN (0)
  865.     AND level>0;
  866. # Time: 140212  0:32:13
  867. # User@Host: lesiteweb[lesiteweb] @ localhost []
  868. # Query_time: 19.525357  Lock_time: 0.000059 Rows_sent: 21  Rows_examined: 128857
  869. SET timestamp=1392161533;
  870. SELECT DISTINCT(id)
  871.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  872.   WHERE category_id NOT IN (0)
  873.     AND level>0;
  874. # User@Host: lesiteweb[lesiteweb] @ localhost []
  875. # Query_time: 50.146808  Lock_time: 7.986583 Rows_sent: 0  Rows_examined: 0
  876. SET timestamp=1392161533;
  877. INSERT INTO piwigo_images
  878.   (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  879.   VALUES('jardins-121.jpg','jardins-121','2014-02-12 00:31:20','./upload/2014/02/12/20140212003120-4627b95e.jpg','496','1041','1500','4627b95eba3045889e72fe22f218f57e','1','0','0');
  880. # User@Host: lesiteweb[lesiteweb] @ localhost []
  881. # Query_time: 14.137986  Lock_time: 0.000124 Rows_sent: 982  Rows_examined: 131782
  882. SET timestamp=1392161533;
  883. SELECT c.id AS cat_id, id_uppercat,
  884.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  885. FROM piwigo_categories as c
  886.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  887.   LEFT JOIN piwigo_images AS i
  888.     ON ic.image_id = i.id
  889.       AND i.level<=0
  890.   GROUP BY c.id;
  891. # User@Host: lesiteweb[lesiteweb] @ localhost []
  892. # Query_time: 15.570506  Lock_time: 0.000111 Rows_sent: 982  Rows_examined: 131782
  893. SET timestamp=1392161533;
  894. SELECT c.id AS cat_id, id_uppercat,
  895.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  896. FROM piwigo_categories as c
  897.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  898.   LEFT JOIN piwigo_images AS i
  899.     ON ic.image_id = i.id
  900.       AND i.level<=0
  901.   GROUP BY c.id;
  902. # User@Host: lesiteweb[lesiteweb] @ localhost []
  903. # Query_time: 13.900210  Lock_time: 0.000109 Rows_sent: 982  Rows_examined: 131782
  904. SET timestamp=1392161533;
  905. SELECT c.id AS cat_id, id_uppercat,
  906.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  907. FROM piwigo_categories as c
  908.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  909.   LEFT JOIN piwigo_images AS i
  910.     ON ic.image_id = i.id
  911.       AND i.level<=0
  912.   GROUP BY c.id;
  913. # User@Host: lesiteweb[lesiteweb] @ localhost []
  914. # Query_time: 14.675544  Lock_time: 0.000078 Rows_sent: 982  Rows_examined: 131782
  915. SET timestamp=1392161533;
  916. SELECT c.id AS cat_id, id_uppercat,
  917.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  918. FROM piwigo_categories as c
  919.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  920.   LEFT JOIN piwigo_images AS i
  921.     ON ic.image_id = i.id
  922.       AND i.level<=0
  923.   GROUP BY c.id;
  924. # User@Host: lesiteweb[lesiteweb] @ localhost []
  925. # Query_time: 14.503443  Lock_time: 0.000110 Rows_sent: 982  Rows_examined: 131782
  926. SET timestamp=1392161533;
  927. SELECT c.id AS cat_id, id_uppercat,
  928.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  929. FROM piwigo_categories as c
  930.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  931.   LEFT JOIN piwigo_images AS i
  932.     ON ic.image_id = i.id
  933.       AND i.level<=0
  934.   GROUP BY c.id;
  935. # Time: 140212  0:32:14
  936. # User@Host: lesiteweb[lesiteweb] @ localhost []
  937. # Query_time: 14.411316  Lock_time: 0.000106 Rows_sent: 982  Rows_examined: 131782
  938. SET timestamp=1392161534;
  939. SELECT c.id AS cat_id, id_uppercat,
  940.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  941. FROM piwigo_categories as c
  942.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  943.   LEFT JOIN piwigo_images AS i
  944.     ON ic.image_id = i.id
  945.       AND i.level<=0
  946.   GROUP BY c.id;
  947. # User@Host: lesiteweb[lesiteweb] @ localhost []
  948. # Query_time: 16.042854  Lock_time: 0.000107 Rows_sent: 982  Rows_examined: 131782
  949. SET timestamp=1392161534;
  950. SELECT c.id AS cat_id, id_uppercat,
  951.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  952. FROM piwigo_categories as c
  953.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  954.   LEFT JOIN piwigo_images AS i
  955.     ON ic.image_id = i.id
  956.       AND i.level<=0
  957.   GROUP BY c.id;
  958. # User@Host: lesiteweb[lesiteweb] @ localhost []
  959. # Query_time: 15.550622  Lock_time: 0.000107 Rows_sent: 982  Rows_examined: 131782
  960. SET timestamp=1392161534;
  961. SELECT c.id AS cat_id, id_uppercat,
  962.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  963. FROM piwigo_categories as c
  964.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  965.   LEFT JOIN piwigo_images AS i
  966.     ON ic.image_id = i.id
  967.       AND i.level<=0
  968.   GROUP BY c.id;
  969. # User@Host: lesiteweb[lesiteweb] @ localhost []
  970. # Query_time: 14.770534  Lock_time: 0.000103 Rows_sent: 982  Rows_examined: 131782
  971. SET timestamp=1392161534;
  972. SELECT c.id AS cat_id, id_uppercat,
  973.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  974. FROM piwigo_categories as c
  975.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  976.   LEFT JOIN piwigo_images AS i
  977.     ON ic.image_id = i.id
  978.       AND i.level<=0
  979.   GROUP BY c.id;
  980. # User@Host: lesiteweb[lesiteweb] @ localhost []
  981. # Query_time: 14.372290  Lock_time: 0.000098 Rows_sent: 982  Rows_examined: 131782
  982. SET timestamp=1392161534;
  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. # User@Host: lesiteweb[lesiteweb] @ localhost []
  992. # Query_time: 11.259073  Lock_time: 0.000084 Rows_sent: 982  Rows_examined: 131782
  993. SET timestamp=1392161534;
  994. SELECT c.id AS cat_id, id_uppercat,
  995.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  996. FROM piwigo_categories as c
  997.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  998.   LEFT JOIN piwigo_images AS i
  999.     ON ic.image_id = i.id
  1000.       AND i.level<=0
  1001.   GROUP BY c.id;
  1002. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1003. # Query_time: 11.894673  Lock_time: 0.000110 Rows_sent: 982  Rows_examined: 131782
  1004. SET timestamp=1392161534;
  1005. SELECT c.id AS cat_id, id_uppercat,
  1006.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1007. FROM piwigo_categories as c
  1008.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1009.   LEFT JOIN piwigo_images AS i
  1010.     ON ic.image_id = i.id
  1011.       AND i.level<=0
  1012.   GROUP BY c.id;
  1013. # Time: 140212  0:32:45
  1014. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1015. # Query_time: 10.139167  Lock_time: 0.000039 Rows_sent: 21  Rows_examined: 128871
  1016. SET timestamp=1392161565;
  1017. SELECT DISTINCT(id)
  1018.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1019.   WHERE category_id NOT IN (0)
  1020.     AND level>0;
  1021. # Time: 140212  0:32:46
  1022. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1023. # Query_time: 10.580916  Lock_time: 0.000052 Rows_sent: 21  Rows_examined: 128871
  1024. SET timestamp=1392161566;
  1025. SELECT DISTINCT(id)
  1026.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1027.   WHERE category_id NOT IN (0)
  1028.     AND level>0;
  1029. # Time: 140212  0:32:47
  1030. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1031. # Query_time: 12.613131  Lock_time: 1.091430 Rows_sent: 982  Rows_examined: 131796
  1032. SET timestamp=1392161567;
  1033. SELECT c.id AS cat_id, id_uppercat,
  1034.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1035. FROM piwigo_categories as c
  1036.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1037.   LEFT JOIN piwigo_images AS i
  1038.     ON ic.image_id = i.id
  1039.       AND i.level<=0
  1040.   GROUP BY c.id;
  1041. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1042. # Query_time: 13.057577  Lock_time: 1.133069 Rows_sent: 982  Rows_examined: 131796
  1043. SET timestamp=1392161567;
  1044. SELECT c.id AS cat_id, id_uppercat,
  1045.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1046. FROM piwigo_categories as c
  1047.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1048.   LEFT JOIN piwigo_images AS i
  1049.     ON ic.image_id = i.id
  1050.       AND i.level<=0
  1051.   GROUP BY c.id;
  1052. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1053. # Query_time: 11.960526  Lock_time: 0.020624 Rows_sent: 982  Rows_examined: 131796
  1054. SET timestamp=1392161567;
  1055. SELECT c.id AS cat_id, id_uppercat,
  1056.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1057. FROM piwigo_categories as c
  1058.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1059.   LEFT JOIN piwigo_images AS i
  1060.     ON ic.image_id = i.id
  1061.       AND i.level<=0
  1062.   GROUP BY c.id;
  1063. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1064. # Query_time: 12.279574  Lock_time: 0.204690 Rows_sent: 982  Rows_examined: 131796
  1065. SET timestamp=1392161567;
  1066. SELECT c.id AS cat_id, id_uppercat,
  1067.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1068. FROM piwigo_categories as c
  1069.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1070.   LEFT JOIN piwigo_images AS i
  1071.     ON ic.image_id = i.id
  1072.       AND i.level<=0
  1073.   GROUP BY c.id;
  1074. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1075. # Query_time: 13.109605  Lock_time: 0.984166 Rows_sent: 982  Rows_examined: 131796
  1076. SET timestamp=1392161567;
  1077. SELECT c.id AS cat_id, id_uppercat,
  1078.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1079. FROM piwigo_categories as c
  1080.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1081.   LEFT JOIN piwigo_images AS i
  1082.     ON ic.image_id = i.id
  1083.       AND i.level<=0
  1084.   GROUP BY c.id;
  1085. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1086. # Query_time: 13.048398  Lock_time: 0.841909 Rows_sent: 982  Rows_examined: 131796
  1087. SET timestamp=1392161567;
  1088. SELECT c.id AS cat_id, id_uppercat,
  1089.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1090. FROM piwigo_categories as c
  1091.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1092.   LEFT JOIN piwigo_images AS i
  1093.     ON ic.image_id = i.id
  1094.       AND i.level<=0
  1095.   GROUP BY c.id;
  1096. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1097. # Query_time: 12.290291  Lock_time: 0.083450 Rows_sent: 982  Rows_examined: 131796
  1098. SET timestamp=1392161567;
  1099. SELECT c.id AS cat_id, id_uppercat,
  1100.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1101. FROM piwigo_categories as c
  1102.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1103.   LEFT JOIN piwigo_images AS i
  1104.     ON ic.image_id = i.id
  1105.       AND i.level<=0
  1106.   GROUP BY c.id;
  1107. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1108. # Query_time: 13.420808  Lock_time: 1.195337 Rows_sent: 982  Rows_examined: 131796
  1109. SET timestamp=1392161567;
  1110. SELECT c.id AS cat_id, id_uppercat,
  1111.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1112. FROM piwigo_categories as c
  1113.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1114.   LEFT JOIN piwigo_images AS i
  1115.     ON ic.image_id = i.id
  1116.       AND i.level<=0
  1117.   GROUP BY c.id;
  1118. # Time: 140212  0:32:48
  1119. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1120. # Query_time: 12.310353  Lock_time: 0.014068 Rows_sent: 982  Rows_examined: 131796
  1121. SET timestamp=1392161568;
  1122. SELECT c.id AS cat_id, id_uppercat,
  1123.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1124. FROM piwigo_categories as c
  1125.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1126.   LEFT JOIN piwigo_images AS i
  1127.     ON ic.image_id = i.id
  1128.       AND i.level<=0
  1129.   GROUP BY c.id;
  1130. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1131. # Query_time: 12.551811  Lock_time: 0.132998 Rows_sent: 982  Rows_examined: 131796
  1132. SET timestamp=1392161568;
  1133. SELECT c.id AS cat_id, id_uppercat,
  1134.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1135. FROM piwigo_categories as c
  1136.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1137.   LEFT JOIN piwigo_images AS i
  1138.     ON ic.image_id = i.id
  1139.       AND i.level<=0
  1140.   GROUP BY c.id;
  1141. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1142. # Query_time: 12.855392  Lock_time: 0.337118 Rows_sent: 982  Rows_examined: 131796
  1143. SET timestamp=1392161568;
  1144. SELECT c.id AS cat_id, id_uppercat,
  1145.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1146. FROM piwigo_categories as c
  1147.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1148.   LEFT JOIN piwigo_images AS i
  1149.     ON ic.image_id = i.id
  1150.       AND i.level<=0
  1151.   GROUP BY c.id;
  1152. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1153. # Query_time: 13.416429  Lock_time: 0.870827 Rows_sent: 982  Rows_examined: 131796
  1154. SET timestamp=1392161568;
  1155. SELECT c.id AS cat_id, id_uppercat,
  1156.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1157. FROM piwigo_categories as c
  1158.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1159.   LEFT JOIN piwigo_images AS i
  1160.     ON ic.image_id = i.id
  1161.       AND i.level<=0
  1162.   GROUP BY c.id;
  1163. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1164. # Query_time: 12.810532  Lock_time: 0.113086 Rows_sent: 982  Rows_examined: 131796
  1165. SET timestamp=1392161568;
  1166. SELECT c.id AS cat_id, id_uppercat,
  1167.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1168. FROM piwigo_categories as c
  1169.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1170.   LEFT JOIN piwigo_images AS i
  1171.     ON ic.image_id = i.id
  1172.       AND i.level<=0
  1173.   GROUP BY c.id;
  1174. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1175. # Query_time: 13.880118  Lock_time: 0.956083 Rows_sent: 982  Rows_examined: 131796
  1176. SET timestamp=1392161568;
  1177. SELECT c.id AS cat_id, id_uppercat,
  1178.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1179. FROM piwigo_categories as c
  1180.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1181.   LEFT JOIN piwigo_images AS i
  1182.     ON ic.image_id = i.id
  1183.       AND i.level<=0
  1184.   GROUP BY c.id;
  1185. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1186. # Query_time: 14.195297  Lock_time: 1.215395 Rows_sent: 982  Rows_examined: 131796
  1187. SET timestamp=1392161568;
  1188. SELECT c.id AS cat_id, id_uppercat,
  1189.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1190. FROM piwigo_categories as c
  1191.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1192.   LEFT JOIN piwigo_images AS i
  1193.     ON ic.image_id = i.id
  1194.       AND i.level<=0
  1195.   GROUP BY c.id;
  1196. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1197. # Query_time: 12.154893  Lock_time: 0.000066 Rows_sent: 21  Rows_examined: 128871
  1198. SET timestamp=1392161568;
  1199. SELECT DISTINCT(id)
  1200.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1201.   WHERE category_id NOT IN (0)
  1202.     AND level>0;
  1203. # Time: 140212  0:32:50
  1204. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1205. # Query_time: 12.663335  Lock_time: 0.000062 Rows_sent: 21  Rows_examined: 128871
  1206. SET timestamp=1392161570;
  1207. SELECT DISTINCT(id)
  1208.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1209.   WHERE category_id NOT IN (0)
  1210.     AND level>0;
  1211. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1212. # Query_time: 12.905629  Lock_time: 0.000057 Rows_sent: 21  Rows_examined: 128871
  1213. SET timestamp=1392161570;
  1214. SELECT DISTINCT(id)
  1215.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1216.   WHERE category_id NOT IN (0)
  1217.     AND level>0;
  1218. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1219. # Query_time: 12.491143  Lock_time: 0.000082 Rows_sent: 21  Rows_examined: 128871
  1220. SET timestamp=1392161570;
  1221. SELECT DISTINCT(id)
  1222.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1223.   WHERE category_id NOT IN (0)
  1224.     AND level>0;
  1225. # Time: 140212  0:32:51
  1226. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1227. # Query_time: 11.964366  Lock_time: 0.000087 Rows_sent: 21  Rows_examined: 128871
  1228. SET timestamp=1392161571;
  1229. SELECT DISTINCT(id)
  1230.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1231.   WHERE category_id NOT IN (0)
  1232.     AND level>0;
  1233. # Time: 140212  0:32:52
  1234. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1235. # Query_time: 12.564820  Lock_time: 0.000067 Rows_sent: 21  Rows_examined: 128871
  1236. SET timestamp=1392161572;
  1237. SELECT DISTINCT(id)
  1238.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1239.   WHERE category_id NOT IN (0)
  1240.     AND level>0;
  1241. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1242. # Query_time: 12.147931  Lock_time: 0.000080 Rows_sent: 21  Rows_examined: 128871
  1243. SET timestamp=1392161572;
  1244. SELECT DISTINCT(id)
  1245.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1246.   WHERE category_id NOT IN (0)
  1247.     AND level>0;
  1248. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1249. # Query_time: 12.326307  Lock_time: 0.000087 Rows_sent: 21  Rows_examined: 128871
  1250. SET timestamp=1392161572;
  1251. SELECT DISTINCT(id)
  1252.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1253.   WHERE category_id NOT IN (0)
  1254.     AND level>0;
  1255. # Time: 140212  0:32:53
  1256. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1257. # Query_time: 12.021549  Lock_time: 0.000067 Rows_sent: 21  Rows_examined: 128871
  1258. SET timestamp=1392161573;
  1259. SELECT DISTINCT(id)
  1260.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1261.   WHERE category_id NOT IN (0)
  1262.     AND level>0;
  1263. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1264. # Query_time: 10.726889  Lock_time: 0.000060 Rows_sent: 21  Rows_examined: 128871
  1265. SET timestamp=1392161573;
  1266. SELECT DISTINCT(id)
  1267.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1268.   WHERE category_id NOT IN (0)
  1269.     AND level>0;
  1270. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1271. # Query_time: 11.299046  Lock_time: 0.000094 Rows_sent: 21  Rows_examined: 128871
  1272. SET timestamp=1392161573;
  1273. SELECT DISTINCT(id)
  1274.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1275.   WHERE category_id NOT IN (0)
  1276.     AND level>0;
  1277. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1278. # Query_time: 11.253777  Lock_time: 0.000083 Rows_sent: 21  Rows_examined: 128871
  1279. SET timestamp=1392161573;
  1280. SELECT DISTINCT(id)
  1281.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1282.   WHERE category_id NOT IN (0)
  1283.     AND level>0;
  1284. # Time: 140212  0:32:54
  1285. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1286. # Query_time: 10.204723  Lock_time: 0.000058 Rows_sent: 21  Rows_examined: 128871
  1287. SET timestamp=1392161574;
  1288. SELECT DISTINCT(id)
  1289.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1290.   WHERE category_id NOT IN (0)
  1291.     AND level>0;
  1292. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1293. # Query_time: 10.121468  Lock_time: 0.000044 Rows_sent: 21  Rows_examined: 128871
  1294. SET timestamp=1392161574;
  1295. SELECT DISTINCT(id)
  1296.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1297.   WHERE category_id NOT IN (0)
  1298.     AND level>0;
  1299. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1300. # Query_time: 14.713252  Lock_time: 0.000052 Rows_sent: 0  Rows_examined: 0
  1301. SET timestamp=1392161574;
  1302. INSERT INTO piwigo_images
  1303.   (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  1304.   VALUES('jardins-128.jpg','jardins-128','2014-02-12 00:32:39','./upload/2014/02/12/20140212003239-2971adac.jpg','487','1045','1500','2971adacca385acf4e76b49097e8f7db','1','0','0');
  1305. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1306. # Query_time: 10.181275  Lock_time: 0.000071 Rows_sent: 21  Rows_examined: 128871
  1307. SET timestamp=1392161574;
  1308. SELECT DISTINCT(id)
  1309.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1310.   WHERE category_id NOT IN (0)
  1311.     AND level>0;
  1312. # Time: 140212  2:50:13
  1313. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1314. # Query_time: 19.574663  Lock_time: 0.696205 Rows_sent: 21  Rows_examined: 129073
  1315. SET timestamp=1392169813;
  1316. SELECT DISTINCT(id)
  1317.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1318.   WHERE category_id NOT IN (0)
  1319.     AND level>0;
  1320. # Time: 140212  2:50:14
  1321. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1322. # Query_time: 20.178128  Lock_time: 0.306967 Rows_sent: 21  Rows_examined: 129073
  1323. SET timestamp=1392169814;
  1324. SELECT DISTINCT(id)
  1325.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1326.   WHERE category_id NOT IN (0)
  1327.     AND level>0;
  1328. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1329. # Query_time: 21.090237  Lock_time: 0.805618 Rows_sent: 21  Rows_examined: 129073
  1330. SET timestamp=1392169814;
  1331. SELECT DISTINCT(id)
  1332.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1333.   WHERE category_id NOT IN (0)
  1334.     AND level>0;
  1335. # Time: 140212  2:50:15
  1336. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1337. # Query_time: 20.805387  Lock_time: 0.183810 Rows_sent: 21  Rows_examined: 129073
  1338. SET timestamp=1392169815;
  1339. SELECT DISTINCT(id)
  1340.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1341.   WHERE category_id NOT IN (0)
  1342.     AND level>0;
  1343. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1344. # Query_time: 22.729707  Lock_time: 1.724633 Rows_sent: 21  Rows_examined: 129073
  1345. SET timestamp=1392169815;
  1346. SELECT DISTINCT(id)
  1347.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1348.   WHERE category_id NOT IN (0)
  1349.     AND level>0;
  1350. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1351. # Query_time: 21.321247  Lock_time: 0.275000 Rows_sent: 21  Rows_examined: 129073
  1352. SET timestamp=1392169815;
  1353. SELECT DISTINCT(id)
  1354.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1355.   WHERE category_id NOT IN (0)
  1356.     AND level>0;
  1357. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1358. # Query_time: 21.591580  Lock_time: 0.399481 Rows_sent: 21  Rows_examined: 129073
  1359. SET timestamp=1392169815;
  1360. SELECT DISTINCT(id)
  1361.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1362.   WHERE category_id NOT IN (0)
  1363.     AND level>0;
  1364. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1365. # Query_time: 15.620371  Lock_time: 0.000090 Rows_sent: 7  Rows_examined: 178575
  1366. use hrules;
  1367. SET timestamp=1392169815;
  1368. SELECT SQL_CALC_FOUND_ROWS  wp_posts.*, (t1.meta_value+0.00) AS ratings_average, (t2.meta_value+0.00) AS ratings_users FROM wp_posts  LEFT JOIN wp_postmeta AS t1 ON t1.post_id = wp_posts.ID LEFT JOIN wp_postmeta As t2 ON t1.post_id = t2.post_id WHERE 1=1  AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') AND t1.meta_key = 'ratings_average' AND t2.meta_key = 'ratings_users'  ORDER BY  ratings_average desc, ratings_users desc LIMIT 49, 7;
  1369. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1370. # Query_time: 21.605142  Lock_time: 0.232987 Rows_sent: 21  Rows_examined: 129073
  1371. use piwigal;
  1372. SET timestamp=1392169815;
  1373. SELECT DISTINCT(id)
  1374.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1375.   WHERE category_id NOT IN (0)
  1376.     AND level>0;
  1377. # Time: 140212  2:50:16
  1378. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1379. # Query_time: 22.961555  Lock_time: 0.542990 Rows_sent: 21  Rows_examined: 129073
  1380. SET timestamp=1392169816;
  1381. SELECT DISTINCT(id)
  1382.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1383.   WHERE category_id NOT IN (0)
  1384.     AND level>0;
  1385. # Time: 140212  2:50:17
  1386. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1387. # Query_time: 23.394195  Lock_time: 0.403106 Rows_sent: 983  Rows_examined: 132001
  1388. SET timestamp=1392169817;
  1389. SELECT c.id AS cat_id, id_uppercat,
  1390.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1391. FROM piwigo_categories as c
  1392.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1393.   LEFT JOIN piwigo_images AS i
  1394.     ON ic.image_id = i.id
  1395.       AND i.level<=0
  1396.   GROUP BY c.id;
  1397. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1398. # Query_time: 23.208653  Lock_time: 0.000047 Rows_sent: 21  Rows_examined: 129073
  1399. SET timestamp=1392169817;
  1400. SELECT DISTINCT(id)
  1401.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1402.   WHERE category_id NOT IN (0)
  1403.     AND level>0;
  1404. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1405. # Query_time: 23.108066  Lock_time: 0.000078 Rows_sent: 21  Rows_examined: 129073
  1406. SET timestamp=1392169817;
  1407. SELECT DISTINCT(id)
  1408.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1409.   WHERE category_id NOT IN (0)
  1410.     AND level>0;
  1411. # Time: 140212  2:50:18
  1412. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1413. # Query_time: 25.162073  Lock_time: 0.697442 Rows_sent: 983  Rows_examined: 132001
  1414. SET timestamp=1392169818;
  1415. SELECT c.id AS cat_id, id_uppercat,
  1416.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1417. FROM piwigo_categories as c
  1418.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1419.   LEFT JOIN piwigo_images AS i
  1420.     ON ic.image_id = i.id
  1421.       AND i.level<=0
  1422.   GROUP BY c.id;
  1423. # Time: 140212  2:50:19
  1424. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1425. # Query_time: 24.730775  Lock_time: 0.013332 Rows_sent: 983  Rows_examined: 132001
  1426. SET timestamp=1392169819;
  1427. SELECT c.id AS cat_id, id_uppercat,
  1428.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1429. FROM piwigo_categories as c
  1430.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1431.   LEFT JOIN piwigo_images AS i
  1432.     ON ic.image_id = i.id
  1433.       AND i.level<=0
  1434.   GROUP BY c.id;
  1435. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1436. # Query_time: 23.799133  Lock_time: 0.000067 Rows_sent: 21  Rows_examined: 129073
  1437. SET timestamp=1392169819;
  1438. SELECT DISTINCT(id)
  1439.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1440.   WHERE category_id NOT IN (0)
  1441.     AND level>0;
  1442. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1443. # Query_time: 26.063671  Lock_time: 0.543072 Rows_sent: 983  Rows_examined: 132001
  1444. SET timestamp=1392169819;
  1445. SELECT c.id AS cat_id, id_uppercat,
  1446.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1447. FROM piwigo_categories as c
  1448.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1449.   LEFT JOIN piwigo_images AS i
  1450.     ON ic.image_id = i.id
  1451.       AND i.level<=0
  1452.   GROUP BY c.id;
  1453. # Time: 140212  2:50:20
  1454. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1455. # Query_time: 23.860118  Lock_time: 0.000086 Rows_sent: 21  Rows_examined: 129073
  1456. SET timestamp=1392169820;
  1457. SELECT DISTINCT(id)
  1458.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1459.   WHERE category_id NOT IN (0)
  1460.     AND level>0;
  1461. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1462. # Query_time: 25.862472  Lock_time: 0.003999 Rows_sent: 983  Rows_examined: 132001
  1463. SET timestamp=1392169820;
  1464. SELECT c.id AS cat_id, id_uppercat,
  1465.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1466. FROM piwigo_categories as c
  1467.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1468.   LEFT JOIN piwigo_images AS i
  1469.     ON ic.image_id = i.id
  1470.       AND i.level<=0
  1471.   GROUP BY c.id;
  1472. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1473. # Query_time: 25.019298  Lock_time: 0.000062 Rows_sent: 21  Rows_examined: 129073
  1474. SET timestamp=1392169820;
  1475. SELECT DISTINCT(id)
  1476.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1477.   WHERE category_id NOT IN (0)
  1478.     AND level>0;
  1479. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1480. # Query_time: 25.136514  Lock_time: 0.000077 Rows_sent: 21  Rows_examined: 129073
  1481. SET timestamp=1392169820;
  1482. SELECT DISTINCT(id)
  1483.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1484.   WHERE category_id NOT IN (0)
  1485.     AND level>0;
  1486. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1487. # Query_time: 24.850209  Lock_time: 0.000078 Rows_sent: 21  Rows_examined: 129073
  1488. SET timestamp=1392169820;
  1489. SELECT DISTINCT(id)
  1490.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1491.   WHERE category_id NOT IN (0)
  1492.     AND level>0;
  1493. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1494. # Query_time: 25.220793  Lock_time: 0.000083 Rows_sent: 21  Rows_examined: 129073
  1495. SET timestamp=1392169820;
  1496. SELECT DISTINCT(id)
  1497.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1498.   WHERE category_id NOT IN (0)
  1499.     AND level>0;
  1500. # Time: 140212  2:50:21
  1501. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1502. # Query_time: 26.616032  Lock_time: 0.010870 Rows_sent: 983  Rows_examined: 132001
  1503. SET timestamp=1392169821;
  1504. SELECT c.id AS cat_id, id_uppercat,
  1505.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1506. FROM piwigo_categories as c
  1507.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1508.   LEFT JOIN piwigo_images AS i
  1509.     ON ic.image_id = i.id
  1510.       AND i.level<=0
  1511.   GROUP BY c.id;
  1512. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1513. # Query_time: 24.644814  Lock_time: 0.000051 Rows_sent: 21  Rows_examined: 129073
  1514. SET timestamp=1392169821;
  1515. SELECT DISTINCT(id)
  1516.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1517.   WHERE category_id NOT IN (0)
  1518.     AND level>0;
  1519. # Time: 140212  2:50:22
  1520. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1521. # Query_time: 26.037054  Lock_time: 0.000049 Rows_sent: 21  Rows_examined: 129073
  1522. SET timestamp=1392169822;
  1523. SELECT DISTINCT(id)
  1524.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1525.   WHERE category_id NOT IN (0)
  1526.     AND level>0;
  1527. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1528. # Query_time: 26.638678  Lock_time: 0.000058 Rows_sent: 21  Rows_examined: 129073
  1529. SET timestamp=1392169822;
  1530. SELECT DISTINCT(id)
  1531.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1532.   WHERE category_id NOT IN (0)
  1533.     AND level>0;
  1534. # Time: 140212  2:50:23
  1535. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1536. # Query_time: 26.531368  Lock_time: 0.000074 Rows_sent: 21  Rows_examined: 129073
  1537. SET timestamp=1392169823;
  1538. SELECT DISTINCT(id)
  1539.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1540.   WHERE category_id NOT IN (0)
  1541.     AND level>0;
  1542. # Time: 140212  2:50:24
  1543. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1544. # Query_time: 26.843509  Lock_time: 0.000066 Rows_sent: 21  Rows_examined: 129073
  1545. SET timestamp=1392169824;
  1546. SELECT DISTINCT(id)
  1547.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1548.   WHERE category_id NOT IN (0)
  1549.     AND level>0;
  1550. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1551. # Query_time: 27.866734  Lock_time: 0.000063 Rows_sent: 21  Rows_examined: 129073
  1552. SET timestamp=1392169824;
  1553. SELECT DISTINCT(id)
  1554.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1555.   WHERE category_id NOT IN (0)
  1556.     AND level>0;
  1557. # Time: 140212  2:50:25
  1558. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1559. # Query_time: 27.000758  Lock_time: 0.000063 Rows_sent: 21  Rows_examined: 129073
  1560. SET timestamp=1392169825;
  1561. SELECT DISTINCT(id)
  1562.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1563.   WHERE category_id NOT IN (0)
  1564.     AND level>0;
  1565. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1566. # Query_time: 27.894952  Lock_time: 0.000077 Rows_sent: 21  Rows_examined: 129073
  1567. SET timestamp=1392169825;
  1568. SELECT DISTINCT(id)
  1569.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1570.   WHERE category_id NOT IN (0)
  1571.     AND level>0;
  1572. # Time: 140212  2:50:26
  1573. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1574. # Query_time: 27.971543  Lock_time: 0.000050 Rows_sent: 21  Rows_examined: 129073
  1575. SET timestamp=1392169826;
  1576. SELECT DISTINCT(id)
  1577.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1578.   WHERE category_id NOT IN (0)
  1579.     AND level>0;
  1580. # Time: 140212  2:50:27
  1581. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1582. # Query_time: 27.163860  Lock_time: 0.000060 Rows_sent: 21  Rows_examined: 129073
  1583. SET timestamp=1392169827;
  1584. SELECT DISTINCT(id)
  1585.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1586.   WHERE category_id NOT IN (0)
  1587.     AND level>0;
  1588. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1589. # Query_time: 27.471821  Lock_time: 0.000070 Rows_sent: 21  Rows_examined: 129073
  1590. SET timestamp=1392169827;
  1591. SELECT DISTINCT(id)
  1592.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1593.   WHERE category_id NOT IN (0)
  1594.     AND level>0;
  1595. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1596. # Query_time: 27.655095  Lock_time: 0.000071 Rows_sent: 21  Rows_examined: 129073
  1597. SET timestamp=1392169827;
  1598. SELECT DISTINCT(id)
  1599.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1600.   WHERE category_id NOT IN (0)
  1601.     AND level>0;
  1602. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1603. # Query_time: 26.962486  Lock_time: 0.000059 Rows_sent: 21  Rows_examined: 129073
  1604. SET timestamp=1392169827;
  1605. SELECT DISTINCT(id)
  1606.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1607.   WHERE category_id NOT IN (0)
  1608.     AND level>0;
  1609. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1610. # Query_time: 26.966252  Lock_time: 0.000060 Rows_sent: 21  Rows_examined: 129073
  1611. SET timestamp=1392169827;
  1612. SELECT DISTINCT(id)
  1613.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1614.   WHERE category_id NOT IN (0)
  1615.     AND level>0;
  1616. # Time: 140212  2:50:28
  1617. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1618. # Query_time: 27.936644  Lock_time: 0.000059 Rows_sent: 21  Rows_examined: 129073
  1619. SET timestamp=1392169828;
  1620. SELECT DISTINCT(id)
  1621.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1622.   WHERE category_id NOT IN (0)
  1623.     AND level>0;
  1624. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1625. # Query_time: 27.273107  Lock_time: 0.000082 Rows_sent: 21  Rows_examined: 129073
  1626. SET timestamp=1392169828;
  1627. SELECT DISTINCT(id)
  1628.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1629.   WHERE category_id NOT IN (0)
  1630.     AND level>0;
  1631. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1632. # Query_time: 28.291967  Lock_time: 0.000076 Rows_sent: 21  Rows_examined: 129073
  1633. SET timestamp=1392169828;
  1634. SELECT DISTINCT(id)
  1635.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1636.   WHERE category_id NOT IN (0)
  1637.     AND level>0;
  1638. # Time: 140212  2:50:29
  1639. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1640. # Query_time: 28.939764  Lock_time: 0.000053 Rows_sent: 21  Rows_examined: 129073
  1641. SET timestamp=1392169829;
  1642. SELECT DISTINCT(id)
  1643.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1644.   WHERE category_id NOT IN (0)
  1645.     AND level>0;
  1646. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1647. # Query_time: 26.267063  Lock_time: 0.000043 Rows_sent: 21  Rows_examined: 129073
  1648. SET timestamp=1392169829;
  1649. SELECT DISTINCT(id)
  1650.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1651.   WHERE category_id NOT IN (0)
  1652.     AND level>0;
  1653. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1654. # Query_time: 27.175207  Lock_time: 0.000070 Rows_sent: 21  Rows_examined: 129073
  1655. SET timestamp=1392169829;
  1656. SELECT DISTINCT(id)
  1657.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1658.   WHERE category_id NOT IN (0)
  1659.     AND level>0;
  1660. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1661. # Query_time: 28.566981  Lock_time: 0.000043 Rows_sent: 21  Rows_examined: 129073
  1662. SET timestamp=1392169829;
  1663. SELECT DISTINCT(id)
  1664.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1665.   WHERE category_id NOT IN (0)
  1666.     AND level>0;
  1667. # Time: 140212  2:50:30
  1668. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1669. # Query_time: 26.668199  Lock_time: 0.000060 Rows_sent: 21  Rows_examined: 129073
  1670. SET timestamp=1392169830;
  1671. SELECT DISTINCT(id)
  1672.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1673.   WHERE category_id NOT IN (0)
  1674.     AND level>0;
  1675. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1676. # Query_time: 25.953005  Lock_time: 0.000093 Rows_sent: 21  Rows_examined: 129073
  1677. SET timestamp=1392169830;
  1678. SELECT DISTINCT(id)
  1679.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1680.   WHERE category_id NOT IN (0)
  1681.     AND level>0;
  1682. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1683. # Query_time: 24.167812  Lock_time: 0.008014 Rows_sent: 21  Rows_examined: 129073
  1684. SET timestamp=1392169830;
  1685. SELECT DISTINCT(id)
  1686.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1687.   WHERE category_id NOT IN (0)
  1688.     AND level>0;
  1689. # Time: 140212  2:50:31
  1690. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1691. # Query_time: 23.296396  Lock_time: 0.000058 Rows_sent: 21  Rows_examined: 129073
  1692. SET timestamp=1392169831;
  1693. SELECT DISTINCT(id)
  1694.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1695.   WHERE category_id NOT IN (0)
  1696.     AND level>0;
  1697. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1698. # Query_time: 25.355743  Lock_time: 0.000073 Rows_sent: 21  Rows_examined: 129073
  1699. SET timestamp=1392169831;
  1700. SELECT DISTINCT(id)
  1701.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1702.   WHERE category_id NOT IN (0)
  1703.     AND level>0;
  1704. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1705. # Query_time: 23.965549  Lock_time: 0.000072 Rows_sent: 21  Rows_examined: 129073
  1706. SET timestamp=1392169831;
  1707. SELECT DISTINCT(id)
  1708.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1709.   WHERE category_id NOT IN (0)
  1710.     AND level>0;
  1711. # Time: 140212  2:50:32
  1712. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1713. # Query_time: 22.512264  Lock_time: 0.000089 Rows_sent: 21  Rows_examined: 129073
  1714. SET timestamp=1392169832;
  1715. SELECT DISTINCT(id)
  1716.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1717.   WHERE category_id NOT IN (0)
  1718.     AND level>0;
  1719. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1720. # Query_time: 23.632924  Lock_time: 0.000076 Rows_sent: 21  Rows_examined: 129073
  1721. SET timestamp=1392169832;
  1722. SELECT DISTINCT(id)
  1723.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1724.   WHERE category_id NOT IN (0)
  1725.     AND level>0;
  1726. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1727. # Query_time: 22.939884  Lock_time: 0.000090 Rows_sent: 21  Rows_examined: 129073
  1728. SET timestamp=1392169832;
  1729. SELECT DISTINCT(id)
  1730.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1731.   WHERE category_id NOT IN (0)
  1732.     AND level>0;
  1733. # Time: 140212  2:50:33
  1734. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1735. # Query_time: 21.393014  Lock_time: 0.000081 Rows_sent: 21  Rows_examined: 129073
  1736. SET timestamp=1392169833;
  1737. SELECT DISTINCT(id)
  1738.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1739.   WHERE category_id NOT IN (0)
  1740.     AND level>0;
  1741. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1742. # Query_time: 20.780737  Lock_time: 0.000080 Rows_sent: 21  Rows_examined: 129073
  1743. SET timestamp=1392169833;
  1744. SELECT DISTINCT(id)
  1745.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1746.   WHERE category_id NOT IN (0)
  1747.     AND level>0;
  1748. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1749. # Query_time: 21.978960  Lock_time: 0.000072 Rows_sent: 21  Rows_examined: 129073
  1750. SET timestamp=1392169833;
  1751. SELECT DISTINCT(id)
  1752.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1753.   WHERE category_id NOT IN (0)
  1754.     AND level>0;
  1755. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1756. # Query_time: 18.435888  Lock_time: 0.000100 Rows_sent: 21  Rows_examined: 129073
  1757. SET timestamp=1392169833;
  1758. SELECT DISTINCT(id)
  1759.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1760.   WHERE category_id NOT IN (0)
  1761.     AND level>0;
  1762. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1763. # Query_time: 17.875847  Lock_time: 0.000133 Rows_sent: 983  Rows_examined: 132001
  1764. SET timestamp=1392169833;
  1765. SELECT c.id AS cat_id, id_uppercat,
  1766.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1767. FROM piwigo_categories as c
  1768.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1769.   LEFT JOIN piwigo_images AS i
  1770.     ON ic.image_id = i.id
  1771.       AND i.level<=0
  1772.   GROUP BY c.id;
  1773. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1774. # Query_time: 19.039829  Lock_time: 0.000095 Rows_sent: 983  Rows_examined: 132001
  1775. SET timestamp=1392169833;
  1776. SELECT c.id AS cat_id, id_uppercat,
  1777.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1778. FROM piwigo_categories as c
  1779.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1780.   LEFT JOIN piwigo_images AS i
  1781.     ON ic.image_id = i.id
  1782.       AND i.level<=0
  1783.   GROUP BY c.id;
  1784. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1785. # Query_time: 19.590882  Lock_time: 0.000112 Rows_sent: 983  Rows_examined: 132001
  1786. SET timestamp=1392169833;
  1787. SELECT c.id AS cat_id, id_uppercat,
  1788.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1789. FROM piwigo_categories as c
  1790.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1791.   LEFT JOIN piwigo_images AS i
  1792.     ON ic.image_id = i.id
  1793.       AND i.level<=0
  1794.   GROUP BY c.id;
  1795. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1796. # Query_time: 20.595369  Lock_time: 0.000073 Rows_sent: 983  Rows_examined: 132001
  1797. SET timestamp=1392169833;
  1798. SELECT c.id AS cat_id, id_uppercat,
  1799.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1800. FROM piwigo_categories as c
  1801.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1802.   LEFT JOIN piwigo_images AS i
  1803.     ON ic.image_id = i.id
  1804.       AND i.level<=0
  1805.   GROUP BY c.id;
  1806. # Time: 140212  2:50:34
  1807. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1808. # Query_time: 18.574480  Lock_time: 0.000088 Rows_sent: 983  Rows_examined: 132001
  1809. SET timestamp=1392169834;
  1810. SELECT c.id AS cat_id, id_uppercat,
  1811.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1812. FROM piwigo_categories as c
  1813.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1814.   LEFT JOIN piwigo_images AS i
  1815.     ON ic.image_id = i.id
  1816.       AND i.level<=0
  1817.   GROUP BY c.id;
  1818. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1819. # Query_time: 19.038509  Lock_time: 0.000089 Rows_sent: 983  Rows_examined: 132001
  1820. SET timestamp=1392169834;
  1821. SELECT c.id AS cat_id, id_uppercat,
  1822.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1823. FROM piwigo_categories as c
  1824.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1825.   LEFT JOIN piwigo_images AS i
  1826.     ON ic.image_id = i.id
  1827.       AND i.level<=0
  1828.   GROUP BY c.id;
  1829. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1830. # Query_time: 18.486494  Lock_time: 0.000102 Rows_sent: 983  Rows_examined: 132001
  1831. SET timestamp=1392169834;
  1832. SELECT c.id AS cat_id, id_uppercat,
  1833.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1834. FROM piwigo_categories as c
  1835.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1836.   LEFT JOIN piwigo_images AS i
  1837.     ON ic.image_id = i.id
  1838.       AND i.level<=0
  1839.   GROUP BY c.id;
  1840. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1841. # Query_time: 17.804423  Lock_time: 0.000105 Rows_sent: 983  Rows_examined: 132001
  1842. SET timestamp=1392169834;
  1843. SELECT c.id AS cat_id, id_uppercat,
  1844.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1845. FROM piwigo_categories as c
  1846.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1847.   LEFT JOIN piwigo_images AS i
  1848.     ON ic.image_id = i.id
  1849.       AND i.level<=0
  1850.   GROUP BY c.id;
  1851. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1852. # Query_time: 38.956175  Lock_time: 0.000058 Rows_sent: 0  Rows_examined: 0
  1853. SET timestamp=1392169834;
  1854. INSERT INTO piwigo_images
  1855.   (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  1856.   VALUES('jardins-055.jpg','jardins-055','2014-02-12 02:49:55','./upload/2014/02/12/20140212024955-e7c2b430.jpg','351','1112','1600','e7c2b43086f431529a6dc501ff9bc622','1','0','0');
  1857. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1858. # Query_time: 18.715898  Lock_time: 0.000113 Rows_sent: 983  Rows_examined: 132001
  1859. SET timestamp=1392169834;
  1860. SELECT c.id AS cat_id, id_uppercat,
  1861.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1862. FROM piwigo_categories as c
  1863.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1864.   LEFT JOIN piwigo_images AS i
  1865.     ON ic.image_id = i.id
  1866.       AND i.level<=0
  1867.   GROUP BY c.id;
  1868. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1869. # Query_time: 16.417333  Lock_time: 0.000129 Rows_sent: 983  Rows_examined: 132001
  1870. SET timestamp=1392169834;
  1871. SELECT c.id AS cat_id, id_uppercat,
  1872.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1873. FROM piwigo_categories as c
  1874.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1875.   LEFT JOIN piwigo_images AS i
  1876.     ON ic.image_id = i.id
  1877.       AND i.level<=0
  1878.   GROUP BY c.id;
  1879. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1880. # Query_time: 16.762201  Lock_time: 0.000087 Rows_sent: 983  Rows_examined: 132001
  1881. SET timestamp=1392169834;
  1882. SELECT c.id AS cat_id, id_uppercat,
  1883.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1884. FROM piwigo_categories as c
  1885.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1886.   LEFT JOIN piwigo_images AS i
  1887.     ON ic.image_id = i.id
  1888.       AND i.level<=0
  1889.   GROUP BY c.id;
  1890. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1891. # Query_time: 17.496248  Lock_time: 0.000094 Rows_sent: 983  Rows_examined: 132001
  1892. SET timestamp=1392169834;
  1893. SELECT c.id AS cat_id, id_uppercat,
  1894.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1895. FROM piwigo_categories as c
  1896.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1897.   LEFT JOIN piwigo_images AS i
  1898.     ON ic.image_id = i.id
  1899.       AND i.level<=0
  1900.   GROUP BY c.id;
  1901. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1902. # Query_time: 16.547889  Lock_time: 0.000094 Rows_sent: 983  Rows_examined: 132001
  1903. SET timestamp=1392169834;
  1904. SELECT c.id AS cat_id, id_uppercat,
  1905.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1906. FROM piwigo_categories as c
  1907.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1908.   LEFT JOIN piwigo_images AS i
  1909.     ON ic.image_id = i.id
  1910.       AND i.level<=0
  1911.   GROUP BY c.id;
  1912. # Time: 140212  2:50:47
  1913. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1914. # Query_time: 11.291637  Lock_time: 0.000076 Rows_sent: 21  Rows_examined: 129077
  1915. SET timestamp=1392169847;
  1916. SELECT DISTINCT(id)
  1917.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1918.   WHERE category_id NOT IN (0)
  1919.     AND level>0;
  1920. # Time: 140212  2:50:48
  1921. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1922. # Query_time: 11.981234  Lock_time: 0.000062 Rows_sent: 21  Rows_examined: 129077
  1923. SET timestamp=1392169848;
  1924. SELECT DISTINCT(id)
  1925.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1926.   WHERE category_id NOT IN (0)
  1927.     AND level>0;
  1928. # Time: 140212  2:50:49
  1929. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1930. # Query_time: 12.681716  Lock_time: 0.000039 Rows_sent: 0  Rows_examined: 129056
  1931. SET timestamp=1392169849;
  1932. SELECT DISTINCT(id)
  1933.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1934.   WHERE category_id NOT IN (0)
  1935.     AND level>8;
  1936. # Time: 140212  2:50:50
  1937. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1938. # Query_time: 13.733917  Lock_time: 0.000073 Rows_sent: 21  Rows_examined: 129077
  1939. SET timestamp=1392169850;
  1940. SELECT DISTINCT(id)
  1941.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1942.   WHERE category_id NOT IN (0)
  1943.     AND level>0;
  1944. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1945. # Query_time: 13.804263  Lock_time: 0.000071 Rows_sent: 21  Rows_examined: 129077
  1946. SET timestamp=1392169850;
  1947. SELECT DISTINCT(id)
  1948.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1949.   WHERE category_id NOT IN (0)
  1950.     AND level>0;
  1951. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1952. # Query_time: 14.036422  Lock_time: 0.000076 Rows_sent: 21  Rows_examined: 129077
  1953. SET timestamp=1392169850;
  1954. SELECT DISTINCT(id)
  1955.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1956.   WHERE category_id NOT IN (0)
  1957.     AND level>0;
  1958. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1959. # Query_time: 14.109282  Lock_time: 0.000054 Rows_sent: 21  Rows_examined: 129077
  1960. SET timestamp=1392169850;
  1961. SELECT DISTINCT(id)
  1962.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1963.   WHERE category_id NOT IN (0)
  1964.     AND level>0;
  1965. # Time: 140212  2:50:51
  1966. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1967. # Query_time: 14.317800  Lock_time: 0.000071 Rows_sent: 21  Rows_examined: 129077
  1968. SET timestamp=1392169851;
  1969. SELECT DISTINCT(id)
  1970.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1971.   WHERE category_id NOT IN (0)
  1972.     AND level>0;
  1973. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1974. # Query_time: 14.156062  Lock_time: 0.000079 Rows_sent: 21  Rows_examined: 129077
  1975. SET timestamp=1392169851;
  1976. SELECT DISTINCT(id)
  1977.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1978.   WHERE category_id NOT IN (0)
  1979.     AND level>0;
  1980. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1981. # Query_time: 14.855541  Lock_time: 0.000073 Rows_sent: 21  Rows_examined: 129077
  1982. SET timestamp=1392169851;
  1983. SELECT DISTINCT(id)
  1984.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1985.   WHERE category_id NOT IN (0)
  1986.     AND level>0;
  1987. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1988. # Query_time: 15.061747  Lock_time: 0.000101 Rows_sent: 21  Rows_examined: 129077
  1989. SET timestamp=1392169851;
  1990. SELECT DISTINCT(id)
  1991.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1992.   WHERE category_id NOT IN (0)
  1993.     AND level>0;
  1994. # Time: 140212  2:50:52
  1995. # User@Host: lesiteweb[lesiteweb] @ localhost []
  1996. # Query_time: 15.324308  Lock_time: 0.000079 Rows_sent: 21  Rows_examined: 129077
  1997. SET timestamp=1392169852;
  1998. SELECT DISTINCT(id)
  1999.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2000.   WHERE category_id NOT IN (0)
  2001.     AND level>0;
  2002. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2003. # Query_time: 15.652580  Lock_time: 0.000083 Rows_sent: 21  Rows_examined: 129077
  2004. SET timestamp=1392169852;
  2005. SELECT DISTINCT(id)
  2006.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2007.   WHERE category_id NOT IN (0)
  2008.     AND level>0;
  2009. # Time: 140212  2:50:54
  2010. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2011. # Query_time: 16.970206  Lock_time: 0.000054 Rows_sent: 21  Rows_examined: 129077
  2012. SET timestamp=1392169854;
  2013. SELECT DISTINCT(id)
  2014.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2015.   WHERE category_id NOT IN (0)
  2016.     AND level>0;
  2017. # Time: 140212  2:50:56
  2018. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2019. # Query_time: 18.563461  Lock_time: 0.000061 Rows_sent: 21  Rows_examined: 129077
  2020. SET timestamp=1392169856;
  2021. SELECT DISTINCT(id)
  2022.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2023.   WHERE category_id NOT IN (0)
  2024.     AND level>0;
  2025. # Time: 140212  2:50:57
  2026. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2027. # Query_time: 19.305811  Lock_time: 0.000067 Rows_sent: 21  Rows_examined: 129077
  2028. SET timestamp=1392169857;
  2029. SELECT DISTINCT(id)
  2030.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2031.   WHERE category_id NOT IN (0)
  2032.     AND level>0;
  2033. # Time: 140212  2:50:59
  2034. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2035. # Query_time: 21.065943  Lock_time: 0.000054 Rows_sent: 21  Rows_examined: 129077
  2036. SET timestamp=1392169859;
  2037. SELECT DISTINCT(id)
  2038.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2039.   WHERE category_id NOT IN (0)
  2040.     AND level>0;
  2041. # Time: 140212  2:51:02
  2042. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2043. # Query_time: 23.150973  Lock_time: 0.000078 Rows_sent: 21  Rows_examined: 129077
  2044. SET timestamp=1392169862;
  2045. SELECT DISTINCT(id)
  2046.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2047.   WHERE category_id NOT IN (0)
  2048.     AND level>0;
  2049. # Time: 140212  2:51:03
  2050. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2051. # Query_time: 23.989835  Lock_time: 0.000105 Rows_sent: 0  Rows_examined: 129056
  2052. SET timestamp=1392169863;
  2053. SELECT DISTINCT(id)
  2054.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2055.   WHERE category_id NOT IN (0)
  2056.     AND level>8;
  2057. # Time: 140212  2:51:04
  2058. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2059. # Query_time: 25.206338  Lock_time: 0.000070 Rows_sent: 21  Rows_examined: 129077
  2060. SET timestamp=1392169864;
  2061. SELECT DISTINCT(id)
  2062.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2063.   WHERE category_id NOT IN (0)
  2064.     AND level>0;
  2065. # Time: 140212  2:51:05
  2066. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2067. # Query_time: 25.766282  Lock_time: 0.000059 Rows_sent: 21  Rows_examined: 129077
  2068. SET timestamp=1392169865;
  2069. SELECT DISTINCT(id)
  2070.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2071.   WHERE category_id NOT IN (0)
  2072.     AND level>0;
  2073. # Time: 140212  2:51:08
  2074. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2075. # Query_time: 28.325947  Lock_time: 0.000097 Rows_sent: 21  Rows_examined: 129077
  2076. SET timestamp=1392169868;
  2077. SELECT DISTINCT(id)
  2078.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2079.   WHERE category_id NOT IN (0)
  2080.     AND level>0;
  2081. # Time: 140212  2:51:11
  2082. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2083. # Query_time: 30.938322  Lock_time: 0.000066 Rows_sent: 21  Rows_examined: 129077
  2084. SET timestamp=1392169871;
  2085. SELECT DISTINCT(id)
  2086.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2087.   WHERE category_id NOT IN (0)
  2088.     AND level>0;
  2089. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2090. # Query_time: 30.625981  Lock_time: 0.000052 Rows_sent: 21  Rows_examined: 129077
  2091. SET timestamp=1392169871;
  2092. SELECT DISTINCT(id)
  2093.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2094.   WHERE category_id NOT IN (0)
  2095.     AND level>0;
  2096. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2097. # Query_time: 30.620867  Lock_time: 0.000083 Rows_sent: 21  Rows_examined: 129077
  2098. SET timestamp=1392169871;
  2099. SELECT DISTINCT(id)
  2100.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2101.   WHERE category_id NOT IN (0)
  2102.     AND level>0;
  2103. # Time: 140212  2:51:12
  2104. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2105. # Query_time: 31.017703  Lock_time: 0.000067 Rows_sent: 21  Rows_examined: 129077
  2106. SET timestamp=1392169872;
  2107. SELECT DISTINCT(id)
  2108.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2109.   WHERE category_id NOT IN (0)
  2110.     AND level>0;
  2111. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2112. # Query_time: 31.073336  Lock_time: 0.000078 Rows_sent: 21  Rows_examined: 129077
  2113. SET timestamp=1392169872;
  2114. SELECT DISTINCT(id)
  2115.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2116.   WHERE category_id NOT IN (0)
  2117.     AND level>0;
  2118. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2119. # Query_time: 30.839276  Lock_time: 0.000080 Rows_sent: 21  Rows_examined: 129077
  2120. SET timestamp=1392169872;
  2121. SELECT DISTINCT(id)
  2122.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2123.   WHERE category_id NOT IN (0)
  2124.     AND level>0;
  2125. # Time: 140212  2:51:14
  2126. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2127. # Query_time: 31.570989  Lock_time: 0.000071 Rows_sent: 21  Rows_examined: 129077
  2128. SET timestamp=1392169874;
  2129. SELECT DISTINCT(id)
  2130.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2131.   WHERE category_id NOT IN (0)
  2132.     AND level>0;
  2133. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2134. # Query_time: 31.927337  Lock_time: 0.000076 Rows_sent: 21  Rows_examined: 129077
  2135. SET timestamp=1392169874;
  2136. SELECT DISTINCT(id)
  2137.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2138.   WHERE category_id NOT IN (0)
  2139.     AND level>0;
  2140. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2141. # Query_time: 33.602402  Lock_time: 0.000069 Rows_sent: 21  Rows_examined: 129077
  2142. SET timestamp=1392169874;
  2143. SELECT DISTINCT(id)
  2144.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2145.   WHERE category_id NOT IN (0)
  2146.     AND level>0;
  2147. # Time: 140212  2:51:16
  2148. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2149. # Query_time: 33.713088  Lock_time: 0.000077 Rows_sent: 21  Rows_examined: 129077
  2150. SET timestamp=1392169876;
  2151. SELECT DISTINCT(id)
  2152.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2153.   WHERE category_id NOT IN (0)
  2154.     AND level>0;
  2155. # Time: 140212  2:51:17
  2156. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2157. # Query_time: 23.809729  Lock_time: 0.000136 Rows_sent: 7  Rows_examined: 178568
  2158. use hrules;
  2159. SET timestamp=1392169877;
  2160. SELECT SQL_CALC_FOUND_ROWS  wp_posts.*, (t1.meta_value+0.00) AS ratings_average, (t2.meta_value+0.00) AS ratings_users FROM wp_posts  LEFT JOIN wp_postmeta AS t1 ON t1.post_id = wp_posts.ID LEFT JOIN wp_postmeta As t2 ON t1.post_id = t2.post_id WHERE 1=1  AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') AND t1.meta_key = 'ratings_average' AND t2.meta_key = 'ratings_users'  ORDER BY  ratings_average desc, ratings_users desc LIMIT 42, 7;
  2161. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2162. # Query_time: 34.408328  Lock_time: 0.000074 Rows_sent: 21  Rows_examined: 129077
  2163. use piwigal;
  2164. SET timestamp=1392169877;
  2165. SELECT DISTINCT(id)
  2166.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2167.   WHERE category_id NOT IN (0)
  2168.     AND level>0;
  2169. # Time: 140212  2:51:18
  2170. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2171. # Query_time: 34.552812  Lock_time: 0.000064 Rows_sent: 21  Rows_examined: 129077
  2172. SET timestamp=1392169878;
  2173. SELECT DISTINCT(id)
  2174.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2175.   WHERE category_id NOT IN (0)
  2176.     AND level>0;
  2177. # Time: 140212  2:51:19
  2178. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2179. # Query_time: 36.028794  Lock_time: 0.000094 Rows_sent: 21  Rows_examined: 129077
  2180. SET timestamp=1392169879;
  2181. SELECT DISTINCT(id)
  2182.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2183.   WHERE category_id NOT IN (0)
  2184.     AND level>0;
  2185. # Time: 140212  2:51:22
  2186. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2187. # Query_time: 38.048158  Lock_time: 0.000081 Rows_sent: 21  Rows_examined: 129077
  2188. SET timestamp=1392169882;
  2189. SELECT DISTINCT(id)
  2190.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2191.   WHERE category_id NOT IN (0)
  2192.     AND level>0;
  2193. # Time: 140212  2:51:23
  2194. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2195. # Query_time: 39.666836  Lock_time: 0.000073 Rows_sent: 21  Rows_examined: 129077
  2196. SET timestamp=1392169883;
  2197. SELECT DISTINCT(id)
  2198.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2199.   WHERE category_id NOT IN (0)
  2200.     AND level>0;
  2201. # Time: 140212  2:51:25
  2202. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2203. # Query_time: 39.775897  Lock_time: 0.000077 Rows_sent: 21  Rows_examined: 129077
  2204. SET timestamp=1392169885;
  2205. SELECT DISTINCT(id)
  2206.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2207.   WHERE category_id NOT IN (0)
  2208.     AND level>0;
  2209. # Time: 140212  2:51:27
  2210. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2211. # Query_time: 39.411602  Lock_time: 0.000080 Rows_sent: 21  Rows_examined: 129077
  2212. SET timestamp=1392169887;
  2213. SELECT DISTINCT(id)
  2214.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2215.   WHERE category_id NOT IN (0)
  2216.     AND level>0;
  2217. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2218. # Query_time: 40.953251  Lock_time: 0.000074 Rows_sent: 21  Rows_examined: 129077
  2219. SET timestamp=1392169887;
  2220. SELECT DISTINCT(id)
  2221.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2222.   WHERE category_id NOT IN (0)
  2223.     AND level>0;
  2224. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2225. # Query_time: 39.905612  Lock_time: 0.000071 Rows_sent: 21  Rows_examined: 129077
  2226. SET timestamp=1392169887;
  2227. SELECT DISTINCT(id)
  2228.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2229.   WHERE category_id NOT IN (0)
  2230.     AND level>0;
  2231. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2232. # Query_time: 40.556043  Lock_time: 0.000075 Rows_sent: 21  Rows_examined: 129077
  2233. SET timestamp=1392169887;
  2234. SELECT DISTINCT(id)
  2235.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2236.   WHERE category_id NOT IN (0)
  2237.     AND level>0;
  2238. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2239. # Query_time: 40.258228  Lock_time: 0.000070 Rows_sent: 21  Rows_examined: 129077
  2240. SET timestamp=1392169887;
  2241. SELECT DISTINCT(id)
  2242.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2243.   WHERE category_id NOT IN (0)
  2244.     AND level>0;
  2245. # Time: 140212  2:51:29
  2246. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2247. # Query_time: 41.835780  Lock_time: 0.000055 Rows_sent: 21  Rows_examined: 129077
  2248. SET timestamp=1392169889;
  2249. SELECT DISTINCT(id)
  2250.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2251.   WHERE category_id NOT IN (0)
  2252.     AND level>0;
  2253. # Time: 140212  2:51:30
  2254. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2255. # Query_time: 43.675886  Lock_time: 0.000077 Rows_sent: 21  Rows_examined: 129077
  2256. SET timestamp=1392169890;
  2257. SELECT DISTINCT(id)
  2258.   FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2259.   WHERE category_id NOT IN (0)
  2260.     AND level>0;
  2261. # Time: 140212  2:51:35
  2262. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2263. # Query_time: 46.160071  Lock_time: 0.000089 Rows_sent: 983  Rows_examined: 132005
  2264. SET timestamp=1392169895;
  2265. SELECT c.id AS cat_id, id_uppercat,
  2266.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2267. FROM piwigo_categories as c
  2268.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2269.   LEFT JOIN piwigo_images AS i
  2270.     ON ic.image_id = i.id
  2271.       AND i.level<=0
  2272.   GROUP BY c.id;
  2273. # Time: 140212  2:51:36
  2274. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2275. # Query_time: 46.211963  Lock_time: 0.000088 Rows_sent: 983  Rows_examined: 132005
  2276. SET timestamp=1392169896;
  2277. SELECT c.id AS cat_id, id_uppercat,
  2278.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2279. FROM piwigo_categories as c
  2280.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2281.   LEFT JOIN piwigo_images AS i
  2282.     ON ic.image_id = i.id
  2283.       AND i.level<=0
  2284.   GROUP BY c.id;
  2285. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2286. # Query_time: 46.992086  Lock_time: 0.000101 Rows_sent: 983  Rows_examined: 132005
  2287. SET timestamp=1392169896;
  2288. SELECT c.id AS cat_id, id_uppercat,
  2289.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2290. FROM piwigo_categories as c
  2291.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2292.   LEFT JOIN piwigo_images AS i
  2293.     ON ic.image_id = i.id
  2294.       AND i.level<=0
  2295.   GROUP BY c.id;
  2296. # Time: 140212  2:51:37
  2297. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2298. # Query_time: 46.776842  Lock_time: 0.000119 Rows_sent: 983  Rows_examined: 132005
  2299. SET timestamp=1392169897;
  2300. SELECT c.id AS cat_id, id_uppercat,
  2301.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2302. FROM piwigo_categories as c
  2303.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2304.   LEFT JOIN piwigo_images AS i
  2305.     ON ic.image_id = i.id
  2306.       AND i.level<=8
  2307.   GROUP BY c.id;
  2308. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2309. # Query_time: 48.735872  Lock_time: 0.000130 Rows_sent: 983  Rows_examined: 132005
  2310. SET timestamp=1392169897;
  2311. SELECT c.id AS cat_id, id_uppercat,
  2312.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2313. FROM piwigo_categories as c
  2314.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2315.   LEFT JOIN piwigo_images AS i
  2316.     ON ic.image_id = i.id
  2317.       AND i.level<=0
  2318.   GROUP BY c.id;
  2319. # Time: 140212  2:51:38
  2320. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2321. # Query_time: 47.687281  Lock_time: 0.000110 Rows_sent: 983  Rows_examined: 132005
  2322. SET timestamp=1392169898;
  2323. SELECT c.id AS cat_id, id_uppercat,
  2324.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2325. FROM piwigo_categories as c
  2326.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2327.   LEFT JOIN piwigo_images AS i
  2328.     ON ic.image_id = i.id
  2329.       AND i.level<=0
  2330.   GROUP BY c.id;
  2331. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2332. # Query_time: 48.213223  Lock_time: 0.000109 Rows_sent: 983  Rows_examined: 132005
  2333. SET timestamp=1392169898;
  2334. SELECT c.id AS cat_id, id_uppercat,
  2335.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2336. FROM piwigo_categories as c
  2337.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2338.   LEFT JOIN piwigo_images AS i
  2339.     ON ic.image_id = i.id
  2340.       AND i.level<=0
  2341.   GROUP BY c.id;
  2342. # Time: 140212  2:51:39
  2343. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2344. # Query_time: 48.411265  Lock_time: 0.000079 Rows_sent: 983  Rows_examined: 132005
  2345. SET timestamp=1392169899;
  2346. SELECT c.id AS cat_id, id_uppercat,
  2347.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2348. FROM piwigo_categories as c
  2349.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2350.   LEFT JOIN piwigo_images AS i
  2351.     ON ic.image_id = i.id
  2352.       AND i.level<=0
  2353.   GROUP BY c.id;
  2354. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2355. # Query_time: 48.880359  Lock_time: 0.000076 Rows_sent: 983  Rows_examined: 132005
  2356. SET timestamp=1392169899;
  2357. SELECT c.id AS cat_id, id_uppercat,
  2358.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2359. FROM piwigo_categories as c
  2360.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2361.   LEFT JOIN piwigo_images AS i
  2362.     ON ic.image_id = i.id
  2363.       AND i.level<=0
  2364.   GROUP BY c.id;
  2365. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2366. # Query_time: 49.520044  Lock_time: 0.000078 Rows_sent: 983  Rows_examined: 132005
  2367. SET timestamp=1392169899;
  2368. SELECT c.id AS cat_id, id_uppercat,
  2369.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2370. FROM piwigo_categories as c
  2371.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2372.   LEFT JOIN piwigo_images AS i
  2373.     ON ic.image_id = i.id
  2374.       AND i.level<=0
  2375.   GROUP BY c.id;
  2376. # Time: 140212  2:51:40
  2377. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2378. # Query_time: 49.234839  Lock_time: 0.000094 Rows_sent: 983  Rows_examined: 132005
  2379. SET timestamp=1392169900;
  2380. SELECT c.id AS cat_id, id_uppercat,
  2381.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2382. FROM piwigo_categories as c
  2383.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2384.   LEFT JOIN piwigo_images AS i
  2385.     ON ic.image_id = i.id
  2386.       AND i.level<=0
  2387.   GROUP BY c.id;
  2388. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2389. # Query_time: 49.688960  Lock_time: 0.000096 Rows_sent: 983  Rows_examined: 132005
  2390. SET timestamp=1392169900;
  2391. SELECT c.id AS cat_id, id_uppercat,
  2392.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2393. FROM piwigo_categories as c
  2394.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2395.   LEFT JOIN piwigo_images AS i
  2396.     ON ic.image_id = i.id
  2397.       AND i.level<=0
  2398.   GROUP BY c.id;
  2399. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2400. # Query_time: 49.060049  Lock_time: 0.000110 Rows_sent: 983  Rows_examined: 132005
  2401. SET timestamp=1392169900;
  2402. SELECT c.id AS cat_id, id_uppercat,
  2403.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2404. FROM piwigo_categories as c
  2405.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2406.   LEFT JOIN piwigo_images AS i
  2407.     ON ic.image_id = i.id
  2408.       AND i.level<=0
  2409.   GROUP BY c.id;
  2410. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2411. # Query_time: 50.120078  Lock_time: 0.000117 Rows_sent: 983  Rows_examined: 132005
  2412. SET timestamp=1392169900;
  2413. SELECT c.id AS cat_id, id_uppercat,
  2414.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2415. FROM piwigo_categories as c
  2416.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2417.   LEFT JOIN piwigo_images AS i
  2418.     ON ic.image_id = i.id
  2419.       AND i.level<=0
  2420.   GROUP BY c.id;
  2421. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2422. # Query_time: 48.777151  Lock_time: 0.000088 Rows_sent: 983  Rows_examined: 132005
  2423. SET timestamp=1392169900;
  2424. SELECT c.id AS cat_id, id_uppercat,
  2425.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2426. FROM piwigo_categories as c
  2427.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2428.   LEFT JOIN piwigo_images AS i
  2429.     ON ic.image_id = i.id
  2430.       AND i.level<=0
  2431.   GROUP BY c.id;
  2432. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2433. # Query_time: 50.871275  Lock_time: 0.000080 Rows_sent: 983  Rows_examined: 132005
  2434. SET timestamp=1392169900;
  2435. SELECT c.id AS cat_id, id_uppercat,
  2436.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2437. FROM piwigo_categories as c
  2438.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2439.   LEFT JOIN piwigo_images AS i
  2440.     ON ic.image_id = i.id
  2441.       AND i.level<=0
  2442.   GROUP BY c.id;
  2443. # Time: 140212  2:51:41
  2444. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2445. # Query_time: 49.453980  Lock_time: 0.000098 Rows_sent: 983  Rows_examined: 132005
  2446. SET timestamp=1392169901;
  2447. SELECT c.id AS cat_id, id_uppercat,
  2448.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2449. FROM piwigo_categories as c
  2450.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2451.   LEFT JOIN piwigo_images AS i
  2452.     ON ic.image_id = i.id
  2453.       AND i.level<=0
  2454.   GROUP BY c.id;
  2455. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2456. # Query_time: 48.702002  Lock_time: 0.014532 Rows_sent: 983  Rows_examined: 132005
  2457. SET timestamp=1392169901;
  2458. SELECT c.id AS cat_id, id_uppercat,
  2459.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2460. FROM piwigo_categories as c
  2461.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2462.   LEFT JOIN piwigo_images AS i
  2463.     ON ic.image_id = i.id
  2464.       AND i.level<=0
  2465.   GROUP BY c.id;
  2466. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2467. # Query_time: 50.359122  Lock_time: 0.000114 Rows_sent: 983  Rows_examined: 132005
  2468. SET timestamp=1392169901;
  2469. SELECT c.id AS cat_id, id_uppercat,
  2470.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2471. FROM piwigo_categories as c
  2472.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2473.   LEFT JOIN piwigo_images AS i
  2474.     ON ic.image_id = i.id
  2475.       AND i.level<=0
  2476.   GROUP BY c.id;
  2477. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2478. # Query_time: 49.481441  Lock_time: 0.000097 Rows_sent: 983  Rows_examined: 132005
  2479. SET timestamp=1392169901;
  2480. SELECT c.id AS cat_id, id_uppercat,
  2481.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2482. FROM piwigo_categories as c
  2483.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2484.   LEFT JOIN piwigo_images AS i
  2485.     ON ic.image_id = i.id
  2486.       AND i.level<=0
  2487.   GROUP BY c.id;
  2488. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2489. # Query_time: 49.287740  Lock_time: 0.000088 Rows_sent: 983  Rows_examined: 132005
  2490. SET timestamp=1392169901;
  2491. SELECT c.id AS cat_id, id_uppercat,
  2492.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2493. FROM piwigo_categories as c
  2494.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2495.   LEFT JOIN piwigo_images AS i
  2496.     ON ic.image_id = i.id
  2497.       AND i.level<=0
  2498.   GROUP BY c.id;
  2499. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2500. # Query_time: 49.879756  Lock_time: 0.000087 Rows_sent: 983  Rows_examined: 132005
  2501. SET timestamp=1392169901;
  2502. SELECT c.id AS cat_id, id_uppercat,
  2503.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2504. FROM piwigo_categories as c
  2505.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2506.   LEFT JOIN piwigo_images AS i
  2507.     ON ic.image_id = i.id
  2508.       AND i.level<=0
  2509.   GROUP BY c.id;
  2510. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2511. # Query_time: 49.578389  Lock_time: 0.000089 Rows_sent: 983  Rows_examined: 132005
  2512. SET timestamp=1392169901;
  2513. SELECT c.id AS cat_id, id_uppercat,
  2514.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2515. FROM piwigo_categories as c
  2516.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2517.   LEFT JOIN piwigo_images AS i
  2518.     ON ic.image_id = i.id
  2519.       AND i.level<=0
  2520.   GROUP BY c.id;
  2521. # Time: 140212  2:51:42
  2522. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2523. # Query_time: 47.780748  Lock_time: 0.000195 Rows_sent: 983  Rows_examined: 132005
  2524. SET timestamp=1392169902;
  2525. SELECT c.id AS cat_id, id_uppercat,
  2526.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2527. FROM piwigo_categories as c
  2528.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2529.   LEFT JOIN piwigo_images AS i
  2530.     ON ic.image_id = i.id
  2531.       AND i.level<=0
  2532.   GROUP BY c.id;
  2533. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2534. # Query_time: 43.124656  Lock_time: 17.691608 Rows_sent: 7  Rows_examined: 178568
  2535. use hrules;
  2536. SET timestamp=1392169902;
  2537. SELECT SQL_CALC_FOUND_ROWS  wp_posts.*, (t1.meta_value+0.00) AS ratings_average, (t2.meta_value+0.00) AS ratings_users FROM wp_posts  LEFT JOIN wp_postmeta AS t1 ON t1.post_id = wp_posts.ID LEFT JOIN wp_postmeta As t2 ON t1.post_id = t2.post_id WHERE 1=1  AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') AND t1.meta_key = 'ratings_average' AND t2.meta_key = 'ratings_users'  ORDER BY  ratings_average desc, ratings_users desc LIMIT 42, 7;
  2538. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2539. # Query_time: 49.987692  Lock_time: 0.000119 Rows_sent: 983  Rows_examined: 132005
  2540. use piwigal;
  2541. SET timestamp=1392169902;
  2542. SELECT c.id AS cat_id, id_uppercat,
  2543.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2544. FROM piwigo_categories as c
  2545.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2546.   LEFT JOIN piwigo_images AS i
  2547.     ON ic.image_id = i.id
  2548.       AND i.level<=0
  2549.   GROUP BY c.id;
  2550. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2551. # Query_time: 47.490448  Lock_time: 0.021753 Rows_sent: 983  Rows_examined: 132005
  2552. SET timestamp=1392169902;
  2553. SELECT c.id AS cat_id, id_uppercat,
  2554.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2555. FROM piwigo_categories as c
  2556.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2557.   LEFT JOIN piwigo_images AS i
  2558.     ON ic.image_id = i.id
  2559.       AND i.level<=0
  2560.   GROUP BY c.id;
  2561. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2562. # Query_time: 49.724180  Lock_time: 0.000123 Rows_sent: 983  Rows_examined: 132005
  2563. SET timestamp=1392169902;
  2564. SELECT c.id AS cat_id, id_uppercat,
  2565.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2566. FROM piwigo_categories as c
  2567.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2568.   LEFT JOIN piwigo_images AS i
  2569.     ON ic.image_id = i.id
  2570.       AND i.level<=0
  2571.   GROUP BY c.id;
  2572. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2573. # Query_time: 50.559357  Lock_time: 0.026249 Rows_sent: 983  Rows_examined: 132005
  2574. SET timestamp=1392169902;
  2575. SELECT c.id AS cat_id, id_uppercat,
  2576.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2577. FROM piwigo_categories as c
  2578.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2579.   LEFT JOIN piwigo_images AS i
  2580.     ON ic.image_id = i.id
  2581.       AND i.level<=0
  2582.   GROUP BY c.id;
  2583. # Time: 140212  2:51:43
  2584. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2585. # Query_time: 49.782475  Lock_time: 0.000092 Rows_sent: 983  Rows_examined: 132005
  2586. SET timestamp=1392169903;
  2587. SELECT c.id AS cat_id, id_uppercat,
  2588.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2589. FROM piwigo_categories as c
  2590.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2591.   LEFT JOIN piwigo_images AS i
  2592.     ON ic.image_id = i.id
  2593.       AND i.level<=0
  2594.   GROUP BY c.id;
  2595. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2596. # Query_time: 49.158517  Lock_time: 0.000222 Rows_sent: 983  Rows_examined: 132005
  2597. SET timestamp=1392169903;
  2598. SELECT c.id AS cat_id, id_uppercat,
  2599.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2600. FROM piwigo_categories as c
  2601.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2602.   LEFT JOIN piwigo_images AS i
  2603.     ON ic.image_id = i.id
  2604.       AND i.level<=0
  2605.   GROUP BY c.id;
  2606. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2607. # Query_time: 49.108525  Lock_time: 0.000236 Rows_sent: 983  Rows_examined: 132005
  2608. SET timestamp=1392169903;
  2609. SELECT c.id AS cat_id, id_uppercat,
  2610.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2611. FROM piwigo_categories as c
  2612.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2613.   LEFT JOIN piwigo_images AS i
  2614.     ON ic.image_id = i.id
  2615.       AND i.level<=0
  2616.   GROUP BY c.id;
  2617. # Time: 140212  2:51:44
  2618. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2619. # Query_time: 48.122979  Lock_time: 0.000169 Rows_sent: 983  Rows_examined: 132005
  2620. SET timestamp=1392169904;
  2621. SELECT c.id AS cat_id, id_uppercat,
  2622.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2623. FROM piwigo_categories as c
  2624.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2625.   LEFT JOIN piwigo_images AS i
  2626.     ON ic.image_id = i.id
  2627.       AND i.level<=0
  2628.   GROUP BY c.id;
  2629. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2630. # Query_time: 49.423189  Lock_time: 0.000135 Rows_sent: 983  Rows_examined: 132005
  2631. SET timestamp=1392169904;
  2632. SELECT c.id AS cat_id, id_uppercat,
  2633.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2634. FROM piwigo_categories as c
  2635.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2636.   LEFT JOIN piwigo_images AS i
  2637.     ON ic.image_id = i.id
  2638.       AND i.level<=0
  2639.   GROUP BY c.id;
  2640. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2641. # Query_time: 49.702055  Lock_time: 0.007681 Rows_sent: 983  Rows_examined: 132005
  2642. SET timestamp=1392169904;
  2643. SELECT c.id AS cat_id, id_uppercat,
  2644.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2645. FROM piwigo_categories as c
  2646.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2647.   LEFT JOIN piwigo_images AS i
  2648.     ON ic.image_id = i.id
  2649.       AND i.level<=0
  2650.   GROUP BY c.id;
  2651. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2652. # Query_time: 50.214091  Lock_time: 0.000160 Rows_sent: 983  Rows_examined: 132005
  2653. SET timestamp=1392169904;
  2654. SELECT c.id AS cat_id, id_uppercat,
  2655.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2656. FROM piwigo_categories as c
  2657.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2658.   LEFT JOIN piwigo_images AS i
  2659.     ON ic.image_id = i.id
  2660.       AND i.level<=0
  2661.   GROUP BY c.id;
  2662. # Time: 140212  2:51:45
  2663. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2664. # Query_time: 49.268845  Lock_time: 0.014162 Rows_sent: 983  Rows_examined: 132005
  2665. SET timestamp=1392169905;
  2666. SELECT c.id AS cat_id, id_uppercat,
  2667.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2668. FROM piwigo_categories as c
  2669.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2670.   LEFT JOIN piwigo_images AS i
  2671.     ON ic.image_id = i.id
  2672.       AND i.level<=0
  2673.   GROUP BY c.id;
  2674. # Time: 140212  2:51:46
  2675. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2676. # Query_time: 48.050697  Lock_time: 0.004150 Rows_sent: 983  Rows_examined: 132005
  2677. SET timestamp=1392169906;
  2678. SELECT c.id AS cat_id, id_uppercat,
  2679.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2680. FROM piwigo_categories as c
  2681.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2682.   LEFT JOIN piwigo_images AS i
  2683.     ON ic.image_id = i.id
  2684.       AND i.level<=0
  2685.   GROUP BY c.id;
  2686. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2687. # Query_time: 49.652576  Lock_time: 0.001820 Rows_sent: 983  Rows_examined: 132005
  2688. SET timestamp=1392169906;
  2689. SELECT c.id AS cat_id, id_uppercat,
  2690.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2691. FROM piwigo_categories as c
  2692.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2693.   LEFT JOIN piwigo_images AS i
  2694.     ON ic.image_id = i.id
  2695.       AND i.level<=0
  2696.   GROUP BY c.id;
  2697. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2698. # Query_time: 49.053565  Lock_time: 0.000182 Rows_sent: 983  Rows_examined: 132005
  2699. SET timestamp=1392169906;
  2700. SELECT c.id AS cat_id, id_uppercat,
  2701.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2702. FROM piwigo_categories as c
  2703.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2704.   LEFT JOIN piwigo_images AS i
  2705.     ON ic.image_id = i.id
  2706.       AND i.level<=0
  2707.   GROUP BY c.id;
  2708. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2709. # Query_time: 48.975439  Lock_time: 0.004577 Rows_sent: 983  Rows_examined: 132005
  2710. SET timestamp=1392169906;
  2711. SELECT c.id AS cat_id, id_uppercat,
  2712.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2713. FROM piwigo_categories as c
  2714.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2715.   LEFT JOIN piwigo_images AS i
  2716.     ON ic.image_id = i.id
  2717.       AND i.level<=0
  2718.   GROUP BY c.id;
  2719. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2720. # Query_time: 48.211381  Lock_time: 0.000347 Rows_sent: 983  Rows_examined: 132005
  2721. SET timestamp=1392169906;
  2722. SELECT c.id AS cat_id, id_uppercat,
  2723.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2724. FROM piwigo_categories as c
  2725.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2726.   LEFT JOIN piwigo_images AS i
  2727.     ON ic.image_id = i.id
  2728.       AND i.level<=0
  2729.   GROUP BY c.id;
  2730. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2731. # Query_time: 48.955097  Lock_time: 0.000155 Rows_sent: 983  Rows_examined: 132005
  2732. SET timestamp=1392169906;
  2733. SELECT c.id AS cat_id, id_uppercat,
  2734.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2735. FROM piwigo_categories as c
  2736.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2737.   LEFT JOIN piwigo_images AS i
  2738.     ON ic.image_id = i.id
  2739.       AND i.level<=0
  2740.   GROUP BY c.id;
  2741. # Time: 140212  2:51:47
  2742. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2743. # Query_time: 46.388978  Lock_time: 0.006122 Rows_sent: 983  Rows_examined: 132005
  2744. SET timestamp=1392169907;
  2745. SELECT c.id AS cat_id, id_uppercat,
  2746.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2747. FROM piwigo_categories as c
  2748.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2749.   LEFT JOIN piwigo_images AS i
  2750.     ON ic.image_id = i.id
  2751.       AND i.level<=0
  2752.   GROUP BY c.id;
  2753. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2754. # Query_time: 47.232915  Lock_time: 0.000179 Rows_sent: 983  Rows_examined: 132005
  2755. SET timestamp=1392169907;
  2756. SELECT c.id AS cat_id, id_uppercat,
  2757.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2758. FROM piwigo_categories as c
  2759.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2760.   LEFT JOIN piwigo_images AS i
  2761.     ON ic.image_id = i.id
  2762.       AND i.level<=0
  2763.   GROUP BY c.id;
  2764. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2765. # Query_time: 47.323751  Lock_time: 0.000277 Rows_sent: 983  Rows_examined: 132005
  2766. SET timestamp=1392169907;
  2767. SELECT c.id AS cat_id, id_uppercat,
  2768.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2769. FROM piwigo_categories as c
  2770.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2771.   LEFT JOIN piwigo_images AS i
  2772.     ON ic.image_id = i.id
  2773.       AND i.level<=0
  2774.   GROUP BY c.id;
  2775. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2776. # Query_time: 46.745572  Lock_time: 0.047738 Rows_sent: 983  Rows_examined: 132005
  2777. SET timestamp=1392169907;
  2778. SELECT c.id AS cat_id, id_uppercat,
  2779.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2780. FROM piwigo_categories as c
  2781.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2782.   LEFT JOIN piwigo_images AS i
  2783.     ON ic.image_id = i.id
  2784.       AND i.level<=0
  2785.   GROUP BY c.id;
  2786. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2787. # Query_time: 47.853567  Lock_time: 0.009898 Rows_sent: 983  Rows_examined: 132005
  2788. SET timestamp=1392169907;
  2789. SELECT c.id AS cat_id, id_uppercat,
  2790.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2791. FROM piwigo_categories as c
  2792.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2793.   LEFT JOIN piwigo_images AS i
  2794.     ON ic.image_id = i.id
  2795.       AND i.level<=0
  2796.   GROUP BY c.id;
  2797. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2798. # Query_time: 45.472174  Lock_time: 0.000257 Rows_sent: 983  Rows_examined: 132005
  2799. SET timestamp=1392169907;
  2800. SELECT c.id AS cat_id, id_uppercat,
  2801.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2802. FROM piwigo_categories as c
  2803.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2804.   LEFT JOIN piwigo_images AS i
  2805.     ON ic.image_id = i.id
  2806.       AND i.level<=0
  2807.   GROUP BY c.id;
  2808. # Time: 140212  2:51:48
  2809. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2810. # Query_time: 46.924980  Lock_time: 0.000231 Rows_sent: 983  Rows_examined: 132005
  2811. SET timestamp=1392169908;
  2812. SELECT c.id AS cat_id, id_uppercat,
  2813.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2814. FROM piwigo_categories as c
  2815.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2816.   LEFT JOIN piwigo_images AS i
  2817.     ON ic.image_id = i.id
  2818.       AND i.level<=0
  2819.   GROUP BY c.id;
  2820. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2821. # Query_time: 48.144147  Lock_time: 0.000647 Rows_sent: 983  Rows_examined: 132005
  2822. SET timestamp=1392169908;
  2823. SELECT c.id AS cat_id, id_uppercat,
  2824.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2825. FROM piwigo_categories as c
  2826.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2827.   LEFT JOIN piwigo_images AS i
  2828.     ON ic.image_id = i.id
  2829.       AND i.level<=0
  2830.   GROUP BY c.id;
  2831. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2832. # Query_time: 47.291490  Lock_time: 0.000257 Rows_sent: 983  Rows_examined: 132005
  2833. SET timestamp=1392169908;
  2834. SELECT c.id AS cat_id, id_uppercat,
  2835.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2836. FROM piwigo_categories as c
  2837.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2838.   LEFT JOIN piwigo_images AS i
  2839.     ON ic.image_id = i.id
  2840.       AND i.level<=0
  2841.   GROUP BY c.id;
  2842. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2843. # Query_time: 49.161835  Lock_time: 0.000194 Rows_sent: 983  Rows_examined: 132005
  2844. SET timestamp=1392169908;
  2845. SELECT c.id AS cat_id, id_uppercat,
  2846.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2847. FROM piwigo_categories as c
  2848.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2849.   LEFT JOIN piwigo_images AS i
  2850.     ON ic.image_id = i.id
  2851.       AND i.level<=0
  2852.   GROUP BY c.id;
  2853. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2854. # Query_time: 46.064190  Lock_time: 0.000154 Rows_sent: 983  Rows_examined: 132005
  2855. SET timestamp=1392169908;
  2856. SELECT c.id AS cat_id, id_uppercat,
  2857.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2858. FROM piwigo_categories as c
  2859.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2860.   LEFT JOIN piwigo_images AS i
  2861.     ON ic.image_id = i.id
  2862.       AND i.level<=0
  2863.   GROUP BY c.id;
  2864. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2865. # Query_time: 45.618940  Lock_time: 0.000257 Rows_sent: 983  Rows_examined: 132005
  2866. SET timestamp=1392169908;
  2867. SELECT c.id AS cat_id, id_uppercat,
  2868.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2869. FROM piwigo_categories as c
  2870.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2871.   LEFT JOIN piwigo_images AS i
  2872.     ON ic.image_id = i.id
  2873.       AND i.level<=0
  2874.   GROUP BY c.id;
  2875. # Time: 140212  2:51:49
  2876. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2877. # Query_time: 45.902005  Lock_time: 0.000166 Rows_sent: 983  Rows_examined: 132005
  2878. SET timestamp=1392169909;
  2879. SELECT c.id AS cat_id, id_uppercat,
  2880.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2881. FROM piwigo_categories as c
  2882.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2883.   LEFT JOIN piwigo_images AS i
  2884.     ON ic.image_id = i.id
  2885.       AND i.level<=8
  2886.   GROUP BY c.id;
  2887. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2888. # Query_time: 44.058500  Lock_time: 0.000201 Rows_sent: 983  Rows_examined: 132005
  2889. SET timestamp=1392169909;
  2890. SELECT c.id AS cat_id, id_uppercat,
  2891.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2892. FROM piwigo_categories as c
  2893.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2894.   LEFT JOIN piwigo_images AS i
  2895.     ON ic.image_id = i.id
  2896.       AND i.level<=0
  2897.   GROUP BY c.id;
  2898. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2899. # Query_time: 49.200940  Lock_time: 0.000251 Rows_sent: 983  Rows_examined: 132005
  2900. SET timestamp=1392169909;
  2901. SELECT c.id AS cat_id, id_uppercat,
  2902.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2903. FROM piwigo_categories as c
  2904.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2905.   LEFT JOIN piwigo_images AS i
  2906.     ON ic.image_id = i.id
  2907.       AND i.level<=0
  2908.   GROUP BY c.id;
  2909. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2910. # Query_time: 46.649293  Lock_time: 0.000186 Rows_sent: 983  Rows_examined: 132005
  2911. SET timestamp=1392169909;
  2912. SELECT c.id AS cat_id, id_uppercat,
  2913.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2914. FROM piwigo_categories as c
  2915.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2916.   LEFT JOIN piwigo_images AS i
  2917.     ON ic.image_id = i.id
  2918.       AND i.level<=0
  2919.   GROUP BY c.id;
  2920. # Time: 140212  2:51:50
  2921. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2922. # Query_time: 44.122548  Lock_time: 0.000247 Rows_sent: 983  Rows_examined: 132005
  2923. SET timestamp=1392169910;
  2924. SELECT c.id AS cat_id, id_uppercat,
  2925.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2926. FROM piwigo_categories as c
  2927.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2928.   LEFT JOIN piwigo_images AS i
  2929.     ON ic.image_id = i.id
  2930.       AND i.level<=0
  2931.   GROUP BY c.id;
  2932. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2933. # Query_time: 45.540567  Lock_time: 0.000163 Rows_sent: 983  Rows_examined: 132005
  2934. SET timestamp=1392169910;
  2935. SELECT c.id AS cat_id, id_uppercat,
  2936.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2937. FROM piwigo_categories as c
  2938.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2939.   LEFT JOIN piwigo_images AS i
  2940.     ON ic.image_id = i.id
  2941.       AND i.level<=0
  2942.   GROUP BY c.id;
  2943. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2944. # Query_time: 46.282864  Lock_time: 0.000238 Rows_sent: 983  Rows_examined: 132005
  2945. SET timestamp=1392169910;
  2946. SELECT c.id AS cat_id, id_uppercat,
  2947.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2948. FROM piwigo_categories as c
  2949.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2950.   LEFT JOIN piwigo_images AS i
  2951.     ON ic.image_id = i.id
  2952.       AND i.level<=0
  2953.   GROUP BY c.id;
  2954. # Time: 140212  2:51:51
  2955. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2956. # Query_time: 42.335302  Lock_time: 0.000185 Rows_sent: 983  Rows_examined: 132005
  2957. SET timestamp=1392169911;
  2958. SELECT c.id AS cat_id, id_uppercat,
  2959.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2960. FROM piwigo_categories as c
  2961.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2962.   LEFT JOIN piwigo_images AS i
  2963.     ON ic.image_id = i.id
  2964.       AND i.level<=0
  2965.   GROUP BY c.id;
  2966. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2967. # Query_time: 39.259188  Lock_time: 0.000163 Rows_sent: 983  Rows_examined: 132005
  2968. SET timestamp=1392169911;
  2969. SELECT c.id AS cat_id, id_uppercat,
  2970.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2971. FROM piwigo_categories as c
  2972.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2973.   LEFT JOIN piwigo_images AS i
  2974.     ON ic.image_id = i.id
  2975.       AND i.level<=0
  2976.   GROUP BY c.id;
  2977. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2978. # Query_time: 40.042758  Lock_time: 0.000166 Rows_sent: 983  Rows_examined: 132005
  2979. SET timestamp=1392169911;
  2980. SELECT c.id AS cat_id, id_uppercat,
  2981.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2982. FROM piwigo_categories as c
  2983.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2984.   LEFT JOIN piwigo_images AS i
  2985.     ON ic.image_id = i.id
  2986.       AND i.level<=0
  2987.   GROUP BY c.id;
  2988. # User@Host: lesiteweb[lesiteweb] @ localhost []
  2989. # Query_time: 39.988972  Lock_time: 0.000179 Rows_sent: 983  Rows_examined: 132005
  2990. SET timestamp=1392169911;
  2991. SELECT c.id AS cat_id, id_uppercat,
  2992.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2993. FROM piwigo_categories as c
  2994.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2995.   LEFT JOIN piwigo_images AS i
  2996.     ON ic.image_id = i.id
  2997.       AND i.level<=0
  2998.   GROUP BY c.id;
  2999. # Time: 140212  2:51:52
  3000. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3001. # Query_time: 37.830403  Lock_time: 0.000155 Rows_sent: 983  Rows_examined: 132005
  3002. SET timestamp=1392169912;
  3003. SELECT c.id AS cat_id, id_uppercat,
  3004.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3005. FROM piwigo_categories as c
  3006.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3007.   LEFT JOIN piwigo_images AS i
  3008.     ON ic.image_id = i.id
  3009.       AND i.level<=0
  3010.   GROUP BY c.id;
  3011. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3012. # Query_time: 40.283500  Lock_time: 0.000166 Rows_sent: 983  Rows_examined: 132005
  3013. SET timestamp=1392169912;
  3014. SELECT c.id AS cat_id, id_uppercat,
  3015.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3016. FROM piwigo_categories as c
  3017.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3018.   LEFT JOIN piwigo_images AS i
  3019.     ON ic.image_id = i.id
  3020.       AND i.level<=0
  3021.   GROUP BY c.id;
  3022. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3023. # Query_time: 39.487866  Lock_time: 0.000144 Rows_sent: 983  Rows_examined: 132005
  3024. SET timestamp=1392169912;
  3025. SELECT c.id AS cat_id, id_uppercat,
  3026.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3027. FROM piwigo_categories as c
  3028.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3029.   LEFT JOIN piwigo_images AS i
  3030.     ON ic.image_id = i.id
  3031.       AND i.level<=0
  3032.   GROUP BY c.id;
  3033. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3034. # Query_time: 40.085055  Lock_time: 0.000170 Rows_sent: 983  Rows_examined: 132005
  3035. SET timestamp=1392169912;
  3036. SELECT c.id AS cat_id, id_uppercat,
  3037.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3038. FROM piwigo_categories as c
  3039.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3040.   LEFT JOIN piwigo_images AS i
  3041.     ON ic.image_id = i.id
  3042.       AND i.level<=0
  3043.   GROUP BY c.id;
  3044. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3045. # Query_time: 37.900078  Lock_time: 0.000153 Rows_sent: 983  Rows_examined: 132005
  3046. SET timestamp=1392169912;
  3047. SELECT c.id AS cat_id, id_uppercat,
  3048.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3049. FROM piwigo_categories as c
  3050.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3051.   LEFT JOIN piwigo_images AS i
  3052.     ON ic.image_id = i.id
  3053.       AND i.level<=0
  3054.   GROUP BY c.id;
  3055. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3056. # Query_time: 38.602358  Lock_time: 0.000145 Rows_sent: 983  Rows_examined: 132005
  3057. SET timestamp=1392169912;
  3058. SELECT c.id AS cat_id, id_uppercat,
  3059.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3060. FROM piwigo_categories as c
  3061.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3062.   LEFT JOIN piwigo_images AS i
  3063.     ON ic.image_id = i.id
  3064.       AND i.level<=0
  3065.   GROUP BY c.id;
  3066. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3067. # Query_time: 34.747293  Lock_time: 0.000168 Rows_sent: 983  Rows_examined: 132005
  3068. SET timestamp=1392169912;
  3069. SELECT c.id AS cat_id, id_uppercat,
  3070.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3071. FROM piwigo_categories as c
  3072.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3073.   LEFT JOIN piwigo_images AS i
  3074.     ON ic.image_id = i.id
  3075.       AND i.level<=0
  3076.   GROUP BY c.id;
  3077. # Time: 140212  2:51:53
  3078. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3079. # Query_time: 34.971578  Lock_time: 0.005424 Rows_sent: 983  Rows_examined: 132005
  3080. SET timestamp=1392169913;
  3081. SELECT c.id AS cat_id, id_uppercat,
  3082.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3083. FROM piwigo_categories as c
  3084.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3085.   LEFT JOIN piwigo_images AS i
  3086.     ON ic.image_id = i.id
  3087.       AND i.level<=0
  3088.   GROUP BY c.id;
  3089. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3090. # Query_time: 36.119665  Lock_time: 0.000188 Rows_sent: 983  Rows_examined: 132005
  3091. SET timestamp=1392169913;
  3092. SELECT c.id AS cat_id, id_uppercat,
  3093.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3094. FROM piwigo_categories as c
  3095.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3096.   LEFT JOIN piwigo_images AS i
  3097.     ON ic.image_id = i.id
  3098.       AND i.level<=0
  3099.   GROUP BY c.id;
  3100. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3101. # Query_time: 33.225639  Lock_time: 0.000226 Rows_sent: 983  Rows_examined: 132005
  3102. SET timestamp=1392169913;
  3103. SELECT c.id AS cat_id, id_uppercat,
  3104.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3105. FROM piwigo_categories as c
  3106.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3107.   LEFT JOIN piwigo_images AS i
  3108.     ON ic.image_id = i.id
  3109.       AND i.level<=0
  3110.   GROUP BY c.id;
  3111. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3112. # Query_time: 34.629969  Lock_time: 0.000241 Rows_sent: 983  Rows_examined: 132005
  3113. SET timestamp=1392169913;
  3114. SELECT c.id AS cat_id, id_uppercat,
  3115.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3116. FROM piwigo_categories as c
  3117.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3118.   LEFT JOIN piwigo_images AS i
  3119.     ON ic.image_id = i.id
  3120.       AND i.level<=0
  3121.   GROUP BY c.id;
  3122. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3123. # Query_time: 35.479757  Lock_time: 0.000163 Rows_sent: 983  Rows_examined: 132005
  3124. SET timestamp=1392169913;
  3125. SELECT c.id AS cat_id, id_uppercat,
  3126.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3127. FROM piwigo_categories as c
  3128.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3129.   LEFT JOIN piwigo_images AS i
  3130.     ON ic.image_id = i.id
  3131.       AND i.level<=0
  3132.   GROUP BY c.id;
  3133. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3134. # Query_time: 33.160794  Lock_time: 0.000195 Rows_sent: 983  Rows_examined: 132005
  3135. SET timestamp=1392169913;
  3136. SELECT c.id AS cat_id, id_uppercat,
  3137.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3138. FROM piwigo_categories as c
  3139.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3140.   LEFT JOIN piwigo_images AS i
  3141.     ON ic.image_id = i.id
  3142.       AND i.level<=0
  3143.   GROUP BY c.id;
  3144. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3145. # Query_time: 34.137684  Lock_time: 0.000195 Rows_sent: 983  Rows_examined: 132005
  3146. SET timestamp=1392169913;
  3147. SELECT c.id AS cat_id, id_uppercat,
  3148.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3149. FROM piwigo_categories as c
  3150.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3151.   LEFT JOIN piwigo_images AS i
  3152.     ON ic.image_id = i.id
  3153.       AND i.level<=0
  3154.   GROUP BY c.id;
  3155. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3156. # Query_time: 31.640927  Lock_time: 0.000214 Rows_sent: 983  Rows_examined: 132005
  3157. SET timestamp=1392169913;
  3158. SELECT c.id AS cat_id, id_uppercat,
  3159.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3160. FROM piwigo_categories as c
  3161.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3162.   LEFT JOIN piwigo_images AS i
  3163.     ON ic.image_id = i.id
  3164.       AND i.level<=0
  3165.   GROUP BY c.id;
  3166. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3167. # Query_time: 33.240119  Lock_time: 0.000228 Rows_sent: 983  Rows_examined: 132005
  3168. SET timestamp=1392169913;
  3169. SELECT c.id AS cat_id, id_uppercat,
  3170.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3171. FROM piwigo_categories as c
  3172.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3173.   LEFT JOIN piwigo_images AS i
  3174.     ON ic.image_id = i.id
  3175.       AND i.level<=0
  3176.   GROUP BY c.id;
  3177. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3178. # Query_time: 30.317672  Lock_time: 0.000213 Rows_sent: 983  Rows_examined: 132005
  3179. SET timestamp=1392169913;
  3180. SELECT c.id AS cat_id, id_uppercat,
  3181.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3182. FROM piwigo_categories as c
  3183.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3184.   LEFT JOIN piwigo_images AS i
  3185.     ON ic.image_id = i.id
  3186.       AND i.level<=0
  3187.   GROUP BY c.id;
  3188. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3189. # Query_time: 28.195217  Lock_time: 0.000207 Rows_sent: 983  Rows_examined: 132005
  3190. SET timestamp=1392169913;
  3191. SELECT c.id AS cat_id, id_uppercat,
  3192.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3193. FROM piwigo_categories as c
  3194.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3195.   LEFT JOIN piwigo_images AS i
  3196.     ON ic.image_id = i.id
  3197.       AND i.level<=0
  3198.   GROUP BY c.id;
  3199. # Time: 140212  2:51:54
  3200. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3201. # Query_time: 26.669370  Lock_time: 0.000216 Rows_sent: 983  Rows_examined: 132005
  3202. SET timestamp=1392169914;
  3203. SELECT c.id AS cat_id, id_uppercat,
  3204.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3205. FROM piwigo_categories as c
  3206.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3207.   LEFT JOIN piwigo_images AS i
  3208.     ON ic.image_id = i.id
  3209.       AND i.level<=0
  3210.   GROUP BY c.id;
  3211. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3212. # Query_time: 27.027024  Lock_time: 0.000132 Rows_sent: 983  Rows_examined: 132005
  3213. SET timestamp=1392169914;
  3214. SELECT c.id AS cat_id, id_uppercat,
  3215.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3216. FROM piwigo_categories as c
  3217.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3218.   LEFT JOIN piwigo_images AS i
  3219.     ON ic.image_id = i.id
  3220.       AND i.level<=0
  3221.   GROUP BY c.id;
  3222. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3223. # Query_time: 26.651769  Lock_time: 0.000191 Rows_sent: 983  Rows_examined: 132005
  3224. SET timestamp=1392169914;
  3225. SELECT c.id AS cat_id, id_uppercat,
  3226.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3227. FROM piwigo_categories as c
  3228.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3229.   LEFT JOIN piwigo_images AS i
  3230.     ON ic.image_id = i.id
  3231.       AND i.level<=0
  3232.   GROUP BY c.id;
  3233. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3234. # Query_time: 27.030490  Lock_time: 0.000116 Rows_sent: 983  Rows_examined: 132005
  3235. SET timestamp=1392169914;
  3236. SELECT c.id AS cat_id, id_uppercat,
  3237.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3238. FROM piwigo_categories as c
  3239.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3240.   LEFT JOIN piwigo_images AS i
  3241.     ON ic.image_id = i.id
  3242.       AND i.level<=0
  3243.   GROUP BY c.id;
  3244. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3245. # Query_time: 26.795836  Lock_time: 0.000200 Rows_sent: 983  Rows_examined: 132005
  3246. SET timestamp=1392169914;
  3247. SELECT c.id AS cat_id, id_uppercat,
  3248.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3249. FROM piwigo_categories as c
  3250.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3251.   LEFT JOIN piwigo_images AS i
  3252.     ON ic.image_id = i.id
  3253.       AND i.level<=0
  3254.   GROUP BY c.id;
  3255. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3256. # Query_time: 23.821977  Lock_time: 0.000193 Rows_sent: 983  Rows_examined: 132005
  3257. SET timestamp=1392169914;
  3258. SELECT c.id AS cat_id, id_uppercat,
  3259.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3260. FROM piwigo_categories as c
  3261.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3262.   LEFT JOIN piwigo_images AS i
  3263.     ON ic.image_id = i.id
  3264.       AND i.level<=0
  3265.   GROUP BY c.id;
  3266. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3267. # Query_time: 24.207013  Lock_time: 0.000192 Rows_sent: 983  Rows_examined: 132005
  3268. SET timestamp=1392169914;
  3269. SELECT c.id AS cat_id, id_uppercat,
  3270.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3271. FROM piwigo_categories as c
  3272.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3273.   LEFT JOIN piwigo_images AS i
  3274.     ON ic.image_id = i.id
  3275.       AND i.level<=0
  3276.   GROUP BY c.id;
  3277. # Time: 140212  2:52:49
  3278. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3279. # Query_time: 19.449131  Lock_time: 6.757255 Rows_sent: 982  Rows_examined: 131994
  3280. SET timestamp=1392169969;
  3281. SELECT c.id AS cat_id, id_uppercat,
  3282.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3283. FROM piwigo_categories as c
  3284.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3285.   LEFT JOIN piwigo_images AS i
  3286.     ON ic.image_id = i.id
  3287.       AND i.level<=0
  3288.   GROUP BY c.id;
  3289. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3290. # Query_time: 22.542765  Lock_time: 9.829521 Rows_sent: 982  Rows_examined: 131994
  3291. SET timestamp=1392169969;
  3292. SELECT c.id AS cat_id, id_uppercat,
  3293.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3294. FROM piwigo_categories as c
  3295.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3296.   LEFT JOIN piwigo_images AS i
  3297.     ON ic.image_id = i.id
  3298.       AND i.level<=0
  3299.   GROUP BY c.id;
  3300. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3301. # Query_time: 23.822192  Lock_time: 11.015872 Rows_sent: 982  Rows_examined: 131994
  3302. SET timestamp=1392169969;
  3303. SELECT c.id AS cat_id, id_uppercat,
  3304.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3305. FROM piwigo_categories as c
  3306.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3307.   LEFT JOIN piwigo_images AS i
  3308.     ON ic.image_id = i.id
  3309.       AND i.level<=0
  3310.   GROUP BY c.id;
  3311. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3312. # Query_time: 21.499228  Lock_time: 8.643514 Rows_sent: 982  Rows_examined: 131994
  3313. SET timestamp=1392169969;
  3314. SELECT c.id AS cat_id, id_uppercat,
  3315.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3316. FROM piwigo_categories as c
  3317.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3318.   LEFT JOIN piwigo_images AS i
  3319.     ON ic.image_id = i.id
  3320.       AND i.level<=0
  3321.   GROUP BY c.id;
  3322. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3323. # Query_time: 20.813930  Lock_time: 7.865853 Rows_sent: 982  Rows_examined: 131994
  3324. SET timestamp=1392169969;
  3325. SELECT c.id AS cat_id, id_uppercat,
  3326.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3327. FROM piwigo_categories as c
  3328.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3329.   LEFT JOIN piwigo_images AS i
  3330.     ON ic.image_id = i.id
  3331.       AND i.level<=0
  3332.   GROUP BY c.id;
  3333. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3334. # Query_time: 21.978846  Lock_time: 9.025280 Rows_sent: 982  Rows_examined: 131994
  3335. SET timestamp=1392169969;
  3336. SELECT c.id AS cat_id, id_uppercat,
  3337.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3338. FROM piwigo_categories as c
  3339.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3340.   LEFT JOIN piwigo_images AS i
  3341.     ON ic.image_id = i.id
  3342.       AND i.level<=0
  3343.   GROUP BY c.id;
  3344. # Time: 140212  2:52:50
  3345. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3346. # Query_time: 20.601931  Lock_time: 7.539428 Rows_sent: 982  Rows_examined: 131994
  3347. SET timestamp=1392169970;
  3348. SELECT c.id AS cat_id, id_uppercat,
  3349.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3350. FROM piwigo_categories as c
  3351.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3352.   LEFT JOIN piwigo_images AS i
  3353.     ON ic.image_id = i.id
  3354.       AND i.level<=0
  3355.   GROUP BY c.id;
  3356. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3357. # Query_time: 20.817255  Lock_time: 7.749863 Rows_sent: 982  Rows_examined: 131994
  3358. SET timestamp=1392169970;
  3359. SELECT c.id AS cat_id, id_uppercat,
  3360.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3361. FROM piwigo_categories as c
  3362.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3363.   LEFT JOIN piwigo_images AS i
  3364.     ON ic.image_id = i.id
  3365.       AND i.level<=0
  3366.   GROUP BY c.id;
  3367. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3368. # Query_time: 21.179828  Lock_time: 8.110478 Rows_sent: 982  Rows_examined: 131994
  3369. SET timestamp=1392169970;
  3370. SELECT c.id AS cat_id, id_uppercat,
  3371.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3372. FROM piwigo_categories as c
  3373.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3374.   LEFT JOIN piwigo_images AS i
  3375.     ON ic.image_id = i.id
  3376.       AND i.level<=0
  3377.   GROUP BY c.id;
  3378. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3379. # Query_time: 21.663311  Lock_time: 8.588418 Rows_sent: 982  Rows_examined: 131994
  3380. SET timestamp=1392169970;
  3381. SELECT c.id AS cat_id, id_uppercat,
  3382.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3383. FROM piwigo_categories as c
  3384.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3385.   LEFT JOIN piwigo_images AS i
  3386.     ON ic.image_id = i.id
  3387.       AND i.level<=0
  3388.   GROUP BY c.id;
  3389. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3390. # Query_time: 21.733778  Lock_time: 8.642930 Rows_sent: 982  Rows_examined: 131994
  3391. SET timestamp=1392169970;
  3392. SELECT c.id AS cat_id, id_uppercat,
  3393.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3394. FROM piwigo_categories as c
  3395.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3396.   LEFT JOIN piwigo_images AS i
  3397.     ON ic.image_id = i.id
  3398.       AND i.level<=0
  3399.   GROUP BY c.id;
  3400. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3401. # Query_time: 22.490170  Lock_time: 9.338976 Rows_sent: 982  Rows_examined: 131994
  3402. SET timestamp=1392169970;
  3403. SELECT c.id AS cat_id, id_uppercat,
  3404.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3405. FROM piwigo_categories as c
  3406.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3407.   LEFT JOIN piwigo_images AS i
  3408.     ON ic.image_id = i.id
  3409.       AND i.level<=0
  3410.   GROUP BY c.id;
  3411. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3412. # Query_time: 20.594480  Lock_time: 7.442980 Rows_sent: 982  Rows_examined: 131994
  3413. SET timestamp=1392169970;
  3414. SELECT c.id AS cat_id, id_uppercat,
  3415.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3416. FROM piwigo_categories as c
  3417.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3418.   LEFT JOIN piwigo_images AS i
  3419.     ON ic.image_id = i.id
  3420.       AND i.level<=0
  3421.   GROUP BY c.id;
  3422. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3423. # Query_time: 20.221680  Lock_time: 7.067367 Rows_sent: 982  Rows_examined: 131994
  3424. SET timestamp=1392169970;
  3425. SELECT c.id AS cat_id, id_uppercat,
  3426.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3427. FROM piwigo_categories as c
  3428.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3429.   LEFT JOIN piwigo_images AS i
  3430.     ON ic.image_id = i.id
  3431.       AND i.level<=0
  3432.   GROUP BY c.id;
  3433. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3434. # Query_time: 20.805308  Lock_time: 7.618226 Rows_sent: 982  Rows_examined: 131994
  3435. SET timestamp=1392169970;
  3436. SELECT c.id AS cat_id, id_uppercat,
  3437.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3438. FROM piwigo_categories as c
  3439.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3440.   LEFT JOIN piwigo_images AS i
  3441.     ON ic.image_id = i.id
  3442.       AND i.level<=0
  3443.   GROUP BY c.id;
  3444. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3445. # Query_time: 20.463411  Lock_time: 7.267281 Rows_sent: 982  Rows_examined: 131994
  3446. SET timestamp=1392169970;
  3447. SELECT c.id AS cat_id, id_uppercat,
  3448.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3449. FROM piwigo_categories as c
  3450.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3451.   LEFT JOIN piwigo_images AS i
  3452.     ON ic.image_id = i.id
  3453.       AND i.level<=0
  3454.   GROUP BY c.id;
  3455. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3456. # Query_time: 21.343288  Lock_time: 8.137650 Rows_sent: 982  Rows_examined: 131994
  3457. SET timestamp=1392169970;
  3458. SELECT c.id AS cat_id, id_uppercat,
  3459.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3460. FROM piwigo_categories as c
  3461.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3462.   LEFT JOIN piwigo_images AS i
  3463.     ON ic.image_id = i.id
  3464.       AND i.level<=0
  3465.   GROUP BY c.id;
  3466. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3467. # Query_time: 21.452822  Lock_time: 8.228714 Rows_sent: 982  Rows_examined: 131994
  3468. SET timestamp=1392169970;
  3469. SELECT c.id AS cat_id, id_uppercat,
  3470.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3471. FROM piwigo_categories as c
  3472.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3473.   LEFT JOIN piwigo_images AS i
  3474.     ON ic.image_id = i.id
  3475.       AND i.level<=0
  3476.   GROUP BY c.id;
  3477. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3478. # Query_time: 23.793592  Lock_time: 10.564601 Rows_sent: 982  Rows_examined: 131994
  3479. SET timestamp=1392169970;
  3480. SELECT c.id AS cat_id, id_uppercat,
  3481.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3482. FROM piwigo_categories as c
  3483.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3484.   LEFT JOIN piwigo_images AS i
  3485.     ON ic.image_id = i.id
  3486.       AND i.level<=0
  3487.   GROUP BY c.id;
  3488. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3489. # Query_time: 20.729614  Lock_time: 7.506263 Rows_sent: 982  Rows_examined: 131994
  3490. SET timestamp=1392169970;
  3491. SELECT c.id AS cat_id, id_uppercat,
  3492.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3493. FROM piwigo_categories as c
  3494.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3495.   LEFT JOIN piwigo_images AS i
  3496.     ON ic.image_id = i.id
  3497.       AND i.level<=0
  3498.   GROUP BY c.id;
  3499. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3500. # Query_time: 22.303827  Lock_time: 9.054326 Rows_sent: 982  Rows_examined: 131994
  3501. SET timestamp=1392169970;
  3502. SELECT c.id AS cat_id, id_uppercat,
  3503.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3504. FROM piwigo_categories as c
  3505.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3506.   LEFT JOIN piwigo_images AS i
  3507.     ON ic.image_id = i.id
  3508.       AND i.level<=0
  3509.   GROUP BY c.id;
  3510. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3511. # Query_time: 21.696541  Lock_time: 8.444795 Rows_sent: 982  Rows_examined: 131994
  3512. SET timestamp=1392169970;
  3513. SELECT c.id AS cat_id, id_uppercat,
  3514.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3515. FROM piwigo_categories as c
  3516.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3517.   LEFT JOIN piwigo_images AS i
  3518.     ON ic.image_id = i.id
  3519.       AND i.level<=0
  3520.   GROUP BY c.id;
  3521. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3522. # Query_time: 27.462069  Lock_time: 14.211918 Rows_sent: 982  Rows_examined: 131994
  3523. SET timestamp=1392169970;
  3524. SELECT c.id AS cat_id, id_uppercat,
  3525.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3526. FROM piwigo_categories as c
  3527.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3528.   LEFT JOIN piwigo_images AS i
  3529.     ON ic.image_id = i.id
  3530.       AND i.level<=0
  3531.   GROUP BY c.id;
  3532. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3533. # Query_time: 19.638067  Lock_time: 6.354876 Rows_sent: 982  Rows_examined: 131994
  3534. SET timestamp=1392169970;
  3535. SELECT c.id AS cat_id, id_uppercat,
  3536.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3537. FROM piwigo_categories as c
  3538.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3539.   LEFT JOIN piwigo_images AS i
  3540.     ON ic.image_id = i.id
  3541.       AND i.level<=0
  3542.   GROUP BY c.id;
  3543. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3544. # Query_time: 20.724670  Lock_time: 7.440837 Rows_sent: 982  Rows_examined: 131994
  3545. SET timestamp=1392169970;
  3546. SELECT c.id AS cat_id, id_uppercat,
  3547.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3548. FROM piwigo_categories as c
  3549.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3550.   LEFT JOIN piwigo_images AS i
  3551.     ON ic.image_id = i.id
  3552.       AND i.level<=0
  3553.   GROUP BY c.id;
  3554. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3555. # Query_time: 21.265057  Lock_time: 7.977069 Rows_sent: 982  Rows_examined: 131994
  3556. SET timestamp=1392169970;
  3557. SELECT c.id AS cat_id, id_uppercat,
  3558.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3559. FROM piwigo_categories as c
  3560.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3561.   LEFT JOIN piwigo_images AS i
  3562.     ON ic.image_id = i.id
  3563.       AND i.level<=0
  3564.   GROUP BY c.id;
  3565. # User@Host: lesiteweb[lesiteweb] @ localhost []
  3566. # Query_time: 19.869842  Lock_time: 6.577224 Rows_sent: 982  Rows_examined: 131994
  3567. SET timestamp=1392169970;
  3568. SELECT c.id AS cat_id, id_uppercat,
  3569.   MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3570. FROM piwigo_categories as c
  3571.   LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3572.   LEFT JOIN piwigo_images AS i
  3573.     ON ic.image_id = i.id
  3574.       AND i.level<=0
  3575.   GROUP BY c.id;
  3576. # Time: 140212  5:00:47
  3577. # User@Host: root[root] @ localhost []
  3578. # Query_time: 33.825194  Lock_time: 0.000015 Rows_sent: 220970  Rows_examined: 220970
  3579. use gallery_dump;
  3580. SET timestamp=1392177647;
  3581. SELECT /*!40001 SQL_NO_CACHE */ * FROM `galleries`;
  3582. # Time: 140212  5:01:59
  3583. # User@Host: root[root] @ localhost []
  3584. # Query_time: 11.796082  Lock_time: 0.000018 Rows_sent: 369818  Rows_examined: 369818
  3585. use gallery_dump_forum;
  3586. SET timestamp=1392177719;
  3587. SELECT /*!40001 SQL_NO_CACHE */ * FROM `phpbb3_posts`;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement