Advertisement
Guest User

Untitled

a guest
Jul 15th, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 315.30 KB | None | 0 0
  1. /usr/sbin/mysqld, Version: 5.5.37-0+wheezy1-log ((Debian)). started with:
  2. Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
  3. Time Id Command Argument
  4. # Time: 140714 18:43:26
  5. # User@Host: user[user] @ localhost []
  6. # Query_time: 12.184853 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188103
  7. use piwigal;
  8. SET timestamp=1405356206;
  9. SELECT DISTINCT(id)
  10. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  11. WHERE category_id NOT IN (0)
  12. AND level>0;
  13. # User@Host: user[user] @ localhost []
  14. # Query_time: 12.607577 Lock_time: 0.000082 Rows_sent: 21 Rows_examined: 188103
  15. SET timestamp=1405356206;
  16. SELECT DISTINCT(id)
  17. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  18. WHERE category_id NOT IN (0)
  19. AND level>0;
  20. # Time: 140714 18:43:32
  21. # User@Host: user[user] @ localhost []
  22. # Query_time: 18.368597 Lock_time: 0.000080 Rows_sent: 21 Rows_examined: 188103
  23. SET timestamp=1405356212;
  24. SELECT DISTINCT(id)
  25. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  26. WHERE category_id NOT IN (0)
  27. AND level>0;
  28. # Time: 140714 18:43:33
  29. # User@Host: user[user] @ localhost []
  30. # Query_time: 18.896746 Lock_time: 0.000051 Rows_sent: 21 Rows_examined: 188103
  31. SET timestamp=1405356213;
  32. SELECT DISTINCT(id)
  33. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  34. WHERE category_id NOT IN (0)
  35. AND level>0;
  36. # Time: 140714 18:43:35
  37. # User@Host: user[user] @ localhost []
  38. # Query_time: 20.643319 Lock_time: 0.000043 Rows_sent: 21 Rows_examined: 188103
  39. SET timestamp=1405356215;
  40. SELECT DISTINCT(id)
  41. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  42. WHERE category_id NOT IN (0)
  43. AND level>0;
  44. # User@Host: user[user] @ localhost []
  45. # Query_time: 21.130796 Lock_time: 0.000052 Rows_sent: 21 Rows_examined: 188103
  46. SET timestamp=1405356215;
  47. SELECT DISTINCT(id)
  48. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  49. WHERE category_id NOT IN (0)
  50. AND level>0;
  51. # User@Host: user[user] @ localhost []
  52. # Query_time: 21.261580 Lock_time: 0.000071 Rows_sent: 21 Rows_examined: 188103
  53. SET timestamp=1405356215;
  54. SELECT DISTINCT(id)
  55. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  56. WHERE category_id NOT IN (0)
  57. AND level>0;
  58. # Time: 140714 18:43:37
  59. # User@Host: user[user] @ localhost []
  60. # Query_time: 22.770183 Lock_time: 0.000056 Rows_sent: 21 Rows_examined: 188103
  61. SET timestamp=1405356217;
  62. SELECT DISTINCT(id)
  63. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  64. WHERE category_id NOT IN (0)
  65. AND level>0;
  66. # Time: 140714 18:43:39
  67. # User@Host: user[user] @ localhost []
  68. # Query_time: 24.764767 Lock_time: 0.000088 Rows_sent: 21 Rows_examined: 188103
  69. SET timestamp=1405356219;
  70. SELECT DISTINCT(id)
  71. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  72. WHERE category_id NOT IN (0)
  73. AND level>0;
  74. # Time: 140714 18:43:41
  75. # User@Host: user[user] @ localhost []
  76. # Query_time: 26.831056 Lock_time: 0.000057 Rows_sent: 21 Rows_examined: 188103
  77. SET timestamp=1405356221;
  78. SELECT DISTINCT(id)
  79. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  80. WHERE category_id NOT IN (0)
  81. AND level>0;
  82. # Time: 140714 18:43:42
  83. # User@Host: user[user] @ localhost []
  84. # Query_time: 26.860016 Lock_time: 0.000074 Rows_sent: 21 Rows_examined: 188103
  85. SET timestamp=1405356222;
  86. SELECT DISTINCT(id)
  87. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  88. WHERE category_id NOT IN (0)
  89. AND level>0;
  90. # Time: 140714 18:43:44
  91. # User@Host: user[user] @ localhost []
  92. # Query_time: 28.173469 Lock_time: 0.000066 Rows_sent: 21 Rows_examined: 188103
  93. SET timestamp=1405356224;
  94. SELECT DISTINCT(id)
  95. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  96. WHERE category_id NOT IN (0)
  97. AND level>0;
  98. # Time: 140714 18:43:45
  99. # User@Host: user[user] @ localhost []
  100. # Query_time: 29.182334 Lock_time: 0.000055 Rows_sent: 21 Rows_examined: 188103
  101. SET timestamp=1405356225;
  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: user[user] @ localhost []
  107. # Query_time: 29.125293 Lock_time: 0.000066 Rows_sent: 21 Rows_examined: 188103
  108. SET timestamp=1405356225;
  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: user[user] @ localhost []
  114. # Query_time: 29.504256 Lock_time: 0.000089 Rows_sent: 21 Rows_examined: 188103
  115. SET timestamp=1405356225;
  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. # Time: 140714 18:43:46
  121. # User@Host: user[user] @ localhost []
  122. # Query_time: 30.156767 Lock_time: 0.000059 Rows_sent: 21 Rows_examined: 188103
  123. SET timestamp=1405356226;
  124. SELECT DISTINCT(id)
  125. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  126. WHERE category_id NOT IN (0)
  127. AND level>0;
  128. # User@Host: user[user] @ localhost []
  129. # Query_time: 30.214083 Lock_time: 0.000064 Rows_sent: 21 Rows_examined: 188103
  130. SET timestamp=1405356226;
  131. SELECT DISTINCT(id)
  132. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  133. WHERE category_id NOT IN (0)
  134. AND level>0;
  135. # User@Host: user[user] @ localhost []
  136. # Query_time: 30.194011 Lock_time: 0.000060 Rows_sent: 21 Rows_examined: 188103
  137. SET timestamp=1405356226;
  138. SELECT DISTINCT(id)
  139. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  140. WHERE category_id NOT IN (0)
  141. AND level>0;
  142. # User@Host: user[user] @ localhost []
  143. # Query_time: 30.138197 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188103
  144. SET timestamp=1405356226;
  145. SELECT DISTINCT(id)
  146. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  147. WHERE category_id NOT IN (0)
  148. AND level>0;
  149. # User@Host: user[user] @ localhost []
  150. # Query_time: 30.457532 Lock_time: 0.000077 Rows_sent: 21 Rows_examined: 188103
  151. SET timestamp=1405356226;
  152. SELECT DISTINCT(id)
  153. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  154. WHERE category_id NOT IN (0)
  155. AND level>0;
  156. # Time: 140714 18:43:47
  157. # User@Host: user[user] @ localhost []
  158. # Query_time: 31.086531 Lock_time: 0.000084 Rows_sent: 21 Rows_examined: 188103
  159. SET timestamp=1405356227;
  160. SELECT DISTINCT(id)
  161. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  162. WHERE category_id NOT IN (0)
  163. AND level>0;
  164. # User@Host: user[user] @ localhost []
  165. # Query_time: 30.972847 Lock_time: 0.000075 Rows_sent: 21 Rows_examined: 188103
  166. SET timestamp=1405356227;
  167. SELECT DISTINCT(id)
  168. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  169. WHERE category_id NOT IN (0)
  170. AND level>0;
  171. # User@Host: user[user] @ localhost []
  172. # Query_time: 30.958457 Lock_time: 0.000066 Rows_sent: 21 Rows_examined: 188103
  173. SET timestamp=1405356227;
  174. SELECT DISTINCT(id)
  175. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  176. WHERE category_id NOT IN (0)
  177. AND level>0;
  178. # Time: 140714 18:43:48
  179. # User@Host: user[user] @ localhost []
  180. # Query_time: 31.501891 Lock_time: 0.000061 Rows_sent: 21 Rows_examined: 188103
  181. SET timestamp=1405356228;
  182. SELECT DISTINCT(id)
  183. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  184. WHERE category_id NOT IN (0)
  185. AND level>0;
  186. # Time: 140714 18:43:52
  187. # User@Host: user[user] @ localhost []
  188. # Query_time: 34.509672 Lock_time: 0.000093 Rows_sent: 21 Rows_examined: 188103
  189. SET timestamp=1405356232;
  190. SELECT DISTINCT(id)
  191. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  192. WHERE category_id NOT IN (0)
  193. AND level>0;
  194. # Time: 140714 18:43:53
  195. # User@Host: user[user] @ localhost []
  196. # Query_time: 33.869636 Lock_time: 0.000068 Rows_sent: 21 Rows_examined: 188103
  197. SET timestamp=1405356233;
  198. SELECT DISTINCT(id)
  199. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  200. WHERE category_id NOT IN (0)
  201. AND level>0;
  202. # Time: 140714 18:44:00
  203. # User@Host: user[user] @ localhost []
  204. # Query_time: 40.109494 Lock_time: 0.000105 Rows_sent: 1409 Rows_examined: 192309
  205. SET timestamp=1405356240;
  206. SELECT c.id AS cat_id, id_uppercat,
  207. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  208. FROM piwigo_categories as c
  209. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  210. LEFT JOIN piwigo_images AS i
  211. ON ic.image_id = i.id
  212. AND i.level<=0
  213. GROUP BY c.id;
  214. # Time: 140714 18:44:03
  215. # User@Host: user[user] @ localhost []
  216. # Query_time: 42.236798 Lock_time: 0.000111 Rows_sent: 1409 Rows_examined: 192309
  217. SET timestamp=1405356243;
  218. SELECT c.id AS cat_id, id_uppercat,
  219. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  220. FROM piwigo_categories as c
  221. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  222. LEFT JOIN piwigo_images AS i
  223. ON ic.image_id = i.id
  224. AND i.level<=0
  225. GROUP BY c.id;
  226. # Time: 140714 18:44:04
  227. # User@Host: user[user] @ localhost []
  228. # Query_time: 42.853062 Lock_time: 0.000111 Rows_sent: 1409 Rows_examined: 192309
  229. SET timestamp=1405356244;
  230. SELECT c.id AS cat_id, id_uppercat,
  231. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  232. FROM piwigo_categories as c
  233. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  234. LEFT JOIN piwigo_images AS i
  235. ON ic.image_id = i.id
  236. AND i.level<=0
  237. GROUP BY c.id;
  238. # User@Host: user[user] @ localhost []
  239. # Query_time: 40.475515 Lock_time: 0.000100 Rows_sent: 1409 Rows_examined: 192309
  240. SET timestamp=1405356244;
  241. SELECT c.id AS cat_id, id_uppercat,
  242. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  243. FROM piwigo_categories as c
  244. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  245. LEFT JOIN piwigo_images AS i
  246. ON ic.image_id = i.id
  247. AND i.level<=0
  248. GROUP BY c.id;
  249. # Time: 140714 18:44:05
  250. # User@Host: user[user] @ localhost []
  251. # Query_time: 43.447849 Lock_time: 0.000077 Rows_sent: 1409 Rows_examined: 192309
  252. SET timestamp=1405356245;
  253. SELECT c.id AS cat_id, id_uppercat,
  254. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  255. FROM piwigo_categories as c
  256. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  257. LEFT JOIN piwigo_images AS i
  258. ON ic.image_id = i.id
  259. AND i.level<=0
  260. GROUP BY c.id;
  261. # Time: 140714 18:44:08
  262. # User@Host: user[user] @ localhost []
  263. # Query_time: 44.761486 Lock_time: 0.000100 Rows_sent: 1409 Rows_examined: 192309
  264. SET timestamp=1405356248;
  265. SELECT c.id AS cat_id, id_uppercat,
  266. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  267. FROM piwigo_categories as c
  268. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  269. LEFT JOIN piwigo_images AS i
  270. ON ic.image_id = i.id
  271. AND i.level<=0
  272. GROUP BY c.id;
  273. # Time: 140714 18:44:09
  274. # User@Host: user[user] @ localhost []
  275. # Query_time: 45.786676 Lock_time: 0.000103 Rows_sent: 1409 Rows_examined: 192309
  276. SET timestamp=1405356249;
  277. SELECT c.id AS cat_id, id_uppercat,
  278. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  279. FROM piwigo_categories as c
  280. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  281. LEFT JOIN piwigo_images AS i
  282. ON ic.image_id = i.id
  283. AND i.level<=0
  284. GROUP BY c.id;
  285. # Time: 140714 18:44:10
  286. # User@Host: user[user] @ localhost []
  287. # Query_time: 45.356284 Lock_time: 0.000085 Rows_sent: 1409 Rows_examined: 192309
  288. SET timestamp=1405356250;
  289. SELECT c.id AS cat_id, id_uppercat,
  290. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  291. FROM piwigo_categories as c
  292. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  293. LEFT JOIN piwigo_images AS i
  294. ON ic.image_id = i.id
  295. AND i.level<=0
  296. GROUP BY c.id;
  297. # Time: 140714 18:44:12
  298. # User@Host: user[user] @ localhost []
  299. # Query_time: 45.492404 Lock_time: 0.000081 Rows_sent: 1409 Rows_examined: 192309
  300. SET timestamp=1405356252;
  301. SELECT c.id AS cat_id, id_uppercat,
  302. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  303. FROM piwigo_categories as c
  304. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  305. LEFT JOIN piwigo_images AS i
  306. ON ic.image_id = i.id
  307. AND i.level<=0
  308. GROUP BY c.id;
  309. # User@Host: user[user] @ localhost []
  310. # Query_time: 45.731237 Lock_time: 0.000075 Rows_sent: 1409 Rows_examined: 192309
  311. SET timestamp=1405356252;
  312. SELECT c.id AS cat_id, id_uppercat,
  313. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  314. FROM piwigo_categories as c
  315. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  316. LEFT JOIN piwigo_images AS i
  317. ON ic.image_id = i.id
  318. AND i.level<=0
  319. GROUP BY c.id;
  320. # User@Host: user[user] @ localhost []
  321. # Query_time: 46.710956 Lock_time: 0.000102 Rows_sent: 1409 Rows_examined: 192309
  322. SET timestamp=1405356252;
  323. SELECT c.id AS cat_id, id_uppercat,
  324. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  325. FROM piwigo_categories as c
  326. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  327. LEFT JOIN piwigo_images AS i
  328. ON ic.image_id = i.id
  329. AND i.level<=0
  330. GROUP BY c.id;
  331. # Time: 140714 18:44:16
  332. # User@Host: user[user] @ localhost []
  333. # Query_time: 48.739985 Lock_time: 0.000065 Rows_sent: 1409 Rows_examined: 192309
  334. SET timestamp=1405356256;
  335. SELECT c.id AS cat_id, id_uppercat,
  336. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  337. FROM piwigo_categories as c
  338. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  339. LEFT JOIN piwigo_images AS i
  340. ON ic.image_id = i.id
  341. AND i.level<=0
  342. GROUP BY c.id;
  343. # User@Host: user[user] @ localhost []
  344. # Query_time: 47.915178 Lock_time: 0.000075 Rows_sent: 1409 Rows_examined: 192309
  345. SET timestamp=1405356256;
  346. SELECT c.id AS cat_id, id_uppercat,
  347. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  348. FROM piwigo_categories as c
  349. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  350. LEFT JOIN piwigo_images AS i
  351. ON ic.image_id = i.id
  352. AND i.level<=0
  353. GROUP BY c.id;
  354. # Time: 140714 18:44:18
  355. # User@Host: user[user] @ localhost []
  356. # Query_time: 47.618824 Lock_time: 0.000075 Rows_sent: 1409 Rows_examined: 192309
  357. SET timestamp=1405356258;
  358. SELECT c.id AS cat_id, id_uppercat,
  359. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  360. FROM piwigo_categories as c
  361. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  362. LEFT JOIN piwigo_images AS i
  363. ON ic.image_id = i.id
  364. AND i.level<=0
  365. GROUP BY c.id;
  366. # User@Host: user[user] @ localhost []
  367. # Query_time: 47.637932 Lock_time: 0.000069 Rows_sent: 1409 Rows_examined: 192309
  368. SET timestamp=1405356258;
  369. SELECT c.id AS cat_id, id_uppercat,
  370. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  371. FROM piwigo_categories as c
  372. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  373. LEFT JOIN piwigo_images AS i
  374. ON ic.image_id = i.id
  375. AND i.level<=0
  376. GROUP BY c.id;
  377. # Time: 140714 18:44:19
  378. # User@Host: user[user] @ localhost []
  379. # Query_time: 48.012367 Lock_time: 0.000126 Rows_sent: 1409 Rows_examined: 192309
  380. SET timestamp=1405356259;
  381. SELECT c.id AS cat_id, id_uppercat,
  382. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  383. FROM piwigo_categories as c
  384. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  385. LEFT JOIN piwigo_images AS i
  386. ON ic.image_id = i.id
  387. AND i.level<=0
  388. GROUP BY c.id;
  389. # User@Host: user[user] @ localhost []
  390. # Query_time: 47.012340 Lock_time: 0.000102 Rows_sent: 1409 Rows_examined: 192309
  391. SET timestamp=1405356259;
  392. SELECT c.id AS cat_id, id_uppercat,
  393. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  394. FROM piwigo_categories as c
  395. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  396. LEFT JOIN piwigo_images AS i
  397. ON ic.image_id = i.id
  398. AND i.level<=0
  399. GROUP BY c.id;
  400. # Time: 140714 18:44:20
  401. # User@Host: user[user] @ localhost []
  402. # Query_time: 47.797072 Lock_time: 0.000127 Rows_sent: 1409 Rows_examined: 192309
  403. SET timestamp=1405356260;
  404. SELECT c.id AS cat_id, id_uppercat,
  405. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  406. FROM piwigo_categories as c
  407. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  408. LEFT JOIN piwigo_images AS i
  409. ON ic.image_id = i.id
  410. AND i.level<=0
  411. GROUP BY c.id;
  412. # Time: 140714 18:44:21
  413. # User@Host: user[user] @ localhost []
  414. # Query_time: 49.297213 Lock_time: 0.000100 Rows_sent: 1409 Rows_examined: 192309
  415. SET timestamp=1405356261;
  416. SELECT c.id AS cat_id, id_uppercat,
  417. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  418. FROM piwigo_categories as c
  419. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  420. LEFT JOIN piwigo_images AS i
  421. ON ic.image_id = i.id
  422. AND i.level<=0
  423. GROUP BY c.id;
  424. # Time: 140714 18:44:22
  425. # User@Host: user[user] @ localhost []
  426. # Query_time: 48.772736 Lock_time: 0.000116 Rows_sent: 1409 Rows_examined: 192309
  427. SET timestamp=1405356262;
  428. SELECT c.id AS cat_id, id_uppercat,
  429. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  430. FROM piwigo_categories as c
  431. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  432. LEFT JOIN piwigo_images AS i
  433. ON ic.image_id = i.id
  434. AND i.level<=0
  435. GROUP BY c.id;
  436. # Time: 140714 18:44:23
  437. # User@Host: user[user] @ localhost []
  438. # Query_time: 48.250327 Lock_time: 0.000116 Rows_sent: 1409 Rows_examined: 192309
  439. SET timestamp=1405356263;
  440. SELECT c.id AS cat_id, id_uppercat,
  441. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  442. FROM piwigo_categories as c
  443. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  444. LEFT JOIN piwigo_images AS i
  445. ON ic.image_id = i.id
  446. AND i.level<=0
  447. GROUP BY c.id;
  448. # User@Host: user[user] @ localhost []
  449. # Query_time: 47.870746 Lock_time: 0.000086 Rows_sent: 1409 Rows_examined: 192309
  450. SET timestamp=1405356263;
  451. SELECT c.id AS cat_id, id_uppercat,
  452. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  453. FROM piwigo_categories as c
  454. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  455. LEFT JOIN piwigo_images AS i
  456. ON ic.image_id = i.id
  457. AND i.level<=0
  458. GROUP BY c.id;
  459. # User@Host: user[user] @ localhost []
  460. # Query_time: 48.112824 Lock_time: 0.000084 Rows_sent: 1409 Rows_examined: 192309
  461. SET timestamp=1405356263;
  462. SELECT c.id AS cat_id, id_uppercat,
  463. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  464. FROM piwigo_categories as c
  465. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  466. LEFT JOIN piwigo_images AS i
  467. ON ic.image_id = i.id
  468. AND i.level<=0
  469. GROUP BY c.id;
  470. # User@Host: user[user] @ localhost []
  471. # Query_time: 49.383720 Lock_time: 0.000085 Rows_sent: 1409 Rows_examined: 192309
  472. SET timestamp=1405356263;
  473. SELECT c.id AS cat_id, id_uppercat,
  474. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  475. FROM piwigo_categories as c
  476. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  477. LEFT JOIN piwigo_images AS i
  478. ON ic.image_id = i.id
  479. AND i.level<=0
  480. GROUP BY c.id;
  481. # Time: 140714 18:44:24
  482. # User@Host: user[user] @ localhost []
  483. # Query_time: 48.583900 Lock_time: 0.000104 Rows_sent: 1409 Rows_examined: 192309
  484. SET timestamp=1405356264;
  485. SELECT c.id AS cat_id, id_uppercat,
  486. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  487. FROM piwigo_categories as c
  488. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  489. LEFT JOIN piwigo_images AS i
  490. ON ic.image_id = i.id
  491. AND i.level<=0
  492. GROUP BY c.id;
  493. # User@Host: user[user] @ localhost []
  494. # Query_time: 47.730324 Lock_time: 0.000117 Rows_sent: 1409 Rows_examined: 192309
  495. SET timestamp=1405356264;
  496. SELECT c.id AS cat_id, id_uppercat,
  497. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  498. FROM piwigo_categories as c
  499. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  500. LEFT JOIN piwigo_images AS i
  501. ON ic.image_id = i.id
  502. AND i.level<=0
  503. GROUP BY c.id;
  504. # User@Host: user[user] @ localhost []
  505. # Query_time: 47.512789 Lock_time: 0.000123 Rows_sent: 1409 Rows_examined: 192309
  506. SET timestamp=1405356264;
  507. SELECT c.id AS cat_id, id_uppercat,
  508. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  509. FROM piwigo_categories as c
  510. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  511. LEFT JOIN piwigo_images AS i
  512. ON ic.image_id = i.id
  513. AND i.level<=0
  514. GROUP BY c.id;
  515. # Time: 140714 18:44:25
  516. # User@Host: user[user] @ localhost []
  517. # Query_time: 49.010363 Lock_time: 0.000135 Rows_sent: 1409 Rows_examined: 192309
  518. SET timestamp=1405356265;
  519. SELECT c.id AS cat_id, id_uppercat,
  520. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  521. FROM piwigo_categories as c
  522. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  523. LEFT JOIN piwigo_images AS i
  524. ON ic.image_id = i.id
  525. AND i.level<=0
  526. GROUP BY c.id;
  527. # Time: 140714 18:44:26
  528. # User@Host: user[user] @ localhost []
  529. # Query_time: 47.547950 Lock_time: 0.000081 Rows_sent: 1409 Rows_examined: 192309
  530. SET timestamp=1405356266;
  531. SELECT c.id AS cat_id, id_uppercat,
  532. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  533. FROM piwigo_categories as c
  534. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  535. LEFT JOIN piwigo_images AS i
  536. ON ic.image_id = i.id
  537. AND i.level<=0
  538. GROUP BY c.id;
  539. # Time: 140714 18:44:27
  540. # User@Host: user[user] @ localhost []
  541. # Query_time: 47.392464 Lock_time: 0.000094 Rows_sent: 1409 Rows_examined: 192309
  542. SET timestamp=1405356267;
  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: user[user] @ localhost []
  552. # Query_time: 47.825130 Lock_time: 0.000120 Rows_sent: 1409 Rows_examined: 192309
  553. SET timestamp=1405356267;
  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. # Time: 140714 18:44:28
  563. # User@Host: user[user] @ localhost []
  564. # Query_time: 47.810559 Lock_time: 0.000078 Rows_sent: 1409 Rows_examined: 192309
  565. SET timestamp=1405356268;
  566. SELECT c.id AS cat_id, id_uppercat,
  567. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  568. FROM piwigo_categories as c
  569. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  570. LEFT JOIN piwigo_images AS i
  571. ON ic.image_id = i.id
  572. AND i.level<=0
  573. GROUP BY c.id;
  574. # User@Host: user[user] @ localhost []
  575. # Query_time: 46.378920 Lock_time: 0.000080 Rows_sent: 1409 Rows_examined: 192309
  576. SET timestamp=1405356268;
  577. SELECT c.id AS cat_id, id_uppercat,
  578. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  579. FROM piwigo_categories as c
  580. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  581. LEFT JOIN piwigo_images AS i
  582. ON ic.image_id = i.id
  583. AND i.level<=0
  584. GROUP BY c.id;
  585. # Time: 140714 18:44:29
  586. # User@Host: user[user] @ localhost []
  587. # Query_time: 31.613090 Lock_time: 0.000052 Rows_sent: 0 Rows_examined: 0
  588. SET timestamp=1405356269;
  589. INSERT INTO piwigo_images
  590. (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  591. VALUES('english-www.user.net-002.jpg','english-www.user.net-002','2014-07-14 18:43:57','./upload/2014/07/14/20140714184357-cb44c93b.jpg','300','1050','1500','cb44c93bbf19c53ba7d0d97d38ccbcbd','2','0','0');
  592. # User@Host: user[user] @ localhost []
  593. # Query_time: 46.411725 Lock_time: 0.000105 Rows_sent: 1409 Rows_examined: 192309
  594. SET timestamp=1405356269;
  595. SELECT c.id AS cat_id, id_uppercat,
  596. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  597. FROM piwigo_categories as c
  598. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  599. LEFT JOIN piwigo_images AS i
  600. ON ic.image_id = i.id
  601. AND i.level<=0
  602. GROUP BY c.id;
  603. # User@Host: user[user] @ localhost []
  604. # Query_time: 44.861417 Lock_time: 0.000095 Rows_sent: 1409 Rows_examined: 192309
  605. SET timestamp=1405356269;
  606. SELECT c.id AS cat_id, id_uppercat,
  607. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  608. FROM piwigo_categories as c
  609. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  610. LEFT JOIN piwigo_images AS i
  611. ON ic.image_id = i.id
  612. AND i.level<=0
  613. GROUP BY c.id;
  614. # User@Host: user[user] @ localhost []
  615. # Query_time: 45.671527 Lock_time: 0.000111 Rows_sent: 1409 Rows_examined: 192309
  616. SET timestamp=1405356269;
  617. SELECT c.id AS cat_id, id_uppercat,
  618. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  619. FROM piwigo_categories as c
  620. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  621. LEFT JOIN piwigo_images AS i
  622. ON ic.image_id = i.id
  623. AND i.level<=0
  624. GROUP BY c.id;
  625. # User@Host: user[user] @ localhost []
  626. # Query_time: 44.211655 Lock_time: 0.000099 Rows_sent: 1409 Rows_examined: 192309
  627. SET timestamp=1405356269;
  628. SELECT c.id AS cat_id, id_uppercat,
  629. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  630. FROM piwigo_categories as c
  631. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  632. LEFT JOIN piwigo_images AS i
  633. ON ic.image_id = i.id
  634. AND i.level<=0
  635. GROUP BY c.id;
  636. # User@Host: user[user] @ localhost []
  637. # Query_time: 47.844359 Lock_time: 0.000124 Rows_sent: 1409 Rows_examined: 192309
  638. SET timestamp=1405356269;
  639. SELECT c.id AS cat_id, id_uppercat,
  640. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  641. FROM piwigo_categories as c
  642. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  643. LEFT JOIN piwigo_images AS i
  644. ON ic.image_id = i.id
  645. AND i.level<=0
  646. GROUP BY c.id;
  647. # User@Host: user[user] @ localhost []
  648. # Query_time: 43.630122 Lock_time: 0.000106 Rows_sent: 1409 Rows_examined: 192309
  649. SET timestamp=1405356269;
  650. SELECT c.id AS cat_id, id_uppercat,
  651. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  652. FROM piwigo_categories as c
  653. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  654. LEFT JOIN piwigo_images AS i
  655. ON ic.image_id = i.id
  656. AND i.level<=0
  657. GROUP BY c.id;
  658. # Time: 140714 18:44:30
  659. # User@Host: user[user] @ localhost []
  660. # Query_time: 44.621967 Lock_time: 0.000086 Rows_sent: 1409 Rows_examined: 192309
  661. SET timestamp=1405356270;
  662. SELECT c.id AS cat_id, id_uppercat,
  663. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  664. FROM piwigo_categories as c
  665. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  666. LEFT JOIN piwigo_images AS i
  667. ON ic.image_id = i.id
  668. AND i.level<=0
  669. GROUP BY c.id;
  670. # User@Host: user[user] @ localhost []
  671. # Query_time: 46.495320 Lock_time: 0.000103 Rows_sent: 1409 Rows_examined: 192309
  672. SET timestamp=1405356270;
  673. SELECT c.id AS cat_id, id_uppercat,
  674. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  675. FROM piwigo_categories as c
  676. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  677. LEFT JOIN piwigo_images AS i
  678. ON ic.image_id = i.id
  679. AND i.level<=0
  680. GROUP BY c.id;
  681. # User@Host: user[user] @ localhost []
  682. # Query_time: 45.519708 Lock_time: 0.000121 Rows_sent: 1409 Rows_examined: 192309
  683. SET timestamp=1405356270;
  684. SELECT c.id AS cat_id, id_uppercat,
  685. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  686. FROM piwigo_categories as c
  687. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  688. LEFT JOIN piwigo_images AS i
  689. ON ic.image_id = i.id
  690. AND i.level<=0
  691. GROUP BY c.id;
  692. # User@Host: user[user] @ localhost []
  693. # Query_time: 45.448519 Lock_time: 0.000115 Rows_sent: 1409 Rows_examined: 192309
  694. SET timestamp=1405356270;
  695. SELECT c.id AS cat_id, id_uppercat,
  696. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  697. FROM piwigo_categories as c
  698. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  699. LEFT JOIN piwigo_images AS i
  700. ON ic.image_id = i.id
  701. AND i.level<=0
  702. GROUP BY c.id;
  703. # User@Host: user[user] @ localhost []
  704. # Query_time: 44.643047 Lock_time: 0.000100 Rows_sent: 1409 Rows_examined: 192309
  705. SET timestamp=1405356270;
  706. SELECT c.id AS cat_id, id_uppercat,
  707. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  708. FROM piwigo_categories as c
  709. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  710. LEFT JOIN piwigo_images AS i
  711. ON ic.image_id = i.id
  712. AND i.level<=0
  713. GROUP BY c.id;
  714. # User@Host: user[user] @ localhost []
  715. # Query_time: 45.912142 Lock_time: 0.000091 Rows_sent: 1409 Rows_examined: 192309
  716. SET timestamp=1405356270;
  717. SELECT c.id AS cat_id, id_uppercat,
  718. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  719. FROM piwigo_categories as c
  720. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  721. LEFT JOIN piwigo_images AS i
  722. ON ic.image_id = i.id
  723. AND i.level<=0
  724. GROUP BY c.id;
  725. # User@Host: user[user] @ localhost []
  726. # Query_time: 44.319346 Lock_time: 0.000090 Rows_sent: 1409 Rows_examined: 192309
  727. SET timestamp=1405356270;
  728. SELECT c.id AS cat_id, id_uppercat,
  729. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  730. FROM piwigo_categories as c
  731. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  732. LEFT JOIN piwigo_images AS i
  733. ON ic.image_id = i.id
  734. AND i.level<=0
  735. GROUP BY c.id;
  736. # User@Host: user[user] @ localhost []
  737. # Query_time: 43.650373 Lock_time: 0.000089 Rows_sent: 1409 Rows_examined: 192309
  738. SET timestamp=1405356270;
  739. SELECT c.id AS cat_id, id_uppercat,
  740. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  741. FROM piwigo_categories as c
  742. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  743. LEFT JOIN piwigo_images AS i
  744. ON ic.image_id = i.id
  745. AND i.level<=0
  746. GROUP BY c.id;
  747. # User@Host: user[user] @ localhost []
  748. # Query_time: 44.004839 Lock_time: 0.000100 Rows_sent: 1409 Rows_examined: 192309
  749. SET timestamp=1405356270;
  750. SELECT c.id AS cat_id, id_uppercat,
  751. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  752. FROM piwigo_categories as c
  753. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  754. LEFT JOIN piwigo_images AS i
  755. ON ic.image_id = i.id
  756. AND i.level<=0
  757. GROUP BY c.id;
  758. # User@Host: user[user] @ localhost []
  759. # Query_time: 43.510350 Lock_time: 0.000135 Rows_sent: 1409 Rows_examined: 192309
  760. SET timestamp=1405356270;
  761. SELECT c.id AS cat_id, id_uppercat,
  762. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  763. FROM piwigo_categories as c
  764. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  765. LEFT JOIN piwigo_images AS i
  766. ON ic.image_id = i.id
  767. AND i.level<=0
  768. GROUP BY c.id;
  769. # Time: 140714 18:44:31
  770. # User@Host: user[user] @ localhost []
  771. # Query_time: 44.610246 Lock_time: 0.000082 Rows_sent: 1409 Rows_examined: 192309
  772. SET timestamp=1405356271;
  773. SELECT c.id AS cat_id, id_uppercat,
  774. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  775. FROM piwigo_categories as c
  776. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  777. LEFT JOIN piwigo_images AS i
  778. ON ic.image_id = i.id
  779. AND i.level<=0
  780. GROUP BY c.id;
  781. # User@Host: user[user] @ localhost []
  782. # Query_time: 44.730112 Lock_time: 0.000077 Rows_sent: 1409 Rows_examined: 192309
  783. SET timestamp=1405356271;
  784. SELECT c.id AS cat_id, id_uppercat,
  785. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  786. FROM piwigo_categories as c
  787. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  788. LEFT JOIN piwigo_images AS i
  789. ON ic.image_id = i.id
  790. AND i.level<=0
  791. GROUP BY c.id;
  792. # User@Host: user[user] @ localhost []
  793. # Query_time: 43.762472 Lock_time: 0.000119 Rows_sent: 1409 Rows_examined: 192309
  794. SET timestamp=1405356271;
  795. SELECT c.id AS cat_id, id_uppercat,
  796. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  797. FROM piwigo_categories as c
  798. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  799. LEFT JOIN piwigo_images AS i
  800. ON ic.image_id = i.id
  801. AND i.level<=0
  802. GROUP BY c.id;
  803. # User@Host: user[user] @ localhost []
  804. # Query_time: 43.325195 Lock_time: 0.000091 Rows_sent: 1409 Rows_examined: 192309
  805. SET timestamp=1405356271;
  806. SELECT c.id AS cat_id, id_uppercat,
  807. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  808. FROM piwigo_categories as c
  809. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  810. LEFT JOIN piwigo_images AS i
  811. ON ic.image_id = i.id
  812. AND i.level<=0
  813. GROUP BY c.id;
  814. # User@Host: user[user] @ localhost []
  815. # Query_time: 42.837151 Lock_time: 0.000081 Rows_sent: 1409 Rows_examined: 192309
  816. SET timestamp=1405356271;
  817. SELECT c.id AS cat_id, id_uppercat,
  818. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  819. FROM piwigo_categories as c
  820. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  821. LEFT JOIN piwigo_images AS i
  822. ON ic.image_id = i.id
  823. AND i.level<=0
  824. GROUP BY c.id;
  825. # User@Host: user[user] @ localhost []
  826. # Query_time: 41.599636 Lock_time: 0.000084 Rows_sent: 1409 Rows_examined: 192309
  827. SET timestamp=1405356271;
  828. SELECT c.id AS cat_id, id_uppercat,
  829. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  830. FROM piwigo_categories as c
  831. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  832. LEFT JOIN piwigo_images AS i
  833. ON ic.image_id = i.id
  834. AND i.level<=0
  835. GROUP BY c.id;
  836. # User@Host: user[user] @ localhost []
  837. # Query_time: 42.901337 Lock_time: 0.000094 Rows_sent: 1409 Rows_examined: 192309
  838. SET timestamp=1405356271;
  839. SELECT c.id AS cat_id, id_uppercat,
  840. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  841. FROM piwigo_categories as c
  842. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  843. LEFT JOIN piwigo_images AS i
  844. ON ic.image_id = i.id
  845. AND i.level<=0
  846. GROUP BY c.id;
  847. # Time: 140714 18:44:32
  848. # User@Host: user[user] @ localhost []
  849. # Query_time: 39.200241 Lock_time: 0.000065 Rows_sent: 1409 Rows_examined: 192309
  850. SET timestamp=1405356272;
  851. SELECT c.id AS cat_id, id_uppercat,
  852. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  853. FROM piwigo_categories as c
  854. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  855. LEFT JOIN piwigo_images AS i
  856. ON ic.image_id = i.id
  857. AND i.level<=0
  858. GROUP BY c.id;
  859. # User@Host: user[user] @ localhost []
  860. # Query_time: 38.773719 Lock_time: 0.000100 Rows_sent: 1409 Rows_examined: 192309
  861. SET timestamp=1405356272;
  862. SELECT c.id AS cat_id, id_uppercat,
  863. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  864. FROM piwigo_categories as c
  865. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  866. LEFT JOIN piwigo_images AS i
  867. ON ic.image_id = i.id
  868. AND i.level<=0
  869. GROUP BY c.id;
  870. # User@Host: user[user] @ localhost []
  871. # Query_time: 40.486134 Lock_time: 0.000086 Rows_sent: 1409 Rows_examined: 192309
  872. SET timestamp=1405356272;
  873. SELECT c.id AS cat_id, id_uppercat,
  874. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  875. FROM piwigo_categories as c
  876. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  877. LEFT JOIN piwigo_images AS i
  878. ON ic.image_id = i.id
  879. AND i.level<=0
  880. GROUP BY c.id;
  881. # User@Host: user[user] @ localhost []
  882. # Query_time: 37.669153 Lock_time: 0.000084 Rows_sent: 1409 Rows_examined: 192309
  883. SET timestamp=1405356272;
  884. SELECT c.id AS cat_id, id_uppercat,
  885. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  886. FROM piwigo_categories as c
  887. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  888. LEFT JOIN piwigo_images AS i
  889. ON ic.image_id = i.id
  890. AND i.level<=0
  891. GROUP BY c.id;
  892. # User@Host: user[user] @ localhost []
  893. # Query_time: 41.169777 Lock_time: 0.000077 Rows_sent: 1409 Rows_examined: 192309
  894. SET timestamp=1405356272;
  895. SELECT c.id AS cat_id, id_uppercat,
  896. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  897. FROM piwigo_categories as c
  898. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  899. LEFT JOIN piwigo_images AS i
  900. ON ic.image_id = i.id
  901. AND i.level<=0
  902. GROUP BY c.id;
  903. # User@Host: user[user] @ localhost []
  904. # Query_time: 39.446586 Lock_time: 0.000083 Rows_sent: 1409 Rows_examined: 192309
  905. SET timestamp=1405356272;
  906. SELECT c.id AS cat_id, id_uppercat,
  907. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  908. FROM piwigo_categories as c
  909. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  910. LEFT JOIN piwigo_images AS i
  911. ON ic.image_id = i.id
  912. AND i.level<=0
  913. GROUP BY c.id;
  914. # User@Host: user[user] @ localhost []
  915. # Query_time: 33.112220 Lock_time: 0.000100 Rows_sent: 1409 Rows_examined: 192309
  916. SET timestamp=1405356272;
  917. SELECT c.id AS cat_id, id_uppercat,
  918. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  919. FROM piwigo_categories as c
  920. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  921. LEFT JOIN piwigo_images AS i
  922. ON ic.image_id = i.id
  923. AND i.level<=0
  924. GROUP BY c.id;
  925. # User@Host: user[user] @ localhost []
  926. # Query_time: 35.010198 Lock_time: 0.000077 Rows_sent: 1409 Rows_examined: 192309
  927. SET timestamp=1405356272;
  928. SELECT c.id AS cat_id, id_uppercat,
  929. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  930. FROM piwigo_categories as c
  931. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  932. LEFT JOIN piwigo_images AS i
  933. ON ic.image_id = i.id
  934. AND i.level<=0
  935. GROUP BY c.id;
  936. # User@Host: user[user] @ localhost []
  937. # Query_time: 33.981655 Lock_time: 0.000101 Rows_sent: 1409 Rows_examined: 192309
  938. SET timestamp=1405356272;
  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: user[user] @ localhost []
  948. # Query_time: 33.046654 Lock_time: 0.000089 Rows_sent: 1409 Rows_examined: 192309
  949. SET timestamp=1405356272;
  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: user[user] @ localhost []
  959. # Query_time: 32.542819 Lock_time: 0.000111 Rows_sent: 1409 Rows_examined: 192309
  960. SET timestamp=1405356272;
  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. # Time: 140714 18:45:27
  970. # User@Host: user[user] @ localhost []
  971. # Query_time: 46.841581 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188109
  972. SET timestamp=1405356327;
  973. SELECT DISTINCT(id)
  974. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  975. WHERE category_id NOT IN (0)
  976. AND level>0;
  977. # Time: 140714 18:45:28
  978. # User@Host: user[user] @ localhost []
  979. # Query_time: 48.340624 Lock_time: 0.000046 Rows_sent: 21 Rows_examined: 188109
  980. SET timestamp=1405356328;
  981. SELECT DISTINCT(id)
  982. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  983. WHERE category_id NOT IN (0)
  984. AND level>0;
  985. # User@Host: user[user] @ localhost []
  986. # Query_time: 48.169080 Lock_time: 0.000083 Rows_sent: 21 Rows_examined: 188109
  987. SET timestamp=1405356328;
  988. SELECT DISTINCT(id)
  989. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  990. WHERE category_id NOT IN (0)
  991. AND level>0;
  992. # Time: 140714 18:45:29
  993. # User@Host: user[user] @ localhost []
  994. # Query_time: 48.232059 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188109
  995. SET timestamp=1405356329;
  996. SELECT DISTINCT(id)
  997. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  998. WHERE category_id NOT IN (0)
  999. AND level>0;
  1000. # User@Host: user[user] @ localhost []
  1001. # Query_time: 49.026140 Lock_time: 0.000069 Rows_sent: 21 Rows_examined: 188109
  1002. SET timestamp=1405356329;
  1003. SELECT DISTINCT(id)
  1004. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1005. WHERE category_id NOT IN (0)
  1006. AND level>0;
  1007. # Time: 140714 18:45:30
  1008. # User@Host: user[user] @ localhost []
  1009. # Query_time: 49.040737 Lock_time: 0.000056 Rows_sent: 21 Rows_examined: 188109
  1010. SET timestamp=1405356330;
  1011. SELECT DISTINCT(id)
  1012. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1013. WHERE category_id NOT IN (0)
  1014. AND level>0;
  1015. # User@Host: user[user] @ localhost []
  1016. # Query_time: 49.266802 Lock_time: 0.000077 Rows_sent: 21 Rows_examined: 188109
  1017. SET timestamp=1405356330;
  1018. SELECT DISTINCT(id)
  1019. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1020. WHERE category_id NOT IN (0)
  1021. AND level>0;
  1022. # User@Host: user[user] @ localhost []
  1023. # Query_time: 49.411879 Lock_time: 0.000084 Rows_sent: 21 Rows_examined: 188109
  1024. SET timestamp=1405356330;
  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. # User@Host: user[user] @ localhost []
  1030. # Query_time: 48.980518 Lock_time: 0.000042 Rows_sent: 21 Rows_examined: 188109
  1031. SET timestamp=1405356330;
  1032. SELECT DISTINCT(id)
  1033. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1034. WHERE category_id NOT IN (0)
  1035. AND level>0;
  1036. # User@Host: user[user] @ localhost []
  1037. # Query_time: 49.183031 Lock_time: 0.000050 Rows_sent: 21 Rows_examined: 188109
  1038. SET timestamp=1405356330;
  1039. SELECT DISTINCT(id)
  1040. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1041. WHERE category_id NOT IN (0)
  1042. AND level>0;
  1043. # User@Host: user[user] @ localhost []
  1044. # Query_time: 49.714059 Lock_time: 0.000045 Rows_sent: 21 Rows_examined: 188109
  1045. SET timestamp=1405356330;
  1046. SELECT DISTINCT(id)
  1047. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1048. WHERE category_id NOT IN (0)
  1049. AND level>0;
  1050. # Time: 140714 18:45:31
  1051. # User@Host: user[user] @ localhost []
  1052. # Query_time: 49.886344 Lock_time: 0.000080 Rows_sent: 21 Rows_examined: 188109
  1053. SET timestamp=1405356331;
  1054. SELECT DISTINCT(id)
  1055. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1056. WHERE category_id NOT IN (0)
  1057. AND level>0;
  1058. # User@Host: user[user] @ localhost []
  1059. # Query_time: 49.396670 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188109
  1060. SET timestamp=1405356331;
  1061. SELECT DISTINCT(id)
  1062. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1063. WHERE category_id NOT IN (0)
  1064. AND level>0;
  1065. # User@Host: user[user] @ localhost []
  1066. # Query_time: 50.382090 Lock_time: 0.000048 Rows_sent: 21 Rows_examined: 188109
  1067. SET timestamp=1405356331;
  1068. SELECT DISTINCT(id)
  1069. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1070. WHERE category_id NOT IN (0)
  1071. AND level>0;
  1072. # User@Host: user[user] @ localhost []
  1073. # Query_time: 50.251782 Lock_time: 0.000060 Rows_sent: 21 Rows_examined: 188109
  1074. SET timestamp=1405356331;
  1075. SELECT DISTINCT(id)
  1076. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1077. WHERE category_id NOT IN (0)
  1078. AND level>0;
  1079. # User@Host: user[user] @ localhost []
  1080. # Query_time: 49.576834 Lock_time: 0.000084 Rows_sent: 21 Rows_examined: 188109
  1081. SET timestamp=1405356331;
  1082. SELECT DISTINCT(id)
  1083. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1084. WHERE category_id NOT IN (0)
  1085. AND level>0;
  1086. # User@Host: user[user] @ localhost []
  1087. # Query_time: 50.229571 Lock_time: 0.000067 Rows_sent: 21 Rows_examined: 188109
  1088. SET timestamp=1405356331;
  1089. SELECT DISTINCT(id)
  1090. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1091. WHERE category_id NOT IN (0)
  1092. AND level>0;
  1093. # User@Host: user[user] @ localhost []
  1094. # Query_time: 50.703770 Lock_time: 0.000042 Rows_sent: 21 Rows_examined: 188109
  1095. SET timestamp=1405356331;
  1096. SELECT DISTINCT(id)
  1097. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1098. WHERE category_id NOT IN (0)
  1099. AND level>0;
  1100. # User@Host: user[user] @ localhost []
  1101. # Query_time: 50.825676 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188109
  1102. SET timestamp=1405356331;
  1103. SELECT DISTINCT(id)
  1104. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1105. WHERE category_id NOT IN (0)
  1106. AND level>0;
  1107. # User@Host: user[user] @ localhost []
  1108. # Query_time: 49.514398 Lock_time: 0.000041 Rows_sent: 21 Rows_examined: 188109
  1109. SET timestamp=1405356331;
  1110. SELECT DISTINCT(id)
  1111. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1112. WHERE category_id NOT IN (0)
  1113. AND level>0;
  1114. # Time: 140714 18:45:32
  1115. # User@Host: user[user] @ localhost []
  1116. # Query_time: 50.878702 Lock_time: 0.000074 Rows_sent: 21 Rows_examined: 188109
  1117. SET timestamp=1405356332;
  1118. SELECT DISTINCT(id)
  1119. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1120. WHERE category_id NOT IN (0)
  1121. AND level>0;
  1122. # User@Host: user[user] @ localhost []
  1123. # Query_time: 49.922391 Lock_time: 0.000089 Rows_sent: 21 Rows_examined: 188109
  1124. SET timestamp=1405356332;
  1125. SELECT DISTINCT(id)
  1126. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1127. WHERE category_id NOT IN (0)
  1128. AND level>0;
  1129. # User@Host: user[user] @ localhost []
  1130. # Query_time: 51.312842 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188109
  1131. SET timestamp=1405356332;
  1132. SELECT DISTINCT(id)
  1133. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1134. WHERE category_id NOT IN (0)
  1135. AND level>0;
  1136. # User@Host: user[user] @ localhost []
  1137. # Query_time: 50.301211 Lock_time: 0.000077 Rows_sent: 21 Rows_examined: 188109
  1138. SET timestamp=1405356332;
  1139. SELECT DISTINCT(id)
  1140. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1141. WHERE category_id NOT IN (0)
  1142. AND level>0;
  1143. # User@Host: user[user] @ localhost []
  1144. # Query_time: 51.155128 Lock_time: 0.000075 Rows_sent: 21 Rows_examined: 188109
  1145. SET timestamp=1405356332;
  1146. SELECT DISTINCT(id)
  1147. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1148. WHERE category_id NOT IN (0)
  1149. AND level>0;
  1150. # User@Host: user[user] @ localhost []
  1151. # Query_time: 50.161765 Lock_time: 0.000068 Rows_sent: 21 Rows_examined: 188109
  1152. SET timestamp=1405356332;
  1153. SELECT DISTINCT(id)
  1154. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1155. WHERE category_id NOT IN (0)
  1156. AND level>0;
  1157. # User@Host: user[user] @ localhost []
  1158. # Query_time: 51.559409 Lock_time: 0.000065 Rows_sent: 21 Rows_examined: 188109
  1159. SET timestamp=1405356332;
  1160. SELECT DISTINCT(id)
  1161. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1162. WHERE category_id NOT IN (0)
  1163. AND level>0;
  1164. # Time: 140714 18:45:33
  1165. # User@Host: user[user] @ localhost []
  1166. # Query_time: 50.528206 Lock_time: 0.000074 Rows_sent: 21 Rows_examined: 188109
  1167. SET timestamp=1405356333;
  1168. SELECT DISTINCT(id)
  1169. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1170. WHERE category_id NOT IN (0)
  1171. AND level>0;
  1172. # User@Host: user[user] @ localhost []
  1173. # Query_time: 51.486487 Lock_time: 0.000085 Rows_sent: 21 Rows_examined: 188109
  1174. SET timestamp=1405356333;
  1175. SELECT DISTINCT(id)
  1176. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1177. WHERE category_id NOT IN (0)
  1178. AND level>0;
  1179. # User@Host: user[user] @ localhost []
  1180. # Query_time: 49.588650 Lock_time: 0.000046 Rows_sent: 21 Rows_examined: 188109
  1181. SET timestamp=1405356333;
  1182. SELECT DISTINCT(id)
  1183. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1184. WHERE category_id NOT IN (0)
  1185. AND level>0;
  1186. # User@Host: user[user] @ localhost []
  1187. # Query_time: 50.379242 Lock_time: 0.000062 Rows_sent: 21 Rows_examined: 188109
  1188. SET timestamp=1405356333;
  1189. SELECT DISTINCT(id)
  1190. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1191. WHERE category_id NOT IN (0)
  1192. AND level>0;
  1193. # User@Host: user[user] @ localhost []
  1194. # Query_time: 50.683984 Lock_time: 0.000098 Rows_sent: 21 Rows_examined: 188109
  1195. SET timestamp=1405356333;
  1196. SELECT DISTINCT(id)
  1197. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1198. WHERE category_id NOT IN (0)
  1199. AND level>0;
  1200. # User@Host: user[user] @ localhost []
  1201. # Query_time: 50.707927 Lock_time: 0.000043 Rows_sent: 21 Rows_examined: 188109
  1202. SET timestamp=1405356333;
  1203. SELECT DISTINCT(id)
  1204. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1205. WHERE category_id NOT IN (0)
  1206. AND level>0;
  1207. # User@Host: user[user] @ localhost []
  1208. # Query_time: 50.879096 Lock_time: 0.000045 Rows_sent: 21 Rows_examined: 188109
  1209. SET timestamp=1405356333;
  1210. SELECT DISTINCT(id)
  1211. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1212. WHERE category_id NOT IN (0)
  1213. AND level>0;
  1214. # User@Host: user[user] @ localhost []
  1215. # Query_time: 51.118649 Lock_time: 0.000050 Rows_sent: 21 Rows_examined: 188109
  1216. SET timestamp=1405356333;
  1217. SELECT DISTINCT(id)
  1218. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1219. WHERE category_id NOT IN (0)
  1220. AND level>0;
  1221. # User@Host: user[user] @ localhost []
  1222. # Query_time: 51.193922 Lock_time: 0.000056 Rows_sent: 21 Rows_examined: 188109
  1223. SET timestamp=1405356333;
  1224. SELECT DISTINCT(id)
  1225. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1226. WHERE category_id NOT IN (0)
  1227. AND level>0;
  1228. # User@Host: user[user] @ localhost []
  1229. # Query_time: 50.926740 Lock_time: 0.000068 Rows_sent: 21 Rows_examined: 188109
  1230. SET timestamp=1405356333;
  1231. SELECT DISTINCT(id)
  1232. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1233. WHERE category_id NOT IN (0)
  1234. AND level>0;
  1235. # User@Host: user[user] @ localhost []
  1236. # Query_time: 50.940829 Lock_time: 0.000060 Rows_sent: 21 Rows_examined: 188109
  1237. SET timestamp=1405356333;
  1238. SELECT DISTINCT(id)
  1239. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1240. WHERE category_id NOT IN (0)
  1241. AND level>0;
  1242. # User@Host: user[user] @ localhost []
  1243. # Query_time: 50.258411 Lock_time: 0.000055 Rows_sent: 21 Rows_examined: 188109
  1244. SET timestamp=1405356333;
  1245. SELECT DISTINCT(id)
  1246. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1247. WHERE category_id NOT IN (0)
  1248. AND level>0;
  1249. # User@Host: user[user] @ localhost []
  1250. # Query_time: 50.275777 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188109
  1251. SET timestamp=1405356333;
  1252. SELECT DISTINCT(id)
  1253. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1254. WHERE category_id NOT IN (0)
  1255. AND level>0;
  1256. # Time: 140714 18:45:34
  1257. # User@Host: user[user] @ localhost []
  1258. # Query_time: 50.454132 Lock_time: 0.000062 Rows_sent: 21 Rows_examined: 188109
  1259. SET timestamp=1405356334;
  1260. SELECT DISTINCT(id)
  1261. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1262. WHERE category_id NOT IN (0)
  1263. AND level>0;
  1264. # User@Host: user[user] @ localhost []
  1265. # Query_time: 51.445055 Lock_time: 0.000051 Rows_sent: 21 Rows_examined: 188109
  1266. SET timestamp=1405356334;
  1267. SELECT DISTINCT(id)
  1268. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1269. WHERE category_id NOT IN (0)
  1270. AND level>0;
  1271. # User@Host: user[user] @ localhost []
  1272. # Query_time: 50.133345 Lock_time: 0.000071 Rows_sent: 21 Rows_examined: 188109
  1273. SET timestamp=1405356334;
  1274. SELECT DISTINCT(id)
  1275. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1276. WHERE category_id NOT IN (0)
  1277. AND level>0;
  1278. # User@Host: user[user] @ localhost []
  1279. # Query_time: 50.399932 Lock_time: 0.000088 Rows_sent: 21 Rows_examined: 188109
  1280. SET timestamp=1405356334;
  1281. SELECT DISTINCT(id)
  1282. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1283. WHERE category_id NOT IN (0)
  1284. AND level>0;
  1285. # User@Host: user[user] @ localhost []
  1286. # Query_time: 49.745629 Lock_time: 0.000069 Rows_sent: 21 Rows_examined: 188109
  1287. SET timestamp=1405356334;
  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: user[user] @ localhost []
  1293. # Query_time: 50.140293 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188109
  1294. SET timestamp=1405356334;
  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. # Time: 140714 18:45:35
  1300. # User@Host: user[user] @ localhost []
  1301. # Query_time: 48.188678 Lock_time: 0.000050 Rows_sent: 21 Rows_examined: 188109
  1302. SET timestamp=1405356335;
  1303. SELECT DISTINCT(id)
  1304. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1305. WHERE category_id NOT IN (0)
  1306. AND level>0;
  1307. # User@Host: user[user] @ localhost []
  1308. # Query_time: 48.611494 Lock_time: 0.000063 Rows_sent: 21 Rows_examined: 188109
  1309. SET timestamp=1405356335;
  1310. SELECT DISTINCT(id)
  1311. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1312. WHERE category_id NOT IN (0)
  1313. AND level>0;
  1314. # User@Host: user[user] @ localhost []
  1315. # Query_time: 49.070789 Lock_time: 0.000071 Rows_sent: 21 Rows_examined: 188109
  1316. SET timestamp=1405356335;
  1317. SELECT DISTINCT(id)
  1318. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1319. WHERE category_id NOT IN (0)
  1320. AND level>0;
  1321. # User@Host: user[user] @ localhost []
  1322. # Query_time: 48.273649 Lock_time: 0.000060 Rows_sent: 21 Rows_examined: 188109
  1323. SET timestamp=1405356335;
  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: user[user] @ localhost []
  1329. # Query_time: 49.832087 Lock_time: 0.000085 Rows_sent: 21 Rows_examined: 188109
  1330. SET timestamp=1405356335;
  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. # User@Host: user[user] @ localhost []
  1336. # Query_time: 49.067397 Lock_time: 0.000074 Rows_sent: 21 Rows_examined: 188109
  1337. SET timestamp=1405356335;
  1338. SELECT DISTINCT(id)
  1339. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1340. WHERE category_id NOT IN (0)
  1341. AND level>0;
  1342. # User@Host: user[user] @ localhost []
  1343. # Query_time: 46.909764 Lock_time: 0.000069 Rows_sent: 21 Rows_examined: 188109
  1344. SET timestamp=1405356335;
  1345. SELECT DISTINCT(id)
  1346. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1347. WHERE category_id NOT IN (0)
  1348. AND level>0;
  1349. # User@Host: user[user] @ localhost []
  1350. # Query_time: 47.913206 Lock_time: 0.000064 Rows_sent: 21 Rows_examined: 188109
  1351. SET timestamp=1405356335;
  1352. SELECT DISTINCT(id)
  1353. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1354. WHERE category_id NOT IN (0)
  1355. AND level>0;
  1356. # User@Host: user[user] @ localhost []
  1357. # Query_time: 47.682635 Lock_time: 0.000061 Rows_sent: 21 Rows_examined: 188109
  1358. SET timestamp=1405356335;
  1359. SELECT DISTINCT(id)
  1360. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1361. WHERE category_id NOT IN (0)
  1362. AND level>0;
  1363. # User@Host: user[user] @ localhost []
  1364. # Query_time: 48.830641 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188109
  1365. SET timestamp=1405356335;
  1366. SELECT DISTINCT(id)
  1367. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1368. WHERE category_id NOT IN (0)
  1369. AND level>0;
  1370. # User@Host: user[user] @ localhost []
  1371. # Query_time: 49.074349 Lock_time: 0.000073 Rows_sent: 21 Rows_examined: 188109
  1372. SET timestamp=1405356335;
  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. # User@Host: user[user] @ localhost []
  1378. # Query_time: 48.217404 Lock_time: 0.000067 Rows_sent: 21 Rows_examined: 188109
  1379. SET timestamp=1405356335;
  1380. SELECT DISTINCT(id)
  1381. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1382. WHERE category_id NOT IN (0)
  1383. AND level>0;
  1384. # User@Host: user[user] @ localhost []
  1385. # Query_time: 47.267843 Lock_time: 0.000066 Rows_sent: 21 Rows_examined: 188109
  1386. SET timestamp=1405356335;
  1387. SELECT DISTINCT(id)
  1388. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1389. WHERE category_id NOT IN (0)
  1390. AND level>0;
  1391. # User@Host: user[user] @ localhost []
  1392. # Query_time: 47.188718 Lock_time: 0.000066 Rows_sent: 21 Rows_examined: 188109
  1393. SET timestamp=1405356335;
  1394. SELECT DISTINCT(id)
  1395. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1396. WHERE category_id NOT IN (0)
  1397. AND level>0;
  1398. # User@Host: user[user] @ localhost []
  1399. # Query_time: 48.400976 Lock_time: 0.000044 Rows_sent: 21 Rows_examined: 188109
  1400. SET timestamp=1405356335;
  1401. SELECT DISTINCT(id)
  1402. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1403. WHERE category_id NOT IN (0)
  1404. AND level>0;
  1405. # User@Host: user[user] @ localhost []
  1406. # Query_time: 45.866454 Lock_time: 0.000088 Rows_sent: 21 Rows_examined: 188109
  1407. SET timestamp=1405356335;
  1408. SELECT DISTINCT(id)
  1409. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1410. WHERE category_id NOT IN (0)
  1411. AND level>0;
  1412. # User@Host: user[user] @ localhost []
  1413. # Query_time: 47.343757 Lock_time: 0.000068 Rows_sent: 21 Rows_examined: 188109
  1414. SET timestamp=1405356335;
  1415. SELECT DISTINCT(id)
  1416. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1417. WHERE category_id NOT IN (0)
  1418. AND level>0;
  1419. # User@Host: user[user] @ localhost []
  1420. # Query_time: 47.462186 Lock_time: 0.000053 Rows_sent: 21 Rows_examined: 188109
  1421. SET timestamp=1405356335;
  1422. SELECT DISTINCT(id)
  1423. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1424. WHERE category_id NOT IN (0)
  1425. AND level>0;
  1426. # User@Host: user[user] @ localhost []
  1427. # Query_time: 46.132248 Lock_time: 0.000068 Rows_sent: 21 Rows_examined: 188109
  1428. SET timestamp=1405356335;
  1429. SELECT DISTINCT(id)
  1430. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1431. WHERE category_id NOT IN (0)
  1432. AND level>0;
  1433. # User@Host: user[user] @ localhost []
  1434. # Query_time: 48.170276 Lock_time: 0.000074 Rows_sent: 21 Rows_examined: 188109
  1435. SET timestamp=1405356335;
  1436. SELECT DISTINCT(id)
  1437. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1438. WHERE category_id NOT IN (0)
  1439. AND level>0;
  1440. # User@Host: user[user] @ localhost []
  1441. # Query_time: 46.331086 Lock_time: 0.000067 Rows_sent: 21 Rows_examined: 188109
  1442. SET timestamp=1405356335;
  1443. SELECT DISTINCT(id)
  1444. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1445. WHERE category_id NOT IN (0)
  1446. AND level>0;
  1447. # Time: 140714 18:46:51
  1448. # User@Host: user[user] @ localhost []
  1449. # Query_time: 109.868862 Lock_time: 34.245545 Rows_sent: 21 Rows_examined: 188111
  1450. SET timestamp=1405356411;
  1451. SELECT DISTINCT(id)
  1452. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1453. WHERE category_id NOT IN (0)
  1454. AND level>0;
  1455. # User@Host: user[user] @ localhost []
  1456. # Query_time: 106.512841 Lock_time: 30.658707 Rows_sent: 21 Rows_examined: 188111
  1457. SET timestamp=1405356411;
  1458. SELECT DISTINCT(id)
  1459. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1460. WHERE category_id NOT IN (0)
  1461. AND level>0;
  1462. # Time: 140714 18:46:52
  1463. # User@Host: user[user] @ localhost []
  1464. # Query_time: 120.244743 Lock_time: 43.766519 Rows_sent: 21 Rows_examined: 188111
  1465. SET timestamp=1405356412;
  1466. SELECT DISTINCT(id)
  1467. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1468. WHERE category_id NOT IN (0)
  1469. AND level>0;
  1470. # User@Host: user[user] @ localhost []
  1471. # Query_time: 107.235092 Lock_time: 30.480440 Rows_sent: 21 Rows_examined: 188111
  1472. SET timestamp=1405356412;
  1473. SELECT DISTINCT(id)
  1474. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1475. WHERE category_id NOT IN (0)
  1476. AND level>0;
  1477. # User@Host: user[user] @ localhost []
  1478. # Query_time: 122.617373 Lock_time: 45.313580 Rows_sent: 21 Rows_examined: 188111
  1479. SET timestamp=1405356412;
  1480. SELECT DISTINCT(id)
  1481. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1482. WHERE category_id NOT IN (0)
  1483. AND level>0;
  1484. # Time: 140714 18:46:53
  1485. # User@Host: user[user] @ localhost []
  1486. # Query_time: 119.254190 Lock_time: 41.722408 Rows_sent: 21 Rows_examined: 188111
  1487. SET timestamp=1405356413;
  1488. SELECT DISTINCT(id)
  1489. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1490. WHERE category_id NOT IN (0)
  1491. AND level>0;
  1492. # User@Host: user[user] @ localhost []
  1493. # Query_time: 121.714137 Lock_time: 43.993990 Rows_sent: 21 Rows_examined: 188111
  1494. SET timestamp=1405356413;
  1495. SELECT DISTINCT(id)
  1496. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1497. WHERE category_id NOT IN (0)
  1498. AND level>0;
  1499. # User@Host: user[user] @ localhost []
  1500. # Query_time: 119.310058 Lock_time: 41.205530 Rows_sent: 21 Rows_examined: 188111
  1501. SET timestamp=1405356413;
  1502. SELECT DISTINCT(id)
  1503. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1504. WHERE category_id NOT IN (0)
  1505. AND level>0;
  1506. # User@Host: user[user] @ localhost []
  1507. # Query_time: 120.248688 Lock_time: 42.139179 Rows_sent: 21 Rows_examined: 188111
  1508. SET timestamp=1405356413;
  1509. SELECT DISTINCT(id)
  1510. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1511. WHERE category_id NOT IN (0)
  1512. AND level>0;
  1513. # User@Host: user[user] @ localhost []
  1514. # Query_time: 101.839475 Lock_time: 23.684940 Rows_sent: 21 Rows_examined: 188111
  1515. SET timestamp=1405356413;
  1516. SELECT DISTINCT(id)
  1517. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1518. WHERE category_id NOT IN (0)
  1519. AND level>0;
  1520. # User@Host: user[user] @ localhost []
  1521. # Query_time: 117.286087 Lock_time: 39.078591 Rows_sent: 21 Rows_examined: 188111
  1522. SET timestamp=1405356413;
  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. # Time: 140714 18:46:54
  1528. # User@Host: user[user] @ localhost []
  1529. # Query_time: 122.918728 Lock_time: 44.553722 Rows_sent: 21 Rows_examined: 188111
  1530. SET timestamp=1405356414;
  1531. SELECT DISTINCT(id)
  1532. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1533. WHERE category_id NOT IN (0)
  1534. AND level>0;
  1535. # User@Host: user[user] @ localhost []
  1536. # Query_time: 108.181527 Lock_time: 29.798934 Rows_sent: 21 Rows_examined: 188111
  1537. SET timestamp=1405356414;
  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. # User@Host: user[user] @ localhost []
  1543. # Query_time: 122.890686 Lock_time: 44.505555 Rows_sent: 21 Rows_examined: 188111
  1544. SET timestamp=1405356414;
  1545. SELECT DISTINCT(id)
  1546. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1547. WHERE category_id NOT IN (0)
  1548. AND level>0;
  1549. # User@Host: user[user] @ localhost []
  1550. # Query_time: 114.225632 Lock_time: 35.729309 Rows_sent: 21 Rows_examined: 188111
  1551. SET timestamp=1405356414;
  1552. SELECT DISTINCT(id)
  1553. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1554. WHERE category_id NOT IN (0)
  1555. AND level>0;
  1556. # User@Host: user[user] @ localhost []
  1557. # Query_time: 123.474310 Lock_time: 44.727684 Rows_sent: 21 Rows_examined: 188111
  1558. SET timestamp=1405356414;
  1559. SELECT DISTINCT(id)
  1560. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1561. WHERE category_id NOT IN (0)
  1562. AND level>0;
  1563. # User@Host: user[user] @ localhost []
  1564. # Query_time: 121.475868 Lock_time: 42.616632 Rows_sent: 21 Rows_examined: 188111
  1565. SET timestamp=1405356414;
  1566. SELECT DISTINCT(id)
  1567. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1568. WHERE category_id NOT IN (0)
  1569. AND level>0;
  1570. # User@Host: user[user] @ localhost []
  1571. # Query_time: 116.312267 Lock_time: 37.078982 Rows_sent: 21 Rows_examined: 188111
  1572. SET timestamp=1405356414;
  1573. SELECT DISTINCT(id)
  1574. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1575. WHERE category_id NOT IN (0)
  1576. AND level>0;
  1577. # Time: 140714 18:46:55
  1578. # User@Host: user[user] @ localhost []
  1579. # Query_time: 120.990469 Lock_time: 41.644865 Rows_sent: 21 Rows_examined: 188111
  1580. SET timestamp=1405356415;
  1581. SELECT DISTINCT(id)
  1582. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1583. WHERE category_id NOT IN (0)
  1584. AND level>0;
  1585. # User@Host: user[user] @ localhost []
  1586. # Query_time: 109.521981 Lock_time: 30.032478 Rows_sent: 21 Rows_examined: 188111
  1587. SET timestamp=1405356415;
  1588. SELECT DISTINCT(id)
  1589. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1590. WHERE category_id NOT IN (0)
  1591. AND level>0;
  1592. # User@Host: user[user] @ localhost []
  1593. # Query_time: 122.942560 Lock_time: 43.346282 Rows_sent: 21 Rows_examined: 188111
  1594. SET timestamp=1405356415;
  1595. SELECT DISTINCT(id)
  1596. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1597. WHERE category_id NOT IN (0)
  1598. AND level>0;
  1599. # User@Host: user[user] @ localhost []
  1600. # Query_time: 124.701483 Lock_time: 44.958097 Rows_sent: 21 Rows_examined: 188111
  1601. SET timestamp=1405356415;
  1602. SELECT DISTINCT(id)
  1603. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1604. WHERE category_id NOT IN (0)
  1605. AND level>0;
  1606. # User@Host: user[user] @ localhost []
  1607. # Query_time: 107.951986 Lock_time: 28.052752 Rows_sent: 21 Rows_examined: 188111
  1608. SET timestamp=1405356415;
  1609. SELECT DISTINCT(id)
  1610. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1611. WHERE category_id NOT IN (0)
  1612. AND level>0;
  1613. # User@Host: user[user] @ localhost []
  1614. # Query_time: 123.626949 Lock_time: 43.722970 Rows_sent: 21 Rows_examined: 188111
  1615. SET timestamp=1405356415;
  1616. SELECT DISTINCT(id)
  1617. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1618. WHERE category_id NOT IN (0)
  1619. AND level>0;
  1620. # User@Host: user[user] @ localhost []
  1621. # Query_time: 125.728036 Lock_time: 45.590385 Rows_sent: 21 Rows_examined: 188111
  1622. SET timestamp=1405356415;
  1623. SELECT DISTINCT(id)
  1624. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1625. WHERE category_id NOT IN (0)
  1626. AND level>0;
  1627. # Time: 140714 18:46:56
  1628. # User@Host: user[user] @ localhost []
  1629. # Query_time: 125.989107 Lock_time: 45.180992 Rows_sent: 21 Rows_examined: 188111
  1630. SET timestamp=1405356416;
  1631. SELECT DISTINCT(id)
  1632. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1633. WHERE category_id NOT IN (0)
  1634. AND level>0;
  1635. # User@Host: user[user] @ localhost []
  1636. # Query_time: 116.679216 Lock_time: 35.675945 Rows_sent: 21 Rows_examined: 188111
  1637. SET timestamp=1405356416;
  1638. SELECT DISTINCT(id)
  1639. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1640. WHERE category_id NOT IN (0)
  1641. AND level>0;
  1642. # User@Host: user[user] @ localhost []
  1643. # Query_time: 126.180115 Lock_time: 45.053253 Rows_sent: 21 Rows_examined: 188111
  1644. SET timestamp=1405356416;
  1645. SELECT DISTINCT(id)
  1646. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1647. WHERE category_id NOT IN (0)
  1648. AND level>0;
  1649. # Time: 140714 18:46:57
  1650. # User@Host: user[user] @ localhost []
  1651. # Query_time: 86.654828 Lock_time: 5.307453 Rows_sent: 511 Rows_examined: 191419
  1652. SET timestamp=1405356417;
  1653. SELECT c.id AS cat_id, id_uppercat,
  1654. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1655. FROM piwigo_categories as c
  1656. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1657. LEFT JOIN piwigo_images AS i
  1658. ON ic.image_id = i.id
  1659. AND i.level<=0
  1660. GROUP BY c.id;
  1661. # User@Host: user[user] @ localhost []
  1662. # Query_time: 83.601025 Lock_time: 2.076998 Rows_sent: 511 Rows_examined: 191419
  1663. SET timestamp=1405356417;
  1664. SELECT c.id AS cat_id, id_uppercat,
  1665. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1666. FROM piwigo_categories as c
  1667. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1668. LEFT JOIN piwigo_images AS i
  1669. ON ic.image_id = i.id
  1670. AND i.level<=0
  1671. GROUP BY c.id;
  1672. # User@Host: user[user] @ localhost []
  1673. # Query_time: 125.452378 Lock_time: 43.735971 Rows_sent: 21 Rows_examined: 188111
  1674. SET timestamp=1405356417;
  1675. SELECT DISTINCT(id)
  1676. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1677. WHERE category_id NOT IN (0)
  1678. AND level>0;
  1679. # User@Host: user[user] @ localhost []
  1680. # Query_time: 85.814937 Lock_time: 3.780948 Rows_sent: 511 Rows_examined: 191419
  1681. SET timestamp=1405356417;
  1682. SELECT c.id AS cat_id, id_uppercat,
  1683. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1684. FROM piwigo_categories as c
  1685. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1686. LEFT JOIN piwigo_images AS i
  1687. ON ic.image_id = i.id
  1688. AND i.level<=0
  1689. GROUP BY c.id;
  1690. # User@Host: user[user] @ localhost []
  1691. # Query_time: 119.209901 Lock_time: 37.106757 Rows_sent: 21 Rows_examined: 188111
  1692. SET timestamp=1405356417;
  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: user[user] @ localhost []
  1698. # Query_time: 125.575807 Lock_time: 43.276387 Rows_sent: 21 Rows_examined: 188111
  1699. SET timestamp=1405356417;
  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. # Time: 140714 18:46:58
  1705. # User@Host: user[user] @ localhost []
  1706. # Query_time: 87.938929 Lock_time: 5.488556 Rows_sent: 511 Rows_examined: 191419
  1707. SET timestamp=1405356418;
  1708. SELECT c.id AS cat_id, id_uppercat,
  1709. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1710. FROM piwigo_categories as c
  1711. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1712. LEFT JOIN piwigo_images AS i
  1713. ON ic.image_id = i.id
  1714. AND i.level<=0
  1715. GROUP BY c.id;
  1716. # User@Host: user[user] @ localhost []
  1717. # Query_time: 85.118205 Lock_time: 2.461460 Rows_sent: 511 Rows_examined: 191419
  1718. SET timestamp=1405356418;
  1719. SELECT c.id AS cat_id, id_uppercat,
  1720. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1721. FROM piwigo_categories as c
  1722. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1723. LEFT JOIN piwigo_images AS i
  1724. ON ic.image_id = i.id
  1725. AND i.level<=0
  1726. GROUP BY c.id;
  1727. # User@Host: user[user] @ localhost []
  1728. # Query_time: 82.890367 Lock_time: 0.040739 Rows_sent: 511 Rows_examined: 191419
  1729. SET timestamp=1405356418;
  1730. SELECT c.id AS cat_id, id_uppercat,
  1731. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1732. FROM piwigo_categories as c
  1733. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1734. LEFT JOIN piwigo_images AS i
  1735. ON ic.image_id = i.id
  1736. AND i.level<=0
  1737. GROUP BY c.id;
  1738. # User@Host: user[user] @ localhost []
  1739. # Query_time: 124.136780 Lock_time: 41.165945 Rows_sent: 21 Rows_examined: 188111
  1740. SET timestamp=1405356418;
  1741. SELECT DISTINCT(id)
  1742. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  1743. WHERE category_id NOT IN (0)
  1744. AND level>0;
  1745. # User@Host: user[user] @ localhost []
  1746. # Query_time: 84.825630 Lock_time: 1.832681 Rows_sent: 511 Rows_examined: 191419
  1747. SET timestamp=1405356418;
  1748. SELECT c.id AS cat_id, id_uppercat,
  1749. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1750. FROM piwigo_categories as c
  1751. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1752. LEFT JOIN piwigo_images AS i
  1753. ON ic.image_id = i.id
  1754. AND i.level<=0
  1755. GROUP BY c.id;
  1756. # User@Host: user[user] @ localhost []
  1757. # Query_time: 85.691451 Lock_time: 2.628021 Rows_sent: 511 Rows_examined: 191419
  1758. SET timestamp=1405356418;
  1759. SELECT c.id AS cat_id, id_uppercat,
  1760. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1761. FROM piwigo_categories as c
  1762. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1763. LEFT JOIN piwigo_images AS i
  1764. ON ic.image_id = i.id
  1765. AND i.level<=0
  1766. GROUP BY c.id;
  1767. # User@Host: user[user] @ localhost []
  1768. # Query_time: 85.559763 Lock_time: 2.439734 Rows_sent: 511 Rows_examined: 191419
  1769. SET timestamp=1405356418;
  1770. SELECT c.id AS cat_id, id_uppercat,
  1771. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1772. FROM piwigo_categories as c
  1773. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1774. LEFT JOIN piwigo_images AS i
  1775. ON ic.image_id = i.id
  1776. AND i.level<=0
  1777. GROUP BY c.id;
  1778. # User@Host: user[user] @ localhost []
  1779. # Query_time: 83.708270 Lock_time: 0.507990 Rows_sent: 511 Rows_examined: 191419
  1780. SET timestamp=1405356418;
  1781. SELECT c.id AS cat_id, id_uppercat,
  1782. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1783. FROM piwigo_categories as c
  1784. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1785. LEFT JOIN piwigo_images AS i
  1786. ON ic.image_id = i.id
  1787. AND i.level<=0
  1788. GROUP BY c.id;
  1789. # User@Host: user[user] @ localhost []
  1790. # Query_time: 87.056565 Lock_time: 3.782344 Rows_sent: 511 Rows_examined: 191419
  1791. SET timestamp=1405356418;
  1792. SELECT c.id AS cat_id, id_uppercat,
  1793. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1794. FROM piwigo_categories as c
  1795. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1796. LEFT JOIN piwigo_images AS i
  1797. ON ic.image_id = i.id
  1798. AND i.level<=0
  1799. GROUP BY c.id;
  1800. # User@Host: user[user] @ localhost []
  1801. # Query_time: 83.348761 Lock_time: 0.047712 Rows_sent: 511 Rows_examined: 191419
  1802. SET timestamp=1405356418;
  1803. SELECT c.id AS cat_id, id_uppercat,
  1804. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1805. FROM piwigo_categories as c
  1806. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1807. LEFT JOIN piwigo_images AS i
  1808. ON ic.image_id = i.id
  1809. AND i.level<=0
  1810. GROUP BY c.id;
  1811. # Time: 140714 18:46:59
  1812. # User@Host: user[user] @ localhost []
  1813. # Query_time: 85.153778 Lock_time: 1.767916 Rows_sent: 511 Rows_examined: 191419
  1814. SET timestamp=1405356419;
  1815. SELECT c.id AS cat_id, id_uppercat,
  1816. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1817. FROM piwigo_categories as c
  1818. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1819. LEFT JOIN piwigo_images AS i
  1820. ON ic.image_id = i.id
  1821. AND i.level<=0
  1822. GROUP BY c.id;
  1823. # User@Host: user[user] @ localhost []
  1824. # Query_time: 84.525247 Lock_time: 1.109052 Rows_sent: 511 Rows_examined: 191419
  1825. SET timestamp=1405356419;
  1826. SELECT c.id AS cat_id, id_uppercat,
  1827. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1828. FROM piwigo_categories as c
  1829. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1830. LEFT JOIN piwigo_images AS i
  1831. ON ic.image_id = i.id
  1832. AND i.level<=0
  1833. GROUP BY c.id;
  1834. # User@Host: user[user] @ localhost []
  1835. # Query_time: 83.682673 Lock_time: 0.231505 Rows_sent: 511 Rows_examined: 191419
  1836. SET timestamp=1405356419;
  1837. SELECT c.id AS cat_id, id_uppercat,
  1838. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1839. FROM piwigo_categories as c
  1840. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1841. LEFT JOIN piwigo_images AS i
  1842. ON ic.image_id = i.id
  1843. AND i.level<=0
  1844. GROUP BY c.id;
  1845. # User@Host: user[user] @ localhost []
  1846. # Query_time: 87.666837 Lock_time: 4.197743 Rows_sent: 511 Rows_examined: 191419
  1847. SET timestamp=1405356419;
  1848. SELECT c.id AS cat_id, id_uppercat,
  1849. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1850. FROM piwigo_categories as c
  1851. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1852. LEFT JOIN piwigo_images AS i
  1853. ON ic.image_id = i.id
  1854. AND i.level<=0
  1855. GROUP BY c.id;
  1856. # User@Host: user[user] @ localhost []
  1857. # Query_time: 85.155771 Lock_time: 1.657671 Rows_sent: 511 Rows_examined: 191419
  1858. SET timestamp=1405356419;
  1859. SELECT c.id AS cat_id, id_uppercat,
  1860. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1861. FROM piwigo_categories as c
  1862. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1863. LEFT JOIN piwigo_images AS i
  1864. ON ic.image_id = i.id
  1865. AND i.level<=0
  1866. GROUP BY c.id;
  1867. # User@Host: user[user] @ localhost []
  1868. # Query_time: 84.213234 Lock_time: 0.648209 Rows_sent: 511 Rows_examined: 191419
  1869. SET timestamp=1405356419;
  1870. SELECT c.id AS cat_id, id_uppercat,
  1871. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1872. FROM piwigo_categories as c
  1873. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1874. LEFT JOIN piwigo_images AS i
  1875. ON ic.image_id = i.id
  1876. AND i.level<=0
  1877. GROUP BY c.id;
  1878. # User@Host: user[user] @ localhost []
  1879. # Query_time: 86.322059 Lock_time: 2.697106 Rows_sent: 511 Rows_examined: 191419
  1880. SET timestamp=1405356419;
  1881. SELECT c.id AS cat_id, id_uppercat,
  1882. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1883. FROM piwigo_categories as c
  1884. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1885. LEFT JOIN piwigo_images AS i
  1886. ON ic.image_id = i.id
  1887. AND i.level<=0
  1888. GROUP BY c.id;
  1889. # User@Host: user[user] @ localhost []
  1890. # Query_time: 87.381820 Lock_time: 3.706747 Rows_sent: 511 Rows_examined: 191419
  1891. SET timestamp=1405356419;
  1892. SELECT c.id AS cat_id, id_uppercat,
  1893. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1894. FROM piwigo_categories as c
  1895. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1896. LEFT JOIN piwigo_images AS i
  1897. ON ic.image_id = i.id
  1898. AND i.level<=0
  1899. GROUP BY c.id;
  1900. # User@Host: user[user] @ localhost []
  1901. # Query_time: 86.790110 Lock_time: 3.082147 Rows_sent: 511 Rows_examined: 191419
  1902. SET timestamp=1405356419;
  1903. SELECT c.id AS cat_id, id_uppercat,
  1904. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1905. FROM piwigo_categories as c
  1906. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1907. LEFT JOIN piwigo_images AS i
  1908. ON ic.image_id = i.id
  1909. AND i.level<=0
  1910. GROUP BY c.id;
  1911. # User@Host: user[user] @ localhost []
  1912. # Query_time: 87.726832 Lock_time: 4.005820 Rows_sent: 511 Rows_examined: 191419
  1913. SET timestamp=1405356419;
  1914. SELECT c.id AS cat_id, id_uppercat,
  1915. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1916. FROM piwigo_categories as c
  1917. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1918. LEFT JOIN piwigo_images AS i
  1919. ON ic.image_id = i.id
  1920. AND i.level<=0
  1921. GROUP BY c.id;
  1922. # User@Host: user[user] @ localhost []
  1923. # Query_time: 87.182440 Lock_time: 3.393259 Rows_sent: 511 Rows_examined: 191419
  1924. SET timestamp=1405356419;
  1925. SELECT c.id AS cat_id, id_uppercat,
  1926. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1927. FROM piwigo_categories as c
  1928. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1929. LEFT JOIN piwigo_images AS i
  1930. ON ic.image_id = i.id
  1931. AND i.level<=0
  1932. GROUP BY c.id;
  1933. # User@Host: user[user] @ localhost []
  1934. # Query_time: 85.279606 Lock_time: 1.472845 Rows_sent: 511 Rows_examined: 191419
  1935. SET timestamp=1405356419;
  1936. SELECT c.id AS cat_id, id_uppercat,
  1937. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1938. FROM piwigo_categories as c
  1939. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1940. LEFT JOIN piwigo_images AS i
  1941. ON ic.image_id = i.id
  1942. AND i.level<=0
  1943. GROUP BY c.id;
  1944. # User@Host: user[user] @ localhost []
  1945. # Query_time: 83.796274 Lock_time: 0.106654 Rows_sent: 511 Rows_examined: 191419
  1946. SET timestamp=1405356419;
  1947. SELECT c.id AS cat_id, id_uppercat,
  1948. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1949. FROM piwigo_categories as c
  1950. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1951. LEFT JOIN piwigo_images AS i
  1952. ON ic.image_id = i.id
  1953. AND i.level<=0
  1954. GROUP BY c.id;
  1955. # User@Host: user[user] @ localhost []
  1956. # Query_time: 84.124770 Lock_time: 0.260298 Rows_sent: 511 Rows_examined: 191419
  1957. SET timestamp=1405356419;
  1958. SELECT c.id AS cat_id, id_uppercat,
  1959. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1960. FROM piwigo_categories as c
  1961. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1962. LEFT JOIN piwigo_images AS i
  1963. ON ic.image_id = i.id
  1964. AND i.level<=0
  1965. GROUP BY c.id;
  1966. # User@Host: user[user] @ localhost []
  1967. # Query_time: 83.947416 Lock_time: 0.088362 Rows_sent: 511 Rows_examined: 191419
  1968. SET timestamp=1405356419;
  1969. SELECT c.id AS cat_id, id_uppercat,
  1970. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1971. FROM piwigo_categories as c
  1972. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1973. LEFT JOIN piwigo_images AS i
  1974. ON ic.image_id = i.id
  1975. AND i.level<=0
  1976. GROUP BY c.id;
  1977. # User@Host: user[user] @ localhost []
  1978. # Query_time: 83.972378 Lock_time: 0.087756 Rows_sent: 511 Rows_examined: 191419
  1979. SET timestamp=1405356419;
  1980. SELECT c.id AS cat_id, id_uppercat,
  1981. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1982. FROM piwigo_categories as c
  1983. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1984. LEFT JOIN piwigo_images AS i
  1985. ON ic.image_id = i.id
  1986. AND i.level<=0
  1987. GROUP BY c.id;
  1988. # User@Host: user[user] @ localhost []
  1989. # Query_time: 83.993746 Lock_time: 0.070155 Rows_sent: 511 Rows_examined: 191419
  1990. SET timestamp=1405356419;
  1991. SELECT c.id AS cat_id, id_uppercat,
  1992. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  1993. FROM piwigo_categories as c
  1994. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  1995. LEFT JOIN piwigo_images AS i
  1996. ON ic.image_id = i.id
  1997. AND i.level<=0
  1998. GROUP BY c.id;
  1999. # User@Host: user[user] @ localhost []
  2000. # Query_time: 84.279593 Lock_time: 0.367229 Rows_sent: 511 Rows_examined: 191419
  2001. SET timestamp=1405356419;
  2002. SELECT c.id AS cat_id, id_uppercat,
  2003. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2004. FROM piwigo_categories as c
  2005. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2006. LEFT JOIN piwigo_images AS i
  2007. ON ic.image_id = i.id
  2008. AND i.level<=0
  2009. GROUP BY c.id;
  2010. # User@Host: user[user] @ localhost []
  2011. # Query_time: 87.149600 Lock_time: 3.220094 Rows_sent: 511 Rows_examined: 191419
  2012. SET timestamp=1405356419;
  2013. SELECT c.id AS cat_id, id_uppercat,
  2014. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2015. FROM piwigo_categories as c
  2016. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2017. LEFT JOIN piwigo_images AS i
  2018. ON ic.image_id = i.id
  2019. AND i.level<=0
  2020. GROUP BY c.id;
  2021. # User@Host: user[user] @ localhost []
  2022. # Query_time: 83.968290 Lock_time: 0.032610 Rows_sent: 511 Rows_examined: 191419
  2023. SET timestamp=1405356419;
  2024. SELECT c.id AS cat_id, id_uppercat,
  2025. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2026. FROM piwigo_categories as c
  2027. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2028. LEFT JOIN piwigo_images AS i
  2029. ON ic.image_id = i.id
  2030. AND i.level<=0
  2031. GROUP BY c.id;
  2032. # User@Host: user[user] @ localhost []
  2033. # Query_time: 85.434821 Lock_time: 1.483832 Rows_sent: 511 Rows_examined: 191419
  2034. SET timestamp=1405356419;
  2035. SELECT c.id AS cat_id, id_uppercat,
  2036. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2037. FROM piwigo_categories as c
  2038. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2039. LEFT JOIN piwigo_images AS i
  2040. ON ic.image_id = i.id
  2041. AND i.level<=0
  2042. GROUP BY c.id;
  2043. # User@Host: user[user] @ localhost []
  2044. # Query_time: 85.957010 Lock_time: 1.991402 Rows_sent: 511 Rows_examined: 191419
  2045. SET timestamp=1405356419;
  2046. SELECT c.id AS cat_id, id_uppercat,
  2047. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2048. FROM piwigo_categories as c
  2049. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2050. LEFT JOIN piwigo_images AS i
  2051. ON ic.image_id = i.id
  2052. AND i.level<=0
  2053. GROUP BY c.id;
  2054. # User@Host: user[user] @ localhost []
  2055. # Query_time: 84.423133 Lock_time: 0.454122 Rows_sent: 511 Rows_examined: 191419
  2056. SET timestamp=1405356419;
  2057. SELECT c.id AS cat_id, id_uppercat,
  2058. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2059. FROM piwigo_categories as c
  2060. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2061. LEFT JOIN piwigo_images AS i
  2062. ON ic.image_id = i.id
  2063. AND i.level<=0
  2064. GROUP BY c.id;
  2065. # User@Host: user[user] @ localhost []
  2066. # Query_time: 86.165267 Lock_time: 2.181288 Rows_sent: 511 Rows_examined: 191419
  2067. SET timestamp=1405356419;
  2068. SELECT c.id AS cat_id, id_uppercat,
  2069. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2070. FROM piwigo_categories as c
  2071. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2072. LEFT JOIN piwigo_images AS i
  2073. ON ic.image_id = i.id
  2074. AND i.level<=0
  2075. GROUP BY c.id;
  2076. # User@Host: user[user] @ localhost []
  2077. # Query_time: 85.236509 Lock_time: 1.250340 Rows_sent: 511 Rows_examined: 191419
  2078. SET timestamp=1405356419;
  2079. SELECT c.id AS cat_id, id_uppercat,
  2080. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2081. FROM piwigo_categories as c
  2082. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2083. LEFT JOIN piwigo_images AS i
  2084. ON ic.image_id = i.id
  2085. AND i.level<=0
  2086. GROUP BY c.id;
  2087. # User@Host: user[user] @ localhost []
  2088. # Query_time: 84.145086 Lock_time: 0.154197 Rows_sent: 511 Rows_examined: 191419
  2089. SET timestamp=1405356419;
  2090. SELECT c.id AS cat_id, id_uppercat,
  2091. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2092. FROM piwigo_categories as c
  2093. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2094. LEFT JOIN piwigo_images AS i
  2095. ON ic.image_id = i.id
  2096. AND i.level<=0
  2097. GROUP BY c.id;
  2098. # User@Host: user[user] @ localhost []
  2099. # Query_time: 88.476174 Lock_time: 4.488721 Rows_sent: 511 Rows_examined: 191419
  2100. SET timestamp=1405356419;
  2101. SELECT c.id AS cat_id, id_uppercat,
  2102. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2103. FROM piwigo_categories as c
  2104. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2105. LEFT JOIN piwigo_images AS i
  2106. ON ic.image_id = i.id
  2107. AND i.level<=0
  2108. GROUP BY c.id;
  2109. # User@Host: user[user] @ localhost []
  2110. # Query_time: 87.698246 Lock_time: 3.678445 Rows_sent: 511 Rows_examined: 191419
  2111. SET timestamp=1405356419;
  2112. SELECT c.id AS cat_id, id_uppercat,
  2113. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2114. FROM piwigo_categories as c
  2115. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2116. LEFT JOIN piwigo_images AS i
  2117. ON ic.image_id = i.id
  2118. AND i.level<=0
  2119. GROUP BY c.id;
  2120. # User@Host: user[user] @ localhost []
  2121. # Query_time: 86.678257 Lock_time: 2.655227 Rows_sent: 511 Rows_examined: 191419
  2122. SET timestamp=1405356419;
  2123. SELECT c.id AS cat_id, id_uppercat,
  2124. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2125. FROM piwigo_categories as c
  2126. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2127. LEFT JOIN piwigo_images AS i
  2128. ON ic.image_id = i.id
  2129. AND i.level<=0
  2130. GROUP BY c.id;
  2131. # User@Host: user[user] @ localhost []
  2132. # Query_time: 89.119567 Lock_time: 5.091904 Rows_sent: 511 Rows_examined: 191419
  2133. SET timestamp=1405356419;
  2134. SELECT c.id AS cat_id, id_uppercat,
  2135. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2136. FROM piwigo_categories as c
  2137. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2138. LEFT JOIN piwigo_images AS i
  2139. ON ic.image_id = i.id
  2140. AND i.level<=0
  2141. GROUP BY c.id;
  2142. # User@Host: user[user] @ localhost []
  2143. # Query_time: 86.102567 Lock_time: 1.963836 Rows_sent: 511 Rows_examined: 191419
  2144. SET timestamp=1405356419;
  2145. SELECT c.id AS cat_id, id_uppercat,
  2146. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2147. FROM piwigo_categories as c
  2148. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2149. LEFT JOIN piwigo_images AS i
  2150. ON ic.image_id = i.id
  2151. AND i.level<=0
  2152. GROUP BY c.id;
  2153. # User@Host: user[user] @ localhost []
  2154. # Query_time: 84.186064 Lock_time: 0.076350 Rows_sent: 511 Rows_examined: 191419
  2155. SET timestamp=1405356419;
  2156. SELECT c.id AS cat_id, id_uppercat,
  2157. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2158. FROM piwigo_categories as c
  2159. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2160. LEFT JOIN piwigo_images AS i
  2161. ON ic.image_id = i.id
  2162. AND i.level<=0
  2163. GROUP BY c.id;
  2164. # User@Host: user[user] @ localhost []
  2165. # Query_time: 86.890814 Lock_time: 2.700744 Rows_sent: 511 Rows_examined: 191419
  2166. SET timestamp=1405356419;
  2167. SELECT c.id AS cat_id, id_uppercat,
  2168. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2169. FROM piwigo_categories as c
  2170. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2171. LEFT JOIN piwigo_images AS i
  2172. ON ic.image_id = i.id
  2173. AND i.level<=0
  2174. GROUP BY c.id;
  2175. # User@Host: user[user] @ localhost []
  2176. # Query_time: 87.135898 Lock_time: 2.931119 Rows_sent: 511 Rows_examined: 191419
  2177. SET timestamp=1405356419;
  2178. SELECT c.id AS cat_id, id_uppercat,
  2179. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2180. FROM piwigo_categories as c
  2181. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2182. LEFT JOIN piwigo_images AS i
  2183. ON ic.image_id = i.id
  2184. AND i.level<=0
  2185. GROUP BY c.id;
  2186. # User@Host: user[user] @ localhost []
  2187. # Query_time: 89.436390 Lock_time: 5.217790 Rows_sent: 511 Rows_examined: 191419
  2188. SET timestamp=1405356419;
  2189. SELECT c.id AS cat_id, id_uppercat,
  2190. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2191. FROM piwigo_categories as c
  2192. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2193. LEFT JOIN piwigo_images AS i
  2194. ON ic.image_id = i.id
  2195. AND i.level<=0
  2196. GROUP BY c.id;
  2197. # User@Host: user[user] @ localhost []
  2198. # Query_time: 86.338459 Lock_time: 2.104141 Rows_sent: 511 Rows_examined: 191419
  2199. SET timestamp=1405356419;
  2200. SELECT c.id AS cat_id, id_uppercat,
  2201. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2202. FROM piwigo_categories as c
  2203. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2204. LEFT JOIN piwigo_images AS i
  2205. ON ic.image_id = i.id
  2206. AND i.level<=0
  2207. GROUP BY c.id;
  2208. # User@Host: user[user] @ localhost []
  2209. # Query_time: 84.510083 Lock_time: 0.235513 Rows_sent: 511 Rows_examined: 191419
  2210. SET timestamp=1405356419;
  2211. SELECT c.id AS cat_id, id_uppercat,
  2212. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2213. FROM piwigo_categories as c
  2214. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2215. LEFT JOIN piwigo_images AS i
  2216. ON ic.image_id = i.id
  2217. AND i.level<=0
  2218. GROUP BY c.id;
  2219. # User@Host: user[user] @ localhost []
  2220. # Query_time: 85.351216 Lock_time: 1.062964 Rows_sent: 511 Rows_examined: 191419
  2221. SET timestamp=1405356419;
  2222. SELECT c.id AS cat_id, id_uppercat,
  2223. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2224. FROM piwigo_categories as c
  2225. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2226. LEFT JOIN piwigo_images AS i
  2227. ON ic.image_id = i.id
  2228. AND i.level<=0
  2229. GROUP BY c.id;
  2230. # User@Host: user[user] @ localhost []
  2231. # Query_time: 88.335208 Lock_time: 4.038676 Rows_sent: 511 Rows_examined: 191419
  2232. SET timestamp=1405356419;
  2233. SELECT c.id AS cat_id, id_uppercat,
  2234. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2235. FROM piwigo_categories as c
  2236. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2237. LEFT JOIN piwigo_images AS i
  2238. ON ic.image_id = i.id
  2239. AND i.level<=0
  2240. GROUP BY c.id;
  2241. # User@Host: user[user] @ localhost []
  2242. # Query_time: 87.029718 Lock_time: 2.718360 Rows_sent: 511 Rows_examined: 191419
  2243. SET timestamp=1405356419;
  2244. SELECT c.id AS cat_id, id_uppercat,
  2245. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2246. FROM piwigo_categories as c
  2247. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2248. LEFT JOIN piwigo_images AS i
  2249. ON ic.image_id = i.id
  2250. AND i.level<=0
  2251. GROUP BY c.id;
  2252. # Time: 140714 18:47:00
  2253. # User@Host: user[user] @ localhost []
  2254. # Query_time: 86.828051 Lock_time: 2.504244 Rows_sent: 511 Rows_examined: 191419
  2255. SET timestamp=1405356420;
  2256. SELECT c.id AS cat_id, id_uppercat,
  2257. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2258. FROM piwigo_categories as c
  2259. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2260. LEFT JOIN piwigo_images AS i
  2261. ON ic.image_id = i.id
  2262. AND i.level<=0
  2263. GROUP BY c.id;
  2264. # User@Host: user[user] @ localhost []
  2265. # Query_time: 88.687658 Lock_time: 4.303417 Rows_sent: 511 Rows_examined: 191419
  2266. SET timestamp=1405356420;
  2267. SELECT c.id AS cat_id, id_uppercat,
  2268. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2269. FROM piwigo_categories as c
  2270. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2271. LEFT JOIN piwigo_images AS i
  2272. ON ic.image_id = i.id
  2273. AND i.level<=0
  2274. GROUP BY c.id;
  2275. # User@Host: user[user] @ localhost []
  2276. # Query_time: 88.582596 Lock_time: 4.198587 Rows_sent: 511 Rows_examined: 191419
  2277. SET timestamp=1405356420;
  2278. SELECT c.id AS cat_id, id_uppercat,
  2279. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2280. FROM piwigo_categories as c
  2281. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2282. LEFT JOIN piwigo_images AS i
  2283. ON ic.image_id = i.id
  2284. AND i.level<=0
  2285. GROUP BY c.id;
  2286. # User@Host: user[user] @ localhost []
  2287. # Query_time: 88.519675 Lock_time: 4.106285 Rows_sent: 511 Rows_examined: 191419
  2288. SET timestamp=1405356420;
  2289. SELECT c.id AS cat_id, id_uppercat,
  2290. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2291. FROM piwigo_categories as c
  2292. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2293. LEFT JOIN piwigo_images AS i
  2294. ON ic.image_id = i.id
  2295. AND i.level<=0
  2296. GROUP BY c.id;
  2297. # User@Host: user[user] @ localhost []
  2298. # Query_time: 85.039971 Lock_time: 0.573338 Rows_sent: 511 Rows_examined: 191419
  2299. SET timestamp=1405356420;
  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<=0
  2307. GROUP BY c.id;
  2308. # User@Host: user[user] @ localhost []
  2309. # Query_time: 87.475876 Lock_time: 2.980915 Rows_sent: 511 Rows_examined: 191419
  2310. SET timestamp=1405356420;
  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. # User@Host: user[user] @ localhost []
  2320. # Query_time: 84.740314 Lock_time: 0.251831 Rows_sent: 511 Rows_examined: 191419
  2321. SET timestamp=1405356420;
  2322. SELECT c.id AS cat_id, id_uppercat,
  2323. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2324. FROM piwigo_categories as c
  2325. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2326. LEFT JOIN piwigo_images AS i
  2327. ON ic.image_id = i.id
  2328. AND i.level<=0
  2329. GROUP BY c.id;
  2330. # User@Host: user[user] @ localhost []
  2331. # Query_time: 87.658462 Lock_time: 3.157401 Rows_sent: 511 Rows_examined: 191419
  2332. SET timestamp=1405356420;
  2333. SELECT c.id AS cat_id, id_uppercat,
  2334. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2335. FROM piwigo_categories as c
  2336. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2337. LEFT JOIN piwigo_images AS i
  2338. ON ic.image_id = i.id
  2339. AND i.level<=0
  2340. GROUP BY c.id;
  2341. # User@Host: user[user] @ localhost []
  2342. # Query_time: 89.244984 Lock_time: 4.731285 Rows_sent: 511 Rows_examined: 191419
  2343. SET timestamp=1405356420;
  2344. SELECT c.id AS cat_id, id_uppercat,
  2345. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2346. FROM piwigo_categories as c
  2347. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2348. LEFT JOIN piwigo_images AS i
  2349. ON ic.image_id = i.id
  2350. AND i.level<=0
  2351. GROUP BY c.id;
  2352. # User@Host: user[user] @ localhost []
  2353. # Query_time: 87.527146 Lock_time: 2.987334 Rows_sent: 511 Rows_examined: 191419
  2354. SET timestamp=1405356420;
  2355. SELECT c.id AS cat_id, id_uppercat,
  2356. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2357. FROM piwigo_categories as c
  2358. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2359. LEFT JOIN piwigo_images AS i
  2360. ON ic.image_id = i.id
  2361. AND i.level<=0
  2362. GROUP BY c.id;
  2363. # User@Host: user[user] @ localhost []
  2364. # Query_time: 84.572079 Lock_time: 0.025713 Rows_sent: 511 Rows_examined: 191419
  2365. SET timestamp=1405356420;
  2366. SELECT c.id AS cat_id, id_uppercat,
  2367. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2368. FROM piwigo_categories as c
  2369. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2370. LEFT JOIN piwigo_images AS i
  2371. ON ic.image_id = i.id
  2372. AND i.level<=0
  2373. GROUP BY c.id;
  2374. # User@Host: user[user] @ localhost []
  2375. # Query_time: 84.957649 Lock_time: 0.391502 Rows_sent: 511 Rows_examined: 191419
  2376. SET timestamp=1405356420;
  2377. SELECT c.id AS cat_id, id_uppercat,
  2378. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2379. FROM piwigo_categories as c
  2380. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2381. LEFT JOIN piwigo_images AS i
  2382. ON ic.image_id = i.id
  2383. AND i.level<=0
  2384. GROUP BY c.id;
  2385. # User@Host: user[user] @ localhost []
  2386. # Query_time: 84.985800 Lock_time: 0.429554 Rows_sent: 511 Rows_examined: 191419
  2387. SET timestamp=1405356420;
  2388. SELECT c.id AS cat_id, id_uppercat,
  2389. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2390. FROM piwigo_categories as c
  2391. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2392. LEFT JOIN piwigo_images AS i
  2393. ON ic.image_id = i.id
  2394. AND i.level<=0
  2395. GROUP BY c.id;
  2396. # User@Host: user[user] @ localhost []
  2397. # Query_time: 86.941229 Lock_time: 2.367000 Rows_sent: 511 Rows_examined: 191419
  2398. SET timestamp=1405356420;
  2399. SELECT c.id AS cat_id, id_uppercat,
  2400. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2401. FROM piwigo_categories as c
  2402. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2403. LEFT JOIN piwigo_images AS i
  2404. ON ic.image_id = i.id
  2405. AND i.level<=0
  2406. GROUP BY c.id;
  2407. # User@Host: user[user] @ localhost []
  2408. # Query_time: 88.879403 Lock_time: 4.276320 Rows_sent: 511 Rows_examined: 191419
  2409. SET timestamp=1405356420;
  2410. SELECT c.id AS cat_id, id_uppercat,
  2411. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2412. FROM piwigo_categories as c
  2413. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2414. LEFT JOIN piwigo_images AS i
  2415. ON ic.image_id = i.id
  2416. AND i.level<=0
  2417. GROUP BY c.id;
  2418. # Time: 140714 18:47:01
  2419. # User@Host: user[user] @ localhost []
  2420. # Query_time: 39.996537 Lock_time: 0.000153 Rows_sent: 21 Rows_examined: 188111
  2421. SET timestamp=1405356421;
  2422. SELECT DISTINCT(id)
  2423. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2424. WHERE category_id NOT IN (0)
  2425. AND level>0;
  2426. # User@Host: user[user] @ localhost []
  2427. # Query_time: 41.403754 Lock_time: 0.000180 Rows_sent: 21 Rows_examined: 188111
  2428. SET timestamp=1405356421;
  2429. SELECT DISTINCT(id)
  2430. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2431. WHERE category_id NOT IN (0)
  2432. AND level>0;
  2433. # User@Host: user[user] @ localhost []
  2434. # Query_time: 29.473677 Lock_time: 0.000148 Rows_sent: 21 Rows_examined: 188111
  2435. SET timestamp=1405356421;
  2436. SELECT DISTINCT(id)
  2437. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2438. WHERE category_id NOT IN (0)
  2439. AND level>0;
  2440. # User@Host: user[user] @ localhost []
  2441. # Query_time: 27.696877 Lock_time: 0.000152 Rows_sent: 21 Rows_examined: 188111
  2442. SET timestamp=1405356421;
  2443. SELECT DISTINCT(id)
  2444. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2445. WHERE category_id NOT IN (0)
  2446. AND level>0;
  2447. /usr/sbin/mysqld, Version: 5.5.37-0+wheezy1-log ((Debian)). started with:
  2448. Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
  2449. Time Id Command Argument
  2450. # Time: 140714 18:53:31
  2451. # User@Host: user[user] @ localhost []
  2452. # Query_time: 18.397418 Lock_time: 8.363245 Rows_sent: 21 Rows_examined: 188165
  2453. use piwigal;
  2454. SET timestamp=1405356811;
  2455. SELECT DISTINCT(id)
  2456. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2457. WHERE category_id NOT IN (0)
  2458. AND level>0;
  2459. # User@Host: user[user] @ localhost []
  2460. # Query_time: 12.420001 Lock_time: 2.306899 Rows_sent: 21 Rows_examined: 188165
  2461. SET timestamp=1405356811;
  2462. SELECT DISTINCT(id)
  2463. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2464. WHERE category_id NOT IN (0)
  2465. AND level>0;
  2466. # User@Host: user[user] @ localhost []
  2467. # Query_time: 17.938623 Lock_time: 7.802225 Rows_sent: 21 Rows_examined: 188165
  2468. SET timestamp=1405356811;
  2469. SELECT DISTINCT(id)
  2470. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2471. WHERE category_id NOT IN (0)
  2472. AND level>0;
  2473. # User@Host: user[user] @ localhost []
  2474. # Query_time: 16.276395 Lock_time: 6.116559 Rows_sent: 21 Rows_examined: 188165
  2475. SET timestamp=1405356811;
  2476. SELECT DISTINCT(id)
  2477. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2478. WHERE category_id NOT IN (0)
  2479. AND level>0;
  2480. # User@Host: user[user] @ localhost []
  2481. # Query_time: 10.976599 Lock_time: 0.716578 Rows_sent: 1412 Rows_examined: 192380
  2482. SET timestamp=1405356811;
  2483. SELECT c.id AS cat_id, id_uppercat,
  2484. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2485. FROM piwigo_categories as c
  2486. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2487. LEFT JOIN piwigo_images AS i
  2488. ON ic.image_id = i.id
  2489. AND i.level<=0
  2490. GROUP BY c.id;
  2491. # User@Host: user[user] @ localhost []
  2492. # Query_time: 11.336936 Lock_time: 0.980644 Rows_sent: 1412 Rows_examined: 192380
  2493. SET timestamp=1405356811;
  2494. SELECT c.id AS cat_id, id_uppercat,
  2495. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2496. FROM piwigo_categories as c
  2497. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2498. LEFT JOIN piwigo_images AS i
  2499. ON ic.image_id = i.id
  2500. AND i.level<=0
  2501. GROUP BY c.id;
  2502. # Time: 140714 18:56:16
  2503. # User@Host: user[user] @ localhost []
  2504. # Query_time: 11.500802 Lock_time: 1.325493 Rows_sent: 21 Rows_examined: 188323
  2505. SET timestamp=1405356976;
  2506. SELECT DISTINCT(id)
  2507. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2508. WHERE category_id NOT IN (0)
  2509. AND level>0;
  2510. # User@Host: user[user] @ localhost []
  2511. # Query_time: 10.576201 Lock_time: 0.259840 Rows_sent: 21 Rows_examined: 188323
  2512. SET timestamp=1405356976;
  2513. SELECT DISTINCT(id)
  2514. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2515. WHERE category_id NOT IN (0)
  2516. AND level>0;
  2517. # User@Host: user[user] @ localhost []
  2518. # Query_time: 13.076609 Lock_time: 2.641758 Rows_sent: 21 Rows_examined: 188323
  2519. SET timestamp=1405356976;
  2520. SELECT DISTINCT(id)
  2521. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2522. WHERE category_id NOT IN (0)
  2523. AND level>0;
  2524. # Time: 140714 18:56:17
  2525. # User@Host: user[user] @ localhost []
  2526. # Query_time: 13.728307 Lock_time: 3.022354 Rows_sent: 21 Rows_examined: 188323
  2527. SET timestamp=1405356977;
  2528. SELECT DISTINCT(id)
  2529. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2530. WHERE category_id NOT IN (0)
  2531. AND level>0;
  2532. # User@Host: user[user] @ localhost []
  2533. # Query_time: 13.657961 Lock_time: 2.883926 Rows_sent: 21 Rows_examined: 188323
  2534. SET timestamp=1405356977;
  2535. SELECT DISTINCT(id)
  2536. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2537. WHERE category_id NOT IN (0)
  2538. AND level>0;
  2539. # User@Host: user[user] @ localhost []
  2540. # Query_time: 12.091836 Lock_time: 0.885459 Rows_sent: 21 Rows_examined: 188323
  2541. SET timestamp=1405356977;
  2542. SELECT DISTINCT(id)
  2543. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2544. WHERE category_id NOT IN (0)
  2545. AND level>0;
  2546. # User@Host: user[user] @ localhost []
  2547. # Query_time: 10.945351 Lock_time: 0.000039 Rows_sent: 21 Rows_examined: 188323
  2548. SET timestamp=1405356977;
  2549. SELECT DISTINCT(id)
  2550. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2551. WHERE category_id NOT IN (0)
  2552. AND level>0;
  2553. # Time: 140714 18:56:18
  2554. # User@Host: user[user] @ localhost []
  2555. # Query_time: 15.815298 Lock_time: 3.571669 Rows_sent: 1412 Rows_examined: 192538
  2556. SET timestamp=1405356978;
  2557. SELECT c.id AS cat_id, id_uppercat,
  2558. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2559. FROM piwigo_categories as c
  2560. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2561. LEFT JOIN piwigo_images AS i
  2562. ON ic.image_id = i.id
  2563. AND i.level<=0
  2564. GROUP BY c.id;
  2565. # User@Host: user[user] @ localhost []
  2566. # Query_time: 12.272645 Lock_time: 0.000086 Rows_sent: 1412 Rows_examined: 192538
  2567. SET timestamp=1405356978;
  2568. SELECT c.id AS cat_id, id_uppercat,
  2569. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2570. FROM piwigo_categories as c
  2571. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2572. LEFT JOIN piwigo_images AS i
  2573. ON ic.image_id = i.id
  2574. AND i.level<=0
  2575. GROUP BY c.id;
  2576. # Time: 140714 18:56:19
  2577. # User@Host: user[user] @ localhost []
  2578. # Query_time: 12.542570 Lock_time: 0.000084 Rows_sent: 1412 Rows_examined: 192538
  2579. SET timestamp=1405356979;
  2580. SELECT c.id AS cat_id, id_uppercat,
  2581. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2582. FROM piwigo_categories as c
  2583. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2584. LEFT JOIN piwigo_images AS i
  2585. ON ic.image_id = i.id
  2586. AND i.level<=0
  2587. GROUP BY c.id;
  2588. # User@Host: user[user] @ localhost []
  2589. # Query_time: 11.795623 Lock_time: 0.000049 Rows_sent: 21 Rows_examined: 188323
  2590. SET timestamp=1405356979;
  2591. SELECT DISTINCT(id)
  2592. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2593. WHERE category_id NOT IN (0)
  2594. AND level>0;
  2595. # User@Host: user[user] @ localhost []
  2596. # Query_time: 13.049778 Lock_time: 0.000096 Rows_sent: 1412 Rows_examined: 192538
  2597. SET timestamp=1405356979;
  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: user[user] @ localhost []
  2607. # Query_time: 13.027343 Lock_time: 0.000075 Rows_sent: 1412 Rows_examined: 192538
  2608. SET timestamp=1405356979;
  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: 140714 18:56:20
  2618. # User@Host: user[user] @ localhost []
  2619. # Query_time: 13.413921 Lock_time: 0.000072 Rows_sent: 1412 Rows_examined: 192538
  2620. SET timestamp=1405356980;
  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: user[user] @ localhost []
  2630. # Query_time: 11.160677 Lock_time: 0.000059 Rows_sent: 21 Rows_examined: 188323
  2631. SET timestamp=1405356980;
  2632. SELECT DISTINCT(id)
  2633. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2634. WHERE category_id NOT IN (0)
  2635. AND level>0;
  2636. # Time: 140714 18:56:21
  2637. # User@Host: user[user] @ localhost []
  2638. # Query_time: 11.332243 Lock_time: 0.000066 Rows_sent: 21 Rows_examined: 188323
  2639. SET timestamp=1405356981;
  2640. SELECT DISTINCT(id)
  2641. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2642. WHERE category_id NOT IN (0)
  2643. AND level>0;
  2644. # Time: 140714 18:56:23
  2645. # User@Host: user[user] @ localhost []
  2646. # Query_time: 10.304100 Lock_time: 0.000045 Rows_sent: 21 Rows_examined: 188323
  2647. SET timestamp=1405356983;
  2648. SELECT DISTINCT(id)
  2649. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2650. WHERE category_id NOT IN (0)
  2651. AND level>0;
  2652. # Time: 140714 18:56:25
  2653. # User@Host: user[user] @ localhost []
  2654. # Query_time: 17.617638 Lock_time: 0.000043 Rows_sent: 0 Rows_examined: 0
  2655. SET timestamp=1405356985;
  2656. INSERT INTO piwigo_images
  2657. (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  2658. VALUES('english-www.user.net-035.jpg','english-www.user.net-035','2014-07-14 18:56:07','./upload/2014/07/14/20140714185607-7a46bb6a.jpg','283','1050','1500','7a46bb6afdca4cf3c69d2c9fc94314d9','1','0','0');
  2659. # Time: 140714 18:57:43
  2660. # User@Host: gallery-dump[gallery-dump] @ localhost []
  2661. # Query_time: 10.136715 Lock_time: 0.000070 Rows_sent: 1001 Rows_examined: 90965
  2662. use gallery_dump_forum;
  2663. SET timestamp=1405357063;
  2664. SELECT DISTINCT t.topic_last_post_time, p.topic_id
  2665. FROM phpbb3_posts p, phpbb3_topics t
  2666. WHERE t.topic_replies = 0
  2667. AND t.topic_moved_id = 0
  2668. AND p.topic_id = t.topic_id
  2669.  
  2670. AND p.post_approved = 1
  2671. AND p.forum_id NOT IN (15, 17, 19, 20, 21)
  2672. ORDER BY t.topic_last_post_time DESC
  2673. LIMIT 1001;
  2674. # Time: 140714 18:57:45
  2675. # User@Host: gallery-dump[gallery-dump] @ localhost []
  2676. # Query_time: 11.867599 Lock_time: 0.000064 Rows_sent: 1001 Rows_examined: 90965
  2677. SET timestamp=1405357065;
  2678. SELECT DISTINCT t.topic_last_post_time, p.topic_id
  2679. FROM phpbb3_posts p, phpbb3_topics t
  2680. WHERE t.topic_replies = 0
  2681. AND t.topic_moved_id = 0
  2682. AND p.topic_id = t.topic_id
  2683.  
  2684. AND p.post_approved = 1
  2685. AND p.forum_id NOT IN (15, 17, 19, 20, 21)
  2686. ORDER BY t.topic_last_post_time DESC
  2687. LIMIT 1001;
  2688. # User@Host: gallery-dump[gallery-dump] @ localhost []
  2689. # Query_time: 11.507899 Lock_time: 0.000115 Rows_sent: 1001 Rows_examined: 90965
  2690. SET timestamp=1405357065;
  2691. SELECT DISTINCT t.topic_last_post_time, p.topic_id
  2692. FROM phpbb3_posts p, phpbb3_topics t
  2693. WHERE t.topic_replies = 0
  2694. AND t.topic_moved_id = 0
  2695. AND p.topic_id = t.topic_id
  2696.  
  2697. AND p.post_approved = 1
  2698. AND p.forum_id NOT IN (15, 17, 19, 20, 21)
  2699. ORDER BY t.topic_last_post_time DESC
  2700. LIMIT 1001;
  2701. # User@Host: gallery-dump[gallery-dump] @ localhost []
  2702. # Query_time: 11.807328 Lock_time: 0.000131 Rows_sent: 1001 Rows_examined: 90965
  2703. SET timestamp=1405357065;
  2704. SELECT DISTINCT t.topic_last_post_time, p.topic_id
  2705. FROM phpbb3_posts p, phpbb3_topics t
  2706. WHERE t.topic_replies = 0
  2707. AND t.topic_moved_id = 0
  2708. AND p.topic_id = t.topic_id
  2709.  
  2710. AND p.post_approved = 1
  2711. AND p.forum_id NOT IN (15, 17, 19, 20, 21)
  2712. ORDER BY t.topic_last_post_time DESC
  2713. LIMIT 1001;
  2714. # User@Host: user[user] @ localhost []
  2715. # Query_time: 16.484777 Lock_time: 1.304268 Rows_sent: 21 Rows_examined: 188413
  2716. use piwigal;
  2717. SET timestamp=1405357065;
  2718. SELECT DISTINCT(id)
  2719. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2720. WHERE category_id NOT IN (0)
  2721. AND level>0;
  2722. # Time: 140714 18:57:46
  2723. # User@Host: user[user] @ localhost []
  2724. # Query_time: 16.659772 Lock_time: 1.011955 Rows_sent: 21 Rows_examined: 188413
  2725. SET timestamp=1405357066;
  2726. SELECT DISTINCT(id)
  2727. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2728. WHERE category_id NOT IN (0)
  2729. AND level>0;
  2730. # User@Host: user[user] @ localhost []
  2731. # Query_time: 17.816688 Lock_time: 2.144489 Rows_sent: 21 Rows_examined: 188413
  2732. SET timestamp=1405357066;
  2733. SELECT DISTINCT(id)
  2734. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2735. WHERE category_id NOT IN (0)
  2736. AND level>0;
  2737. # User@Host: gallery-dump[gallery-dump] @ localhost []
  2738. # Query_time: 12.435272 Lock_time: 0.000176 Rows_sent: 1001 Rows_examined: 90965
  2739. use gallery_dump_forum;
  2740. SET timestamp=1405357066;
  2741. SELECT DISTINCT t.topic_last_post_time, p.topic_id
  2742. FROM phpbb3_posts p, phpbb3_topics t
  2743. WHERE t.topic_replies = 0
  2744. AND t.topic_moved_id = 0
  2745. AND p.topic_id = t.topic_id
  2746.  
  2747. AND p.post_approved = 1
  2748. AND p.forum_id NOT IN (15, 17, 19, 20, 21)
  2749. ORDER BY t.topic_last_post_time DESC
  2750. LIMIT 1001;
  2751. # User@Host: user[user] @ localhost []
  2752. # Query_time: 17.473059 Lock_time: 1.697878 Rows_sent: 21 Rows_examined: 188413
  2753. use piwigal;
  2754. SET timestamp=1405357066;
  2755. SELECT DISTINCT(id)
  2756. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2757. WHERE category_id NOT IN (0)
  2758. AND level>0;
  2759. # Time: 140714 18:57:49
  2760. # User@Host: user[user] @ localhost []
  2761. # Query_time: 18.343531 Lock_time: 0.000053 Rows_sent: 21 Rows_examined: 188413
  2762. SET timestamp=1405357069;
  2763. SELECT DISTINCT(id)
  2764. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2765. WHERE category_id NOT IN (0)
  2766. AND level>0;
  2767. # User@Host: user[user] @ localhost []
  2768. # Query_time: 19.114201 Lock_time: 0.006760 Rows_sent: 1412 Rows_examined: 192628
  2769. SET timestamp=1405357069;
  2770. SELECT c.id AS cat_id, id_uppercat,
  2771. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2772. FROM piwigo_categories as c
  2773. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2774. LEFT JOIN piwigo_images AS i
  2775. ON ic.image_id = i.id
  2776. AND i.level<=0
  2777. GROUP BY c.id;
  2778. # Time: 140714 18:57:50
  2779. # User@Host: user[user] @ localhost []
  2780. # Query_time: 19.682532 Lock_time: 0.043309 Rows_sent: 1412 Rows_examined: 192628
  2781. SET timestamp=1405357070;
  2782. SELECT c.id AS cat_id, id_uppercat,
  2783. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2784. FROM piwigo_categories as c
  2785. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2786. LEFT JOIN piwigo_images AS i
  2787. ON ic.image_id = i.id
  2788. AND i.level<=0
  2789. GROUP BY c.id;
  2790. # User@Host: user[user] @ localhost []
  2791. # Query_time: 19.242502 Lock_time: 0.000058 Rows_sent: 21 Rows_examined: 188413
  2792. SET timestamp=1405357070;
  2793. SELECT DISTINCT(id)
  2794. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2795. WHERE category_id NOT IN (0)
  2796. AND level>0;
  2797. # Time: 140714 18:57:51
  2798. # User@Host: user[user] @ localhost []
  2799. # Query_time: 20.724716 Lock_time: 0.005214 Rows_sent: 1412 Rows_examined: 192628
  2800. SET timestamp=1405357071;
  2801. SELECT c.id AS cat_id, id_uppercat,
  2802. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2803. FROM piwigo_categories as c
  2804. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2805. LEFT JOIN piwigo_images AS i
  2806. ON ic.image_id = i.id
  2807. AND i.level<=0
  2808. GROUP BY c.id;
  2809. # User@Host: user[user] @ localhost []
  2810. # Query_time: 20.557247 Lock_time: 0.000113 Rows_sent: 1412 Rows_examined: 192628
  2811. SET timestamp=1405357071;
  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: user[user] @ localhost []
  2821. # Query_time: 20.122431 Lock_time: 0.000066 Rows_sent: 21 Rows_examined: 188413
  2822. SET timestamp=1405357071;
  2823. SELECT DISTINCT(id)
  2824. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2825. WHERE category_id NOT IN (0)
  2826. AND level>0;
  2827. # Time: 140714 18:57:55
  2828. # User@Host: user[user] @ localhost []
  2829. # Query_time: 21.979790 Lock_time: 0.000075 Rows_sent: 21 Rows_examined: 188413
  2830. SET timestamp=1405357075;
  2831. SELECT DISTINCT(id)
  2832. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2833. WHERE category_id NOT IN (0)
  2834. AND level>0;
  2835. # Time: 140714 18:57:56
  2836. # User@Host: user[user] @ localhost []
  2837. # Query_time: 23.269356 Lock_time: 0.000063 Rows_sent: 21 Rows_examined: 188413
  2838. SET timestamp=1405357076;
  2839. SELECT DISTINCT(id)
  2840. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2841. WHERE category_id NOT IN (0)
  2842. AND level>0;
  2843. # User@Host: user[user] @ localhost []
  2844. # Query_time: 22.156152 Lock_time: 0.000068 Rows_sent: 21 Rows_examined: 188413
  2845. SET timestamp=1405357076;
  2846. SELECT DISTINCT(id)
  2847. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2848. WHERE category_id NOT IN (0)
  2849. AND level>0;
  2850. # Time: 140714 18:57:57
  2851. # User@Host: user[user] @ localhost []
  2852. # Query_time: 23.421684 Lock_time: 0.000090 Rows_sent: 21 Rows_examined: 188413
  2853. SET timestamp=1405357077;
  2854. SELECT DISTINCT(id)
  2855. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2856. WHERE category_id NOT IN (0)
  2857. AND level>0;
  2858. # User@Host: user[user] @ localhost []
  2859. # Query_time: 23.071101 Lock_time: 0.000045 Rows_sent: 21 Rows_examined: 188413
  2860. SET timestamp=1405357077;
  2861. SELECT DISTINCT(id)
  2862. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2863. WHERE category_id NOT IN (0)
  2864. AND level>0;
  2865. # User@Host: user[user] @ localhost []
  2866. # Query_time: 23.144682 Lock_time: 0.000066 Rows_sent: 21 Rows_examined: 188413
  2867. SET timestamp=1405357077;
  2868. SELECT DISTINCT(id)
  2869. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2870. WHERE category_id NOT IN (0)
  2871. AND level>0;
  2872. # Time: 140714 18:57:58
  2873. # User@Host: user[user] @ localhost []
  2874. # Query_time: 23.447316 Lock_time: 0.000083 Rows_sent: 21 Rows_examined: 188413
  2875. SET timestamp=1405357078;
  2876. SELECT DISTINCT(id)
  2877. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2878. WHERE category_id NOT IN (0)
  2879. AND level>0;
  2880. # Time: 140714 18:58:00
  2881. # User@Host: user[user] @ localhost []
  2882. # Query_time: 23.698972 Lock_time: 0.000075 Rows_sent: 21 Rows_examined: 188413
  2883. SET timestamp=1405357080;
  2884. SELECT DISTINCT(id)
  2885. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2886. WHERE category_id NOT IN (0)
  2887. AND level>0;
  2888. # User@Host: user[user] @ localhost []
  2889. # Query_time: 21.630430 Lock_time: 0.000060 Rows_sent: 21 Rows_examined: 188413
  2890. SET timestamp=1405357080;
  2891. SELECT DISTINCT(id)
  2892. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2893. WHERE category_id NOT IN (0)
  2894. AND level>0;
  2895. # Time: 140714 18:58:02
  2896. # User@Host: user[user] @ localhost []
  2897. # Query_time: 21.001939 Lock_time: 0.000082 Rows_sent: 21 Rows_examined: 188413
  2898. SET timestamp=1405357082;
  2899. SELECT DISTINCT(id)
  2900. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2901. WHERE category_id NOT IN (0)
  2902. AND level>0;
  2903. # User@Host: user[user] @ localhost []
  2904. # Query_time: 20.929592 Lock_time: 0.000069 Rows_sent: 21 Rows_examined: 188413
  2905. SET timestamp=1405357082;
  2906. SELECT DISTINCT(id)
  2907. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2908. WHERE category_id NOT IN (0)
  2909. AND level>0;
  2910. # Time: 140714 18:58:03
  2911. # User@Host: user[user] @ localhost []
  2912. # Query_time: 20.268647 Lock_time: 0.000062 Rows_sent: 21 Rows_examined: 188413
  2913. SET timestamp=1405357083;
  2914. SELECT DISTINCT(id)
  2915. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2916. WHERE category_id NOT IN (0)
  2917. AND level>0;
  2918. # User@Host: user[user] @ localhost []
  2919. # Query_time: 20.700607 Lock_time: 0.000125 Rows_sent: 21 Rows_examined: 188413
  2920. SET timestamp=1405357083;
  2921. SELECT DISTINCT(id)
  2922. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2923. WHERE category_id NOT IN (0)
  2924. AND level>0;
  2925. # User@Host: user[user] @ localhost []
  2926. # Query_time: 22.058441 Lock_time: 0.000073 Rows_sent: 21 Rows_examined: 188413
  2927. SET timestamp=1405357083;
  2928. SELECT DISTINCT(id)
  2929. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2930. WHERE category_id NOT IN (0)
  2931. AND level>0;
  2932. # User@Host: user[user] @ localhost []
  2933. # Query_time: 21.182284 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188413
  2934. SET timestamp=1405357083;
  2935. SELECT DISTINCT(id)
  2936. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2937. WHERE category_id NOT IN (0)
  2938. AND level>0;
  2939. # User@Host: user[user] @ localhost []
  2940. # Query_time: 19.726222 Lock_time: 0.000193 Rows_sent: 21 Rows_examined: 188413
  2941. SET timestamp=1405357083;
  2942. SELECT DISTINCT(id)
  2943. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2944. WHERE category_id NOT IN (0)
  2945. AND level>0;
  2946. # User@Host: user[user] @ localhost []
  2947. # Query_time: 19.148794 Lock_time: 0.000160 Rows_sent: 21 Rows_examined: 188413
  2948. SET timestamp=1405357083;
  2949. SELECT DISTINCT(id)
  2950. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2951. WHERE category_id NOT IN (0)
  2952. AND level>0;
  2953. # Time: 140714 18:58:04
  2954. # User@Host: user[user] @ localhost []
  2955. # Query_time: 18.310426 Lock_time: 0.000116 Rows_sent: 21 Rows_examined: 188413
  2956. SET timestamp=1405357084;
  2957. SELECT DISTINCT(id)
  2958. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2959. WHERE category_id NOT IN (0)
  2960. AND level>0;
  2961. # User@Host: user[user] @ localhost []
  2962. # Query_time: 19.285535 Lock_time: 0.000233 Rows_sent: 21 Rows_examined: 188413
  2963. SET timestamp=1405357084;
  2964. SELECT DISTINCT(id)
  2965. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2966. WHERE category_id NOT IN (0)
  2967. AND level>0;
  2968. # User@Host: user[user] @ localhost []
  2969. # Query_time: 19.201792 Lock_time: 0.000164 Rows_sent: 21 Rows_examined: 188413
  2970. SET timestamp=1405357084;
  2971. SELECT DISTINCT(id)
  2972. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2973. WHERE category_id NOT IN (0)
  2974. AND level>0;
  2975. # User@Host: user[user] @ localhost []
  2976. # Query_time: 19.786584 Lock_time: 0.000119 Rows_sent: 21 Rows_examined: 188413
  2977. SET timestamp=1405357084;
  2978. SELECT DISTINCT(id)
  2979. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  2980. WHERE category_id NOT IN (0)
  2981. AND level>0;
  2982. # User@Host: user[user] @ localhost []
  2983. # Query_time: 18.718301 Lock_time: 0.000101 Rows_sent: 1412 Rows_examined: 192628
  2984. SET timestamp=1405357084;
  2985. SELECT c.id AS cat_id, id_uppercat,
  2986. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2987. FROM piwigo_categories as c
  2988. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  2989. LEFT JOIN piwigo_images AS i
  2990. ON ic.image_id = i.id
  2991. AND i.level<=0
  2992. GROUP BY c.id;
  2993. # User@Host: user[user] @ localhost []
  2994. # Query_time: 18.751436 Lock_time: 0.000113 Rows_sent: 1412 Rows_examined: 192628
  2995. SET timestamp=1405357084;
  2996. SELECT c.id AS cat_id, id_uppercat,
  2997. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  2998. FROM piwigo_categories as c
  2999. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3000. LEFT JOIN piwigo_images AS i
  3001. ON ic.image_id = i.id
  3002. AND i.level<=0
  3003. GROUP BY c.id;
  3004. # Time: 140714 18:58:05
  3005. # User@Host: user[user] @ localhost []
  3006. # Query_time: 33.593000 Lock_time: 0.000056 Rows_sent: 0 Rows_examined: 0
  3007. SET timestamp=1405357085;
  3008. INSERT INTO piwigo_images
  3009. (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  3010. VALUES('english-www.user.net-068.jpg','english-www.user.net-068','2014-07-14 18:57:31','./upload/2014/07/14/20140714185731-86108fac.jpg','292','1050','1500','86108facb37e0379e1b058003d0b43fe','1','0','0');
  3011. # User@Host: user[user] @ localhost []
  3012. # Query_time: 18.760476 Lock_time: 0.000087 Rows_sent: 1412 Rows_examined: 192628
  3013. SET timestamp=1405357085;
  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: user[user] @ localhost []
  3023. # Query_time: 19.355595 Lock_time: 0.000108 Rows_sent: 1412 Rows_examined: 192628
  3024. SET timestamp=1405357085;
  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: user[user] @ localhost []
  3034. # Query_time: 17.835326 Lock_time: 0.000151 Rows_sent: 1412 Rows_examined: 192628
  3035. SET timestamp=1405357085;
  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: user[user] @ localhost []
  3045. # Query_time: 18.014713 Lock_time: 0.000152 Rows_sent: 1412 Rows_examined: 192628
  3046. SET timestamp=1405357085;
  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: user[user] @ localhost []
  3056. # Query_time: 16.264813 Lock_time: 0.000146 Rows_sent: 1412 Rows_examined: 192628
  3057. SET timestamp=1405357085;
  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: user[user] @ localhost []
  3067. # Query_time: 15.892357 Lock_time: 0.000074 Rows_sent: 1412 Rows_examined: 192628
  3068. SET timestamp=1405357085;
  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: 140714 18:58:38
  3078. # User@Host: user[user] @ localhost []
  3079. # Query_time: 20.577424 Lock_time: 2.956521 Rows_sent: 21 Rows_examined: 188429
  3080. SET timestamp=1405357118;
  3081. SELECT DISTINCT(id)
  3082. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3083. WHERE category_id NOT IN (0)
  3084. AND level>0;
  3085. # User@Host: user[user] @ localhost []
  3086. # Query_time: 19.941322 Lock_time: 2.089776 Rows_sent: 21 Rows_examined: 188429
  3087. SET timestamp=1405357118;
  3088. SELECT DISTINCT(id)
  3089. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3090. WHERE category_id NOT IN (0)
  3091. AND level>0;
  3092. # User@Host: user[user] @ localhost []
  3093. # Query_time: 21.261857 Lock_time: 3.388669 Rows_sent: 21 Rows_examined: 188429
  3094. SET timestamp=1405357118;
  3095. SELECT DISTINCT(id)
  3096. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3097. WHERE category_id NOT IN (0)
  3098. AND level>0;
  3099. # Time: 140714 18:58:40
  3100. # User@Host: user[user] @ localhost []
  3101. # Query_time: 20.236971 Lock_time: 0.616285 Rows_sent: 21 Rows_examined: 188429
  3102. SET timestamp=1405357120;
  3103. SELECT DISTINCT(id)
  3104. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3105. WHERE category_id NOT IN (0)
  3106. AND level>0;
  3107. # User@Host: user[user] @ localhost []
  3108. # Query_time: 23.407711 Lock_time: 3.239807 Rows_sent: 21 Rows_examined: 188429
  3109. SET timestamp=1405357120;
  3110. SELECT DISTINCT(id)
  3111. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3112. WHERE category_id NOT IN (0)
  3113. AND level>0;
  3114. # Time: 140714 18:58:41
  3115. # User@Host: user[user] @ localhost []
  3116. # Query_time: 24.050085 Lock_time: 2.611735 Rows_sent: 21 Rows_examined: 188429
  3117. SET timestamp=1405357121;
  3118. SELECT DISTINCT(id)
  3119. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3120. WHERE category_id NOT IN (0)
  3121. AND level>0;
  3122. # Time: 140714 18:58:43
  3123. # User@Host: user[user] @ localhost []
  3124. # Query_time: 22.575136 Lock_time: 0.000031 Rows_sent: 21 Rows_examined: 188429
  3125. SET timestamp=1405357123;
  3126. SELECT DISTINCT(id)
  3127. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3128. WHERE category_id NOT IN (0)
  3129. AND level>0;
  3130. # Time: 140714 18:58:44
  3131. # User@Host: user[user] @ localhost []
  3132. # Query_time: 23.742292 Lock_time: 0.021617 Rows_sent: 1412 Rows_examined: 192644
  3133. SET timestamp=1405357124;
  3134. SELECT c.id AS cat_id, id_uppercat,
  3135. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3136. FROM piwigo_categories as c
  3137. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3138. LEFT JOIN piwigo_images AS i
  3139. ON ic.image_id = i.id
  3140. AND i.level<=0
  3141. GROUP BY c.id;
  3142. # User@Host: user[user] @ localhost []
  3143. # Query_time: 24.421701 Lock_time: 0.638776 Rows_sent: 1412 Rows_examined: 192644
  3144. SET timestamp=1405357124;
  3145. SELECT c.id AS cat_id, id_uppercat,
  3146. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3147. FROM piwigo_categories as c
  3148. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3149. LEFT JOIN piwigo_images AS i
  3150. ON ic.image_id = i.id
  3151. AND i.level<=0
  3152. GROUP BY c.id;
  3153. # Time: 140714 18:58:45
  3154. # User@Host: user[user] @ localhost []
  3155. # Query_time: 25.215532 Lock_time: 0.405224 Rows_sent: 1412 Rows_examined: 192644
  3156. SET timestamp=1405357125;
  3157. SELECT c.id AS cat_id, id_uppercat,
  3158. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3159. FROM piwigo_categories as c
  3160. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3161. LEFT JOIN piwigo_images AS i
  3162. ON ic.image_id = i.id
  3163. AND i.level<=0
  3164. GROUP BY c.id;
  3165. # User@Host: user[user] @ localhost []
  3166. # Query_time: 25.014720 Lock_time: 0.000098 Rows_sent: 1412 Rows_examined: 192644
  3167. SET timestamp=1405357125;
  3168. SELECT c.id AS cat_id, id_uppercat,
  3169. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3170. FROM piwigo_categories as c
  3171. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3172. LEFT JOIN piwigo_images AS i
  3173. ON ic.image_id = i.id
  3174. AND i.level<=0
  3175. GROUP BY c.id;
  3176. # User@Host: user[user] @ localhost []
  3177. # Query_time: 25.506508 Lock_time: 0.437782 Rows_sent: 1412 Rows_examined: 192644
  3178. SET timestamp=1405357125;
  3179. SELECT c.id AS cat_id, id_uppercat,
  3180. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3181. FROM piwigo_categories as c
  3182. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3183. LEFT JOIN piwigo_images AS i
  3184. ON ic.image_id = i.id
  3185. AND i.level<=0
  3186. GROUP BY c.id;
  3187. # Time: 140714 18:58:46
  3188. # User@Host: user[user] @ localhost []
  3189. # Query_time: 26.158208 Lock_time: 0.630300 Rows_sent: 1412 Rows_examined: 192644
  3190. SET timestamp=1405357126;
  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. # User@Host: user[user] @ localhost []
  3200. # Query_time: 24.369300 Lock_time: 0.000058 Rows_sent: 21 Rows_examined: 188429
  3201. SET timestamp=1405357126;
  3202. SELECT DISTINCT(id)
  3203. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3204. WHERE category_id NOT IN (0)
  3205. AND level>0;
  3206. # Time: 140714 18:58:47
  3207. # User@Host: user[user] @ localhost []
  3208. # Query_time: 27.518966 Lock_time: 0.426921 Rows_sent: 1412 Rows_examined: 192644
  3209. SET timestamp=1405357127;
  3210. SELECT c.id AS cat_id, id_uppercat,
  3211. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3212. FROM piwigo_categories as c
  3213. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3214. LEFT JOIN piwigo_images AS i
  3215. ON ic.image_id = i.id
  3216. AND i.level<=0
  3217. GROUP BY c.id;
  3218. # User@Host: user[user] @ localhost []
  3219. # Query_time: 25.758858 Lock_time: 0.000056 Rows_sent: 21 Rows_examined: 188429
  3220. SET timestamp=1405357127;
  3221. SELECT DISTINCT(id)
  3222. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3223. WHERE category_id NOT IN (0)
  3224. AND level>0;
  3225. # Time: 140714 18:58:51
  3226. # User@Host: user[user] @ localhost []
  3227. # Query_time: 27.634728 Lock_time: 0.000058 Rows_sent: 21 Rows_examined: 188429
  3228. SET timestamp=1405357131;
  3229. SELECT DISTINCT(id)
  3230. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3231. WHERE category_id NOT IN (0)
  3232. AND level>0;
  3233. # User@Host: user[user] @ localhost []
  3234. # Query_time: 27.830534 Lock_time: 0.000067 Rows_sent: 21 Rows_examined: 188429
  3235. SET timestamp=1405357131;
  3236. SELECT DISTINCT(id)
  3237. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3238. WHERE category_id NOT IN (0)
  3239. AND level>0;
  3240. # Time: 140714 18:58:52
  3241. # User@Host: user[user] @ localhost []
  3242. # Query_time: 28.498306 Lock_time: 0.000077 Rows_sent: 21 Rows_examined: 188429
  3243. SET timestamp=1405357132;
  3244. SELECT DISTINCT(id)
  3245. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3246. WHERE category_id NOT IN (0)
  3247. AND level>0;
  3248. # Time: 140714 18:58:53
  3249. # User@Host: user[user] @ localhost []
  3250. # Query_time: 28.794576 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188429
  3251. SET timestamp=1405357133;
  3252. SELECT DISTINCT(id)
  3253. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3254. WHERE category_id NOT IN (0)
  3255. AND level>0;
  3256. # User@Host: user[user] @ localhost []
  3257. # Query_time: 29.051596 Lock_time: 0.000063 Rows_sent: 21 Rows_examined: 188429
  3258. SET timestamp=1405357133;
  3259. SELECT DISTINCT(id)
  3260. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3261. WHERE category_id NOT IN (0)
  3262. AND level>0;
  3263. # Time: 140714 18:58:54
  3264. # User@Host: user[user] @ localhost []
  3265. # Query_time: 30.639265 Lock_time: 0.000053 Rows_sent: 21 Rows_examined: 188429
  3266. SET timestamp=1405357134;
  3267. SELECT DISTINCT(id)
  3268. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3269. WHERE category_id NOT IN (0)
  3270. AND level>0;
  3271. # Time: 140714 18:58:56
  3272. # User@Host: user[user] @ localhost []
  3273. # Query_time: 31.084616 Lock_time: 0.000054 Rows_sent: 21 Rows_examined: 188429
  3274. SET timestamp=1405357136;
  3275. SELECT DISTINCT(id)
  3276. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3277. WHERE category_id NOT IN (0)
  3278. AND level>0;
  3279. # Time: 140714 18:58:57
  3280. # User@Host: gallery-dump[gallery-dump] @ localhost []
  3281. # Query_time: 19.872585 Lock_time: 0.000084 Rows_sent: 1001 Rows_examined: 90965
  3282. use gallery_dump_forum;
  3283. SET timestamp=1405357137;
  3284. SELECT DISTINCT t.topic_last_post_time, p.topic_id
  3285. FROM phpbb3_posts p, phpbb3_topics t
  3286. WHERE t.topic_replies = 0
  3287. AND t.topic_moved_id = 0
  3288. AND p.topic_id = t.topic_id
  3289.  
  3290. AND p.post_approved = 1
  3291. AND p.forum_id NOT IN (15, 17, 19, 20, 21)
  3292. ORDER BY t.topic_last_post_time DESC
  3293. LIMIT 1001;
  3294. # Time: 140714 18:58:58
  3295. # User@Host: user[user] @ localhost []
  3296. # Query_time: 30.068022 Lock_time: 0.000049 Rows_sent: 21 Rows_examined: 188429
  3297. use piwigal;
  3298. SET timestamp=1405357138;
  3299. SELECT DISTINCT(id)
  3300. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3301. WHERE category_id NOT IN (0)
  3302. AND level>0;
  3303. # User@Host: user[user] @ localhost []
  3304. # Query_time: 30.511765 Lock_time: 0.000049 Rows_sent: 21 Rows_examined: 188429
  3305. SET timestamp=1405357138;
  3306. SELECT DISTINCT(id)
  3307. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3308. WHERE category_id NOT IN (0)
  3309. AND level>0;
  3310. # Time: 140714 18:59:00
  3311. # User@Host: user[user] @ localhost []
  3312. # Query_time: 31.162632 Lock_time: 0.000068 Rows_sent: 21 Rows_examined: 188429
  3313. SET timestamp=1405357140;
  3314. SELECT DISTINCT(id)
  3315. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3316. WHERE category_id NOT IN (0)
  3317. AND level>0;
  3318. # Time: 140714 18:59:02
  3319. # User@Host: user[user] @ localhost []
  3320. # Query_time: 32.500359 Lock_time: 0.000043 Rows_sent: 21 Rows_examined: 188429
  3321. SET timestamp=1405357142;
  3322. SELECT DISTINCT(id)
  3323. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3324. WHERE category_id NOT IN (0)
  3325. AND level>0;
  3326. # User@Host: user[user] @ localhost []
  3327. # Query_time: 31.973902 Lock_time: 0.000076 Rows_sent: 21 Rows_examined: 188429
  3328. SET timestamp=1405357142;
  3329. SELECT DISTINCT(id)
  3330. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3331. WHERE category_id NOT IN (0)
  3332. AND level>0;
  3333. # Time: 140714 18:59:03
  3334. # User@Host: user[user] @ localhost []
  3335. # Query_time: 31.627404 Lock_time: 0.000051 Rows_sent: 21 Rows_examined: 188429
  3336. SET timestamp=1405357143;
  3337. SELECT DISTINCT(id)
  3338. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3339. WHERE category_id NOT IN (0)
  3340. AND level>0;
  3341. # User@Host: user[user] @ localhost []
  3342. # Query_time: 32.094752 Lock_time: 0.000083 Rows_sent: 21 Rows_examined: 188429
  3343. SET timestamp=1405357143;
  3344. SELECT DISTINCT(id)
  3345. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3346. WHERE category_id NOT IN (0)
  3347. AND level>0;
  3348. # User@Host: user[user] @ localhost []
  3349. # Query_time: 31.943514 Lock_time: 0.000060 Rows_sent: 21 Rows_examined: 188429
  3350. SET timestamp=1405357143;
  3351. SELECT DISTINCT(id)
  3352. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3353. WHERE category_id NOT IN (0)
  3354. AND level>0;
  3355. # Time: 140714 18:59:04
  3356. # User@Host: user[user] @ localhost []
  3357. # Query_time: 32.473179 Lock_time: 0.000071 Rows_sent: 21 Rows_examined: 188429
  3358. SET timestamp=1405357144;
  3359. SELECT DISTINCT(id)
  3360. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3361. WHERE category_id NOT IN (0)
  3362. AND level>0;
  3363. # Time: 140714 18:59:05
  3364. # User@Host: user[user] @ localhost []
  3365. # Query_time: 33.095309 Lock_time: 0.000082 Rows_sent: 21 Rows_examined: 188429
  3366. SET timestamp=1405357145;
  3367. SELECT DISTINCT(id)
  3368. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3369. WHERE category_id NOT IN (0)
  3370. AND level>0;
  3371. # Time: 140714 18:59:06
  3372. # User@Host: user[user] @ localhost []
  3373. # Query_time: 29.878625 Lock_time: 0.000066 Rows_sent: 21 Rows_examined: 188429
  3374. SET timestamp=1405357146;
  3375. SELECT DISTINCT(id)
  3376. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3377. WHERE category_id NOT IN (0)
  3378. AND level>0;
  3379. # User@Host: user[user] @ localhost []
  3380. # Query_time: 29.898044 Lock_time: 0.000315 Rows_sent: 21 Rows_examined: 188429
  3381. SET timestamp=1405357146;
  3382. SELECT DISTINCT(id)
  3383. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3384. WHERE category_id NOT IN (0)
  3385. AND level>0;
  3386. # User@Host: user[user] @ localhost []
  3387. # Query_time: 31.041800 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188429
  3388. SET timestamp=1405357146;
  3389. SELECT DISTINCT(id)
  3390. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3391. WHERE category_id NOT IN (0)
  3392. AND level>0;
  3393. # User@Host: user[user] @ localhost []
  3394. # Query_time: 45.214423 Lock_time: 0.000062 Rows_sent: 0 Rows_examined: 0
  3395. SET timestamp=1405357146;
  3396. INSERT INTO piwigo_images
  3397. (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  3398. VALUES('english-www.user.net-076.jpg','english-www.user.net-076','2014-07-14 18:58:21','./upload/2014/07/14/20140714185821-18b07f97.jpg','243','1050','1500','18b07f9723858f298ededa2dfd881b05','1','0','0');
  3399. # Time: 140714 18:59:07
  3400. # User@Host: user[user] @ localhost []
  3401. # Query_time: 29.753443 Lock_time: 0.000145 Rows_sent: 21 Rows_examined: 188429
  3402. SET timestamp=1405357147;
  3403. SELECT DISTINCT(id)
  3404. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3405. WHERE category_id NOT IN (0)
  3406. AND level>0;
  3407. # User@Host: user[user] @ localhost []
  3408. # Query_time: 31.398169 Lock_time: 0.000135 Rows_sent: 21 Rows_examined: 188429
  3409. SET timestamp=1405357147;
  3410. SELECT DISTINCT(id)
  3411. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3412. WHERE category_id NOT IN (0)
  3413. AND level>0;
  3414. # Time: 140714 18:59:09
  3415. # User@Host: user[user] @ localhost []
  3416. # Query_time: 29.756144 Lock_time: 0.000200 Rows_sent: 1412 Rows_examined: 192644
  3417. SET timestamp=1405357149;
  3418. SELECT c.id AS cat_id, id_uppercat,
  3419. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3420. FROM piwigo_categories as c
  3421. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3422. LEFT JOIN piwigo_images AS i
  3423. ON ic.image_id = i.id
  3424. AND i.level<=0
  3425. GROUP BY c.id;
  3426. # User@Host: user[user] @ localhost []
  3427. # Query_time: 30.867897 Lock_time: 0.000102 Rows_sent: 1412 Rows_examined: 192644
  3428. SET timestamp=1405357149;
  3429. SELECT c.id AS cat_id, id_uppercat,
  3430. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3431. FROM piwigo_categories as c
  3432. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3433. LEFT JOIN piwigo_images AS i
  3434. ON ic.image_id = i.id
  3435. AND i.level<=0
  3436. GROUP BY c.id;
  3437. # User@Host: user[user] @ localhost []
  3438. # Query_time: 31.032065 Lock_time: 0.000160 Rows_sent: 1412 Rows_examined: 192644
  3439. SET timestamp=1405357149;
  3440. SELECT c.id AS cat_id, id_uppercat,
  3441. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3442. FROM piwigo_categories as c
  3443. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3444. LEFT JOIN piwigo_images AS i
  3445. ON ic.image_id = i.id
  3446. AND i.level<=0
  3447. GROUP BY c.id;
  3448. # User@Host: user[user] @ localhost []
  3449. # Query_time: 30.799255 Lock_time: 0.000206 Rows_sent: 1412 Rows_examined: 192644
  3450. SET timestamp=1405357149;
  3451. SELECT c.id AS cat_id, id_uppercat,
  3452. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3453. FROM piwigo_categories as c
  3454. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3455. LEFT JOIN piwigo_images AS i
  3456. ON ic.image_id = i.id
  3457. AND i.level<=0
  3458. GROUP BY c.id;
  3459. # User@Host: user[user] @ localhost []
  3460. # Query_time: 31.106109 Lock_time: 0.000135 Rows_sent: 1412 Rows_examined: 192644
  3461. SET timestamp=1405357149;
  3462. SELECT c.id AS cat_id, id_uppercat,
  3463. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3464. FROM piwigo_categories as c
  3465. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3466. LEFT JOIN piwigo_images AS i
  3467. ON ic.image_id = i.id
  3468. AND i.level<=0
  3469. GROUP BY c.id;
  3470. # User@Host: user[user] @ localhost []
  3471. # Query_time: 31.281771 Lock_time: 0.000167 Rows_sent: 1412 Rows_examined: 192644
  3472. SET timestamp=1405357149;
  3473. SELECT c.id AS cat_id, id_uppercat,
  3474. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3475. FROM piwigo_categories as c
  3476. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3477. LEFT JOIN piwigo_images AS i
  3478. ON ic.image_id = i.id
  3479. AND i.level<=0
  3480. GROUP BY c.id;
  3481. # User@Host: user[user] @ localhost []
  3482. # Query_time: 31.441998 Lock_time: 0.000087 Rows_sent: 1412 Rows_examined: 192644
  3483. SET timestamp=1405357149;
  3484. SELECT c.id AS cat_id, id_uppercat,
  3485. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3486. FROM piwigo_categories as c
  3487. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3488. LEFT JOIN piwigo_images AS i
  3489. ON ic.image_id = i.id
  3490. AND i.level<=0
  3491. GROUP BY c.id;
  3492. # User@Host: user[user] @ localhost []
  3493. # Query_time: 31.332755 Lock_time: 0.000088 Rows_sent: 1412 Rows_examined: 192644
  3494. SET timestamp=1405357149;
  3495. SELECT c.id AS cat_id, id_uppercat,
  3496. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3497. FROM piwigo_categories as c
  3498. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3499. LEFT JOIN piwigo_images AS i
  3500. ON ic.image_id = i.id
  3501. AND i.level<=0
  3502. GROUP BY c.id;
  3503. # User@Host: user[user] @ localhost []
  3504. # Query_time: 30.193360 Lock_time: 0.000199 Rows_sent: 1412 Rows_examined: 192644
  3505. SET timestamp=1405357149;
  3506. SELECT c.id AS cat_id, id_uppercat,
  3507. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3508. FROM piwigo_categories as c
  3509. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3510. LEFT JOIN piwigo_images AS i
  3511. ON ic.image_id = i.id
  3512. AND i.level<=0
  3513. GROUP BY c.id;
  3514. # User@Host: user[user] @ localhost []
  3515. # Query_time: 31.411735 Lock_time: 0.000163 Rows_sent: 1412 Rows_examined: 192644
  3516. SET timestamp=1405357149;
  3517. SELECT c.id AS cat_id, id_uppercat,
  3518. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3519. FROM piwigo_categories as c
  3520. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3521. LEFT JOIN piwigo_images AS i
  3522. ON ic.image_id = i.id
  3523. AND i.level<=0
  3524. GROUP BY c.id;
  3525. # User@Host: user[user] @ localhost []
  3526. # Query_time: 29.399971 Lock_time: 0.000192 Rows_sent: 1412 Rows_examined: 192644
  3527. SET timestamp=1405357149;
  3528. SELECT c.id AS cat_id, id_uppercat,
  3529. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3530. FROM piwigo_categories as c
  3531. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3532. LEFT JOIN piwigo_images AS i
  3533. ON ic.image_id = i.id
  3534. AND i.level<=0
  3535. GROUP BY c.id;
  3536. # User@Host: user[user] @ localhost []
  3537. # Query_time: 29.843490 Lock_time: 0.000172 Rows_sent: 1412 Rows_examined: 192644
  3538. SET timestamp=1405357149;
  3539. SELECT c.id AS cat_id, id_uppercat,
  3540. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3541. FROM piwigo_categories as c
  3542. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3543. LEFT JOIN piwigo_images AS i
  3544. ON ic.image_id = i.id
  3545. AND i.level<=0
  3546. GROUP BY c.id;
  3547. # User@Host: user[user] @ localhost []
  3548. # Query_time: 29.315537 Lock_time: 0.000151 Rows_sent: 1412 Rows_examined: 192644
  3549. SET timestamp=1405357149;
  3550. SELECT c.id AS cat_id, id_uppercat,
  3551. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3552. FROM piwigo_categories as c
  3553. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3554. LEFT JOIN piwigo_images AS i
  3555. ON ic.image_id = i.id
  3556. AND i.level<=0
  3557. GROUP BY c.id;
  3558. # Time: 140714 18:59:10
  3559. # User@Host: user[user] @ localhost []
  3560. # Query_time: 31.203065 Lock_time: 0.000198 Rows_sent: 1412 Rows_examined: 192644
  3561. SET timestamp=1405357150;
  3562. SELECT c.id AS cat_id, id_uppercat,
  3563. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3564. FROM piwigo_categories as c
  3565. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3566. LEFT JOIN piwigo_images AS i
  3567. ON ic.image_id = i.id
  3568. AND i.level<=0
  3569. GROUP BY c.id;
  3570. # User@Host: user[user] @ localhost []
  3571. # Query_time: 29.451563 Lock_time: 0.000199 Rows_sent: 1412 Rows_examined: 192644
  3572. SET timestamp=1405357150;
  3573. SELECT c.id AS cat_id, id_uppercat,
  3574. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3575. FROM piwigo_categories as c
  3576. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3577. LEFT JOIN piwigo_images AS i
  3578. ON ic.image_id = i.id
  3579. AND i.level<=0
  3580. GROUP BY c.id;
  3581. # User@Host: user[user] @ localhost []
  3582. # Query_time: 29.883244 Lock_time: 0.000205 Rows_sent: 1412 Rows_examined: 192644
  3583. SET timestamp=1405357150;
  3584. SELECT c.id AS cat_id, id_uppercat,
  3585. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3586. FROM piwigo_categories as c
  3587. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3588. LEFT JOIN piwigo_images AS i
  3589. ON ic.image_id = i.id
  3590. AND i.level<=0
  3591. GROUP BY c.id;
  3592. # User@Host: user[user] @ localhost []
  3593. # Query_time: 26.647154 Lock_time: 0.000185 Rows_sent: 1412 Rows_examined: 192644
  3594. SET timestamp=1405357150;
  3595. SELECT c.id AS cat_id, id_uppercat,
  3596. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3597. FROM piwigo_categories as c
  3598. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3599. LEFT JOIN piwigo_images AS i
  3600. ON ic.image_id = i.id
  3601. AND i.level<=0
  3602. GROUP BY c.id;
  3603. # User@Host: user[user] @ localhost []
  3604. # Query_time: 28.424946 Lock_time: 0.000129 Rows_sent: 1412 Rows_examined: 192644
  3605. SET timestamp=1405357150;
  3606. SELECT c.id AS cat_id, id_uppercat,
  3607. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3608. FROM piwigo_categories as c
  3609. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3610. LEFT JOIN piwigo_images AS i
  3611. ON ic.image_id = i.id
  3612. AND i.level<=0
  3613. GROUP BY c.id;
  3614. # User@Host: user[user] @ localhost []
  3615. # Query_time: 26.547796 Lock_time: 0.000140 Rows_sent: 1412 Rows_examined: 192644
  3616. SET timestamp=1405357150;
  3617. SELECT c.id AS cat_id, id_uppercat,
  3618. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3619. FROM piwigo_categories as c
  3620. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3621. LEFT JOIN piwigo_images AS i
  3622. ON ic.image_id = i.id
  3623. AND i.level<=0
  3624. GROUP BY c.id;
  3625. # User@Host: user[user] @ localhost []
  3626. # Query_time: 28.786370 Lock_time: 0.000321 Rows_sent: 1412 Rows_examined: 192644
  3627. SET timestamp=1405357150;
  3628. SELECT c.id AS cat_id, id_uppercat,
  3629. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3630. FROM piwigo_categories as c
  3631. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3632. LEFT JOIN piwigo_images AS i
  3633. ON ic.image_id = i.id
  3634. AND i.level<=0
  3635. GROUP BY c.id;
  3636. # User@Host: user[user] @ localhost []
  3637. # Query_time: 25.559928 Lock_time: 0.000099 Rows_sent: 1412 Rows_examined: 192644
  3638. SET timestamp=1405357150;
  3639. SELECT c.id AS cat_id, id_uppercat,
  3640. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3641. FROM piwigo_categories as c
  3642. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3643. LEFT JOIN piwigo_images AS i
  3644. ON ic.image_id = i.id
  3645. AND i.level<=0
  3646. GROUP BY c.id;
  3647. # Time: 140714 19:03:11
  3648. # User@Host: user[user] @ localhost []
  3649. # Query_time: 10.022186 Lock_time: 0.000049 Rows_sent: 21 Rows_examined: 188583
  3650. SET timestamp=1405357391;
  3651. SELECT DISTINCT(id)
  3652. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3653. WHERE category_id NOT IN (0)
  3654. AND level>0;
  3655. # Time: 140714 19:03:20
  3656. # User@Host: user[user] @ localhost []
  3657. # Query_time: 18.217166 Lock_time: 0.000064 Rows_sent: 21 Rows_examined: 188583
  3658. SET timestamp=1405357400;
  3659. SELECT DISTINCT(id)
  3660. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3661. WHERE category_id NOT IN (0)
  3662. AND level>0;
  3663. # Time: 140714 19:03:23
  3664. # User@Host: user[user] @ localhost []
  3665. # Query_time: 20.629633 Lock_time: 0.000065 Rows_sent: 21 Rows_examined: 188583
  3666. SET timestamp=1405357403;
  3667. SELECT DISTINCT(id)
  3668. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3669. WHERE category_id NOT IN (0)
  3670. AND level>0;
  3671. # Time: 140714 19:03:31
  3672. # User@Host: user[user] @ localhost []
  3673. # Query_time: 28.508222 Lock_time: 0.000093 Rows_sent: 21 Rows_examined: 188583
  3674. SET timestamp=1405357411;
  3675. SELECT DISTINCT(id)
  3676. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3677. WHERE category_id NOT IN (0)
  3678. AND level>0;
  3679. # User@Host: user[user] @ localhost []
  3680. # Query_time: 28.558065 Lock_time: 0.000069 Rows_sent: 21 Rows_examined: 188583
  3681. SET timestamp=1405357411;
  3682. SELECT DISTINCT(id)
  3683. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3684. WHERE category_id NOT IN (0)
  3685. AND level>0;
  3686. # Time: 140714 19:03:32
  3687. # User@Host: user[user] @ localhost []
  3688. # Query_time: 28.984092 Lock_time: 0.000050 Rows_sent: 21 Rows_examined: 188583
  3689. SET timestamp=1405357412;
  3690. SELECT DISTINCT(id)
  3691. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3692. WHERE category_id NOT IN (0)
  3693. AND level>0;
  3694. # Time: 140714 19:03:35
  3695. # User@Host: user[user] @ localhost []
  3696. # Query_time: 32.135405 Lock_time: 0.000062 Rows_sent: 21 Rows_examined: 188583
  3697. SET timestamp=1405357415;
  3698. SELECT DISTINCT(id)
  3699. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3700. WHERE category_id NOT IN (0)
  3701. AND level>0;
  3702. # Time: 140714 19:03:36
  3703. # User@Host: user[user] @ localhost []
  3704. # Query_time: 32.576689 Lock_time: 0.000052 Rows_sent: 21 Rows_examined: 188583
  3705. SET timestamp=1405357416;
  3706. SELECT DISTINCT(id)
  3707. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3708. WHERE category_id NOT IN (0)
  3709. AND level>0;
  3710. # Time: 140714 19:03:38
  3711. # User@Host: user[user] @ localhost []
  3712. # Query_time: 34.043012 Lock_time: 0.000069 Rows_sent: 21 Rows_examined: 188583
  3713. SET timestamp=1405357418;
  3714. SELECT DISTINCT(id)
  3715. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3716. WHERE category_id NOT IN (0)
  3717. AND level>0;
  3718. # User@Host: user[user] @ localhost []
  3719. # Query_time: 33.983818 Lock_time: 0.000064 Rows_sent: 21 Rows_examined: 188583
  3720. SET timestamp=1405357418;
  3721. SELECT DISTINCT(id)
  3722. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3723. WHERE category_id NOT IN (0)
  3724. AND level>0;
  3725. # Time: 140714 19:03:40
  3726. # User@Host: user[user] @ localhost []
  3727. # Query_time: 35.538983 Lock_time: 0.000051 Rows_sent: 21 Rows_examined: 188583
  3728. SET timestamp=1405357420;
  3729. SELECT DISTINCT(id)
  3730. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3731. WHERE category_id NOT IN (0)
  3732. AND level>0;
  3733. # Time: 140714 19:03:41
  3734. # User@Host: user[user] @ localhost []
  3735. # Query_time: 37.337363 Lock_time: 0.000076 Rows_sent: 21 Rows_examined: 188583
  3736. SET timestamp=1405357421;
  3737. SELECT DISTINCT(id)
  3738. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3739. WHERE category_id NOT IN (0)
  3740. AND level>0;
  3741. # Time: 140714 19:03:44
  3742. # User@Host: user[user] @ localhost []
  3743. # Query_time: 40.029760 Lock_time: 0.000062 Rows_sent: 21 Rows_examined: 188583
  3744. SET timestamp=1405357424;
  3745. SELECT DISTINCT(id)
  3746. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3747. WHERE category_id NOT IN (0)
  3748. AND level>0;
  3749. # User@Host: user[user] @ localhost []
  3750. # Query_time: 39.464047 Lock_time: 0.000063 Rows_sent: 21 Rows_examined: 188583
  3751. SET timestamp=1405357424;
  3752. SELECT DISTINCT(id)
  3753. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3754. WHERE category_id NOT IN (0)
  3755. AND level>0;
  3756. # Time: 140714 19:03:47
  3757. # User@Host: user[user] @ localhost []
  3758. # Query_time: 41.680635 Lock_time: 0.000069 Rows_sent: 21 Rows_examined: 188583
  3759. SET timestamp=1405357427;
  3760. SELECT DISTINCT(id)
  3761. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3762. WHERE category_id NOT IN (0)
  3763. AND level>0;
  3764. # Time: 140714 19:03:55
  3765. # User@Host: user[user] @ localhost []
  3766. # Query_time: 49.137724 Lock_time: 0.000059 Rows_sent: 21 Rows_examined: 188583
  3767. SET timestamp=1405357435;
  3768. SELECT DISTINCT(id)
  3769. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3770. WHERE category_id NOT IN (0)
  3771. AND level>0;
  3772. # Time: 140714 19:03:57
  3773. # User@Host: user[user] @ localhost []
  3774. # Query_time: 49.754707 Lock_time: 0.000056 Rows_sent: 21 Rows_examined: 188583
  3775. SET timestamp=1405357437;
  3776. SELECT DISTINCT(id)
  3777. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3778. WHERE category_id NOT IN (0)
  3779. AND level>0;
  3780. # User@Host: user[user] @ localhost []
  3781. # Query_time: 49.433754 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188583
  3782. SET timestamp=1405357437;
  3783. SELECT DISTINCT(id)
  3784. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3785. WHERE category_id NOT IN (0)
  3786. AND level>0;
  3787. # Time: 140714 19:03:58
  3788. # User@Host: user[user] @ localhost []
  3789. # Query_time: 50.558659 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188583
  3790. SET timestamp=1405357438;
  3791. SELECT DISTINCT(id)
  3792. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3793. WHERE category_id NOT IN (0)
  3794. AND level>0;
  3795. # User@Host: user[user] @ localhost []
  3796. # Query_time: 50.879704 Lock_time: 0.000052 Rows_sent: 21 Rows_examined: 188583
  3797. SET timestamp=1405357438;
  3798. SELECT DISTINCT(id)
  3799. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3800. WHERE category_id NOT IN (0)
  3801. AND level>0;
  3802. # User@Host: user[user] @ localhost []
  3803. # Query_time: 51.296045 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188583
  3804. SET timestamp=1405357438;
  3805. SELECT DISTINCT(id)
  3806. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3807. WHERE category_id NOT IN (0)
  3808. AND level>0;
  3809. # User@Host: user[user] @ localhost []
  3810. # Query_time: 50.134231 Lock_time: 0.000091 Rows_sent: 21 Rows_examined: 188583
  3811. SET timestamp=1405357438;
  3812. SELECT DISTINCT(id)
  3813. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3814. WHERE category_id NOT IN (0)
  3815. AND level>0;
  3816. # Time: 140714 19:04:04
  3817. # User@Host: user[user] @ localhost []
  3818. # Query_time: 56.721711 Lock_time: 0.000093 Rows_sent: 21 Rows_examined: 188583
  3819. SET timestamp=1405357444;
  3820. SELECT DISTINCT(id)
  3821. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3822. WHERE category_id NOT IN (0)
  3823. AND level>0;
  3824. # Time: 140714 19:04:06
  3825. # User@Host: user[user] @ localhost []
  3826. # Query_time: 57.929595 Lock_time: 0.000080 Rows_sent: 21 Rows_examined: 188583
  3827. SET timestamp=1405357446;
  3828. SELECT DISTINCT(id)
  3829. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  3830. WHERE category_id NOT IN (0)
  3831. AND level>0;
  3832. # Time: 140714 19:04:11
  3833. # User@Host: user[user] @ localhost []
  3834. # Query_time: 55.055936 Lock_time: 0.000090 Rows_sent: 0 Rows_examined: 0
  3835. SET timestamp=1405357451;
  3836. INSERT INTO piwigo_images
  3837. (file,name,date_available,path,filesize,width,height,md5sum,added_by,rotation,level)
  3838. VALUES('00english-www.user.net-000.jpg','00english-www.user.net-000','2014-07-14 19:03:16','./upload/2014/07/14/20140714190316-4c289aea.jpg','352','1057','1500','4c289aea08b8924bf55e60eef61217c8','1','0','0');
  3839. # Time: 140714 19:04:21
  3840. # User@Host: user[user] @ localhost []
  3841. # Query_time: 71.109320 Lock_time: 0.000113 Rows_sent: 1413 Rows_examined: 192801
  3842. SET timestamp=1405357461;
  3843. SELECT c.id AS cat_id, id_uppercat,
  3844. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3845. FROM piwigo_categories as c
  3846. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3847. LEFT JOIN piwigo_images AS i
  3848. ON ic.image_id = i.id
  3849. AND i.level<=0
  3850. GROUP BY c.id;
  3851. # User@Host: user[user] @ localhost []
  3852. # Query_time: 70.749707 Lock_time: 0.000133 Rows_sent: 1413 Rows_examined: 192801
  3853. SET timestamp=1405357461;
  3854. SELECT c.id AS cat_id, id_uppercat,
  3855. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3856. FROM piwigo_categories as c
  3857. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3858. LEFT JOIN piwigo_images AS i
  3859. ON ic.image_id = i.id
  3860. AND i.level<=0
  3861. GROUP BY c.id;
  3862. # Time: 140714 19:04:22
  3863. # User@Host: user[user] @ localhost []
  3864. # Query_time: 71.944767 Lock_time: 0.000125 Rows_sent: 1413 Rows_examined: 192801
  3865. SET timestamp=1405357462;
  3866. SELECT c.id AS cat_id, id_uppercat,
  3867. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3868. FROM piwigo_categories as c
  3869. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3870. LEFT JOIN piwigo_images AS i
  3871. ON ic.image_id = i.id
  3872. AND i.level<=0
  3873. GROUP BY c.id;
  3874. # User@Host: user[user] @ localhost []
  3875. # Query_time: 72.061035 Lock_time: 0.000077 Rows_sent: 1413 Rows_examined: 192801
  3876. SET timestamp=1405357462;
  3877. SELECT c.id AS cat_id, id_uppercat,
  3878. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3879. FROM piwigo_categories as c
  3880. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3881. LEFT JOIN piwigo_images AS i
  3882. ON ic.image_id = i.id
  3883. AND i.level<=0
  3884. GROUP BY c.id;
  3885. # User@Host: user[user] @ localhost []
  3886. # Query_time: 70.559561 Lock_time: 0.000093 Rows_sent: 1413 Rows_examined: 192801
  3887. SET timestamp=1405357462;
  3888. SELECT c.id AS cat_id, id_uppercat,
  3889. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3890. FROM piwigo_categories as c
  3891. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3892. LEFT JOIN piwigo_images AS i
  3893. ON ic.image_id = i.id
  3894. AND i.level<=0
  3895. GROUP BY c.id;
  3896. # Time: 140714 19:04:23
  3897. # User@Host: user[user] @ localhost []
  3898. # Query_time: 72.539055 Lock_time: 0.000093 Rows_sent: 1413 Rows_examined: 192801
  3899. SET timestamp=1405357463;
  3900. SELECT c.id AS cat_id, id_uppercat,
  3901. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3902. FROM piwigo_categories as c
  3903. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3904. LEFT JOIN piwigo_images AS i
  3905. ON ic.image_id = i.id
  3906. AND i.level<=0
  3907. GROUP BY c.id;
  3908. # User@Host: user[user] @ localhost []
  3909. # Query_time: 72.041116 Lock_time: 0.000128 Rows_sent: 1413 Rows_examined: 192801
  3910. SET timestamp=1405357463;
  3911. SELECT c.id AS cat_id, id_uppercat,
  3912. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3913. FROM piwigo_categories as c
  3914. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3915. LEFT JOIN piwigo_images AS i
  3916. ON ic.image_id = i.id
  3917. AND i.level<=0
  3918. GROUP BY c.id;
  3919. # User@Host: user[user] @ localhost []
  3920. # Query_time: 72.324939 Lock_time: 0.000099 Rows_sent: 1413 Rows_examined: 192801
  3921. SET timestamp=1405357463;
  3922. SELECT c.id AS cat_id, id_uppercat,
  3923. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3924. FROM piwigo_categories as c
  3925. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3926. LEFT JOIN piwigo_images AS i
  3927. ON ic.image_id = i.id
  3928. AND i.level<=0
  3929. GROUP BY c.id;
  3930. # User@Host: user[user] @ localhost []
  3931. # Query_time: 72.756115 Lock_time: 0.000087 Rows_sent: 1413 Rows_examined: 192801
  3932. SET timestamp=1405357463;
  3933. SELECT c.id AS cat_id, id_uppercat,
  3934. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3935. FROM piwigo_categories as c
  3936. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3937. LEFT JOIN piwigo_images AS i
  3938. ON ic.image_id = i.id
  3939. AND i.level<=0
  3940. GROUP BY c.id;
  3941. # User@Host: user[user] @ localhost []
  3942. # Query_time: 72.840543 Lock_time: 0.000158 Rows_sent: 1413 Rows_examined: 192801
  3943. SET timestamp=1405357463;
  3944. SELECT c.id AS cat_id, id_uppercat,
  3945. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3946. FROM piwigo_categories as c
  3947. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3948. LEFT JOIN piwigo_images AS i
  3949. ON ic.image_id = i.id
  3950. AND i.level<=0
  3951. GROUP BY c.id;
  3952. # User@Host: user[user] @ localhost []
  3953. # Query_time: 73.378931 Lock_time: 0.000096 Rows_sent: 1413 Rows_examined: 192801
  3954. SET timestamp=1405357463;
  3955. SELECT c.id AS cat_id, id_uppercat,
  3956. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3957. FROM piwigo_categories as c
  3958. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3959. LEFT JOIN piwigo_images AS i
  3960. ON ic.image_id = i.id
  3961. AND i.level<=0
  3962. GROUP BY c.id;
  3963. # Time: 140714 19:04:25
  3964. # User@Host: user[user] @ localhost []
  3965. # Query_time: 73.465742 Lock_time: 0.000071 Rows_sent: 1413 Rows_examined: 192801
  3966. SET timestamp=1405357465;
  3967. SELECT c.id AS cat_id, id_uppercat,
  3968. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3969. FROM piwigo_categories as c
  3970. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3971. LEFT JOIN piwigo_images AS i
  3972. ON ic.image_id = i.id
  3973. AND i.level<=0
  3974. GROUP BY c.id;
  3975. # Time: 140714 19:04:28
  3976. # User@Host: user[user] @ localhost []
  3977. # Query_time: 74.516177 Lock_time: 0.000118 Rows_sent: 1413 Rows_examined: 192801
  3978. SET timestamp=1405357468;
  3979. SELECT c.id AS cat_id, id_uppercat,
  3980. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3981. FROM piwigo_categories as c
  3982. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3983. LEFT JOIN piwigo_images AS i
  3984. ON ic.image_id = i.id
  3985. AND i.level<=0
  3986. GROUP BY c.id;
  3987. # User@Host: user[user] @ localhost []
  3988. # Query_time: 76.398578 Lock_time: 0.000103 Rows_sent: 1413 Rows_examined: 192801
  3989. SET timestamp=1405357468;
  3990. SELECT c.id AS cat_id, id_uppercat,
  3991. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  3992. FROM piwigo_categories as c
  3993. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  3994. LEFT JOIN piwigo_images AS i
  3995. ON ic.image_id = i.id
  3996. AND i.level<=0
  3997. GROUP BY c.id;
  3998. # Time: 140714 19:04:29
  3999. # User@Host: user[user] @ localhost []
  4000. # Query_time: 76.432937 Lock_time: 0.000095 Rows_sent: 1413 Rows_examined: 192801
  4001. SET timestamp=1405357469;
  4002. SELECT c.id AS cat_id, id_uppercat,
  4003. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4004. FROM piwigo_categories as c
  4005. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4006. LEFT JOIN piwigo_images AS i
  4007. ON ic.image_id = i.id
  4008. AND i.level<=0
  4009. GROUP BY c.id;
  4010. # User@Host: user[user] @ localhost []
  4011. # Query_time: 76.240570 Lock_time: 0.000080 Rows_sent: 1413 Rows_examined: 192801
  4012. SET timestamp=1405357469;
  4013. SELECT c.id AS cat_id, id_uppercat,
  4014. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4015. FROM piwigo_categories as c
  4016. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4017. LEFT JOIN piwigo_images AS i
  4018. ON ic.image_id = i.id
  4019. AND i.level<=0
  4020. GROUP BY c.id;
  4021. # Time: 140714 19:04:30
  4022. # User@Host: user[user] @ localhost []
  4023. # Query_time: 75.863564 Lock_time: 0.000090 Rows_sent: 1413 Rows_examined: 192801
  4024. SET timestamp=1405357470;
  4025. SELECT c.id AS cat_id, id_uppercat,
  4026. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4027. FROM piwigo_categories as c
  4028. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4029. LEFT JOIN piwigo_images AS i
  4030. ON ic.image_id = i.id
  4031. AND i.level<=0
  4032. GROUP BY c.id;
  4033. # User@Host: user[user] @ localhost []
  4034. # Query_time: 75.637272 Lock_time: 0.000093 Rows_sent: 1413 Rows_examined: 192801
  4035. SET timestamp=1405357470;
  4036. SELECT c.id AS cat_id, id_uppercat,
  4037. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4038. FROM piwigo_categories as c
  4039. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4040. LEFT JOIN piwigo_images AS i
  4041. ON ic.image_id = i.id
  4042. AND i.level<=0
  4043. GROUP BY c.id;
  4044. # Time: 140714 19:04:31
  4045. # User@Host: user[user] @ localhost []
  4046. # Query_time: 76.895991 Lock_time: 0.000078 Rows_sent: 1413 Rows_examined: 192801
  4047. SET timestamp=1405357471;
  4048. SELECT c.id AS cat_id, id_uppercat,
  4049. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4050. FROM piwigo_categories as c
  4051. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4052. LEFT JOIN piwigo_images AS i
  4053. ON ic.image_id = i.id
  4054. AND i.level<=0
  4055. GROUP BY c.id;
  4056. # User@Host: user[user] @ localhost []
  4057. # Query_time: 75.623545 Lock_time: 0.000088 Rows_sent: 1413 Rows_examined: 192801
  4058. SET timestamp=1405357471;
  4059. SELECT c.id AS cat_id, id_uppercat,
  4060. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4061. FROM piwigo_categories as c
  4062. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4063. LEFT JOIN piwigo_images AS i
  4064. ON ic.image_id = i.id
  4065. AND i.level<=0
  4066. GROUP BY c.id;
  4067. # User@Host: user[user] @ localhost []
  4068. # Query_time: 76.300593 Lock_time: 0.000094 Rows_sent: 1413 Rows_examined: 192801
  4069. SET timestamp=1405357471;
  4070. SELECT c.id AS cat_id, id_uppercat,
  4071. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4072. FROM piwigo_categories as c
  4073. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4074. LEFT JOIN piwigo_images AS i
  4075. ON ic.image_id = i.id
  4076. AND i.level<=0
  4077. GROUP BY c.id;
  4078. # Time: 140714 19:04:32
  4079. # User@Host: user[user] @ localhost []
  4080. # Query_time: 78.635664 Lock_time: 0.000135 Rows_sent: 1413 Rows_examined: 192801
  4081. SET timestamp=1405357472;
  4082. SELECT c.id AS cat_id, id_uppercat,
  4083. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4084. FROM piwigo_categories as c
  4085. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4086. LEFT JOIN piwigo_images AS i
  4087. ON ic.image_id = i.id
  4088. AND i.level<=0
  4089. GROUP BY c.id;
  4090. # User@Host: user[user] @ localhost []
  4091. # Query_time: 76.975263 Lock_time: 0.000097 Rows_sent: 1413 Rows_examined: 192801
  4092. SET timestamp=1405357472;
  4093. SELECT c.id AS cat_id, id_uppercat,
  4094. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4095. FROM piwigo_categories as c
  4096. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4097. LEFT JOIN piwigo_images AS i
  4098. ON ic.image_id = i.id
  4099. AND i.level<=0
  4100. GROUP BY c.id;
  4101. # Time: 140714 19:04:34
  4102. # User@Host: user[user] @ localhost []
  4103. # Query_time: 78.740614 Lock_time: 0.000110 Rows_sent: 1413 Rows_examined: 192801
  4104. SET timestamp=1405357474;
  4105. SELECT c.id AS cat_id, id_uppercat,
  4106. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4107. FROM piwigo_categories as c
  4108. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4109. LEFT JOIN piwigo_images AS i
  4110. ON ic.image_id = i.id
  4111. AND i.level<=0
  4112. GROUP BY c.id;
  4113. # Time: 140714 19:04:35
  4114. # User@Host: user[user] @ localhost []
  4115. # Query_time: 79.280801 Lock_time: 0.000093 Rows_sent: 1413 Rows_examined: 192801
  4116. SET timestamp=1405357475;
  4117. SELECT c.id AS cat_id, id_uppercat,
  4118. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4119. FROM piwigo_categories as c
  4120. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4121. LEFT JOIN piwigo_images AS i
  4122. ON ic.image_id = i.id
  4123. AND i.level<=0
  4124. GROUP BY c.id;
  4125. # Time: 140714 19:04:36
  4126. # User@Host: user[user] @ localhost []
  4127. # Query_time: 79.236816 Lock_time: 0.000137 Rows_sent: 1413 Rows_examined: 192801
  4128. SET timestamp=1405357476;
  4129. SELECT c.id AS cat_id, id_uppercat,
  4130. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4131. FROM piwigo_categories as c
  4132. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4133. LEFT JOIN piwigo_images AS i
  4134. ON ic.image_id = i.id
  4135. AND i.level<=0
  4136. GROUP BY c.id;
  4137. # User@Host: user[user] @ localhost []
  4138. # Query_time: 79.626648 Lock_time: 0.000079 Rows_sent: 1413 Rows_examined: 192801
  4139. SET timestamp=1405357476;
  4140. SELECT c.id AS cat_id, id_uppercat,
  4141. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4142. FROM piwigo_categories as c
  4143. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4144. LEFT JOIN piwigo_images AS i
  4145. ON ic.image_id = i.id
  4146. AND i.level<=0
  4147. GROUP BY c.id;
  4148. # User@Host: user[user] @ localhost []
  4149. # Query_time: 77.090326 Lock_time: 0.000247 Rows_sent: 1413 Rows_examined: 192801
  4150. SET timestamp=1405357476;
  4151. SELECT c.id AS cat_id, id_uppercat,
  4152. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4153. FROM piwigo_categories as c
  4154. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4155. LEFT JOIN piwigo_images AS i
  4156. ON ic.image_id = i.id
  4157. AND i.level<=0
  4158. GROUP BY c.id;
  4159. # Time: 140714 19:04:37
  4160. # User@Host: user[user] @ localhost []
  4161. # Query_time: 80.885660 Lock_time: 0.000099 Rows_sent: 1413 Rows_examined: 192801
  4162. SET timestamp=1405357477;
  4163. SELECT c.id AS cat_id, id_uppercat,
  4164. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4165. FROM piwigo_categories as c
  4166. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4167. LEFT JOIN piwigo_images AS i
  4168. ON ic.image_id = i.id
  4169. AND i.level<=0
  4170. GROUP BY c.id;
  4171. # User@Host: user[user] @ localhost []
  4172. # Query_time: 77.643160 Lock_time: 0.000272 Rows_sent: 1413 Rows_examined: 192801
  4173. SET timestamp=1405357477;
  4174. SELECT c.id AS cat_id, id_uppercat,
  4175. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4176. FROM piwigo_categories as c
  4177. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4178. LEFT JOIN piwigo_images AS i
  4179. ON ic.image_id = i.id
  4180. AND i.level<=0
  4181. GROUP BY c.id;
  4182. # Time: 140714 19:04:38
  4183. # User@Host: user[user] @ localhost []
  4184. # Query_time: 78.230761 Lock_time: 0.000182 Rows_sent: 1413 Rows_examined: 192801
  4185. SET timestamp=1405357478;
  4186. SELECT c.id AS cat_id, id_uppercat,
  4187. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4188. FROM piwigo_categories as c
  4189. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4190. LEFT JOIN piwigo_images AS i
  4191. ON ic.image_id = i.id
  4192. AND i.level<=0
  4193. GROUP BY c.id;
  4194. # User@Host: user[user] @ localhost []
  4195. # Query_time: 78.055119 Lock_time: 0.000161 Rows_sent: 1413 Rows_examined: 192801
  4196. SET timestamp=1405357478;
  4197. SELECT c.id AS cat_id, id_uppercat,
  4198. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4199. FROM piwigo_categories as c
  4200. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4201. LEFT JOIN piwigo_images AS i
  4202. ON ic.image_id = i.id
  4203. AND i.level<=0
  4204. GROUP BY c.id;
  4205. # Time: 140714 19:04:39
  4206. # User@Host: user[user] @ localhost []
  4207. # Query_time: 79.381536 Lock_time: 0.000181 Rows_sent: 1413 Rows_examined: 192801
  4208. SET timestamp=1405357479;
  4209. SELECT c.id AS cat_id, id_uppercat,
  4210. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4211. FROM piwigo_categories as c
  4212. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4213. LEFT JOIN piwigo_images AS i
  4214. ON ic.image_id = i.id
  4215. AND i.level<=0
  4216. GROUP BY c.id;
  4217. # User@Host: user[user] @ localhost []
  4218. # Query_time: 76.953343 Lock_time: 0.000184 Rows_sent: 1413 Rows_examined: 192801
  4219. SET timestamp=1405357479;
  4220. SELECT c.id AS cat_id, id_uppercat,
  4221. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4222. FROM piwigo_categories as c
  4223. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4224. LEFT JOIN piwigo_images AS i
  4225. ON ic.image_id = i.id
  4226. AND i.level<=0
  4227. GROUP BY c.id;
  4228. # Time: 140714 19:04:40
  4229. # User@Host: user[user] @ localhost []
  4230. # Query_time: 81.527122 Lock_time: 0.000181 Rows_sent: 1413 Rows_examined: 192801
  4231. SET timestamp=1405357480;
  4232. SELECT c.id AS cat_id, id_uppercat,
  4233. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4234. FROM piwigo_categories as c
  4235. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4236. LEFT JOIN piwigo_images AS i
  4237. ON ic.image_id = i.id
  4238. AND i.level<=0
  4239. GROUP BY c.id;
  4240. # User@Host: user[user] @ localhost []
  4241. # Query_time: 79.498297 Lock_time: 0.000283 Rows_sent: 1413 Rows_examined: 192801
  4242. SET timestamp=1405357480;
  4243. SELECT c.id AS cat_id, id_uppercat,
  4244. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4245. FROM piwigo_categories as c
  4246. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4247. LEFT JOIN piwigo_images AS i
  4248. ON ic.image_id = i.id
  4249. AND i.level<=0
  4250. GROUP BY c.id;
  4251. # User@Host: user[user] @ localhost []
  4252. # Query_time: 79.231404 Lock_time: 0.000177 Rows_sent: 1413 Rows_examined: 192801
  4253. SET timestamp=1405357480;
  4254. SELECT c.id AS cat_id, id_uppercat,
  4255. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4256. FROM piwigo_categories as c
  4257. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4258. LEFT JOIN piwigo_images AS i
  4259. ON ic.image_id = i.id
  4260. AND i.level<=0
  4261. GROUP BY c.id;
  4262. # Time: 140714 19:04:41
  4263. # User@Host: user[user] @ localhost []
  4264. # Query_time: 81.667827 Lock_time: 0.000196 Rows_sent: 1413 Rows_examined: 192801
  4265. SET timestamp=1405357481;
  4266. SELECT c.id AS cat_id, id_uppercat,
  4267. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4268. FROM piwigo_categories as c
  4269. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4270. LEFT JOIN piwigo_images AS i
  4271. ON ic.image_id = i.id
  4272. AND i.level<=0
  4273. GROUP BY c.id;
  4274. # User@Host: user[user] @ localhost []
  4275. # Query_time: 78.052356 Lock_time: 0.000150 Rows_sent: 511 Rows_examined: 191899
  4276. SET timestamp=1405357481;
  4277. SELECT c.id AS cat_id, id_uppercat,
  4278. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4279. FROM piwigo_categories as c
  4280. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4281. LEFT JOIN piwigo_images AS i
  4282. ON ic.image_id = i.id
  4283. AND i.level<=0
  4284. GROUP BY c.id;
  4285. # User@Host: user[user] @ localhost []
  4286. # Query_time: 82.413386 Lock_time: 0.000192 Rows_sent: 1413 Rows_examined: 192801
  4287. SET timestamp=1405357481;
  4288. SELECT c.id AS cat_id, id_uppercat,
  4289. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4290. FROM piwigo_categories as c
  4291. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4292. LEFT JOIN piwigo_images AS i
  4293. ON ic.image_id = i.id
  4294. AND i.level<=0
  4295. GROUP BY c.id;
  4296. # User@Host: user[user] @ localhost []
  4297. # Query_time: 78.882936 Lock_time: 0.000207 Rows_sent: 1413 Rows_examined: 192801
  4298. SET timestamp=1405357481;
  4299. SELECT c.id AS cat_id, id_uppercat,
  4300. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4301. FROM piwigo_categories as c
  4302. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4303. LEFT JOIN piwigo_images AS i
  4304. ON ic.image_id = i.id
  4305. AND i.level<=0
  4306. GROUP BY c.id;
  4307. # Time: 140714 19:04:42
  4308. # User@Host: user[user] @ localhost []
  4309. # Query_time: 80.640573 Lock_time: 0.000176 Rows_sent: 1413 Rows_examined: 192801
  4310. SET timestamp=1405357482;
  4311. SELECT c.id AS cat_id, id_uppercat,
  4312. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4313. FROM piwigo_categories as c
  4314. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4315. LEFT JOIN piwigo_images AS i
  4316. ON ic.image_id = i.id
  4317. AND i.level<=0
  4318. GROUP BY c.id;
  4319. # Time: 140714 19:04:43
  4320. # User@Host: user[user] @ localhost []
  4321. # Query_time: 78.843258 Lock_time: 0.000174 Rows_sent: 1413 Rows_examined: 192801
  4322. SET timestamp=1405357483;
  4323. SELECT c.id AS cat_id, id_uppercat,
  4324. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4325. FROM piwigo_categories as c
  4326. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4327. LEFT JOIN piwigo_images AS i
  4328. ON ic.image_id = i.id
  4329. AND i.level<=0
  4330. GROUP BY c.id;
  4331. # User@Host: user[user] @ localhost []
  4332. # Query_time: 78.886483 Lock_time: 0.000155 Rows_sent: 1413 Rows_examined: 192801
  4333. SET timestamp=1405357483;
  4334. SELECT c.id AS cat_id, id_uppercat,
  4335. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4336. FROM piwigo_categories as c
  4337. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4338. LEFT JOIN piwigo_images AS i
  4339. ON ic.image_id = i.id
  4340. AND i.level<=0
  4341. GROUP BY c.id;
  4342. # User@Host: user[user] @ localhost []
  4343. # Query_time: 79.221788 Lock_time: 0.000285 Rows_sent: 1413 Rows_examined: 192801
  4344. SET timestamp=1405357483;
  4345. SELECT c.id AS cat_id, id_uppercat,
  4346. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4347. FROM piwigo_categories as c
  4348. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4349. LEFT JOIN piwigo_images AS i
  4350. ON ic.image_id = i.id
  4351. AND i.level<=0
  4352. GROUP BY c.id;
  4353. # Time: 140714 19:04:44
  4354. # User@Host: user[user] @ localhost []
  4355. # Query_time: 80.508103 Lock_time: 0.000198 Rows_sent: 1413 Rows_examined: 192801
  4356. SET timestamp=1405357484;
  4357. SELECT c.id AS cat_id, id_uppercat,
  4358. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4359. FROM piwigo_categories as c
  4360. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4361. LEFT JOIN piwigo_images AS i
  4362. ON ic.image_id = i.id
  4363. AND i.level<=0
  4364. GROUP BY c.id;
  4365. # Time: 140714 19:04:45
  4366. # User@Host: user[user] @ localhost []
  4367. # Query_time: 79.147475 Lock_time: 0.000169 Rows_sent: 1413 Rows_examined: 192801
  4368. SET timestamp=1405357485;
  4369. SELECT c.id AS cat_id, id_uppercat,
  4370. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4371. FROM piwigo_categories as c
  4372. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4373. LEFT JOIN piwigo_images AS i
  4374. ON ic.image_id = i.id
  4375. AND i.level<=0
  4376. GROUP BY c.id;
  4377. # User@Host: user[user] @ localhost []
  4378. # Query_time: 80.092296 Lock_time: 0.000286 Rows_sent: 1413 Rows_examined: 192801
  4379. SET timestamp=1405357485;
  4380. SELECT c.id AS cat_id, id_uppercat,
  4381. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4382. FROM piwigo_categories as c
  4383. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4384. LEFT JOIN piwigo_images AS i
  4385. ON ic.image_id = i.id
  4386. AND i.level<=0
  4387. GROUP BY c.id;
  4388. # Time: 140714 19:04:46
  4389. # User@Host: user[user] @ localhost []
  4390. # Query_time: 80.497542 Lock_time: 0.000191 Rows_sent: 1413 Rows_examined: 192801
  4391. SET timestamp=1405357486;
  4392. SELECT c.id AS cat_id, id_uppercat,
  4393. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4394. FROM piwigo_categories as c
  4395. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4396. LEFT JOIN piwigo_images AS i
  4397. ON ic.image_id = i.id
  4398. AND i.level<=0
  4399. GROUP BY c.id;
  4400. # User@Host: user[user] @ localhost []
  4401. # Query_time: 76.195152 Lock_time: 0.000215 Rows_sent: 1413 Rows_examined: 192801
  4402. SET timestamp=1405357486;
  4403. SELECT c.id AS cat_id, id_uppercat,
  4404. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4405. FROM piwigo_categories as c
  4406. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4407. LEFT JOIN piwigo_images AS i
  4408. ON ic.image_id = i.id
  4409. AND i.level<=0
  4410. GROUP BY c.id;
  4411. # Time: 140714 19:04:47
  4412. # User@Host: user[user] @ localhost []
  4413. # Query_time: 79.033108 Lock_time: 0.000169 Rows_sent: 1413 Rows_examined: 192801
  4414. SET timestamp=1405357487;
  4415. SELECT c.id AS cat_id, id_uppercat,
  4416. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4417. FROM piwigo_categories as c
  4418. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4419. LEFT JOIN piwigo_images AS i
  4420. ON ic.image_id = i.id
  4421. AND i.level<=0
  4422. GROUP BY c.id;
  4423. # Time: 140714 19:04:48
  4424. # User@Host: user[user] @ localhost []
  4425. # Query_time: 76.607622 Lock_time: 0.000175 Rows_sent: 511 Rows_examined: 191899
  4426. SET timestamp=1405357488;
  4427. SELECT c.id AS cat_id, id_uppercat,
  4428. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4429. FROM piwigo_categories as c
  4430. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4431. LEFT JOIN piwigo_images AS i
  4432. ON ic.image_id = i.id
  4433. AND i.level<=0
  4434. GROUP BY c.id;
  4435. # Time: 140714 19:04:49
  4436. # User@Host: user[user] @ localhost []
  4437. # Query_time: 71.283862 Lock_time: 0.000209 Rows_sent: 1413 Rows_examined: 192801
  4438. SET timestamp=1405357489;
  4439. SELECT c.id AS cat_id, id_uppercat,
  4440. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4441. FROM piwigo_categories as c
  4442. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4443. LEFT JOIN piwigo_images AS i
  4444. ON ic.image_id = i.id
  4445. AND i.level<=0
  4446. GROUP BY c.id;
  4447. # User@Host: user[user] @ localhost []
  4448. # Query_time: 73.660635 Lock_time: 0.000192 Rows_sent: 511 Rows_examined: 191899
  4449. SET timestamp=1405357489;
  4450. SELECT c.id AS cat_id, id_uppercat,
  4451. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4452. FROM piwigo_categories as c
  4453. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4454. LEFT JOIN piwigo_images AS i
  4455. ON ic.image_id = i.id
  4456. AND i.level<=0
  4457. GROUP BY c.id;
  4458. # User@Host: user[user] @ localhost []
  4459. # Query_time: 77.392138 Lock_time: 0.000196 Rows_sent: 511 Rows_examined: 191899
  4460. SET timestamp=1405357489;
  4461. SELECT c.id AS cat_id, id_uppercat,
  4462. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4463. FROM piwigo_categories as c
  4464. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4465. LEFT JOIN piwigo_images AS i
  4466. ON ic.image_id = i.id
  4467. AND i.level<=0
  4468. GROUP BY c.id;
  4469. # User@Host: user[user] @ localhost []
  4470. # Query_time: 77.106371 Lock_time: 0.000142 Rows_sent: 511 Rows_examined: 191899
  4471. SET timestamp=1405357489;
  4472. SELECT c.id AS cat_id, id_uppercat,
  4473. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4474. FROM piwigo_categories as c
  4475. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4476. LEFT JOIN piwigo_images AS i
  4477. ON ic.image_id = i.id
  4478. AND i.level<=0
  4479. GROUP BY c.id;
  4480. # User@Host: user[user] @ localhost []
  4481. # Query_time: 79.891492 Lock_time: 0.000200 Rows_sent: 1413 Rows_examined: 192801
  4482. SET timestamp=1405357489;
  4483. SELECT c.id AS cat_id, id_uppercat,
  4484. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4485. FROM piwigo_categories as c
  4486. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4487. LEFT JOIN piwigo_images AS i
  4488. ON ic.image_id = i.id
  4489. AND i.level<=0
  4490. GROUP BY c.id;
  4491. # User@Host: user[user] @ localhost []
  4492. # Query_time: 78.073616 Lock_time: 0.000193 Rows_sent: 1413 Rows_examined: 192801
  4493. SET timestamp=1405357489;
  4494. SELECT c.id AS cat_id, id_uppercat,
  4495. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4496. FROM piwigo_categories as c
  4497. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4498. LEFT JOIN piwigo_images AS i
  4499. ON ic.image_id = i.id
  4500. AND i.level<=0
  4501. GROUP BY c.id;
  4502. # User@Host: user[user] @ localhost []
  4503. # Query_time: 77.150176 Lock_time: 0.000198 Rows_sent: 1413 Rows_examined: 192801
  4504. SET timestamp=1405357489;
  4505. SELECT c.id AS cat_id, id_uppercat,
  4506. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4507. FROM piwigo_categories as c
  4508. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4509. LEFT JOIN piwigo_images AS i
  4510. ON ic.image_id = i.id
  4511. AND i.level<=0
  4512. GROUP BY c.id;
  4513. # User@Host: user[user] @ localhost []
  4514. # Query_time: 75.990049 Lock_time: 0.000173 Rows_sent: 1413 Rows_examined: 192801
  4515. SET timestamp=1405357489;
  4516. SELECT c.id AS cat_id, id_uppercat,
  4517. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4518. FROM piwigo_categories as c
  4519. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4520. LEFT JOIN piwigo_images AS i
  4521. ON ic.image_id = i.id
  4522. AND i.level<=0
  4523. GROUP BY c.id;
  4524. # User@Host: user[user] @ localhost []
  4525. # Query_time: 74.489751 Lock_time: 0.000282 Rows_sent: 1413 Rows_examined: 192801
  4526. SET timestamp=1405357489;
  4527. SELECT c.id AS cat_id, id_uppercat,
  4528. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4529. FROM piwigo_categories as c
  4530. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4531. LEFT JOIN piwigo_images AS i
  4532. ON ic.image_id = i.id
  4533. AND i.level<=0
  4534. GROUP BY c.id;
  4535. # Time: 140714 19:04:50
  4536. # User@Host: user[user] @ localhost []
  4537. # Query_time: 76.737991 Lock_time: 0.000298 Rows_sent: 1413 Rows_examined: 192801
  4538. SET timestamp=1405357490;
  4539. SELECT c.id AS cat_id, id_uppercat,
  4540. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4541. FROM piwigo_categories as c
  4542. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4543. LEFT JOIN piwigo_images AS i
  4544. ON ic.image_id = i.id
  4545. AND i.level<=0
  4546. GROUP BY c.id;
  4547. # User@Host: user[user] @ localhost []
  4548. # Query_time: 74.721227 Lock_time: 0.000195 Rows_sent: 1413 Rows_examined: 192801
  4549. SET timestamp=1405357490;
  4550. SELECT c.id AS cat_id, id_uppercat,
  4551. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4552. FROM piwigo_categories as c
  4553. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4554. LEFT JOIN piwigo_images AS i
  4555. ON ic.image_id = i.id
  4556. AND i.level<=0
  4557. GROUP BY c.id;
  4558. # User@Host: user[user] @ localhost []
  4559. # Query_time: 73.346923 Lock_time: 0.000246 Rows_sent: 1413 Rows_examined: 192801
  4560. SET timestamp=1405357490;
  4561. SELECT c.id AS cat_id, id_uppercat,
  4562. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4563. FROM piwigo_categories as c
  4564. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4565. LEFT JOIN piwigo_images AS i
  4566. ON ic.image_id = i.id
  4567. AND i.level<=0
  4568. GROUP BY c.id;
  4569. # Time: 140714 19:04:51
  4570. # User@Host: user[user] @ localhost []
  4571. # Query_time: 74.150657 Lock_time: 0.000214 Rows_sent: 1413 Rows_examined: 192801
  4572. SET timestamp=1405357491;
  4573. SELECT c.id AS cat_id, id_uppercat,
  4574. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4575. FROM piwigo_categories as c
  4576. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4577. LEFT JOIN piwigo_images AS i
  4578. ON ic.image_id = i.id
  4579. AND i.level<=0
  4580. GROUP BY c.id;
  4581. # User@Host: user[user] @ localhost []
  4582. # Query_time: 73.782192 Lock_time: 0.000217 Rows_sent: 1413 Rows_examined: 192801
  4583. SET timestamp=1405357491;
  4584. SELECT c.id AS cat_id, id_uppercat,
  4585. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4586. FROM piwigo_categories as c
  4587. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4588. LEFT JOIN piwigo_images AS i
  4589. ON ic.image_id = i.id
  4590. AND i.level<=0
  4591. GROUP BY c.id;
  4592. # User@Host: user[user] @ localhost []
  4593. # Query_time: 74.936551 Lock_time: 0.000169 Rows_sent: 511 Rows_examined: 191899
  4594. SET timestamp=1405357491;
  4595. SELECT c.id AS cat_id, id_uppercat,
  4596. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4597. FROM piwigo_categories as c
  4598. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4599. LEFT JOIN piwigo_images AS i
  4600. ON ic.image_id = i.id
  4601. AND i.level<=0
  4602. GROUP BY c.id;
  4603. # User@Host: user[user] @ localhost []
  4604. # Query_time: 71.491433 Lock_time: 0.000200 Rows_sent: 511 Rows_examined: 191899
  4605. SET timestamp=1405357491;
  4606. SELECT c.id AS cat_id, id_uppercat,
  4607. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4608. FROM piwigo_categories as c
  4609. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4610. LEFT JOIN piwigo_images AS i
  4611. ON ic.image_id = i.id
  4612. AND i.level<=0
  4613. GROUP BY c.id;
  4614. # Time: 140714 19:04:52
  4615. # User@Host: user[user] @ localhost []
  4616. # Query_time: 73.362534 Lock_time: 0.000135 Rows_sent: 511 Rows_examined: 191899
  4617. SET timestamp=1405357492;
  4618. SELECT c.id AS cat_id, id_uppercat,
  4619. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4620. FROM piwigo_categories as c
  4621. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4622. LEFT JOIN piwigo_images AS i
  4623. ON ic.image_id = i.id
  4624. AND i.level<=0
  4625. GROUP BY c.id;
  4626. # User@Host: user[user] @ localhost []
  4627. # Query_time: 67.258386 Lock_time: 0.000138 Rows_sent: 511 Rows_examined: 191899
  4628. SET timestamp=1405357492;
  4629. SELECT c.id AS cat_id, id_uppercat,
  4630. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4631. FROM piwigo_categories as c
  4632. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4633. LEFT JOIN piwigo_images AS i
  4634. ON ic.image_id = i.id
  4635. AND i.level<=0
  4636. GROUP BY c.id;
  4637. # User@Host: user[user] @ localhost []
  4638. # Query_time: 72.232454 Lock_time: 0.000214 Rows_sent: 1413 Rows_examined: 192801
  4639. SET timestamp=1405357492;
  4640. SELECT c.id AS cat_id, id_uppercat,
  4641. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4642. FROM piwigo_categories as c
  4643. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4644. LEFT JOIN piwigo_images AS i
  4645. ON ic.image_id = i.id
  4646. AND i.level<=0
  4647. GROUP BY c.id;
  4648. # User@Host: user[user] @ localhost []
  4649. # Query_time: 71.276386 Lock_time: 0.000271 Rows_sent: 1413 Rows_examined: 192801
  4650. SET timestamp=1405357492;
  4651. SELECT c.id AS cat_id, id_uppercat,
  4652. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4653. FROM piwigo_categories as c
  4654. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4655. LEFT JOIN piwigo_images AS i
  4656. ON ic.image_id = i.id
  4657. AND i.level<=0
  4658. GROUP BY c.id;
  4659. # User@Host: user[user] @ localhost []
  4660. # Query_time: 72.353927 Lock_time: 0.000200 Rows_sent: 1413 Rows_examined: 192801
  4661. SET timestamp=1405357492;
  4662. SELECT c.id AS cat_id, id_uppercat,
  4663. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4664. FROM piwigo_categories as c
  4665. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4666. LEFT JOIN piwigo_images AS i
  4667. ON ic.image_id = i.id
  4668. AND i.level<=0
  4669. GROUP BY c.id;
  4670. # User@Host: user[user] @ localhost []
  4671. # Query_time: 74.270385 Lock_time: 0.000160 Rows_sent: 511 Rows_examined: 191899
  4672. SET timestamp=1405357492;
  4673. SELECT c.id AS cat_id, id_uppercat,
  4674. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4675. FROM piwigo_categories as c
  4676. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4677. LEFT JOIN piwigo_images AS i
  4678. ON ic.image_id = i.id
  4679. AND i.level<=0
  4680. GROUP BY c.id;
  4681. # User@Host: user[user] @ localhost []
  4682. # Query_time: 67.948586 Lock_time: 0.000115 Rows_sent: 511 Rows_examined: 191899
  4683. SET timestamp=1405357492;
  4684. SELECT c.id AS cat_id, id_uppercat,
  4685. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4686. FROM piwigo_categories as c
  4687. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4688. LEFT JOIN piwigo_images AS i
  4689. ON ic.image_id = i.id
  4690. AND i.level<=0
  4691. GROUP BY c.id;
  4692. # User@Host: user[user] @ localhost []
  4693. # Query_time: 69.209993 Lock_time: 0.000300 Rows_sent: 1413 Rows_examined: 192801
  4694. SET timestamp=1405357492;
  4695. SELECT c.id AS cat_id, id_uppercat,
  4696. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4697. FROM piwigo_categories as c
  4698. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4699. LEFT JOIN piwigo_images AS i
  4700. ON ic.image_id = i.id
  4701. AND i.level<=0
  4702. GROUP BY c.id;
  4703. # User@Host: user[user] @ localhost []
  4704. # Query_time: 69.034620 Lock_time: 0.000179 Rows_sent: 1413 Rows_examined: 192801
  4705. SET timestamp=1405357492;
  4706. SELECT c.id AS cat_id, id_uppercat,
  4707. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4708. FROM piwigo_categories as c
  4709. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4710. LEFT JOIN piwigo_images AS i
  4711. ON ic.image_id = i.id
  4712. AND i.level<=0
  4713. GROUP BY c.id;
  4714. # Time: 140714 19:04:53
  4715. # User@Host: user[user] @ localhost []
  4716. # Query_time: 71.670152 Lock_time: 0.000215 Rows_sent: 1413 Rows_examined: 192801
  4717. SET timestamp=1405357493;
  4718. SELECT c.id AS cat_id, id_uppercat,
  4719. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4720. FROM piwigo_categories as c
  4721. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4722. LEFT JOIN piwigo_images AS i
  4723. ON ic.image_id = i.id
  4724. AND i.level<=0
  4725. GROUP BY c.id;
  4726. # User@Host: user[user] @ localhost []
  4727. # Query_time: 68.549968 Lock_time: 0.000172 Rows_sent: 1413 Rows_examined: 192801
  4728. SET timestamp=1405357493;
  4729. SELECT c.id AS cat_id, id_uppercat,
  4730. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4731. FROM piwigo_categories as c
  4732. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4733. LEFT JOIN piwigo_images AS i
  4734. ON ic.image_id = i.id
  4735. AND i.level<=0
  4736. GROUP BY c.id;
  4737. # User@Host: user[user] @ localhost []
  4738. # Query_time: 71.212836 Lock_time: 0.000117 Rows_sent: 511 Rows_examined: 191899
  4739. SET timestamp=1405357493;
  4740. SELECT c.id AS cat_id, id_uppercat,
  4741. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4742. FROM piwigo_categories as c
  4743. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4744. LEFT JOIN piwigo_images AS i
  4745. ON ic.image_id = i.id
  4746. AND i.level<=0
  4747. GROUP BY c.id;
  4748. # User@Host: user[user] @ localhost []
  4749. # Query_time: 66.173779 Lock_time: 0.000155 Rows_sent: 511 Rows_examined: 191899
  4750. SET timestamp=1405357493;
  4751. SELECT c.id AS cat_id, id_uppercat,
  4752. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4753. FROM piwigo_categories as c
  4754. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4755. LEFT JOIN piwigo_images AS i
  4756. ON ic.image_id = i.id
  4757. AND i.level<=0
  4758. GROUP BY c.id;
  4759. # User@Host: user[user] @ localhost []
  4760. # Query_time: 67.247415 Lock_time: 0.000301 Rows_sent: 1413 Rows_examined: 192801
  4761. SET timestamp=1405357493;
  4762. SELECT c.id AS cat_id, id_uppercat,
  4763. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4764. FROM piwigo_categories as c
  4765. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4766. LEFT JOIN piwigo_images AS i
  4767. ON ic.image_id = i.id
  4768. AND i.level<=0
  4769. GROUP BY c.id;
  4770. # User@Host: user[user] @ localhost []
  4771. # Query_time: 66.066141 Lock_time: 0.000154 Rows_sent: 1413 Rows_examined: 192801
  4772. SET timestamp=1405357493;
  4773. SELECT c.id AS cat_id, id_uppercat,
  4774. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4775. FROM piwigo_categories as c
  4776. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4777. LEFT JOIN piwigo_images AS i
  4778. ON ic.image_id = i.id
  4779. AND i.level<=0
  4780. GROUP BY c.id;
  4781. # Time: 140714 19:04:54
  4782. # User@Host: user[user] @ localhost []
  4783. # Query_time: 61.868721 Lock_time: 0.000190 Rows_sent: 1413 Rows_examined: 192801
  4784. SET timestamp=1405357494;
  4785. SELECT c.id AS cat_id, id_uppercat,
  4786. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4787. FROM piwigo_categories as c
  4788. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4789. LEFT JOIN piwigo_images AS i
  4790. ON ic.image_id = i.id
  4791. AND i.level<=0
  4792. GROUP BY c.id;
  4793. # User@Host: user[user] @ localhost []
  4794. # Query_time: 65.445287 Lock_time: 0.000187 Rows_sent: 1413 Rows_examined: 192801
  4795. SET timestamp=1405357494;
  4796. SELECT c.id AS cat_id, id_uppercat,
  4797. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4798. FROM piwigo_categories as c
  4799. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4800. LEFT JOIN piwigo_images AS i
  4801. ON ic.image_id = i.id
  4802. AND i.level<=0
  4803. GROUP BY c.id;
  4804. # User@Host: user[user] @ localhost []
  4805. # Query_time: 56.578621 Lock_time: 0.000137 Rows_sent: 511 Rows_examined: 191899
  4806. SET timestamp=1405357494;
  4807. SELECT c.id AS cat_id, id_uppercat,
  4808. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4809. FROM piwigo_categories as c
  4810. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4811. LEFT JOIN piwigo_images AS i
  4812. ON ic.image_id = i.id
  4813. AND i.level<=0
  4814. GROUP BY c.id;
  4815. # User@Host: user[user] @ localhost []
  4816. # Query_time: 56.259507 Lock_time: 0.000264 Rows_sent: 1413 Rows_examined: 192801
  4817. SET timestamp=1405357494;
  4818. SELECT c.id AS cat_id, id_uppercat,
  4819. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4820. FROM piwigo_categories as c
  4821. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4822. LEFT JOIN piwigo_images AS i
  4823. ON ic.image_id = i.id
  4824. AND i.level<=0
  4825. GROUP BY c.id;
  4826. # User@Host: user[user] @ localhost []
  4827. # Query_time: 56.575291 Lock_time: 0.000130 Rows_sent: 511 Rows_examined: 191899
  4828. SET timestamp=1405357494;
  4829. SELECT c.id AS cat_id, id_uppercat,
  4830. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4831. FROM piwigo_categories as c
  4832. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4833. LEFT JOIN piwigo_images AS i
  4834. ON ic.image_id = i.id
  4835. AND i.level<=0
  4836. GROUP BY c.id;
  4837. # User@Host: user[user] @ localhost []
  4838. # Query_time: 40.226947 Lock_time: 0.000154 Rows_sent: 21 Rows_examined: 188585
  4839. SET timestamp=1405357494;
  4840. SELECT DISTINCT(id)
  4841. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  4842. WHERE category_id NOT IN (0)
  4843. AND level>0;
  4844. # User@Host: user[user] @ localhost []
  4845. # Query_time: 57.654059 Lock_time: 0.000134 Rows_sent: 511 Rows_examined: 191899
  4846. SET timestamp=1405357494;
  4847. SELECT c.id AS cat_id, id_uppercat,
  4848. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4849. FROM piwigo_categories as c
  4850. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4851. LEFT JOIN piwigo_images AS i
  4852. ON ic.image_id = i.id
  4853. AND i.level<=0
  4854. GROUP BY c.id;
  4855. # User@Host: user[user] @ localhost []
  4856. # Query_time: 56.864940 Lock_time: 0.000155 Rows_sent: 511 Rows_examined: 191899
  4857. SET timestamp=1405357494;
  4858. SELECT c.id AS cat_id, id_uppercat,
  4859. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4860. FROM piwigo_categories as c
  4861. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4862. LEFT JOIN piwigo_images AS i
  4863. ON ic.image_id = i.id
  4864. AND i.level<=0
  4865. GROUP BY c.id;
  4866. # User@Host: user[user] @ localhost []
  4867. # Query_time: 56.344742 Lock_time: 0.000177 Rows_sent: 511 Rows_examined: 191899
  4868. SET timestamp=1405357494;
  4869. SELECT c.id AS cat_id, id_uppercat,
  4870. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4871. FROM piwigo_categories as c
  4872. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4873. LEFT JOIN piwigo_images AS i
  4874. ON ic.image_id = i.id
  4875. AND i.level<=0
  4876. GROUP BY c.id;
  4877. # User@Host: user[user] @ localhost []
  4878. # Query_time: 59.781848 Lock_time: 0.000188 Rows_sent: 511 Rows_examined: 191899
  4879. SET timestamp=1405357494;
  4880. SELECT c.id AS cat_id, id_uppercat,
  4881. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4882. FROM piwigo_categories as c
  4883. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4884. LEFT JOIN piwigo_images AS i
  4885. ON ic.image_id = i.id
  4886. AND i.level<=0
  4887. GROUP BY c.id;
  4888. # Time: 140714 19:04:55
  4889. # User@Host: user[user] @ localhost []
  4890. # Query_time: 41.510502 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188585
  4891. SET timestamp=1405357495;
  4892. SELECT DISTINCT(id)
  4893. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  4894. WHERE category_id NOT IN (0)
  4895. AND level>0;
  4896. # User@Host: user[user] @ localhost []
  4897. # Query_time: 57.540104 Lock_time: 0.000147 Rows_sent: 511 Rows_examined: 191899
  4898. SET timestamp=1405357495;
  4899. SELECT c.id AS cat_id, id_uppercat,
  4900. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4901. FROM piwigo_categories as c
  4902. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4903. LEFT JOIN piwigo_images AS i
  4904. ON ic.image_id = i.id
  4905. AND i.level<=0
  4906. GROUP BY c.id;
  4907. # User@Host: user[user] @ localhost []
  4908. # Query_time: 54.171005 Lock_time: 0.000303 Rows_sent: 1413 Rows_examined: 192801
  4909. SET timestamp=1405357495;
  4910. SELECT c.id AS cat_id, id_uppercat,
  4911. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4912. FROM piwigo_categories as c
  4913. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4914. LEFT JOIN piwigo_images AS i
  4915. ON ic.image_id = i.id
  4916. AND i.level<=0
  4917. GROUP BY c.id;
  4918. # User@Host: user[user] @ localhost []
  4919. # Query_time: 55.457876 Lock_time: 0.000187 Rows_sent: 1413 Rows_examined: 192801
  4920. SET timestamp=1405357495;
  4921. SELECT c.id AS cat_id, id_uppercat,
  4922. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4923. FROM piwigo_categories as c
  4924. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4925. LEFT JOIN piwigo_images AS i
  4926. ON ic.image_id = i.id
  4927. AND i.level<=0
  4928. GROUP BY c.id;
  4929. # User@Host: user[user] @ localhost []
  4930. # Query_time: 50.681402 Lock_time: 0.000203 Rows_sent: 511 Rows_examined: 191899
  4931. SET timestamp=1405357495;
  4932. SELECT c.id AS cat_id, id_uppercat,
  4933. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4934. FROM piwigo_categories as c
  4935. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4936. LEFT JOIN piwigo_images AS i
  4937. ON ic.image_id = i.id
  4938. AND i.level<=0
  4939. GROUP BY c.id;
  4940. # User@Host: user[user] @ localhost []
  4941. # Query_time: 48.620122 Lock_time: 0.000165 Rows_sent: 511 Rows_examined: 191899
  4942. SET timestamp=1405357495;
  4943. SELECT c.id AS cat_id, id_uppercat,
  4944. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  4945. FROM piwigo_categories as c
  4946. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  4947. LEFT JOIN piwigo_images AS i
  4948. ON ic.image_id = i.id
  4949. AND i.level<=0
  4950. GROUP BY c.id;
  4951. # Time: 140714 19:05:24
  4952. # User@Host: user[user] @ localhost []
  4953. # Query_time: 19.254415 Lock_time: 0.000046 Rows_sent: 21 Rows_examined: 188587
  4954. SET timestamp=1405357524;
  4955. SELECT DISTINCT(id)
  4956. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  4957. WHERE category_id NOT IN (0)
  4958. AND level>0;
  4959. # Time: 140714 19:05:25
  4960. # User@Host: user[user] @ localhost []
  4961. # Query_time: 20.531968 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188587
  4962. SET timestamp=1405357525;
  4963. SELECT DISTINCT(id)
  4964. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  4965. WHERE category_id NOT IN (0)
  4966. AND level>0;
  4967. # User@Host: user[user] @ localhost []
  4968. # Query_time: 20.422901 Lock_time: 0.000071 Rows_sent: 21 Rows_examined: 188587
  4969. SET timestamp=1405357525;
  4970. SELECT DISTINCT(id)
  4971. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  4972. WHERE category_id NOT IN (0)
  4973. AND level>0;
  4974. # Time: 140714 19:05:27
  4975. # User@Host: user[user] @ localhost []
  4976. # Query_time: 22.267631 Lock_time: 0.000077 Rows_sent: 21 Rows_examined: 188587
  4977. SET timestamp=1405357527;
  4978. SELECT DISTINCT(id)
  4979. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  4980. WHERE category_id NOT IN (0)
  4981. AND level>0;
  4982. # Time: 140714 19:05:28
  4983. # User@Host: user[user] @ localhost []
  4984. # Query_time: 22.775489 Lock_time: 0.000074 Rows_sent: 21 Rows_examined: 188587
  4985. SET timestamp=1405357528;
  4986. SELECT DISTINCT(id)
  4987. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  4988. WHERE category_id NOT IN (0)
  4989. AND level>0;
  4990. # User@Host: user[user] @ localhost []
  4991. # Query_time: 22.570524 Lock_time: 0.000074 Rows_sent: 21 Rows_examined: 188587
  4992. SET timestamp=1405357528;
  4993. SELECT DISTINCT(id)
  4994. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  4995. WHERE category_id NOT IN (0)
  4996. AND level>0;
  4997. # Time: 140714 19:05:29
  4998. # User@Host: user[user] @ localhost []
  4999. # Query_time: 23.067004 Lock_time: 0.000074 Rows_sent: 21 Rows_examined: 188587
  5000. SET timestamp=1405357529;
  5001. SELECT DISTINCT(id)
  5002. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5003. WHERE category_id NOT IN (0)
  5004. AND level>0;
  5005. # User@Host: user[user] @ localhost []
  5006. # Query_time: 24.222051 Lock_time: 0.000055 Rows_sent: 21 Rows_examined: 188587
  5007. SET timestamp=1405357529;
  5008. SELECT DISTINCT(id)
  5009. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5010. WHERE category_id NOT IN (0)
  5011. AND level>0;
  5012. # Time: 140714 19:05:30
  5013. # User@Host: user[user] @ localhost []
  5014. # Query_time: 24.189974 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188587
  5015. SET timestamp=1405357530;
  5016. SELECT DISTINCT(id)
  5017. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5018. WHERE category_id NOT IN (0)
  5019. AND level>0;
  5020. # User@Host: user[user] @ localhost []
  5021. # Query_time: 24.298573 Lock_time: 0.000059 Rows_sent: 21 Rows_examined: 188587
  5022. SET timestamp=1405357530;
  5023. SELECT DISTINCT(id)
  5024. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5025. WHERE category_id NOT IN (0)
  5026. AND level>0;
  5027. # Time: 140714 19:05:31
  5028. # User@Host: user[user] @ localhost []
  5029. # Query_time: 25.070215 Lock_time: 0.000058 Rows_sent: 21 Rows_examined: 188587
  5030. SET timestamp=1405357531;
  5031. SELECT DISTINCT(id)
  5032. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5033. WHERE category_id NOT IN (0)
  5034. AND level>0;
  5035. # User@Host: user[user] @ localhost []
  5036. # Query_time: 25.554164 Lock_time: 0.000060 Rows_sent: 21 Rows_examined: 188587
  5037. SET timestamp=1405357531;
  5038. SELECT DISTINCT(id)
  5039. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5040. WHERE category_id NOT IN (0)
  5041. AND level>0;
  5042. # Time: 140714 19:05:32
  5043. # User@Host: user[user] @ localhost []
  5044. # Query_time: 25.451710 Lock_time: 0.000080 Rows_sent: 21 Rows_examined: 188587
  5045. SET timestamp=1405357532;
  5046. SELECT DISTINCT(id)
  5047. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5048. WHERE category_id NOT IN (0)
  5049. AND level>0;
  5050. # User@Host: user[user] @ localhost []
  5051. # Query_time: 25.854866 Lock_time: 0.000059 Rows_sent: 21 Rows_examined: 188587
  5052. SET timestamp=1405357532;
  5053. SELECT DISTINCT(id)
  5054. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5055. WHERE category_id NOT IN (0)
  5056. AND level>0;
  5057. # Time: 140714 19:05:33
  5058. # User@Host: user[user] @ localhost []
  5059. # Query_time: 26.568143 Lock_time: 0.000064 Rows_sent: 21 Rows_examined: 188587
  5060. SET timestamp=1405357533;
  5061. SELECT DISTINCT(id)
  5062. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5063. WHERE category_id NOT IN (0)
  5064. AND level>0;
  5065. # User@Host: user[user] @ localhost []
  5066. # Query_time: 25.671114 Lock_time: 0.000056 Rows_sent: 21 Rows_examined: 188587
  5067. SET timestamp=1405357533;
  5068. SELECT DISTINCT(id)
  5069. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5070. WHERE category_id NOT IN (0)
  5071. AND level>0;
  5072. # User@Host: user[user] @ localhost []
  5073. # Query_time: 26.958756 Lock_time: 0.000064 Rows_sent: 21 Rows_examined: 188587
  5074. SET timestamp=1405357533;
  5075. SELECT DISTINCT(id)
  5076. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5077. WHERE category_id NOT IN (0)
  5078. AND level>0;
  5079. # User@Host: user[user] @ localhost []
  5080. # Query_time: 27.452361 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188587
  5081. SET timestamp=1405357533;
  5082. SELECT DISTINCT(id)
  5083. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5084. WHERE category_id NOT IN (0)
  5085. AND level>0;
  5086. # User@Host: user[user] @ localhost []
  5087. # Query_time: 26.935600 Lock_time: 0.000081 Rows_sent: 21 Rows_examined: 188587
  5088. SET timestamp=1405357533;
  5089. SELECT DISTINCT(id)
  5090. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5091. WHERE category_id NOT IN (0)
  5092. AND level>0;
  5093. # Time: 140714 19:05:35
  5094. # User@Host: user[user] @ localhost []
  5095. # Query_time: 28.083143 Lock_time: 0.000058 Rows_sent: 21 Rows_examined: 188587
  5096. SET timestamp=1405357535;
  5097. SELECT DISTINCT(id)
  5098. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5099. WHERE category_id NOT IN (0)
  5100. AND level>0;
  5101. # User@Host: user[user] @ localhost []
  5102. # Query_time: 27.851981 Lock_time: 0.000077 Rows_sent: 21 Rows_examined: 188587
  5103. SET timestamp=1405357535;
  5104. SELECT DISTINCT(id)
  5105. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5106. WHERE category_id NOT IN (0)
  5107. AND level>0;
  5108. # User@Host: user[user] @ localhost []
  5109. # Query_time: 27.643649 Lock_time: 0.000079 Rows_sent: 21 Rows_examined: 188587
  5110. SET timestamp=1405357535;
  5111. SELECT DISTINCT(id)
  5112. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5113. WHERE category_id NOT IN (0)
  5114. AND level>0;
  5115. # User@Host: user[user] @ localhost []
  5116. # Query_time: 27.840026 Lock_time: 0.000050 Rows_sent: 21 Rows_examined: 188587
  5117. SET timestamp=1405357535;
  5118. SELECT DISTINCT(id)
  5119. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5120. WHERE category_id NOT IN (0)
  5121. AND level>0;
  5122. # User@Host: user[user] @ localhost []
  5123. # Query_time: 27.504038 Lock_time: 0.000064 Rows_sent: 21 Rows_examined: 188587
  5124. SET timestamp=1405357535;
  5125. SELECT DISTINCT(id)
  5126. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5127. WHERE category_id NOT IN (0)
  5128. AND level>0;
  5129. # Time: 140714 19:05:36
  5130. # User@Host: user[user] @ localhost []
  5131. # Query_time: 29.136923 Lock_time: 0.000075 Rows_sent: 21 Rows_examined: 188587
  5132. SET timestamp=1405357536;
  5133. SELECT DISTINCT(id)
  5134. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5135. WHERE category_id NOT IN (0)
  5136. AND level>0;
  5137. # Time: 140714 19:05:37
  5138. # User@Host: user[user] @ localhost []
  5139. # Query_time: 28.186072 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188587
  5140. SET timestamp=1405357537;
  5141. SELECT DISTINCT(id)
  5142. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5143. WHERE category_id NOT IN (0)
  5144. AND level>0;
  5145. # User@Host: user[user] @ localhost []
  5146. # Query_time: 27.641273 Lock_time: 0.000068 Rows_sent: 21 Rows_examined: 188587
  5147. SET timestamp=1405357537;
  5148. SELECT DISTINCT(id)
  5149. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5150. WHERE category_id NOT IN (0)
  5151. AND level>0;
  5152. # User@Host: user[user] @ localhost []
  5153. # Query_time: 29.767188 Lock_time: 0.000047 Rows_sent: 21 Rows_examined: 188587
  5154. SET timestamp=1405357537;
  5155. SELECT DISTINCT(id)
  5156. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5157. WHERE category_id NOT IN (0)
  5158. AND level>0;
  5159. # User@Host: user[user] @ localhost []
  5160. # Query_time: 29.035843 Lock_time: 0.000080 Rows_sent: 21 Rows_examined: 188587
  5161. SET timestamp=1405357537;
  5162. SELECT DISTINCT(id)
  5163. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5164. WHERE category_id NOT IN (0)
  5165. AND level>0;
  5166. # Time: 140714 19:05:40
  5167. # User@Host: user[user] @ localhost []
  5168. # Query_time: 28.756586 Lock_time: 0.000116 Rows_sent: 21 Rows_examined: 188587
  5169. SET timestamp=1405357540;
  5170. SELECT DISTINCT(id)
  5171. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5172. WHERE category_id NOT IN (0)
  5173. AND level>0;
  5174. # User@Host: user[user] @ localhost []
  5175. # Query_time: 30.204531 Lock_time: 0.000061 Rows_sent: 21 Rows_examined: 188587
  5176. SET timestamp=1405357540;
  5177. SELECT DISTINCT(id)
  5178. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5179. WHERE category_id NOT IN (0)
  5180. AND level>0;
  5181. # User@Host: user[user] @ localhost []
  5182. # Query_time: 28.509631 Lock_time: 0.000072 Rows_sent: 21 Rows_examined: 188587
  5183. SET timestamp=1405357540;
  5184. SELECT DISTINCT(id)
  5185. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5186. WHERE category_id NOT IN (0)
  5187. AND level>0;
  5188. # User@Host: user[user] @ localhost []
  5189. # Query_time: 29.603953 Lock_time: 0.000053 Rows_sent: 21 Rows_examined: 188587
  5190. SET timestamp=1405357540;
  5191. SELECT DISTINCT(id)
  5192. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5193. WHERE category_id NOT IN (0)
  5194. AND level>0;
  5195. # Time: 140714 19:05:43
  5196. # User@Host: user[user] @ localhost []
  5197. # Query_time: 28.004861 Lock_time: 0.000069 Rows_sent: 21 Rows_examined: 188587
  5198. SET timestamp=1405357543;
  5199. SELECT DISTINCT(id)
  5200. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5201. WHERE category_id NOT IN (0)
  5202. AND level>0;
  5203. # Time: 140714 19:05:48
  5204. # User@Host: user[user] @ localhost []
  5205. # Query_time: 27.336056 Lock_time: 0.000079 Rows_sent: 21 Rows_examined: 188587
  5206. SET timestamp=1405357548;
  5207. SELECT DISTINCT(id)
  5208. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5209. WHERE category_id NOT IN (0)
  5210. AND level>0;
  5211. # Time: 140714 19:05:56
  5212. # User@Host: user[user] @ localhost []
  5213. # Query_time: 30.879550 Lock_time: 0.000088 Rows_sent: 1413 Rows_examined: 192805
  5214. SET timestamp=1405357556;
  5215. SELECT c.id AS cat_id, id_uppercat,
  5216. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5217. FROM piwigo_categories as c
  5218. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5219. LEFT JOIN piwigo_images AS i
  5220. ON ic.image_id = i.id
  5221. AND i.level<=0
  5222. GROUP BY c.id;
  5223. # Time: 140714 19:05:57
  5224. # User@Host: user[user] @ localhost []
  5225. # Query_time: 29.850581 Lock_time: 0.000100 Rows_sent: 1413 Rows_examined: 192805
  5226. SET timestamp=1405357557;
  5227. SELECT c.id AS cat_id, id_uppercat,
  5228. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5229. FROM piwigo_categories as c
  5230. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5231. LEFT JOIN piwigo_images AS i
  5232. ON ic.image_id = i.id
  5233. AND i.level<=0
  5234. GROUP BY c.id;
  5235. # User@Host: user[user] @ localhost []
  5236. # Query_time: 30.493003 Lock_time: 0.000111 Rows_sent: 1413 Rows_examined: 192805
  5237. SET timestamp=1405357557;
  5238. SELECT c.id AS cat_id, id_uppercat,
  5239. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5240. FROM piwigo_categories as c
  5241. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5242. LEFT JOIN piwigo_images AS i
  5243. ON ic.image_id = i.id
  5244. AND i.level<=0
  5245. GROUP BY c.id;
  5246. # Time: 140714 19:05:59
  5247. # User@Host: user[user] @ localhost []
  5248. # Query_time: 31.990264 Lock_time: 0.000085 Rows_sent: 1413 Rows_examined: 192805
  5249. SET timestamp=1405357559;
  5250. SELECT c.id AS cat_id, id_uppercat,
  5251. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5252. FROM piwigo_categories as c
  5253. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5254. LEFT JOIN piwigo_images AS i
  5255. ON ic.image_id = i.id
  5256. AND i.level<=0
  5257. GROUP BY c.id;
  5258. # User@Host: user[user] @ localhost []
  5259. # Query_time: 31.139976 Lock_time: 0.000109 Rows_sent: 1413 Rows_examined: 192805
  5260. SET timestamp=1405357559;
  5261. SELECT c.id AS cat_id, id_uppercat,
  5262. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5263. FROM piwigo_categories as c
  5264. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5265. LEFT JOIN piwigo_images AS i
  5266. ON ic.image_id = i.id
  5267. AND i.level<=0
  5268. GROUP BY c.id;
  5269. # User@Host: user[user] @ localhost []
  5270. # Query_time: 30.632123 Lock_time: 0.000093 Rows_sent: 1413 Rows_examined: 192805
  5271. SET timestamp=1405357559;
  5272. SELECT c.id AS cat_id, id_uppercat,
  5273. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5274. FROM piwigo_categories as c
  5275. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5276. LEFT JOIN piwigo_images AS i
  5277. ON ic.image_id = i.id
  5278. AND i.level<=0
  5279. GROUP BY c.id;
  5280. # User@Host: user[user] @ localhost []
  5281. # Query_time: 30.361540 Lock_time: 0.000086 Rows_sent: 1413 Rows_examined: 192805
  5282. SET timestamp=1405357559;
  5283. SELECT c.id AS cat_id, id_uppercat,
  5284. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5285. FROM piwigo_categories as c
  5286. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5287. LEFT JOIN piwigo_images AS i
  5288. ON ic.image_id = i.id
  5289. AND i.level<=0
  5290. GROUP BY c.id;
  5291. # Time: 140714 19:06:00
  5292. # User@Host: user[user] @ localhost []
  5293. # Query_time: 31.807495 Lock_time: 0.000098 Rows_sent: 1413 Rows_examined: 192805
  5294. SET timestamp=1405357560;
  5295. SELECT c.id AS cat_id, id_uppercat,
  5296. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5297. FROM piwigo_categories as c
  5298. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5299. LEFT JOIN piwigo_images AS i
  5300. ON ic.image_id = i.id
  5301. AND i.level<=0
  5302. GROUP BY c.id;
  5303. # User@Host: user[user] @ localhost []
  5304. # Query_time: 30.070083 Lock_time: 0.000084 Rows_sent: 1413 Rows_examined: 192805
  5305. SET timestamp=1405357560;
  5306. SELECT c.id AS cat_id, id_uppercat,
  5307. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5308. FROM piwigo_categories as c
  5309. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5310. LEFT JOIN piwigo_images AS i
  5311. ON ic.image_id = i.id
  5312. AND i.level<=0
  5313. GROUP BY c.id;
  5314. # User@Host: user[user] @ localhost []
  5315. # Query_time: 30.380990 Lock_time: 0.000078 Rows_sent: 1413 Rows_examined: 192805
  5316. SET timestamp=1405357560;
  5317. SELECT c.id AS cat_id, id_uppercat,
  5318. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5319. FROM piwigo_categories as c
  5320. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5321. LEFT JOIN piwigo_images AS i
  5322. ON ic.image_id = i.id
  5323. AND i.level<=0
  5324. GROUP BY c.id;
  5325. # User@Host: user[user] @ localhost []
  5326. # Query_time: 29.629237 Lock_time: 0.000096 Rows_sent: 1413 Rows_examined: 192805
  5327. SET timestamp=1405357560;
  5328. SELECT c.id AS cat_id, id_uppercat,
  5329. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5330. FROM piwigo_categories as c
  5331. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5332. LEFT JOIN piwigo_images AS i
  5333. ON ic.image_id = i.id
  5334. AND i.level<=0
  5335. GROUP BY c.id;
  5336. # Time: 140714 19:06:01
  5337. # User@Host: user[user] @ localhost []
  5338. # Query_time: 30.099405 Lock_time: 0.000078 Rows_sent: 1413 Rows_examined: 192805
  5339. SET timestamp=1405357561;
  5340. SELECT c.id AS cat_id, id_uppercat,
  5341. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5342. FROM piwigo_categories as c
  5343. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5344. LEFT JOIN piwigo_images AS i
  5345. ON ic.image_id = i.id
  5346. AND i.level<=0
  5347. GROUP BY c.id;
  5348. # User@Host: user[user] @ localhost []
  5349. # Query_time: 29.743113 Lock_time: 0.000086 Rows_sent: 1413 Rows_examined: 192805
  5350. SET timestamp=1405357561;
  5351. SELECT c.id AS cat_id, id_uppercat,
  5352. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5353. FROM piwigo_categories as c
  5354. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5355. LEFT JOIN piwigo_images AS i
  5356. ON ic.image_id = i.id
  5357. AND i.level<=0
  5358. GROUP BY c.id;
  5359. # Time: 140714 19:06:02
  5360. # User@Host: user[user] @ localhost []
  5361. # Query_time: 29.247647 Lock_time: 0.000083 Rows_sent: 1413 Rows_examined: 192805
  5362. SET timestamp=1405357562;
  5363. SELECT c.id AS cat_id, id_uppercat,
  5364. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5365. FROM piwigo_categories as c
  5366. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5367. LEFT JOIN piwigo_images AS i
  5368. ON ic.image_id = i.id
  5369. AND i.level<=0
  5370. GROUP BY c.id;
  5371. # User@Host: user[user] @ localhost []
  5372. # Query_time: 28.466014 Lock_time: 0.000090 Rows_sent: 1413 Rows_examined: 192805
  5373. SET timestamp=1405357562;
  5374. SELECT c.id AS cat_id, id_uppercat,
  5375. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5376. FROM piwigo_categories as c
  5377. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5378. LEFT JOIN piwigo_images AS i
  5379. ON ic.image_id = i.id
  5380. AND i.level<=0
  5381. GROUP BY c.id;
  5382. # User@Host: user[user] @ localhost []
  5383. # Query_time: 28.640217 Lock_time: 0.000122 Rows_sent: 1413 Rows_examined: 192805
  5384. SET timestamp=1405357562;
  5385. SELECT c.id AS cat_id, id_uppercat,
  5386. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5387. FROM piwigo_categories as c
  5388. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5389. LEFT JOIN piwigo_images AS i
  5390. ON ic.image_id = i.id
  5391. AND i.level<=0
  5392. GROUP BY c.id;
  5393. # User@Host: user[user] @ localhost []
  5394. # Query_time: 29.659649 Lock_time: 0.000104 Rows_sent: 1413 Rows_examined: 192805
  5395. SET timestamp=1405357562;
  5396. SELECT c.id AS cat_id, id_uppercat,
  5397. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5398. FROM piwigo_categories as c
  5399. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5400. LEFT JOIN piwigo_images AS i
  5401. ON ic.image_id = i.id
  5402. AND i.level<=0
  5403. GROUP BY c.id;
  5404. # User@Host: user[user] @ localhost []
  5405. # Query_time: 29.246646 Lock_time: 0.000078 Rows_sent: 1413 Rows_examined: 192805
  5406. SET timestamp=1405357562;
  5407. SELECT c.id AS cat_id, id_uppercat,
  5408. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5409. FROM piwigo_categories as c
  5410. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5411. LEFT JOIN piwigo_images AS i
  5412. ON ic.image_id = i.id
  5413. AND i.level<=0
  5414. GROUP BY c.id;
  5415. # User@Host: user[user] @ localhost []
  5416. # Query_time: 28.604632 Lock_time: 0.000093 Rows_sent: 1413 Rows_examined: 192805
  5417. SET timestamp=1405357562;
  5418. SELECT c.id AS cat_id, id_uppercat,
  5419. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5420. FROM piwigo_categories as c
  5421. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5422. LEFT JOIN piwigo_images AS i
  5423. ON ic.image_id = i.id
  5424. AND i.level<=0
  5425. GROUP BY c.id;
  5426. # User@Host: user[user] @ localhost []
  5427. # Query_time: 27.770151 Lock_time: 0.000109 Rows_sent: 1413 Rows_examined: 192805
  5428. SET timestamp=1405357562;
  5429. SELECT c.id AS cat_id, id_uppercat,
  5430. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5431. FROM piwigo_categories as c
  5432. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5433. LEFT JOIN piwigo_images AS i
  5434. ON ic.image_id = i.id
  5435. AND i.level<=0
  5436. GROUP BY c.id;
  5437. # User@Host: user[user] @ localhost []
  5438. # Query_time: 27.420547 Lock_time: 0.000104 Rows_sent: 1413 Rows_examined: 192805
  5439. SET timestamp=1405357562;
  5440. SELECT c.id AS cat_id, id_uppercat,
  5441. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5442. FROM piwigo_categories as c
  5443. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5444. LEFT JOIN piwigo_images AS i
  5445. ON ic.image_id = i.id
  5446. AND i.level<=0
  5447. GROUP BY c.id;
  5448. # User@Host: user[user] @ localhost []
  5449. # Query_time: 27.787903 Lock_time: 0.000058 Rows_sent: 1413 Rows_examined: 192805
  5450. SET timestamp=1405357562;
  5451. SELECT c.id AS cat_id, id_uppercat,
  5452. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5453. FROM piwigo_categories as c
  5454. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5455. LEFT JOIN piwigo_images AS i
  5456. ON ic.image_id = i.id
  5457. AND i.level<=0
  5458. GROUP BY c.id;
  5459. # Time: 140714 19:06:03
  5460. # User@Host: user[user] @ localhost []
  5461. # Query_time: 27.910204 Lock_time: 0.000065 Rows_sent: 1413 Rows_examined: 192805
  5462. SET timestamp=1405357563;
  5463. SELECT c.id AS cat_id, id_uppercat,
  5464. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5465. FROM piwigo_categories as c
  5466. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5467. LEFT JOIN piwigo_images AS i
  5468. ON ic.image_id = i.id
  5469. AND i.level<=0
  5470. GROUP BY c.id;
  5471. # User@Host: user[user] @ localhost []
  5472. # Query_time: 27.773059 Lock_time: 0.000105 Rows_sent: 1413 Rows_examined: 192805
  5473. SET timestamp=1405357563;
  5474. SELECT c.id AS cat_id, id_uppercat,
  5475. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5476. FROM piwigo_categories as c
  5477. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5478. LEFT JOIN piwigo_images AS i
  5479. ON ic.image_id = i.id
  5480. AND i.level<=0
  5481. GROUP BY c.id;
  5482. # User@Host: user[user] @ localhost []
  5483. # Query_time: 26.719625 Lock_time: 0.000096 Rows_sent: 1413 Rows_examined: 192805
  5484. SET timestamp=1405357563;
  5485. SELECT c.id AS cat_id, id_uppercat,
  5486. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5487. FROM piwigo_categories as c
  5488. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5489. LEFT JOIN piwigo_images AS i
  5490. ON ic.image_id = i.id
  5491. AND i.level<=0
  5492. GROUP BY c.id;
  5493. # User@Host: user[user] @ localhost []
  5494. # Query_time: 26.234434 Lock_time: 0.001179 Rows_sent: 1413 Rows_examined: 192805
  5495. SET timestamp=1405357563;
  5496. SELECT c.id AS cat_id, id_uppercat,
  5497. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5498. FROM piwigo_categories as c
  5499. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5500. LEFT JOIN piwigo_images AS i
  5501. ON ic.image_id = i.id
  5502. AND i.level<=0
  5503. GROUP BY c.id;
  5504. # User@Host: user[user] @ localhost []
  5505. # Query_time: 25.906460 Lock_time: 0.000112 Rows_sent: 1413 Rows_examined: 192805
  5506. SET timestamp=1405357563;
  5507. SELECT c.id AS cat_id, id_uppercat,
  5508. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5509. FROM piwigo_categories as c
  5510. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5511. LEFT JOIN piwigo_images AS i
  5512. ON ic.image_id = i.id
  5513. AND i.level<=0
  5514. GROUP BY c.id;
  5515. # User@Host: user[user] @ localhost []
  5516. # Query_time: 25.697523 Lock_time: 0.000148 Rows_sent: 1413 Rows_examined: 192805
  5517. SET timestamp=1405357563;
  5518. SELECT c.id AS cat_id, id_uppercat,
  5519. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5520. FROM piwigo_categories as c
  5521. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5522. LEFT JOIN piwigo_images AS i
  5523. ON ic.image_id = i.id
  5524. AND i.level<=0
  5525. GROUP BY c.id;
  5526. # User@Host: user[user] @ localhost []
  5527. # Query_time: 25.960590 Lock_time: 0.000091 Rows_sent: 1413 Rows_examined: 192805
  5528. SET timestamp=1405357563;
  5529. SELECT c.id AS cat_id, id_uppercat,
  5530. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5531. FROM piwigo_categories as c
  5532. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5533. LEFT JOIN piwigo_images AS i
  5534. ON ic.image_id = i.id
  5535. AND i.level<=0
  5536. GROUP BY c.id;
  5537. # User@Host: user[user] @ localhost []
  5538. # Query_time: 23.454149 Lock_time: 0.000077 Rows_sent: 1413 Rows_examined: 192805
  5539. SET timestamp=1405357563;
  5540. SELECT c.id AS cat_id, id_uppercat,
  5541. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5542. FROM piwigo_categories as c
  5543. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5544. LEFT JOIN piwigo_images AS i
  5545. ON ic.image_id = i.id
  5546. AND i.level<=0
  5547. GROUP BY c.id;
  5548. # User@Host: user[user] @ localhost []
  5549. # Query_time: 23.026728 Lock_time: 0.000098 Rows_sent: 1413 Rows_examined: 192805
  5550. SET timestamp=1405357563;
  5551. SELECT c.id AS cat_id, id_uppercat,
  5552. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5553. FROM piwigo_categories as c
  5554. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5555. LEFT JOIN piwigo_images AS i
  5556. ON ic.image_id = i.id
  5557. AND i.level<=0
  5558. GROUP BY c.id;
  5559. # User@Host: user[user] @ localhost []
  5560. # Query_time: 23.478364 Lock_time: 0.000067 Rows_sent: 1413 Rows_examined: 192805
  5561. SET timestamp=1405357563;
  5562. SELECT c.id AS cat_id, id_uppercat,
  5563. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5564. FROM piwigo_categories as c
  5565. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5566. LEFT JOIN piwigo_images AS i
  5567. ON ic.image_id = i.id
  5568. AND i.level<=0
  5569. GROUP BY c.id;
  5570. # User@Host: user[user] @ localhost []
  5571. # Query_time: 23.628642 Lock_time: 0.000089 Rows_sent: 1413 Rows_examined: 192805
  5572. SET timestamp=1405357563;
  5573. SELECT c.id AS cat_id, id_uppercat,
  5574. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5575. FROM piwigo_categories as c
  5576. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5577. LEFT JOIN piwigo_images AS i
  5578. ON ic.image_id = i.id
  5579. AND i.level<=0
  5580. GROUP BY c.id;
  5581. # Time: 140714 19:06:04
  5582. # User@Host: user[user] @ localhost []
  5583. # Query_time: 20.227188 Lock_time: 0.000083 Rows_sent: 1413 Rows_examined: 192805
  5584. SET timestamp=1405357564;
  5585. SELECT c.id AS cat_id, id_uppercat,
  5586. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5587. FROM piwigo_categories as c
  5588. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5589. LEFT JOIN piwigo_images AS i
  5590. ON ic.image_id = i.id
  5591. AND i.level<=0
  5592. GROUP BY c.id;
  5593. # User@Host: user[user] @ localhost []
  5594. # Query_time: 16.148288 Lock_time: 0.000141 Rows_sent: 1413 Rows_examined: 192805
  5595. SET timestamp=1405357564;
  5596. SELECT c.id AS cat_id, id_uppercat,
  5597. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5598. FROM piwigo_categories as c
  5599. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5600. LEFT JOIN piwigo_images AS i
  5601. ON ic.image_id = i.id
  5602. AND i.level<=0
  5603. GROUP BY c.id;
  5604. /usr/sbin/mysqld, Version: 5.5.37-0+wheezy1-log ((Debian)). started with:
  5605. Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
  5606. Time Id Command Argument
  5607. # Time: 140714 19:06:56
  5608. # User@Host: user[user] @ localhost []
  5609. # Query_time: 14.324753 Lock_time: 0.299632 Rows_sent: 21 Rows_examined: 188583
  5610. use piwigal;
  5611. SET timestamp=1405357616;
  5612. SELECT DISTINCT(id)
  5613. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5614. WHERE category_id NOT IN (0)
  5615. AND level>0;
  5616. # Time: 140714 19:06:57
  5617. # User@Host: user[user] @ localhost []
  5618. # Query_time: 15.910607 Lock_time: 0.351676 Rows_sent: 21 Rows_examined: 188583
  5619. SET timestamp=1405357617;
  5620. SELECT DISTINCT(id)
  5621. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5622. WHERE category_id NOT IN (0)
  5623. AND level>0;
  5624. # Time: 140714 19:06:59
  5625. # User@Host: user[user] @ localhost []
  5626. # Query_time: 17.140936 Lock_time: 0.000156 Rows_sent: 21 Rows_examined: 188583
  5627. SET timestamp=1405357619;
  5628. SELECT DISTINCT(id)
  5629. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5630. WHERE category_id NOT IN (0)
  5631. AND level>0;
  5632. # Time: 140714 19:07:00
  5633. # User@Host: user[user] @ localhost []
  5634. # Query_time: 17.700385 Lock_time: 0.000156 Rows_sent: 21 Rows_examined: 188583
  5635. SET timestamp=1405357620;
  5636. SELECT DISTINCT(id)
  5637. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5638. WHERE category_id NOT IN (0)
  5639. AND level>0;
  5640. # User@Host: user[user] @ localhost []
  5641. # Query_time: 17.819690 Lock_time: 0.000088 Rows_sent: 21 Rows_examined: 188583
  5642. SET timestamp=1405357620;
  5643. SELECT DISTINCT(id)
  5644. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5645. WHERE category_id NOT IN (0)
  5646. AND level>0;
  5647. # User@Host: user[user] @ localhost []
  5648. # Query_time: 18.571590 Lock_time: 0.318973 Rows_sent: 1413 Rows_examined: 192801
  5649. SET timestamp=1405357620;
  5650. SELECT c.id AS cat_id, id_uppercat,
  5651. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5652. FROM piwigo_categories as c
  5653. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5654. LEFT JOIN piwigo_images AS i
  5655. ON ic.image_id = i.id
  5656. AND i.level<=0
  5657. GROUP BY c.id;
  5658. # User@Host: user[user] @ localhost []
  5659. # Query_time: 18.980428 Lock_time: 0.327016 Rows_sent: 1413 Rows_examined: 192801
  5660. SET timestamp=1405357620;
  5661. SELECT c.id AS cat_id, id_uppercat,
  5662. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5663. FROM piwigo_categories as c
  5664. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5665. LEFT JOIN piwigo_images AS i
  5666. ON ic.image_id = i.id
  5667. AND i.level<=0
  5668. GROUP BY c.id;
  5669. # Time: 140714 19:07:01
  5670. # User@Host: user[user] @ localhost []
  5671. # Query_time: 18.518557 Lock_time: 0.000196 Rows_sent: 21 Rows_examined: 188583
  5672. SET timestamp=1405357621;
  5673. SELECT DISTINCT(id)
  5674. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5675. WHERE category_id NOT IN (0)
  5676. AND level>0;
  5677. # User@Host: user[user] @ localhost []
  5678. # Query_time: 19.482515 Lock_time: 0.000495 Rows_sent: 1413 Rows_examined: 192801
  5679. SET timestamp=1405357621;
  5680. SELECT c.id AS cat_id, id_uppercat,
  5681. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5682. FROM piwigo_categories as c
  5683. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5684. LEFT JOIN piwigo_images AS i
  5685. ON ic.image_id = i.id
  5686. AND i.level<=0
  5687. GROUP BY c.id;
  5688. # Time: 140714 19:07:02
  5689. # User@Host: user[user] @ localhost []
  5690. # Query_time: 19.726996 Lock_time: 0.000105 Rows_sent: 21 Rows_examined: 188583
  5691. SET timestamp=1405357622;
  5692. SELECT DISTINCT(id)
  5693. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5694. WHERE category_id NOT IN (0)
  5695. AND level>0;
  5696. # Time: 140714 19:07:05
  5697. # User@Host: user[user] @ localhost []
  5698. # Query_time: 21.767262 Lock_time: 0.000172 Rows_sent: 21 Rows_examined: 188583
  5699. SET timestamp=1405357625;
  5700. SELECT DISTINCT(id)
  5701. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5702. WHERE category_id NOT IN (0)
  5703. AND level>0;
  5704. # Time: 140714 19:07:06
  5705. # User@Host: user[user] @ localhost []
  5706. # Query_time: 22.076973 Lock_time: 0.000192 Rows_sent: 21 Rows_examined: 188583
  5707. SET timestamp=1405357626;
  5708. SELECT DISTINCT(id)
  5709. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5710. WHERE category_id NOT IN (0)
  5711. AND level>0;
  5712. # User@Host: user[user] @ localhost []
  5713. # Query_time: 22.279394 Lock_time: 0.000153 Rows_sent: 21 Rows_examined: 188583
  5714. SET timestamp=1405357626;
  5715. SELECT DISTINCT(id)
  5716. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5717. WHERE category_id NOT IN (0)
  5718. AND level>0;
  5719. # Time: 140714 19:07:07
  5720. # User@Host: user[user] @ localhost []
  5721. # Query_time: 23.054737 Lock_time: 0.000192 Rows_sent: 21 Rows_examined: 188583
  5722. SET timestamp=1405357627;
  5723. SELECT DISTINCT(id)
  5724. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5725. WHERE category_id NOT IN (0)
  5726. AND level>0;
  5727. # Time: 140714 19:07:08
  5728. # User@Host: user[user] @ localhost []
  5729. # Query_time: 23.712897 Lock_time: 0.000193 Rows_sent: 21 Rows_examined: 188583
  5730. SET timestamp=1405357628;
  5731. SELECT DISTINCT(id)
  5732. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5733. WHERE category_id NOT IN (0)
  5734. AND level>0;
  5735. # User@Host: user[user] @ localhost []
  5736. # Query_time: 23.644396 Lock_time: 0.000113 Rows_sent: 21 Rows_examined: 188583
  5737. SET timestamp=1405357628;
  5738. SELECT DISTINCT(id)
  5739. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5740. WHERE category_id NOT IN (0)
  5741. AND level>0;
  5742. # User@Host: user[user] @ localhost []
  5743. # Query_time: 23.806177 Lock_time: 0.000124 Rows_sent: 21 Rows_examined: 188583
  5744. SET timestamp=1405357628;
  5745. SELECT DISTINCT(id)
  5746. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5747. WHERE category_id NOT IN (0)
  5748. AND level>0;
  5749. # Time: 140714 19:07:09
  5750. # User@Host: user[user] @ localhost []
  5751. # Query_time: 24.030016 Lock_time: 0.000170 Rows_sent: 21 Rows_examined: 188583
  5752. SET timestamp=1405357629;
  5753. SELECT DISTINCT(id)
  5754. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5755. WHERE category_id NOT IN (0)
  5756. AND level>0;
  5757. # User@Host: user[user] @ localhost []
  5758. # Query_time: 24.347233 Lock_time: 0.000180 Rows_sent: 21 Rows_examined: 188583
  5759. SET timestamp=1405357629;
  5760. SELECT DISTINCT(id)
  5761. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5762. WHERE category_id NOT IN (0)
  5763. AND level>0;
  5764. # User@Host: user[user] @ localhost []
  5765. # Query_time: 24.409619 Lock_time: 0.000114 Rows_sent: 21 Rows_examined: 188583
  5766. SET timestamp=1405357629;
  5767. SELECT DISTINCT(id)
  5768. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5769. WHERE category_id NOT IN (0)
  5770. AND level>0;
  5771. # User@Host: user[user] @ localhost []
  5772. # Query_time: 24.466941 Lock_time: 0.000080 Rows_sent: 21 Rows_examined: 188583
  5773. SET timestamp=1405357629;
  5774. SELECT DISTINCT(id)
  5775. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5776. WHERE category_id NOT IN (0)
  5777. AND level>0;
  5778. # User@Host: user[user] @ localhost []
  5779. # Query_time: 24.247510 Lock_time: 0.000189 Rows_sent: 21 Rows_examined: 188583
  5780. SET timestamp=1405357629;
  5781. SELECT DISTINCT(id)
  5782. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5783. WHERE category_id NOT IN (0)
  5784. AND level>0;
  5785. # Time: 140714 19:07:10
  5786. # User@Host: user[user] @ localhost []
  5787. # Query_time: 24.142746 Lock_time: 0.000133 Rows_sent: 21 Rows_examined: 188583
  5788. SET timestamp=1405357630;
  5789. SELECT DISTINCT(id)
  5790. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5791. WHERE category_id NOT IN (0)
  5792. AND level>0;
  5793. # User@Host: user[user] @ localhost []
  5794. # Query_time: 23.718981 Lock_time: 0.000158 Rows_sent: 21 Rows_examined: 188583
  5795. SET timestamp=1405357630;
  5796. SELECT DISTINCT(id)
  5797. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5798. WHERE category_id NOT IN (0)
  5799. AND level>0;
  5800. # Time: 140714 19:07:11
  5801. # User@Host: user[user] @ localhost []
  5802. # Query_time: 24.542024 Lock_time: 0.000223 Rows_sent: 21 Rows_examined: 188583
  5803. SET timestamp=1405357631;
  5804. SELECT DISTINCT(id)
  5805. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5806. WHERE category_id NOT IN (0)
  5807. AND level>0;
  5808. # User@Host: user[user] @ localhost []
  5809. # Query_time: 24.543840 Lock_time: 0.000163 Rows_sent: 21 Rows_examined: 188583
  5810. SET timestamp=1405357631;
  5811. SELECT DISTINCT(id)
  5812. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5813. WHERE category_id NOT IN (0)
  5814. AND level>0;
  5815. # User@Host: user[user] @ localhost []
  5816. # Query_time: 24.461577 Lock_time: 0.000155 Rows_sent: 21 Rows_examined: 188583
  5817. SET timestamp=1405357631;
  5818. SELECT DISTINCT(id)
  5819. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5820. WHERE category_id NOT IN (0)
  5821. AND level>0;
  5822. # User@Host: user[user] @ localhost []
  5823. # Query_time: 24.294862 Lock_time: 0.000179 Rows_sent: 21 Rows_examined: 188583
  5824. SET timestamp=1405357631;
  5825. SELECT DISTINCT(id)
  5826. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5827. WHERE category_id NOT IN (0)
  5828. AND level>0;
  5829. # User@Host: user[user] @ localhost []
  5830. # Query_time: 24.202065 Lock_time: 0.000176 Rows_sent: 21 Rows_examined: 188583
  5831. SET timestamp=1405357631;
  5832. SELECT DISTINCT(id)
  5833. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5834. WHERE category_id NOT IN (0)
  5835. AND level>0;
  5836. # Time: 140714 19:07:12
  5837. # User@Host: user[user] @ localhost []
  5838. # Query_time: 23.989884 Lock_time: 0.000182 Rows_sent: 21 Rows_examined: 188583
  5839. SET timestamp=1405357632;
  5840. SELECT DISTINCT(id)
  5841. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5842. WHERE category_id NOT IN (0)
  5843. AND level>0;
  5844. # User@Host: user[user] @ localhost []
  5845. # Query_time: 24.590078 Lock_time: 0.000124 Rows_sent: 21 Rows_examined: 188583
  5846. SET timestamp=1405357632;
  5847. SELECT DISTINCT(id)
  5848. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5849. WHERE category_id NOT IN (0)
  5850. AND level>0;
  5851. # Time: 140714 19:07:13
  5852. # User@Host: user[user] @ localhost []
  5853. # Query_time: 22.719637 Lock_time: 0.000136 Rows_sent: 21 Rows_examined: 188583
  5854. SET timestamp=1405357633;
  5855. SELECT DISTINCT(id)
  5856. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5857. WHERE category_id NOT IN (0)
  5858. AND level>0;
  5859. # User@Host: user[user] @ localhost []
  5860. # Query_time: 23.582984 Lock_time: 0.000186 Rows_sent: 21 Rows_examined: 188583
  5861. SET timestamp=1405357633;
  5862. SELECT DISTINCT(id)
  5863. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5864. WHERE category_id NOT IN (0)
  5865. AND level>0;
  5866. # User@Host: user[user] @ localhost []
  5867. # Query_time: 22.640773 Lock_time: 0.000171 Rows_sent: 21 Rows_examined: 188583
  5868. SET timestamp=1405357633;
  5869. SELECT DISTINCT(id)
  5870. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5871. WHERE category_id NOT IN (0)
  5872. AND level>0;
  5873. # User@Host: user[user] @ localhost []
  5874. # Query_time: 22.799749 Lock_time: 0.000119 Rows_sent: 21 Rows_examined: 188583
  5875. SET timestamp=1405357633;
  5876. SELECT DISTINCT(id)
  5877. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5878. WHERE category_id NOT IN (0)
  5879. AND level>0;
  5880. # User@Host: user[user] @ localhost []
  5881. # Query_time: 21.775146 Lock_time: 0.000210 Rows_sent: 21 Rows_examined: 188583
  5882. SET timestamp=1405357633;
  5883. SELECT DISTINCT(id)
  5884. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5885. WHERE category_id NOT IN (0)
  5886. AND level>0;
  5887. # User@Host: user[user] @ localhost []
  5888. # Query_time: 20.722796 Lock_time: 0.000134 Rows_sent: 21 Rows_examined: 188583
  5889. SET timestamp=1405357633;
  5890. SELECT DISTINCT(id)
  5891. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5892. WHERE category_id NOT IN (0)
  5893. AND level>0;
  5894. # User@Host: user[user] @ localhost []
  5895. # Query_time: 21.678999 Lock_time: 0.000122 Rows_sent: 21 Rows_examined: 188583
  5896. SET timestamp=1405357633;
  5897. SELECT DISTINCT(id)
  5898. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5899. WHERE category_id NOT IN (0)
  5900. AND level>0;
  5901. # User@Host: user[user] @ localhost []
  5902. # Query_time: 21.465825 Lock_time: 0.000149 Rows_sent: 21 Rows_examined: 188583
  5903. SET timestamp=1405357633;
  5904. SELECT DISTINCT(id)
  5905. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5906. WHERE category_id NOT IN (0)
  5907. AND level>0;
  5908. # Time: 140714 19:07:14
  5909. # User@Host: user[user] @ localhost []
  5910. # Query_time: 20.918234 Lock_time: 0.000132 Rows_sent: 21 Rows_examined: 188583
  5911. SET timestamp=1405357634;
  5912. SELECT DISTINCT(id)
  5913. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5914. WHERE category_id NOT IN (0)
  5915. AND level>0;
  5916. # User@Host: user[user] @ localhost []
  5917. # Query_time: 21.043754 Lock_time: 0.000217 Rows_sent: 21 Rows_examined: 188583
  5918. SET timestamp=1405357634;
  5919. SELECT DISTINCT(id)
  5920. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5921. WHERE category_id NOT IN (0)
  5922. AND level>0;
  5923. # User@Host: user[user] @ localhost []
  5924. # Query_time: 20.129053 Lock_time: 0.000188 Rows_sent: 21 Rows_examined: 188583
  5925. SET timestamp=1405357634;
  5926. SELECT DISTINCT(id)
  5927. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5928. WHERE category_id NOT IN (0)
  5929. AND level>0;
  5930. # User@Host: user[user] @ localhost []
  5931. # Query_time: 19.874637 Lock_time: 0.000139 Rows_sent: 21 Rows_examined: 188583
  5932. SET timestamp=1405357634;
  5933. SELECT DISTINCT(id)
  5934. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5935. WHERE category_id NOT IN (0)
  5936. AND level>0;
  5937. # User@Host: user[user] @ localhost []
  5938. # Query_time: 19.963523 Lock_time: 0.000204 Rows_sent: 21 Rows_examined: 188583
  5939. SET timestamp=1405357634;
  5940. SELECT DISTINCT(id)
  5941. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5942. WHERE category_id NOT IN (0)
  5943. AND level>0;
  5944. # User@Host: user[user] @ localhost []
  5945. # Query_time: 18.608536 Lock_time: 0.000209 Rows_sent: 21 Rows_examined: 188583
  5946. SET timestamp=1405357634;
  5947. SELECT DISTINCT(id)
  5948. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5949. WHERE category_id NOT IN (0)
  5950. AND level>0;
  5951. # User@Host: user[user] @ localhost []
  5952. # Query_time: 18.548953 Lock_time: 0.000194 Rows_sent: 21 Rows_examined: 188583
  5953. SET timestamp=1405357634;
  5954. SELECT DISTINCT(id)
  5955. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5956. WHERE category_id NOT IN (0)
  5957. AND level>0;
  5958. # User@Host: user[user] @ localhost []
  5959. # Query_time: 17.456669 Lock_time: 0.000131 Rows_sent: 21 Rows_examined: 188583
  5960. SET timestamp=1405357634;
  5961. SELECT DISTINCT(id)
  5962. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5963. WHERE category_id NOT IN (0)
  5964. AND level>0;
  5965. # User@Host: user[user] @ localhost []
  5966. # Query_time: 16.859211 Lock_time: 0.000129 Rows_sent: 21 Rows_examined: 188583
  5967. SET timestamp=1405357634;
  5968. SELECT DISTINCT(id)
  5969. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  5970. WHERE category_id NOT IN (0)
  5971. AND level>0;
  5972. # Time: 140714 19:07:32
  5973. # User@Host: gallery-dump[gallery-dump] @ localhost []
  5974. # Query_time: 15.085530 Lock_time: 3.146984 Rows_sent: 1001 Rows_examined: 90968
  5975. use gallery_dump_forum;
  5976. SET timestamp=1405357652;
  5977. SELECT DISTINCT t.topic_last_post_time, p.topic_id
  5978. FROM phpbb3_posts p, phpbb3_topics t
  5979. WHERE t.topic_replies = 0
  5980. AND t.topic_moved_id = 0
  5981. AND p.topic_id = t.topic_id
  5982.  
  5983. AND p.post_approved = 1
  5984. AND p.forum_id NOT IN (15, 17, 19, 20, 21)
  5985. ORDER BY t.topic_last_post_time DESC
  5986. LIMIT 1001;
  5987. # Time: 140714 19:07:44
  5988. # User@Host: user[user] @ localhost []
  5989. # Query_time: 32.064881 Lock_time: 1.720010 Rows_sent: 1413 Rows_examined: 192801
  5990. use piwigal;
  5991. SET timestamp=1405357664;
  5992. SELECT c.id AS cat_id, id_uppercat,
  5993. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  5994. FROM piwigo_categories as c
  5995. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  5996. LEFT JOIN piwigo_images AS i
  5997. ON ic.image_id = i.id
  5998. AND i.level<=0
  5999. GROUP BY c.id;
  6000. # Time: 140714 19:07:45
  6001. # User@Host: user[user] @ localhost []
  6002. # Query_time: 36.747649 Lock_time: 5.794557 Rows_sent: 1413 Rows_examined: 192801
  6003. SET timestamp=1405357665;
  6004. SELECT c.id AS cat_id, id_uppercat,
  6005. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6006. FROM piwigo_categories as c
  6007. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6008. LEFT JOIN piwigo_images AS i
  6009. ON ic.image_id = i.id
  6010. AND i.level<=0
  6011. GROUP BY c.id;
  6012. # User@Host: user[user] @ localhost []
  6013. # Query_time: 32.182678 Lock_time: 1.223208 Rows_sent: 1413 Rows_examined: 192801
  6014. SET timestamp=1405357665;
  6015. SELECT c.id AS cat_id, id_uppercat,
  6016. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6017. FROM piwigo_categories as c
  6018. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6019. LEFT JOIN piwigo_images AS i
  6020. ON ic.image_id = i.id
  6021. AND i.level<=0
  6022. GROUP BY c.id;
  6023. # User@Host: user[user] @ localhost []
  6024. # Query_time: 31.117468 Lock_time: 0.134718 Rows_sent: 1413 Rows_examined: 192801
  6025. SET timestamp=1405357665;
  6026. SELECT c.id AS cat_id, id_uppercat,
  6027. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6028. FROM piwigo_categories as c
  6029. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6030. LEFT JOIN piwigo_images AS i
  6031. ON ic.image_id = i.id
  6032. AND i.level<=0
  6033. GROUP BY c.id;
  6034. # User@Host: user[user] @ localhost []
  6035. # Query_time: 49.295195 Lock_time: 18.238590 Rows_sent: 1413 Rows_examined: 192801
  6036. SET timestamp=1405357665;
  6037. SELECT c.id AS cat_id, id_uppercat,
  6038. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6039. FROM piwigo_categories as c
  6040. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6041. LEFT JOIN piwigo_images AS i
  6042. ON ic.image_id = i.id
  6043. AND i.level<=0
  6044. GROUP BY c.id;
  6045. # User@Host: user[user] @ localhost []
  6046. # Query_time: 35.392227 Lock_time: 4.281426 Rows_sent: 1413 Rows_examined: 192801
  6047. SET timestamp=1405357665;
  6048. SELECT c.id AS cat_id, id_uppercat,
  6049. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6050. FROM piwigo_categories as c
  6051. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6052. LEFT JOIN piwigo_images AS i
  6053. ON ic.image_id = i.id
  6054. AND i.level<=0
  6055. GROUP BY c.id;
  6056. # User@Host: user[user] @ localhost []
  6057. # Query_time: 36.060863 Lock_time: 4.893625 Rows_sent: 1413 Rows_examined: 192801
  6058. SET timestamp=1405357665;
  6059. SELECT c.id AS cat_id, id_uppercat,
  6060. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6061. FROM piwigo_categories as c
  6062. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6063. LEFT JOIN piwigo_images AS i
  6064. ON ic.image_id = i.id
  6065. AND i.level<=0
  6066. GROUP BY c.id;
  6067. # User@Host: user[user] @ localhost []
  6068. # Query_time: 31.610721 Lock_time: 0.327396 Rows_sent: 1413 Rows_examined: 192801
  6069. SET timestamp=1405357665;
  6070. SELECT c.id AS cat_id, id_uppercat,
  6071. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6072. FROM piwigo_categories as c
  6073. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6074. LEFT JOIN piwigo_images AS i
  6075. ON ic.image_id = i.id
  6076. AND i.level<=0
  6077. GROUP BY c.id;
  6078. # User@Host: user[user] @ localhost []
  6079. # Query_time: 31.650513 Lock_time: 0.179667 Rows_sent: 1413 Rows_examined: 192801
  6080. SET timestamp=1405357665;
  6081. SELECT c.id AS cat_id, id_uppercat,
  6082. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6083. FROM piwigo_categories as c
  6084. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6085. LEFT JOIN piwigo_images AS i
  6086. ON ic.image_id = i.id
  6087. AND i.level<=0
  6088. GROUP BY c.id;
  6089. # User@Host: user[user] @ localhost []
  6090. # Query_time: 48.207249 Lock_time: 16.707307 Rows_sent: 1413 Rows_examined: 192801
  6091. SET timestamp=1405357665;
  6092. SELECT c.id AS cat_id, id_uppercat,
  6093. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6094. FROM piwigo_categories as c
  6095. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6096. LEFT JOIN piwigo_images AS i
  6097. ON ic.image_id = i.id
  6098. AND i.level<=0
  6099. GROUP BY c.id;
  6100. # User@Host: user[user] @ localhost []
  6101. # Query_time: 43.159246 Lock_time: 11.642696 Rows_sent: 1413 Rows_examined: 192801
  6102. SET timestamp=1405357665;
  6103. SELECT c.id AS cat_id, id_uppercat,
  6104. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6105. FROM piwigo_categories as c
  6106. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6107. LEFT JOIN piwigo_images AS i
  6108. ON ic.image_id = i.id
  6109. AND i.level<=0
  6110. GROUP BY c.id;
  6111. # User@Host: user[user] @ localhost []
  6112. # Query_time: 46.095465 Lock_time: 14.545780 Rows_sent: 1413 Rows_examined: 192801
  6113. SET timestamp=1405357665;
  6114. SELECT c.id AS cat_id, id_uppercat,
  6115. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6116. FROM piwigo_categories as c
  6117. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6118. LEFT JOIN piwigo_images AS i
  6119. ON ic.image_id = i.id
  6120. AND i.level<=0
  6121. GROUP BY c.id;
  6122. # User@Host: user[user] @ localhost []
  6123. # Query_time: 45.769883 Lock_time: 14.181520 Rows_sent: 1413 Rows_examined: 192801
  6124. SET timestamp=1405357665;
  6125. SELECT c.id AS cat_id, id_uppercat,
  6126. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6127. FROM piwigo_categories as c
  6128. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6129. LEFT JOIN piwigo_images AS i
  6130. ON ic.image_id = i.id
  6131. AND i.level<=0
  6132. GROUP BY c.id;
  6133. # User@Host: user[user] @ localhost []
  6134. # Query_time: 32.966569 Lock_time: 1.373176 Rows_sent: 1413 Rows_examined: 192801
  6135. SET timestamp=1405357665;
  6136. SELECT c.id AS cat_id, id_uppercat,
  6137. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6138. FROM piwigo_categories as c
  6139. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6140. LEFT JOIN piwigo_images AS i
  6141. ON ic.image_id = i.id
  6142. AND i.level<=0
  6143. GROUP BY c.id;
  6144. # User@Host: user[user] @ localhost []
  6145. # Query_time: 32.337147 Lock_time: 0.737167 Rows_sent: 1413 Rows_examined: 192801
  6146. SET timestamp=1405357665;
  6147. SELECT c.id AS cat_id, id_uppercat,
  6148. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6149. FROM piwigo_categories as c
  6150. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6151. LEFT JOIN piwigo_images AS i
  6152. ON ic.image_id = i.id
  6153. AND i.level<=0
  6154. GROUP BY c.id;
  6155. # Time: 140714 19:07:46
  6156. # User@Host: user[user] @ localhost []
  6157. # Query_time: 32.222030 Lock_time: 0.580477 Rows_sent: 1413 Rows_examined: 192801
  6158. SET timestamp=1405357666;
  6159. SELECT c.id AS cat_id, id_uppercat,
  6160. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6161. FROM piwigo_categories as c
  6162. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6163. LEFT JOIN piwigo_images AS i
  6164. ON ic.image_id = i.id
  6165. AND i.level<=0
  6166. GROUP BY c.id;
  6167. # User@Host: user[user] @ localhost []
  6168. # Query_time: 39.970838 Lock_time: 8.309524 Rows_sent: 1413 Rows_examined: 192801
  6169. SET timestamp=1405357666;
  6170. SELECT c.id AS cat_id, id_uppercat,
  6171. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6172. FROM piwigo_categories as c
  6173. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6174. LEFT JOIN piwigo_images AS i
  6175. ON ic.image_id = i.id
  6176. AND i.level<=0
  6177. GROUP BY c.id;
  6178. # User@Host: user[user] @ localhost []
  6179. # Query_time: 46.475857 Lock_time: 14.788589 Rows_sent: 1413 Rows_examined: 192801
  6180. SET timestamp=1405357666;
  6181. SELECT c.id AS cat_id, id_uppercat,
  6182. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6183. FROM piwigo_categories as c
  6184. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6185. LEFT JOIN piwigo_images AS i
  6186. ON ic.image_id = i.id
  6187. AND i.level<=0
  6188. GROUP BY c.id;
  6189. # User@Host: user[user] @ localhost []
  6190. # Query_time: 31.799624 Lock_time: 0.085919 Rows_sent: 1413 Rows_examined: 192801
  6191. SET timestamp=1405357666;
  6192. SELECT c.id AS cat_id, id_uppercat,
  6193. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6194. FROM piwigo_categories as c
  6195. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6196. LEFT JOIN piwigo_images AS i
  6197. ON ic.image_id = i.id
  6198. AND i.level<=0
  6199. GROUP BY c.id;
  6200. # User@Host: user[user] @ localhost []
  6201. # Query_time: 47.359557 Lock_time: 15.643183 Rows_sent: 1413 Rows_examined: 192801
  6202. SET timestamp=1405357666;
  6203. SELECT c.id AS cat_id, id_uppercat,
  6204. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6205. FROM piwigo_categories as c
  6206. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6207. LEFT JOIN piwigo_images AS i
  6208. ON ic.image_id = i.id
  6209. AND i.level<=0
  6210. GROUP BY c.id;
  6211. # User@Host: user[user] @ localhost []
  6212. # Query_time: 36.526310 Lock_time: 4.760528 Rows_sent: 1413 Rows_examined: 192801
  6213. SET timestamp=1405357666;
  6214. SELECT c.id AS cat_id, id_uppercat,
  6215. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6216. FROM piwigo_categories as c
  6217. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6218. LEFT JOIN piwigo_images AS i
  6219. ON ic.image_id = i.id
  6220. AND i.level<=0
  6221. GROUP BY c.id;
  6222. # User@Host: user[user] @ localhost []
  6223. # Query_time: 33.055189 Lock_time: 1.283674 Rows_sent: 1413 Rows_examined: 192801
  6224. SET timestamp=1405357666;
  6225. SELECT c.id AS cat_id, id_uppercat,
  6226. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6227. FROM piwigo_categories as c
  6228. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6229. LEFT JOIN piwigo_images AS i
  6230. ON ic.image_id = i.id
  6231. AND i.level<=0
  6232. GROUP BY c.id;
  6233. # User@Host: user[user] @ localhost []
  6234. # Query_time: 34.574917 Lock_time: 2.773851 Rows_sent: 1413 Rows_examined: 192801
  6235. SET timestamp=1405357666;
  6236. SELECT c.id AS cat_id, id_uppercat,
  6237. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6238. FROM piwigo_categories as c
  6239. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6240. LEFT JOIN piwigo_images AS i
  6241. ON ic.image_id = i.id
  6242. AND i.level<=0
  6243. GROUP BY c.id;
  6244. # User@Host: user[user] @ localhost []
  6245. # Query_time: 32.153674 Lock_time: 0.349300 Rows_sent: 1413 Rows_examined: 192801
  6246. SET timestamp=1405357666;
  6247. SELECT c.id AS cat_id, id_uppercat,
  6248. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6249. FROM piwigo_categories as c
  6250. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6251. LEFT JOIN piwigo_images AS i
  6252. ON ic.image_id = i.id
  6253. AND i.level<=0
  6254. GROUP BY c.id;
  6255. # User@Host: user[user] @ localhost []
  6256. # Query_time: 37.426343 Lock_time: 5.614069 Rows_sent: 1413 Rows_examined: 192801
  6257. SET timestamp=1405357666;
  6258. SELECT c.id AS cat_id, id_uppercat,
  6259. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6260. FROM piwigo_categories as c
  6261. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6262. LEFT JOIN piwigo_images AS i
  6263. ON ic.image_id = i.id
  6264. AND i.level<=0
  6265. GROUP BY c.id;
  6266. # User@Host: user[user] @ localhost []
  6267. # Query_time: 46.199230 Lock_time: 14.278784 Rows_sent: 1413 Rows_examined: 192801
  6268. SET timestamp=1405357666;
  6269. SELECT c.id AS cat_id, id_uppercat,
  6270. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6271. FROM piwigo_categories as c
  6272. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6273. LEFT JOIN piwigo_images AS i
  6274. ON ic.image_id = i.id
  6275. AND i.level<=0
  6276. GROUP BY c.id;
  6277. # User@Host: user[user] @ localhost []
  6278. # Query_time: 35.618027 Lock_time: 3.656911 Rows_sent: 1413 Rows_examined: 192801
  6279. SET timestamp=1405357666;
  6280. SELECT c.id AS cat_id, id_uppercat,
  6281. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6282. FROM piwigo_categories as c
  6283. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6284. LEFT JOIN piwigo_images AS i
  6285. ON ic.image_id = i.id
  6286. AND i.level<=0
  6287. GROUP BY c.id;
  6288. # User@Host: user[user] @ localhost []
  6289. # Query_time: 39.667757 Lock_time: 7.694904 Rows_sent: 1413 Rows_examined: 192801
  6290. SET timestamp=1405357666;
  6291. SELECT c.id AS cat_id, id_uppercat,
  6292. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6293. FROM piwigo_categories as c
  6294. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6295. LEFT JOIN piwigo_images AS i
  6296. ON ic.image_id = i.id
  6297. AND i.level<=0
  6298. GROUP BY c.id;
  6299. # User@Host: user[user] @ localhost []
  6300. # Query_time: 32.763681 Lock_time: 0.790569 Rows_sent: 1413 Rows_examined: 192801
  6301. SET timestamp=1405357666;
  6302. SELECT c.id AS cat_id, id_uppercat,
  6303. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6304. FROM piwigo_categories as c
  6305. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6306. LEFT JOIN piwigo_images AS i
  6307. ON ic.image_id = i.id
  6308. AND i.level<=0
  6309. GROUP BY c.id;
  6310. # User@Host: user[user] @ localhost []
  6311. # Query_time: 34.950931 Lock_time: 2.939145 Rows_sent: 1413 Rows_examined: 192801
  6312. SET timestamp=1405357666;
  6313. SELECT c.id AS cat_id, id_uppercat,
  6314. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6315. FROM piwigo_categories as c
  6316. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6317. LEFT JOIN piwigo_images AS i
  6318. ON ic.image_id = i.id
  6319. AND i.level<=0
  6320. GROUP BY c.id;
  6321. # User@Host: user[user] @ localhost []
  6322. # Query_time: 35.285435 Lock_time: 3.270515 Rows_sent: 1413 Rows_examined: 192801
  6323. SET timestamp=1405357666;
  6324. SELECT c.id AS cat_id, id_uppercat,
  6325. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6326. FROM piwigo_categories as c
  6327. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6328. LEFT JOIN piwigo_images AS i
  6329. ON ic.image_id = i.id
  6330. AND i.level<=0
  6331. GROUP BY c.id;
  6332. # User@Host: user[user] @ localhost []
  6333. # Query_time: 37.399671 Lock_time: 5.381910 Rows_sent: 1413 Rows_examined: 192801
  6334. SET timestamp=1405357666;
  6335. SELECT c.id AS cat_id, id_uppercat,
  6336. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6337. FROM piwigo_categories as c
  6338. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6339. LEFT JOIN piwigo_images AS i
  6340. ON ic.image_id = i.id
  6341. AND i.level<=0
  6342. GROUP BY c.id;
  6343. # User@Host: user[user] @ localhost []
  6344. # Query_time: 34.922128 Lock_time: 2.895432 Rows_sent: 1413 Rows_examined: 192801
  6345. SET timestamp=1405357666;
  6346. SELECT c.id AS cat_id, id_uppercat,
  6347. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6348. FROM piwigo_categories as c
  6349. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6350. LEFT JOIN piwigo_images AS i
  6351. ON ic.image_id = i.id
  6352. AND i.level<=0
  6353. GROUP BY c.id;
  6354. # User@Host: user[user] @ localhost []
  6355. # Query_time: 40.793174 Lock_time: 8.763528 Rows_sent: 1413 Rows_examined: 192801
  6356. SET timestamp=1405357666;
  6357. SELECT c.id AS cat_id, id_uppercat,
  6358. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6359. FROM piwigo_categories as c
  6360. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6361. LEFT JOIN piwigo_images AS i
  6362. ON ic.image_id = i.id
  6363. AND i.level<=0
  6364. GROUP BY c.id;
  6365. # User@Host: user[user] @ localhost []
  6366. # Query_time: 32.188798 Lock_time: 0.157860 Rows_sent: 1413 Rows_examined: 192801
  6367. SET timestamp=1405357666;
  6368. SELECT c.id AS cat_id, id_uppercat,
  6369. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6370. FROM piwigo_categories as c
  6371. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6372. LEFT JOIN piwigo_images AS i
  6373. ON ic.image_id = i.id
  6374. AND i.level<=0
  6375. GROUP BY c.id;
  6376. # User@Host: user[user] @ localhost []
  6377. # Query_time: 34.779022 Lock_time: 2.732052 Rows_sent: 1413 Rows_examined: 192801
  6378. SET timestamp=1405357666;
  6379. SELECT c.id AS cat_id, id_uppercat,
  6380. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6381. FROM piwigo_categories as c
  6382. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6383. LEFT JOIN piwigo_images AS i
  6384. ON ic.image_id = i.id
  6385. AND i.level<=0
  6386. GROUP BY c.id;
  6387. # User@Host: user[user] @ localhost []
  6388. # Query_time: 32.089930 Lock_time: 0.016958 Rows_sent: 1413 Rows_examined: 192801
  6389. SET timestamp=1405357666;
  6390. SELECT c.id AS cat_id, id_uppercat,
  6391. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6392. FROM piwigo_categories as c
  6393. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6394. LEFT JOIN piwigo_images AS i
  6395. ON ic.image_id = i.id
  6396. AND i.level<=0
  6397. GROUP BY c.id;
  6398. # User@Host: user[user] @ localhost []
  6399. # Query_time: 33.851998 Lock_time: 1.772179 Rows_sent: 1413 Rows_examined: 192801
  6400. SET timestamp=1405357666;
  6401. SELECT c.id AS cat_id, id_uppercat,
  6402. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6403. FROM piwigo_categories as c
  6404. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6405. LEFT JOIN piwigo_images AS i
  6406. ON ic.image_id = i.id
  6407. AND i.level<=0
  6408. GROUP BY c.id;
  6409. # User@Host: user[user] @ localhost []
  6410. # Query_time: 46.773041 Lock_time: 14.682611 Rows_sent: 1413 Rows_examined: 192801
  6411. SET timestamp=1405357666;
  6412. SELECT c.id AS cat_id, id_uppercat,
  6413. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6414. FROM piwigo_categories as c
  6415. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6416. LEFT JOIN piwigo_images AS i
  6417. ON ic.image_id = i.id
  6418. AND i.level<=0
  6419. GROUP BY c.id;
  6420. # User@Host: user[user] @ localhost []
  6421. # Query_time: 32.635600 Lock_time: 0.546741 Rows_sent: 1413 Rows_examined: 192801
  6422. SET timestamp=1405357666;
  6423. SELECT c.id AS cat_id, id_uppercat,
  6424. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6425. FROM piwigo_categories as c
  6426. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6427. LEFT JOIN piwigo_images AS i
  6428. ON ic.image_id = i.id
  6429. AND i.level<=0
  6430. GROUP BY c.id;
  6431. # User@Host: user[user] @ localhost []
  6432. # Query_time: 32.302464 Lock_time: 0.209080 Rows_sent: 1413 Rows_examined: 192801
  6433. SET timestamp=1405357666;
  6434. SELECT c.id AS cat_id, id_uppercat,
  6435. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6436. FROM piwigo_categories as c
  6437. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6438. LEFT JOIN piwigo_images AS i
  6439. ON ic.image_id = i.id
  6440. AND i.level<=0
  6441. GROUP BY c.id;
  6442. # User@Host: user[user] @ localhost []
  6443. # Query_time: 36.947497 Lock_time: 4.850916 Rows_sent: 1413 Rows_examined: 192801
  6444. SET timestamp=1405357666;
  6445. SELECT c.id AS cat_id, id_uppercat,
  6446. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6447. FROM piwigo_categories as c
  6448. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6449. LEFT JOIN piwigo_images AS i
  6450. ON ic.image_id = i.id
  6451. AND i.level<=0
  6452. GROUP BY c.id;
  6453. # User@Host: user[user] @ localhost []
  6454. # Query_time: 32.101557 Lock_time: 0.021011 Rows_sent: 1413 Rows_examined: 192801
  6455. SET timestamp=1405357666;
  6456. SELECT c.id AS cat_id, id_uppercat,
  6457. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6458. FROM piwigo_categories as c
  6459. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6460. LEFT JOIN piwigo_images AS i
  6461. ON ic.image_id = i.id
  6462. AND i.level<=0
  6463. GROUP BY c.id;
  6464. # User@Host: user[user] @ localhost []
  6465. # Query_time: 48.267228 Lock_time: 16.164925 Rows_sent: 1413 Rows_examined: 192801
  6466. SET timestamp=1405357666;
  6467. SELECT c.id AS cat_id, id_uppercat,
  6468. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6469. FROM piwigo_categories as c
  6470. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6471. LEFT JOIN piwigo_images AS i
  6472. ON ic.image_id = i.id
  6473. AND i.level<=0
  6474. GROUP BY c.id;
  6475. # User@Host: user[user] @ localhost []
  6476. # Query_time: 32.730856 Lock_time: 0.625247 Rows_sent: 1413 Rows_examined: 192801
  6477. SET timestamp=1405357666;
  6478. SELECT c.id AS cat_id, id_uppercat,
  6479. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6480. FROM piwigo_categories as c
  6481. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6482. LEFT JOIN piwigo_images AS i
  6483. ON ic.image_id = i.id
  6484. AND i.level<=0
  6485. GROUP BY c.id;
  6486. # User@Host: user[user] @ localhost []
  6487. # Query_time: 39.061007 Lock_time: 6.786829 Rows_sent: 1413 Rows_examined: 192801
  6488. SET timestamp=1405357666;
  6489. SELECT c.id AS cat_id, id_uppercat,
  6490. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6491. FROM piwigo_categories as c
  6492. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6493. LEFT JOIN piwigo_images AS i
  6494. ON ic.image_id = i.id
  6495. AND i.level<=0
  6496. GROUP BY c.id;
  6497. # User@Host: user[user] @ localhost []
  6498. # Query_time: 36.824821 Lock_time: 4.521009 Rows_sent: 1413 Rows_examined: 192801
  6499. SET timestamp=1405357666;
  6500. SELECT c.id AS cat_id, id_uppercat,
  6501. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6502. FROM piwigo_categories as c
  6503. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6504. LEFT JOIN piwigo_images AS i
  6505. ON ic.image_id = i.id
  6506. AND i.level<=0
  6507. GROUP BY c.id;
  6508. # User@Host: user[user] @ localhost []
  6509. # Query_time: 37.785568 Lock_time: 5.467964 Rows_sent: 1413 Rows_examined: 192801
  6510. SET timestamp=1405357666;
  6511. SELECT c.id AS cat_id, id_uppercat,
  6512. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6513. FROM piwigo_categories as c
  6514. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6515. LEFT JOIN piwigo_images AS i
  6516. ON ic.image_id = i.id
  6517. AND i.level<=0
  6518. GROUP BY c.id;
  6519. # Time: 140714 19:08:59
  6520. # User@Host: user[user] @ localhost []
  6521. # Query_time: 64.813431 Lock_time: 3.263591 Rows_sent: 21 Rows_examined: 188583
  6522. SET timestamp=1405357739;
  6523. SELECT DISTINCT(id)
  6524. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6525. WHERE category_id NOT IN (0)
  6526. AND level>0;
  6527. # User@Host: user[user] @ localhost []
  6528. # Query_time: 62.673278 Lock_time: 1.124492 Rows_sent: 21 Rows_examined: 188583
  6529. SET timestamp=1405357739;
  6530. SELECT DISTINCT(id)
  6531. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6532. WHERE category_id NOT IN (0)
  6533. AND level>0;
  6534. # User@Host: user[user] @ localhost []
  6535. # Query_time: 64.688733 Lock_time: 2.527496 Rows_sent: 21 Rows_examined: 188583
  6536. SET timestamp=1405357739;
  6537. SELECT DISTINCT(id)
  6538. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6539. WHERE category_id NOT IN (0)
  6540. AND level>0;
  6541. # Time: 140714 19:09:00
  6542. # User@Host: user[user] @ localhost []
  6543. # Query_time: 65.312602 Lock_time: 2.886622 Rows_sent: 21 Rows_examined: 188583
  6544. SET timestamp=1405357740;
  6545. SELECT DISTINCT(id)
  6546. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6547. WHERE category_id NOT IN (0)
  6548. AND level>0;
  6549. # User@Host: user[user] @ localhost []
  6550. # Query_time: 63.741786 Lock_time: 1.183441 Rows_sent: 21 Rows_examined: 188583
  6551. SET timestamp=1405357740;
  6552. SELECT DISTINCT(id)
  6553. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6554. WHERE category_id NOT IN (0)
  6555. AND level>0;
  6556. # User@Host: user[user] @ localhost []
  6557. # Query_time: 65.803412 Lock_time: 2.559663 Rows_sent: 21 Rows_examined: 188583
  6558. SET timestamp=1405357740;
  6559. SELECT DISTINCT(id)
  6560. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6561. WHERE category_id NOT IN (0)
  6562. AND level>0;
  6563. # User@Host: user[user] @ localhost []
  6564. # Query_time: 64.763865 Lock_time: 1.505613 Rows_sent: 21 Rows_examined: 188583
  6565. SET timestamp=1405357740;
  6566. SELECT DISTINCT(id)
  6567. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6568. WHERE category_id NOT IN (0)
  6569. AND level>0;
  6570. # User@Host: user[user] @ localhost []
  6571. # Query_time: 63.247728 Lock_time: 0.000073 Rows_sent: 21 Rows_examined: 188583
  6572. SET timestamp=1405357740;
  6573. SELECT DISTINCT(id)
  6574. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6575. WHERE category_id NOT IN (0)
  6576. AND level>0;
  6577. # Time: 140714 19:09:01
  6578. # User@Host: user[user] @ localhost []
  6579. # Query_time: 66.434671 Lock_time: 3.017134 Rows_sent: 21 Rows_examined: 188583
  6580. SET timestamp=1405357741;
  6581. SELECT DISTINCT(id)
  6582. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6583. WHERE category_id NOT IN (0)
  6584. AND level>0;
  6585. # User@Host: user[user] @ localhost []
  6586. # Query_time: 63.223629 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188583
  6587. SET timestamp=1405357741;
  6588. SELECT DISTINCT(id)
  6589. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6590. WHERE category_id NOT IN (0)
  6591. AND level>0;
  6592. # User@Host: user[user] @ localhost []
  6593. # Query_time: 64.960269 Lock_time: 1.421409 Rows_sent: 21 Rows_examined: 188583
  6594. SET timestamp=1405357741;
  6595. SELECT DISTINCT(id)
  6596. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6597. WHERE category_id NOT IN (0)
  6598. AND level>0;
  6599. # User@Host: user[user] @ localhost []
  6600. # Query_time: 66.305392 Lock_time: 2.682432 Rows_sent: 21 Rows_examined: 188583
  6601. SET timestamp=1405357741;
  6602. SELECT DISTINCT(id)
  6603. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6604. WHERE category_id NOT IN (0)
  6605. AND level>0;
  6606. # User@Host: user[user] @ localhost []
  6607. # Query_time: 66.376413 Lock_time: 2.710510 Rows_sent: 21 Rows_examined: 188583
  6608. SET timestamp=1405357741;
  6609. SELECT DISTINCT(id)
  6610. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6611. WHERE category_id NOT IN (0)
  6612. AND level>0;
  6613. # User@Host: user[user] @ localhost []
  6614. # Query_time: 65.389608 Lock_time: 1.669590 Rows_sent: 21 Rows_examined: 188583
  6615. SET timestamp=1405357741;
  6616. SELECT DISTINCT(id)
  6617. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6618. WHERE category_id NOT IN (0)
  6619. AND level>0;
  6620. # User@Host: user[user] @ localhost []
  6621. # Query_time: 66.796119 Lock_time: 2.986856 Rows_sent: 21 Rows_examined: 188583
  6622. SET timestamp=1405357741;
  6623. SELECT DISTINCT(id)
  6624. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6625. WHERE category_id NOT IN (0)
  6626. AND level>0;
  6627. # User@Host: user[user] @ localhost []
  6628. # Query_time: 64.890221 Lock_time: 0.971788 Rows_sent: 21 Rows_examined: 188583
  6629. SET timestamp=1405357741;
  6630. SELECT DISTINCT(id)
  6631. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6632. WHERE category_id NOT IN (0)
  6633. AND level>0;
  6634. # User@Host: user[user] @ localhost []
  6635. # Query_time: 65.777458 Lock_time: 1.855609 Rows_sent: 21 Rows_examined: 188583
  6636. SET timestamp=1405357741;
  6637. SELECT DISTINCT(id)
  6638. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6639. WHERE category_id NOT IN (0)
  6640. AND level>0;
  6641. # User@Host: user[user] @ localhost []
  6642. # Query_time: 66.591385 Lock_time: 2.667491 Rows_sent: 21 Rows_examined: 188583
  6643. SET timestamp=1405357741;
  6644. SELECT DISTINCT(id)
  6645. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6646. WHERE category_id NOT IN (0)
  6647. AND level>0;
  6648. # User@Host: user[user] @ localhost []
  6649. # Query_time: 64.080898 Lock_time: 0.056262 Rows_sent: 21 Rows_examined: 188583
  6650. SET timestamp=1405357741;
  6651. SELECT DISTINCT(id)
  6652. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6653. WHERE category_id NOT IN (0)
  6654. AND level>0;
  6655. # User@Host: user[user] @ localhost []
  6656. # Query_time: 66.816543 Lock_time: 2.710614 Rows_sent: 21 Rows_examined: 188583
  6657. SET timestamp=1405357741;
  6658. SELECT DISTINCT(id)
  6659. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6660. WHERE category_id NOT IN (0)
  6661. AND level>0;
  6662. # User@Host: user[user] @ localhost []
  6663. # Query_time: 64.400058 Lock_time: 0.020595 Rows_sent: 21 Rows_examined: 188583
  6664. SET timestamp=1405357741;
  6665. SELECT DISTINCT(id)
  6666. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6667. WHERE category_id NOT IN (0)
  6668. AND level>0;
  6669. # User@Host: user[user] @ localhost []
  6670. # Query_time: 66.738824 Lock_time: 2.355778 Rows_sent: 21 Rows_examined: 188583
  6671. SET timestamp=1405357741;
  6672. SELECT DISTINCT(id)
  6673. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6674. WHERE category_id NOT IN (0)
  6675. AND level>0;
  6676. # Time: 140714 19:09:02
  6677. # User@Host: user[user] @ localhost []
  6678. # Query_time: 67.176807 Lock_time: 2.765365 Rows_sent: 21 Rows_examined: 188583
  6679. SET timestamp=1405357742;
  6680. SELECT DISTINCT(id)
  6681. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6682. WHERE category_id NOT IN (0)
  6683. AND level>0;
  6684. # User@Host: user[user] @ localhost []
  6685. # Query_time: 67.720768 Lock_time: 3.304447 Rows_sent: 21 Rows_examined: 188583
  6686. SET timestamp=1405357742;
  6687. SELECT DISTINCT(id)
  6688. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6689. WHERE category_id NOT IN (0)
  6690. AND level>0;
  6691. # User@Host: user[user] @ localhost []
  6692. # Query_time: 67.451801 Lock_time: 3.002292 Rows_sent: 21 Rows_examined: 188583
  6693. SET timestamp=1405357742;
  6694. SELECT DISTINCT(id)
  6695. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6696. WHERE category_id NOT IN (0)
  6697. AND level>0;
  6698. # User@Host: user[user] @ localhost []
  6699. # Query_time: 67.780077 Lock_time: 3.239559 Rows_sent: 21 Rows_examined: 188583
  6700. SET timestamp=1405357742;
  6701. SELECT DISTINCT(id)
  6702. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6703. WHERE category_id NOT IN (0)
  6704. AND level>0;
  6705. # User@Host: user[user] @ localhost []
  6706. # Query_time: 66.759590 Lock_time: 2.037316 Rows_sent: 21 Rows_examined: 188583
  6707. SET timestamp=1405357742;
  6708. SELECT DISTINCT(id)
  6709. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6710. WHERE category_id NOT IN (0)
  6711. AND level>0;
  6712. # User@Host: user[user] @ localhost []
  6713. # Query_time: 67.369559 Lock_time: 2.615430 Rows_sent: 21 Rows_examined: 188583
  6714. SET timestamp=1405357742;
  6715. SELECT DISTINCT(id)
  6716. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6717. WHERE category_id NOT IN (0)
  6718. AND level>0;
  6719. # User@Host: user[user] @ localhost []
  6720. # Query_time: 67.595606 Lock_time: 2.815059 Rows_sent: 21 Rows_examined: 188583
  6721. SET timestamp=1405357742;
  6722. SELECT DISTINCT(id)
  6723. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6724. WHERE category_id NOT IN (0)
  6725. AND level>0;
  6726. # User@Host: user[user] @ localhost []
  6727. # Query_time: 67.553975 Lock_time: 2.739541 Rows_sent: 21 Rows_examined: 188583
  6728. SET timestamp=1405357742;
  6729. SELECT DISTINCT(id)
  6730. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6731. WHERE category_id NOT IN (0)
  6732. AND level>0;
  6733. # User@Host: user[user] @ localhost []
  6734. # Query_time: 66.576712 Lock_time: 1.457732 Rows_sent: 21 Rows_examined: 188583
  6735. SET timestamp=1405357742;
  6736. SELECT DISTINCT(id)
  6737. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6738. WHERE category_id NOT IN (0)
  6739. AND level>0;
  6740. # User@Host: user[user] @ localhost []
  6741. # Query_time: 64.677381 Lock_time: 0.000054 Rows_sent: 21 Rows_examined: 188583
  6742. SET timestamp=1405357742;
  6743. SELECT DISTINCT(id)
  6744. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6745. WHERE category_id NOT IN (0)
  6746. AND level>0;
  6747. # User@Host: user[user] @ localhost []
  6748. # Query_time: 66.157587 Lock_time: 1.035603 Rows_sent: 21 Rows_examined: 188583
  6749. SET timestamp=1405357742;
  6750. SELECT DISTINCT(id)
  6751. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6752. WHERE category_id NOT IN (0)
  6753. AND level>0;
  6754. # User@Host: user[user] @ localhost []
  6755. # Query_time: 67.962606 Lock_time: 2.805204 Rows_sent: 21 Rows_examined: 188583
  6756. SET timestamp=1405357742;
  6757. SELECT DISTINCT(id)
  6758. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6759. WHERE category_id NOT IN (0)
  6760. AND level>0;
  6761. # User@Host: user[user] @ localhost []
  6762. # Query_time: 66.730414 Lock_time: 1.547556 Rows_sent: 21 Rows_examined: 188583
  6763. SET timestamp=1405357742;
  6764. SELECT DISTINCT(id)
  6765. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6766. WHERE category_id NOT IN (0)
  6767. AND level>0;
  6768. # User@Host: user[user] @ localhost []
  6769. # Query_time: 63.993387 Lock_time: 0.000066 Rows_sent: 21 Rows_examined: 188583
  6770. SET timestamp=1405357742;
  6771. SELECT DISTINCT(id)
  6772. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6773. WHERE category_id NOT IN (0)
  6774. AND level>0;
  6775. # Time: 140714 19:09:03
  6776. # User@Host: user[user] @ localhost []
  6777. # Query_time: 68.795986 Lock_time: 3.327487 Rows_sent: 21 Rows_examined: 188583
  6778. SET timestamp=1405357743;
  6779. SELECT DISTINCT(id)
  6780. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6781. WHERE category_id NOT IN (0)
  6782. AND level>0;
  6783. # User@Host: user[user] @ localhost []
  6784. # Query_time: 68.622868 Lock_time: 3.144445 Rows_sent: 21 Rows_examined: 188583
  6785. SET timestamp=1405357743;
  6786. SELECT DISTINCT(id)
  6787. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6788. WHERE category_id NOT IN (0)
  6789. AND level>0;
  6790. # User@Host: user[user] @ localhost []
  6791. # Query_time: 66.576133 Lock_time: 1.078289 Rows_sent: 21 Rows_examined: 188583
  6792. SET timestamp=1405357743;
  6793. SELECT DISTINCT(id)
  6794. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6795. WHERE category_id NOT IN (0)
  6796. AND level>0;
  6797. # User@Host: user[user] @ localhost []
  6798. # Query_time: 67.203846 Lock_time: 1.663504 Rows_sent: 21 Rows_examined: 188583
  6799. SET timestamp=1405357743;
  6800. SELECT DISTINCT(id)
  6801. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6802. WHERE category_id NOT IN (0)
  6803. AND level>0;
  6804. # User@Host: user[user] @ localhost []
  6805. # Query_time: 68.409110 Lock_time: 2.757493 Rows_sent: 21 Rows_examined: 188583
  6806. SET timestamp=1405357743;
  6807. SELECT DISTINCT(id)
  6808. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6809. WHERE category_id NOT IN (0)
  6810. AND level>0;
  6811. # User@Host: user[user] @ localhost []
  6812. # Query_time: 69.192564 Lock_time: 3.315654 Rows_sent: 21 Rows_examined: 188583
  6813. SET timestamp=1405357743;
  6814. SELECT DISTINCT(id)
  6815. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6816. WHERE category_id NOT IN (0)
  6817. AND level>0;
  6818. # User@Host: user[user] @ localhost []
  6819. # Query_time: 65.511778 Lock_time: 0.000048 Rows_sent: 21 Rows_examined: 188583
  6820. SET timestamp=1405357743;
  6821. SELECT DISTINCT(id)
  6822. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6823. WHERE category_id NOT IN (0)
  6824. AND level>0;
  6825. # User@Host: user[user] @ localhost []
  6826. # Query_time: 68.479295 Lock_time: 2.503443 Rows_sent: 21 Rows_examined: 188583
  6827. SET timestamp=1405357743;
  6828. SELECT DISTINCT(id)
  6829. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6830. WHERE category_id NOT IN (0)
  6831. AND level>0;
  6832. # User@Host: user[user] @ localhost []
  6833. # Query_time: 68.959775 Lock_time: 2.986430 Rows_sent: 21 Rows_examined: 188583
  6834. SET timestamp=1405357743;
  6835. SELECT DISTINCT(id)
  6836. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6837. WHERE category_id NOT IN (0)
  6838. AND level>0;
  6839. # User@Host: user[user] @ localhost []
  6840. # Query_time: 69.369066 Lock_time: 3.063652 Rows_sent: 21 Rows_examined: 188583
  6841. SET timestamp=1405357743;
  6842. SELECT DISTINCT(id)
  6843. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6844. WHERE category_id NOT IN (0)
  6845. AND level>0;
  6846. # Time: 140714 19:09:04
  6847. # User@Host: user[user] @ localhost []
  6848. # Query_time: 65.945885 Lock_time: 0.000104 Rows_sent: 21 Rows_examined: 188583
  6849. SET timestamp=1405357744;
  6850. SELECT DISTINCT(id)
  6851. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6852. WHERE category_id NOT IN (0)
  6853. AND level>0;
  6854. # User@Host: user[user] @ localhost []
  6855. # Query_time: 65.632202 Lock_time: 0.000080 Rows_sent: 21 Rows_examined: 188583
  6856. SET timestamp=1405357744;
  6857. SELECT DISTINCT(id)
  6858. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6859. WHERE category_id NOT IN (0)
  6860. AND level>0;
  6861. # User@Host: user[user] @ localhost []
  6862. # Query_time: 65.557762 Lock_time: 0.000077 Rows_sent: 21 Rows_examined: 188583
  6863. SET timestamp=1405357744;
  6864. SELECT DISTINCT(id)
  6865. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6866. WHERE category_id NOT IN (0)
  6867. AND level>0;
  6868. # User@Host: user[user] @ localhost []
  6869. # Query_time: 69.709309 Lock_time: 2.719423 Rows_sent: 21 Rows_examined: 188583
  6870. SET timestamp=1405357744;
  6871. SELECT DISTINCT(id)
  6872. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6873. WHERE category_id NOT IN (0)
  6874. AND level>0;
  6875. # User@Host: user[user] @ localhost []
  6876. # Query_time: 69.529503 Lock_time: 2.523138 Rows_sent: 21 Rows_examined: 188583
  6877. SET timestamp=1405357744;
  6878. SELECT DISTINCT(id)
  6879. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6880. WHERE category_id NOT IN (0)
  6881. AND level>0;
  6882. # User@Host: user[user] @ localhost []
  6883. # Query_time: 66.134445 Lock_time: 0.000064 Rows_sent: 21 Rows_examined: 188583
  6884. SET timestamp=1405357744;
  6885. SELECT DISTINCT(id)
  6886. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6887. WHERE category_id NOT IN (0)
  6888. AND level>0;
  6889. # User@Host: user[user] @ localhost []
  6890. # Query_time: 69.533738 Lock_time: 2.139634 Rows_sent: 21 Rows_examined: 188583
  6891. SET timestamp=1405357744;
  6892. SELECT DISTINCT(id)
  6893. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6894. WHERE category_id NOT IN (0)
  6895. AND level>0;
  6896. # Time: 140714 19:09:05
  6897. # User@Host: user[user] @ localhost []
  6898. # Query_time: 66.225243 Lock_time: 0.000055 Rows_sent: 21 Rows_examined: 188583
  6899. SET timestamp=1405357745;
  6900. SELECT DISTINCT(id)
  6901. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6902. WHERE category_id NOT IN (0)
  6903. AND level>0;
  6904. # User@Host: user[user] @ localhost []
  6905. # Query_time: 67.727891 Lock_time: 0.035741 Rows_sent: 1412 Rows_examined: 192798
  6906. SET timestamp=1405357745;
  6907. SELECT c.id AS cat_id, id_uppercat,
  6908. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6909. FROM piwigo_categories as c
  6910. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6911. LEFT JOIN piwigo_images AS i
  6912. ON ic.image_id = i.id
  6913. AND i.level<=0
  6914. GROUP BY c.id;
  6915. # User@Host: user[user] @ localhost []
  6916. # Query_time: 63.541698 Lock_time: 0.000105 Rows_sent: 21 Rows_examined: 188583
  6917. SET timestamp=1405357745;
  6918. SELECT DISTINCT(id)
  6919. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6920. WHERE category_id NOT IN (0)
  6921. AND level>0;
  6922. # User@Host: user[user] @ localhost []
  6923. # Query_time: 65.041116 Lock_time: 0.000069 Rows_sent: 21 Rows_examined: 188583
  6924. SET timestamp=1405357745;
  6925. SELECT DISTINCT(id)
  6926. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6927. WHERE category_id NOT IN (0)
  6928. AND level>0;
  6929. # User@Host: user[user] @ localhost []
  6930. # Query_time: 65.248958 Lock_time: 0.000076 Rows_sent: 21 Rows_examined: 188583
  6931. SET timestamp=1405357745;
  6932. SELECT DISTINCT(id)
  6933. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6934. WHERE category_id NOT IN (0)
  6935. AND level>0;
  6936. # Time: 140714 19:09:06
  6937. # User@Host: user[user] @ localhost []
  6938. # Query_time: 68.783247 Lock_time: 0.000069 Rows_sent: 1412 Rows_examined: 192798
  6939. SET timestamp=1405357746;
  6940. SELECT c.id AS cat_id, id_uppercat,
  6941. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  6942. FROM piwigo_categories as c
  6943. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  6944. LEFT JOIN piwigo_images AS i
  6945. ON ic.image_id = i.id
  6946. AND i.level<=0
  6947. GROUP BY c.id;
  6948. # Time: 140714 19:09:07
  6949. # User@Host: user[user] @ localhost []
  6950. # Query_time: 66.616273 Lock_time: 0.000065 Rows_sent: 21 Rows_examined: 188583
  6951. SET timestamp=1405357747;
  6952. SELECT DISTINCT(id)
  6953. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6954. WHERE category_id NOT IN (0)
  6955. AND level>0;
  6956. # User@Host: gallery-dump[gallery-dump] @ localhost []
  6957. # Query_time: 33.340024 Lock_time: 0.000093 Rows_sent: 1001 Rows_examined: 90968
  6958. use gallery_dump_forum;
  6959. SET timestamp=1405357747;
  6960. SELECT DISTINCT t.topic_last_post_time, p.topic_id
  6961. FROM phpbb3_posts p, phpbb3_topics t
  6962. WHERE t.topic_replies = 0
  6963. AND t.topic_moved_id = 0
  6964. AND p.topic_id = t.topic_id
  6965.  
  6966. AND p.post_approved = 1
  6967. AND p.forum_id NOT IN (15, 17, 19, 20, 21)
  6968. ORDER BY t.topic_last_post_time DESC
  6969. LIMIT 1001;
  6970. # User@Host: user[user] @ localhost []
  6971. # Query_time: 69.016579 Lock_time: 0.000055 Rows_sent: 21 Rows_examined: 188583
  6972. use piwigal;
  6973. SET timestamp=1405357747;
  6974. SELECT DISTINCT(id)
  6975. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6976. WHERE category_id NOT IN (0)
  6977. AND level>0;
  6978. # Time: 140714 19:09:08
  6979. # User@Host: user[user] @ localhost []
  6980. # Query_time: 68.946015 Lock_time: 0.000077 Rows_sent: 21 Rows_examined: 188583
  6981. SET timestamp=1405357748;
  6982. SELECT DISTINCT(id)
  6983. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6984. WHERE category_id NOT IN (0)
  6985. AND level>0;
  6986. # User@Host: user[user] @ localhost []
  6987. # Query_time: 67.968124 Lock_time: 0.000051 Rows_sent: 21 Rows_examined: 188583
  6988. SET timestamp=1405357748;
  6989. SELECT DISTINCT(id)
  6990. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6991. WHERE category_id NOT IN (0)
  6992. AND level>0;
  6993. # User@Host: user[user] @ localhost []
  6994. # Query_time: 66.963062 Lock_time: 0.000075 Rows_sent: 21 Rows_examined: 188583
  6995. SET timestamp=1405357748;
  6996. SELECT DISTINCT(id)
  6997. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  6998. WHERE category_id NOT IN (0)
  6999. AND level>0;
  7000. # User@Host: user[user] @ localhost []
  7001. # Query_time: 68.958436 Lock_time: 0.000071 Rows_sent: 21 Rows_examined: 188583
  7002. SET timestamp=1405357748;
  7003. SELECT DISTINCT(id)
  7004. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7005. WHERE category_id NOT IN (0)
  7006. AND level>0;
  7007. # User@Host: user[user] @ localhost []
  7008. # Query_time: 67.370990 Lock_time: 0.000070 Rows_sent: 21 Rows_examined: 188583
  7009. SET timestamp=1405357748;
  7010. SELECT DISTINCT(id)
  7011. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7012. WHERE category_id NOT IN (0)
  7013. AND level>0;
  7014. # Time: 140714 19:09:09
  7015. # User@Host: user[user] @ localhost []
  7016. # Query_time: 68.096875 Lock_time: 0.000076 Rows_sent: 21 Rows_examined: 188583
  7017. SET timestamp=1405357749;
  7018. SELECT DISTINCT(id)
  7019. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7020. WHERE category_id NOT IN (0)
  7021. AND level>0;
  7022. # User@Host: user[user] @ localhost []
  7023. # Query_time: 66.649816 Lock_time: 0.000115 Rows_sent: 21 Rows_examined: 188583
  7024. SET timestamp=1405357749;
  7025. SELECT DISTINCT(id)
  7026. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7027. WHERE category_id NOT IN (0)
  7028. AND level>0;
  7029. # User@Host: user[user] @ localhost []
  7030. # Query_time: 65.581186 Lock_time: 0.000113 Rows_sent: 21 Rows_examined: 188583
  7031. SET timestamp=1405357749;
  7032. SELECT DISTINCT(id)
  7033. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7034. WHERE category_id NOT IN (0)
  7035. AND level>0;
  7036. # User@Host: user[user] @ localhost []
  7037. # Query_time: 64.995146 Lock_time: 0.000109 Rows_sent: 21 Rows_examined: 188583
  7038. SET timestamp=1405357749;
  7039. SELECT DISTINCT(id)
  7040. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7041. WHERE category_id NOT IN (0)
  7042. AND level>0;
  7043. # Time: 140714 19:09:10
  7044. # User@Host: user[user] @ localhost []
  7045. # Query_time: 67.764397 Lock_time: 0.000121 Rows_sent: 21 Rows_examined: 188583
  7046. SET timestamp=1405357750;
  7047. SELECT DISTINCT(id)
  7048. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7049. WHERE category_id NOT IN (0)
  7050. AND level>0;
  7051. # User@Host: user[user] @ localhost []
  7052. # Query_time: 67.128681 Lock_time: 0.000089 Rows_sent: 21 Rows_examined: 188583
  7053. SET timestamp=1405357750;
  7054. SELECT DISTINCT(id)
  7055. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7056. WHERE category_id NOT IN (0)
  7057. AND level>0;
  7058. # User@Host: user[user] @ localhost []
  7059. # Query_time: 67.083840 Lock_time: 0.000090 Rows_sent: 21 Rows_examined: 188583
  7060. SET timestamp=1405357750;
  7061. SELECT DISTINCT(id)
  7062. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7063. WHERE category_id NOT IN (0)
  7064. AND level>0;
  7065. # Time: 140714 19:09:11
  7066. # User@Host: user[user] @ localhost []
  7067. # Query_time: 68.797123 Lock_time: 0.000106 Rows_sent: 21 Rows_examined: 188583
  7068. SET timestamp=1405357751;
  7069. SELECT DISTINCT(id)
  7070. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7071. WHERE category_id NOT IN (0)
  7072. AND level>0;
  7073. # User@Host: user[user] @ localhost []
  7074. # Query_time: 68.300302 Lock_time: 0.000113 Rows_sent: 21 Rows_examined: 188583
  7075. SET timestamp=1405357751;
  7076. SELECT DISTINCT(id)
  7077. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7078. WHERE category_id NOT IN (0)
  7079. AND level>0;
  7080. # User@Host: user[user] @ localhost []
  7081. # Query_time: 66.648066 Lock_time: 0.000147 Rows_sent: 21 Rows_examined: 188583
  7082. SET timestamp=1405357751;
  7083. SELECT DISTINCT(id)
  7084. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7085. WHERE category_id NOT IN (0)
  7086. AND level>0;
  7087. # Time: 140714 19:09:12
  7088. # User@Host: user[user] @ localhost []
  7089. # Query_time: 68.692282 Lock_time: 0.000374 Rows_sent: 21 Rows_examined: 188583
  7090. SET timestamp=1405357752;
  7091. SELECT DISTINCT(id)
  7092. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7093. WHERE category_id NOT IN (0)
  7094. AND level>0;
  7095. # User@Host: user[user] @ localhost []
  7096. # Query_time: 68.269783 Lock_time: 0.000109 Rows_sent: 21 Rows_examined: 188583
  7097. SET timestamp=1405357752;
  7098. SELECT DISTINCT(id)
  7099. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7100. WHERE category_id NOT IN (0)
  7101. AND level>0;
  7102. # User@Host: user[user] @ localhost []
  7103. # Query_time: 70.512623 Lock_time: 0.000129 Rows_sent: 21 Rows_examined: 188583
  7104. SET timestamp=1405357752;
  7105. SELECT DISTINCT(id)
  7106. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7107. WHERE category_id NOT IN (0)
  7108. AND level>0;
  7109. # Time: 140714 19:09:13
  7110. # User@Host: user[user] @ localhost []
  7111. # Query_time: 68.494400 Lock_time: 0.003895 Rows_sent: 21 Rows_examined: 188583
  7112. SET timestamp=1405357753;
  7113. SELECT DISTINCT(id)
  7114. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7115. WHERE category_id NOT IN (0)
  7116. AND level>0;
  7117. # User@Host: user[user] @ localhost []
  7118. # Query_time: 66.340151 Lock_time: 0.000139 Rows_sent: 21 Rows_examined: 188583
  7119. SET timestamp=1405357753;
  7120. SELECT DISTINCT(id)
  7121. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7122. WHERE category_id NOT IN (0)
  7123. AND level>0;
  7124. # User@Host: user[user] @ localhost []
  7125. # Query_time: 67.206016 Lock_time: 0.000092 Rows_sent: 21 Rows_examined: 188583
  7126. SET timestamp=1405357753;
  7127. SELECT DISTINCT(id)
  7128. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7129. WHERE category_id NOT IN (0)
  7130. AND level>0;
  7131. # Time: 140714 19:09:14
  7132. # User@Host: user[user] @ localhost []
  7133. # Query_time: 68.081519 Lock_time: 0.000117 Rows_sent: 21 Rows_examined: 188583
  7134. SET timestamp=1405357754;
  7135. SELECT DISTINCT(id)
  7136. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7137. WHERE category_id NOT IN (0)
  7138. AND level>0;
  7139. # User@Host: user[user] @ localhost []
  7140. # Query_time: 67.094141 Lock_time: 0.000086 Rows_sent: 21 Rows_examined: 188583
  7141. SET timestamp=1405357754;
  7142. SELECT DISTINCT(id)
  7143. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7144. WHERE category_id NOT IN (0)
  7145. AND level>0;
  7146. # Time: 140714 19:09:15
  7147. # User@Host: user[user] @ localhost []
  7148. # Query_time: 67.708489 Lock_time: 0.000108 Rows_sent: 21 Rows_examined: 188583
  7149. SET timestamp=1405357755;
  7150. SELECT DISTINCT(id)
  7151. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7152. WHERE category_id NOT IN (0)
  7153. AND level>0;
  7154. # Time: 140714 19:09:16
  7155. # User@Host: user[user] @ localhost []
  7156. # Query_time: 65.623781 Lock_time: 0.000101 Rows_sent: 21 Rows_examined: 188583
  7157. SET timestamp=1405357756;
  7158. SELECT DISTINCT(id)
  7159. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7160. WHERE category_id NOT IN (0)
  7161. AND level>0;
  7162. # Time: 140714 19:09:17
  7163. # User@Host: user[user] @ localhost []
  7164. # Query_time: 64.753161 Lock_time: 0.000120 Rows_sent: 21 Rows_examined: 188583
  7165. SET timestamp=1405357757;
  7166. SELECT DISTINCT(id)
  7167. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7168. WHERE category_id NOT IN (0)
  7169. AND level>0;
  7170. # Time: 140714 19:09:18
  7171. # User@Host: user[user] @ localhost []
  7172. # Query_time: 67.185188 Lock_time: 0.000078 Rows_sent: 21 Rows_examined: 188583
  7173. SET timestamp=1405357758;
  7174. SELECT DISTINCT(id)
  7175. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7176. WHERE category_id NOT IN (0)
  7177. AND level>0;
  7178. # User@Host: user[user] @ localhost []
  7179. # Query_time: 62.516636 Lock_time: 0.000120 Rows_sent: 21 Rows_examined: 188583
  7180. SET timestamp=1405357758;
  7181. SELECT DISTINCT(id)
  7182. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7183. WHERE category_id NOT IN (0)
  7184. AND level>0;
  7185. # Time: 140714 19:09:19
  7186. # User@Host: user[user] @ localhost []
  7187. # Query_time: 64.735473 Lock_time: 0.000112 Rows_sent: 21 Rows_examined: 188583
  7188. SET timestamp=1405357759;
  7189. SELECT DISTINCT(id)
  7190. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7191. WHERE category_id NOT IN (0)
  7192. AND level>0;
  7193. # Time: 140714 19:09:20
  7194. # User@Host: user[user] @ localhost []
  7195. # Query_time: 64.094428 Lock_time: 0.000093 Rows_sent: 21 Rows_examined: 188583
  7196. SET timestamp=1405357760;
  7197. SELECT DISTINCT(id)
  7198. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7199. WHERE category_id NOT IN (0)
  7200. AND level>0;
  7201. # Time: 140714 19:09:21
  7202. # User@Host: user[user] @ localhost []
  7203. # Query_time: 63.271547 Lock_time: 0.025375 Rows_sent: 21 Rows_examined: 188583
  7204. SET timestamp=1405357761;
  7205. SELECT DISTINCT(id)
  7206. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7207. WHERE category_id NOT IN (0)
  7208. AND level>0;
  7209. # User@Host: user[user] @ localhost []
  7210. # Query_time: 61.921560 Lock_time: 0.000188 Rows_sent: 21 Rows_examined: 188583
  7211. SET timestamp=1405357761;
  7212. SELECT DISTINCT(id)
  7213. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7214. WHERE category_id NOT IN (0)
  7215. AND level>0;
  7216. # User@Host: user[user] @ localhost []
  7217. # Query_time: 62.179153 Lock_time: 0.000157 Rows_sent: 21 Rows_examined: 188583
  7218. SET timestamp=1405357761;
  7219. SELECT DISTINCT(id)
  7220. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7221. WHERE category_id NOT IN (0)
  7222. AND level>0;
  7223. # Time: 140714 19:09:22
  7224. # User@Host: user[user] @ localhost []
  7225. # Query_time: 62.943884 Lock_time: 0.000148 Rows_sent: 21 Rows_examined: 188583
  7226. SET timestamp=1405357762;
  7227. SELECT DISTINCT(id)
  7228. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7229. WHERE category_id NOT IN (0)
  7230. AND level>0;
  7231. # Time: 140714 19:09:23
  7232. # User@Host: user[user] @ localhost []
  7233. # Query_time: 64.957978 Lock_time: 0.027166 Rows_sent: 21 Rows_examined: 188583
  7234. SET timestamp=1405357763;
  7235. SELECT DISTINCT(id)
  7236. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7237. WHERE category_id NOT IN (0)
  7238. AND level>0;
  7239. # User@Host: user[user] @ localhost []
  7240. # Query_time: 64.780548 Lock_time: 0.000167 Rows_sent: 21 Rows_examined: 188583
  7241. SET timestamp=1405357763;
  7242. SELECT DISTINCT(id)
  7243. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7244. WHERE category_id NOT IN (0)
  7245. AND level>0;
  7246. # Time: 140714 19:09:28
  7247. # User@Host: user[user] @ localhost []
  7248. # Query_time: 58.841837 Lock_time: 0.000115 Rows_sent: 21 Rows_examined: 188583
  7249. SET timestamp=1405357768;
  7250. SELECT DISTINCT(id)
  7251. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7252. WHERE category_id NOT IN (0)
  7253. AND level>0;
  7254. # Time: 140714 19:09:31
  7255. # User@Host: user[user] @ localhost []
  7256. # Query_time: 54.717153 Lock_time: 0.000123 Rows_sent: 21 Rows_examined: 188583
  7257. SET timestamp=1405357771;
  7258. SELECT DISTINCT(id)
  7259. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7260. WHERE category_id NOT IN (0)
  7261. AND level>0;
  7262. # Time: 140714 19:09:33
  7263. # User@Host: user[user] @ localhost []
  7264. # Query_time: 50.887037 Lock_time: 0.000143 Rows_sent: 21 Rows_examined: 188583
  7265. SET timestamp=1405357773;
  7266. SELECT DISTINCT(id)
  7267. FROM piwigo_images INNER JOIN piwigo_image_category ON id=image_id
  7268. WHERE category_id NOT IN (0)
  7269. AND level>0;
  7270. # Time: 140714 19:09:44
  7271. # User@Host: user[user] @ localhost []
  7272. # Query_time: 44.937685 Lock_time: 0.000116 Rows_sent: 511 Rows_examined: 191897
  7273. SET timestamp=1405357784;
  7274. SELECT c.id AS cat_id, id_uppercat,
  7275. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7276. FROM piwigo_categories as c
  7277. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7278. LEFT JOIN piwigo_images AS i
  7279. ON ic.image_id = i.id
  7280. AND i.level<=0
  7281. GROUP BY c.id;
  7282. # User@Host: user[user] @ localhost []
  7283. # Query_time: 42.100427 Lock_time: 0.000106 Rows_sent: 511 Rows_examined: 191897
  7284. SET timestamp=1405357784;
  7285. SELECT c.id AS cat_id, id_uppercat,
  7286. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7287. FROM piwigo_categories as c
  7288. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7289. LEFT JOIN piwigo_images AS i
  7290. ON ic.image_id = i.id
  7291. AND i.level<=0
  7292. GROUP BY c.id;
  7293. # User@Host: user[user] @ localhost []
  7294. # Query_time: 43.381470 Lock_time: 0.000089 Rows_sent: 511 Rows_examined: 191897
  7295. SET timestamp=1405357784;
  7296. SELECT c.id AS cat_id, id_uppercat,
  7297. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7298. FROM piwigo_categories as c
  7299. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7300. LEFT JOIN piwigo_images AS i
  7301. ON ic.image_id = i.id
  7302. AND i.level<=0
  7303. GROUP BY c.id;
  7304. # User@Host: user[user] @ localhost []
  7305. # Query_time: 44.024744 Lock_time: 0.000074 Rows_sent: 511 Rows_examined: 191897
  7306. SET timestamp=1405357784;
  7307. SELECT c.id AS cat_id, id_uppercat,
  7308. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7309. FROM piwigo_categories as c
  7310. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7311. LEFT JOIN piwigo_images AS i
  7312. ON ic.image_id = i.id
  7313. AND i.level<=0
  7314. GROUP BY c.id;
  7315. # User@Host: user[user] @ localhost []
  7316. # Query_time: 43.879333 Lock_time: 0.000075 Rows_sent: 511 Rows_examined: 191897
  7317. SET timestamp=1405357784;
  7318. SELECT c.id AS cat_id, id_uppercat,
  7319. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7320. FROM piwigo_categories as c
  7321. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7322. LEFT JOIN piwigo_images AS i
  7323. ON ic.image_id = i.id
  7324. AND i.level<=0
  7325. GROUP BY c.id;
  7326. # User@Host: user[user] @ localhost []
  7327. # Query_time: 45.751605 Lock_time: 0.000114 Rows_sent: 511 Rows_examined: 191897
  7328. SET timestamp=1405357784;
  7329. SELECT c.id AS cat_id, id_uppercat,
  7330. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7331. FROM piwigo_categories as c
  7332. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7333. LEFT JOIN piwigo_images AS i
  7334. ON ic.image_id = i.id
  7335. AND i.level<=0
  7336. GROUP BY c.id;
  7337. # Time: 140714 19:09:45
  7338. # User@Host: user[user] @ localhost []
  7339. # Query_time: 41.908837 Lock_time: 0.000080 Rows_sent: 511 Rows_examined: 191897
  7340. SET timestamp=1405357785;
  7341. SELECT c.id AS cat_id, id_uppercat,
  7342. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7343. FROM piwigo_categories as c
  7344. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7345. LEFT JOIN piwigo_images AS i
  7346. ON ic.image_id = i.id
  7347. AND i.level<=0
  7348. GROUP BY c.id;
  7349. # User@Host: user[user] @ localhost []
  7350. # Query_time: 43.871247 Lock_time: 0.000102 Rows_sent: 511 Rows_examined: 191897
  7351. SET timestamp=1405357785;
  7352. SELECT c.id AS cat_id, id_uppercat,
  7353. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7354. FROM piwigo_categories as c
  7355. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7356. LEFT JOIN piwigo_images AS i
  7357. ON ic.image_id = i.id
  7358. AND i.level<=0
  7359. GROUP BY c.id;
  7360. # User@Host: user[user] @ localhost []
  7361. # Query_time: 44.189060 Lock_time: 0.000089 Rows_sent: 511 Rows_examined: 191897
  7362. SET timestamp=1405357785;
  7363. SELECT c.id AS cat_id, id_uppercat,
  7364. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7365. FROM piwigo_categories as c
  7366. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7367. LEFT JOIN piwigo_images AS i
  7368. ON ic.image_id = i.id
  7369. AND i.level<=0
  7370. GROUP BY c.id;
  7371. # User@Host: user[user] @ localhost []
  7372. # Query_time: 43.557435 Lock_time: 0.000103 Rows_sent: 511 Rows_examined: 191897
  7373. SET timestamp=1405357785;
  7374. SELECT c.id AS cat_id, id_uppercat,
  7375. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7376. FROM piwigo_categories as c
  7377. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7378. LEFT JOIN piwigo_images AS i
  7379. ON ic.image_id = i.id
  7380. AND i.level<=0
  7381. GROUP BY c.id;
  7382. # User@Host: user[user] @ localhost []
  7383. # Query_time: 43.747632 Lock_time: 0.000069 Rows_sent: 511 Rows_examined: 191897
  7384. SET timestamp=1405357785;
  7385. SELECT c.id AS cat_id, id_uppercat,
  7386. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7387. FROM piwigo_categories as c
  7388. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7389. LEFT JOIN piwigo_images AS i
  7390. ON ic.image_id = i.id
  7391. AND i.level<=0
  7392. GROUP BY c.id;
  7393. # User@Host: user[user] @ localhost []
  7394. # Query_time: 43.808804 Lock_time: 0.000095 Rows_sent: 511 Rows_examined: 191897
  7395. SET timestamp=1405357785;
  7396. SELECT c.id AS cat_id, id_uppercat,
  7397. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7398. FROM piwigo_categories as c
  7399. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7400. LEFT JOIN piwigo_images AS i
  7401. ON ic.image_id = i.id
  7402. AND i.level<=0
  7403. GROUP BY c.id;
  7404. # User@Host: user[user] @ localhost []
  7405. # Query_time: 43.820617 Lock_time: 0.000087 Rows_sent: 511 Rows_examined: 191897
  7406. SET timestamp=1405357785;
  7407. SELECT c.id AS cat_id, id_uppercat,
  7408. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7409. FROM piwigo_categories as c
  7410. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7411. LEFT JOIN piwigo_images AS i
  7412. ON ic.image_id = i.id
  7413. AND i.level<=0
  7414. GROUP BY c.id;
  7415. # User@Host: user[user] @ localhost []
  7416. # Query_time: 45.600590 Lock_time: 0.000091 Rows_sent: 511 Rows_examined: 191897
  7417. SET timestamp=1405357785;
  7418. SELECT c.id AS cat_id, id_uppercat,
  7419. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7420. FROM piwigo_categories as c
  7421. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7422. LEFT JOIN piwigo_images AS i
  7423. ON ic.image_id = i.id
  7424. AND i.level<=0
  7425. GROUP BY c.id;
  7426. # User@Host: user[user] @ localhost []
  7427. # Query_time: 41.474561 Lock_time: 0.000115 Rows_sent: 511 Rows_examined: 191897
  7428. SET timestamp=1405357785;
  7429. SELECT c.id AS cat_id, id_uppercat,
  7430. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7431. FROM piwigo_categories as c
  7432. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7433. LEFT JOIN piwigo_images AS i
  7434. ON ic.image_id = i.id
  7435. AND i.level<=0
  7436. GROUP BY c.id;
  7437. # User@Host: user[user] @ localhost []
  7438. # Query_time: 44.449318 Lock_time: 0.000109 Rows_sent: 511 Rows_examined: 191897
  7439. SET timestamp=1405357785;
  7440. SELECT c.id AS cat_id, id_uppercat,
  7441. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7442. FROM piwigo_categories as c
  7443. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7444. LEFT JOIN piwigo_images AS i
  7445. ON ic.image_id = i.id
  7446. AND i.level<=0
  7447. GROUP BY c.id;
  7448. # User@Host: user[user] @ localhost []
  7449. # Query_time: 43.998279 Lock_time: 0.000127 Rows_sent: 511 Rows_examined: 191897
  7450. SET timestamp=1405357785;
  7451. SELECT c.id AS cat_id, id_uppercat,
  7452. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7453. FROM piwigo_categories as c
  7454. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7455. LEFT JOIN piwigo_images AS i
  7456. ON ic.image_id = i.id
  7457. AND i.level<=0
  7458. GROUP BY c.id;
  7459. # User@Host: user[user] @ localhost []
  7460. # Query_time: 43.448572 Lock_time: 0.000125 Rows_sent: 511 Rows_examined: 191897
  7461. SET timestamp=1405357785;
  7462. SELECT c.id AS cat_id, id_uppercat,
  7463. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7464. FROM piwigo_categories as c
  7465. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7466. LEFT JOIN piwigo_images AS i
  7467. ON ic.image_id = i.id
  7468. AND i.level<=0
  7469. GROUP BY c.id;
  7470. # User@Host: user[user] @ localhost []
  7471. # Query_time: 43.308260 Lock_time: 0.000087 Rows_sent: 511 Rows_examined: 191897
  7472. SET timestamp=1405357785;
  7473. SELECT c.id AS cat_id, id_uppercat,
  7474. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7475. FROM piwigo_categories as c
  7476. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7477. LEFT JOIN piwigo_images AS i
  7478. ON ic.image_id = i.id
  7479. AND i.level<=0
  7480. GROUP BY c.id;
  7481. # User@Host: user[user] @ localhost []
  7482. # Query_time: 44.659573 Lock_time: 0.000104 Rows_sent: 511 Rows_examined: 191897
  7483. SET timestamp=1405357785;
  7484. SELECT c.id AS cat_id, id_uppercat,
  7485. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7486. FROM piwigo_categories as c
  7487. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7488. LEFT JOIN piwigo_images AS i
  7489. ON ic.image_id = i.id
  7490. AND i.level<=0
  7491. GROUP BY c.id;
  7492. # User@Host: user[user] @ localhost []
  7493. # Query_time: 41.292036 Lock_time: 0.000124 Rows_sent: 511 Rows_examined: 191897
  7494. SET timestamp=1405357785;
  7495. SELECT c.id AS cat_id, id_uppercat,
  7496. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7497. FROM piwigo_categories as c
  7498. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7499. LEFT JOIN piwigo_images AS i
  7500. ON ic.image_id = i.id
  7501. AND i.level<=0
  7502. GROUP BY c.id;
  7503. # User@Host: user[user] @ localhost []
  7504. # Query_time: 45.506311 Lock_time: 0.000105 Rows_sent: 511 Rows_examined: 191897
  7505. SET timestamp=1405357785;
  7506. SELECT c.id AS cat_id, id_uppercat,
  7507. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7508. FROM piwigo_categories as c
  7509. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7510. LEFT JOIN piwigo_images AS i
  7511. ON ic.image_id = i.id
  7512. AND i.level<=0
  7513. GROUP BY c.id;
  7514. # User@Host: user[user] @ localhost []
  7515. # Query_time: 43.550315 Lock_time: 0.000097 Rows_sent: 511 Rows_examined: 191897
  7516. SET timestamp=1405357785;
  7517. SELECT c.id AS cat_id, id_uppercat,
  7518. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7519. FROM piwigo_categories as c
  7520. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7521. LEFT JOIN piwigo_images AS i
  7522. ON ic.image_id = i.id
  7523. AND i.level<=0
  7524. GROUP BY c.id;
  7525. # User@Host: user[user] @ localhost []
  7526. # Query_time: 43.555271 Lock_time: 0.000087 Rows_sent: 511 Rows_examined: 191897
  7527. SET timestamp=1405357785;
  7528. SELECT c.id AS cat_id, id_uppercat,
  7529. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7530. FROM piwigo_categories as c
  7531. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7532. LEFT JOIN piwigo_images AS i
  7533. ON ic.image_id = i.id
  7534. AND i.level<=0
  7535. GROUP BY c.id;
  7536. # User@Host: user[user] @ localhost []
  7537. # Query_time: 43.253435 Lock_time: 0.000090 Rows_sent: 511 Rows_examined: 191897
  7538. SET timestamp=1405357785;
  7539. SELECT c.id AS cat_id, id_uppercat,
  7540. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7541. FROM piwigo_categories as c
  7542. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7543. LEFT JOIN piwigo_images AS i
  7544. ON ic.image_id = i.id
  7545. AND i.level<=0
  7546. GROUP BY c.id;
  7547. # User@Host: user[user] @ localhost []
  7548. # Query_time: 44.391474 Lock_time: 0.000079 Rows_sent: 511 Rows_examined: 191897
  7549. SET timestamp=1405357785;
  7550. SELECT c.id AS cat_id, id_uppercat,
  7551. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7552. FROM piwigo_categories as c
  7553. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7554. LEFT JOIN piwigo_images AS i
  7555. ON ic.image_id = i.id
  7556. AND i.level<=0
  7557. GROUP BY c.id;
  7558. # User@Host: user[user] @ localhost []
  7559. # Query_time: 42.898673 Lock_time: 0.000092 Rows_sent: 511 Rows_examined: 191897
  7560. SET timestamp=1405357785;
  7561. SELECT c.id AS cat_id, id_uppercat,
  7562. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7563. FROM piwigo_categories as c
  7564. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7565. LEFT JOIN piwigo_images AS i
  7566. ON ic.image_id = i.id
  7567. AND i.level<=0
  7568. GROUP BY c.id;
  7569. # User@Host: user[user] @ localhost []
  7570. # Query_time: 42.944727 Lock_time: 0.000092 Rows_sent: 511 Rows_examined: 191897
  7571. SET timestamp=1405357785;
  7572. SELECT c.id AS cat_id, id_uppercat,
  7573. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7574. FROM piwigo_categories as c
  7575. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7576. LEFT JOIN piwigo_images AS i
  7577. ON ic.image_id = i.id
  7578. AND i.level<=0
  7579. GROUP BY c.id;
  7580. # User@Host: user[user] @ localhost []
  7581. # Query_time: 45.588683 Lock_time: 0.000092 Rows_sent: 511 Rows_examined: 191897
  7582. SET timestamp=1405357785;
  7583. SELECT c.id AS cat_id, id_uppercat,
  7584. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7585. FROM piwigo_categories as c
  7586. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7587. LEFT JOIN piwigo_images AS i
  7588. ON ic.image_id = i.id
  7589. AND i.level<=0
  7590. GROUP BY c.id;
  7591. # User@Host: user[user] @ localhost []
  7592. # Query_time: 43.737289 Lock_time: 0.000076 Rows_sent: 511 Rows_examined: 191897
  7593. SET timestamp=1405357785;
  7594. SELECT c.id AS cat_id, id_uppercat,
  7595. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7596. FROM piwigo_categories as c
  7597. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7598. LEFT JOIN piwigo_images AS i
  7599. ON ic.image_id = i.id
  7600. AND i.level<=0
  7601. GROUP BY c.id;
  7602. # User@Host: user[user] @ localhost []
  7603. # Query_time: 44.642254 Lock_time: 0.000112 Rows_sent: 511 Rows_examined: 191897
  7604. SET timestamp=1405357785;
  7605. SELECT c.id AS cat_id, id_uppercat,
  7606. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7607. FROM piwigo_categories as c
  7608. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7609. LEFT JOIN piwigo_images AS i
  7610. ON ic.image_id = i.id
  7611. AND i.level<=0
  7612. GROUP BY c.id;
  7613. # User@Host: user[user] @ localhost []
  7614. # Query_time: 42.732665 Lock_time: 0.000107 Rows_sent: 511 Rows_examined: 191897
  7615. SET timestamp=1405357785;
  7616. SELECT c.id AS cat_id, id_uppercat,
  7617. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7618. FROM piwigo_categories as c
  7619. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7620. LEFT JOIN piwigo_images AS i
  7621. ON ic.image_id = i.id
  7622. AND i.level<=0
  7623. GROUP BY c.id;
  7624. # User@Host: user[user] @ localhost []
  7625. # Query_time: 43.793352 Lock_time: 0.000091 Rows_sent: 511 Rows_examined: 191897
  7626. SET timestamp=1405357785;
  7627. SELECT c.id AS cat_id, id_uppercat,
  7628. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7629. FROM piwigo_categories as c
  7630. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7631. LEFT JOIN piwigo_images AS i
  7632. ON ic.image_id = i.id
  7633. AND i.level<=0
  7634. GROUP BY c.id;
  7635. # User@Host: user[user] @ localhost []
  7636. # Query_time: 43.085224 Lock_time: 0.000105 Rows_sent: 511 Rows_examined: 191897
  7637. SET timestamp=1405357785;
  7638. SELECT c.id AS cat_id, id_uppercat,
  7639. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7640. FROM piwigo_categories as c
  7641. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7642. LEFT JOIN piwigo_images AS i
  7643. ON ic.image_id = i.id
  7644. AND i.level<=0
  7645. GROUP BY c.id;
  7646. # User@Host: user[user] @ localhost []
  7647. # Query_time: 43.463414 Lock_time: 0.000060 Rows_sent: 511 Rows_examined: 191897
  7648. SET timestamp=1405357785;
  7649. SELECT c.id AS cat_id, id_uppercat,
  7650. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7651. FROM piwigo_categories as c
  7652. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7653. LEFT JOIN piwigo_images AS i
  7654. ON ic.image_id = i.id
  7655. AND i.level<=0
  7656. GROUP BY c.id;
  7657. # User@Host: user[user] @ localhost []
  7658. # Query_time: 41.243483 Lock_time: 0.000104 Rows_sent: 511 Rows_examined: 191897
  7659. SET timestamp=1405357785;
  7660. SELECT c.id AS cat_id, id_uppercat,
  7661. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7662. FROM piwigo_categories as c
  7663. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7664. LEFT JOIN piwigo_images AS i
  7665. ON ic.image_id = i.id
  7666. AND i.level<=0
  7667. GROUP BY c.id;
  7668. # User@Host: user[user] @ localhost []
  7669. # Query_time: 42.294511 Lock_time: 0.000065 Rows_sent: 511 Rows_examined: 191897
  7670. SET timestamp=1405357785;
  7671. SELECT c.id AS cat_id, id_uppercat,
  7672. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7673. FROM piwigo_categories as c
  7674. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7675. LEFT JOIN piwigo_images AS i
  7676. ON ic.image_id = i.id
  7677. AND i.level<=0
  7678. GROUP BY c.id;
  7679. # User@Host: user[user] @ localhost []
  7680. # Query_time: 41.511907 Lock_time: 0.000106 Rows_sent: 511 Rows_examined: 191897
  7681. SET timestamp=1405357785;
  7682. SELECT c.id AS cat_id, id_uppercat,
  7683. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7684. FROM piwigo_categories as c
  7685. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7686. LEFT JOIN piwigo_images AS i
  7687. ON ic.image_id = i.id
  7688. AND i.level<=0
  7689. GROUP BY c.id;
  7690. # User@Host: user[user] @ localhost []
  7691. # Query_time: 42.806201 Lock_time: 0.000087 Rows_sent: 511 Rows_examined: 191897
  7692. SET timestamp=1405357785;
  7693. SELECT c.id AS cat_id, id_uppercat,
  7694. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7695. FROM piwigo_categories as c
  7696. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7697. LEFT JOIN piwigo_images AS i
  7698. ON ic.image_id = i.id
  7699. AND i.level<=0
  7700. GROUP BY c.id;
  7701. # User@Host: user[user] @ localhost []
  7702. # Query_time: 42.831729 Lock_time: 0.000095 Rows_sent: 511 Rows_examined: 191897
  7703. SET timestamp=1405357785;
  7704. SELECT c.id AS cat_id, id_uppercat,
  7705. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7706. FROM piwigo_categories as c
  7707. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7708. LEFT JOIN piwigo_images AS i
  7709. ON ic.image_id = i.id
  7710. AND i.level<=0
  7711. GROUP BY c.id;
  7712. # User@Host: user[user] @ localhost []
  7713. # Query_time: 43.193053 Lock_time: 0.000076 Rows_sent: 511 Rows_examined: 191897
  7714. SET timestamp=1405357785;
  7715. SELECT c.id AS cat_id, id_uppercat,
  7716. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7717. FROM piwigo_categories as c
  7718. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7719. LEFT JOIN piwigo_images AS i
  7720. ON ic.image_id = i.id
  7721. AND i.level<=0
  7722. GROUP BY c.id;
  7723. # User@Host: user[user] @ localhost []
  7724. # Query_time: 43.171151 Lock_time: 0.000076 Rows_sent: 511 Rows_examined: 191897
  7725. SET timestamp=1405357785;
  7726. SELECT c.id AS cat_id, id_uppercat,
  7727. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7728. FROM piwigo_categories as c
  7729. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7730. LEFT JOIN piwigo_images AS i
  7731. ON ic.image_id = i.id
  7732. AND i.level<=0
  7733. GROUP BY c.id;
  7734. # User@Host: user[user] @ localhost []
  7735. # Query_time: 42.455603 Lock_time: 0.000105 Rows_sent: 511 Rows_examined: 191897
  7736. SET timestamp=1405357785;
  7737. SELECT c.id AS cat_id, id_uppercat,
  7738. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7739. FROM piwigo_categories as c
  7740. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7741. LEFT JOIN piwigo_images AS i
  7742. ON ic.image_id = i.id
  7743. AND i.level<=0
  7744. GROUP BY c.id;
  7745. # User@Host: user[user] @ localhost []
  7746. # Query_time: 43.523512 Lock_time: 0.000078 Rows_sent: 511 Rows_examined: 191897
  7747. SET timestamp=1405357785;
  7748. SELECT c.id AS cat_id, id_uppercat,
  7749. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7750. FROM piwigo_categories as c
  7751. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7752. LEFT JOIN piwigo_images AS i
  7753. ON ic.image_id = i.id
  7754. AND i.level<=0
  7755. GROUP BY c.id;
  7756. # User@Host: user[user] @ localhost []
  7757. # Query_time: 42.497917 Lock_time: 0.000107 Rows_sent: 511 Rows_examined: 191897
  7758. SET timestamp=1405357785;
  7759. SELECT c.id AS cat_id, id_uppercat,
  7760. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7761. FROM piwigo_categories as c
  7762. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7763. LEFT JOIN piwigo_images AS i
  7764. ON ic.image_id = i.id
  7765. AND i.level<=0
  7766. GROUP BY c.id;
  7767. # User@Host: user[user] @ localhost []
  7768. # Query_time: 40.877996 Lock_time: 0.000172 Rows_sent: 511 Rows_examined: 191897
  7769. SET timestamp=1405357785;
  7770. SELECT c.id AS cat_id, id_uppercat,
  7771. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7772. FROM piwigo_categories as c
  7773. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7774. LEFT JOIN piwigo_images AS i
  7775. ON ic.image_id = i.id
  7776. AND i.level<=0
  7777. GROUP BY c.id;
  7778. # User@Host: user[user] @ localhost []
  7779. # Query_time: 42.420075 Lock_time: 0.000098 Rows_sent: 511 Rows_examined: 191897
  7780. SET timestamp=1405357785;
  7781. SELECT c.id AS cat_id, id_uppercat,
  7782. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7783. FROM piwigo_categories as c
  7784. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7785. LEFT JOIN piwigo_images AS i
  7786. ON ic.image_id = i.id
  7787. AND i.level<=0
  7788. GROUP BY c.id;
  7789. # User@Host: user[user] @ localhost []
  7790. # Query_time: 44.372442 Lock_time: 0.000091 Rows_sent: 511 Rows_examined: 191897
  7791. SET timestamp=1405357785;
  7792. SELECT c.id AS cat_id, id_uppercat,
  7793. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7794. FROM piwigo_categories as c
  7795. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7796. LEFT JOIN piwigo_images AS i
  7797. ON ic.image_id = i.id
  7798. AND i.level<=0
  7799. GROUP BY c.id;
  7800. # User@Host: user[user] @ localhost []
  7801. # Query_time: 42.750951 Lock_time: 0.000075 Rows_sent: 511 Rows_examined: 191897
  7802. SET timestamp=1405357785;
  7803. SELECT c.id AS cat_id, id_uppercat,
  7804. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7805. FROM piwigo_categories as c
  7806. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7807. LEFT JOIN piwigo_images AS i
  7808. ON ic.image_id = i.id
  7809. AND i.level<=0
  7810. GROUP BY c.id;
  7811. # Time: 140714 19:09:46
  7812. # User@Host: user[user] @ localhost []
  7813. # Query_time: 41.034611 Lock_time: 0.000178 Rows_sent: 511 Rows_examined: 191897
  7814. SET timestamp=1405357786;
  7815. SELECT c.id AS cat_id, id_uppercat,
  7816. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7817. FROM piwigo_categories as c
  7818. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7819. LEFT JOIN piwigo_images AS i
  7820. ON ic.image_id = i.id
  7821. AND i.level<=0
  7822. GROUP BY c.id;
  7823. # User@Host: user[user] @ localhost []
  7824. # Query_time: 41.485798 Lock_time: 0.000127 Rows_sent: 511 Rows_examined: 191897
  7825. SET timestamp=1405357786;
  7826. SELECT c.id AS cat_id, id_uppercat,
  7827. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7828. FROM piwigo_categories as c
  7829. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7830. LEFT JOIN piwigo_images AS i
  7831. ON ic.image_id = i.id
  7832. AND i.level<=0
  7833. GROUP BY c.id;
  7834. # User@Host: user[user] @ localhost []
  7835. # Query_time: 43.332145 Lock_time: 0.000117 Rows_sent: 511 Rows_examined: 191897
  7836. SET timestamp=1405357786;
  7837. SELECT c.id AS cat_id, id_uppercat,
  7838. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7839. FROM piwigo_categories as c
  7840. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7841. LEFT JOIN piwigo_images AS i
  7842. ON ic.image_id = i.id
  7843. AND i.level<=0
  7844. GROUP BY c.id;
  7845. # User@Host: user[user] @ localhost []
  7846. # Query_time: 41.271112 Lock_time: 0.000132 Rows_sent: 511 Rows_examined: 191897
  7847. SET timestamp=1405357786;
  7848. SELECT c.id AS cat_id, id_uppercat,
  7849. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7850. FROM piwigo_categories as c
  7851. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7852. LEFT JOIN piwigo_images AS i
  7853. ON ic.image_id = i.id
  7854. AND i.level<=0
  7855. GROUP BY c.id;
  7856. # User@Host: user[user] @ localhost []
  7857. # Query_time: 41.471970 Lock_time: 0.000111 Rows_sent: 511 Rows_examined: 191897
  7858. SET timestamp=1405357786;
  7859. SELECT c.id AS cat_id, id_uppercat,
  7860. MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
  7861. FROM piwigo_categories as c
  7862. LEFT JOIN piwigo_image_category AS ic ON ic.category_id = c.id
  7863. LEFT JOIN piwigo_images AS i
  7864. ON ic.image_id = i.id
  7865. AND i.level<=0
  7866. GROUP BY c.id;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement