Guest User

Untitled

a guest
Jun 25th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.93 KB | None | 0 0
  1. num queries: 1
  2. select p.abbr, p.name, p.valid_as_of_date,
  3. i.url, it.type_id, it.width, it.height, pl.url as link_url, pl2.url as ymedia_id,
  4. p.intl_exclude_list,p.photo_provider,
  5. p.morenews_include_leagues, p.morenews_exclude_leagues
  6. from providers as p
  7. left join partner_images as pi on pi.provider = p.abbr
  8. left join images as i on pi.image = i.image_id
  9. left join image_types as it on it.type_id = i.type
  10. left join partner_links as pl on pl.provider = pi.provider and pl.type = 1
  11. left join partner_links as pl2 on pl2.provider = p.abbr and pl2.type = 2
  12. num queries: 2
  13. select CONFERENCE_ID, NAME from CONFERENCES
  14. num queries: 3
  15. select DIVISION_ID, NAME from DIVISIONS
  16. num queries: 4
  17. select s.storyid, s.title, s.provider, s.author, s.priority,
  18. s.unixtime, s.summary, s.article_template, s.url,
  19. s.source,s.subcat1,s.subcat2,s.comments_enabled,
  20. a.subtitle, a.issuedate, a.byline, a.text,
  21. p.copyright, p.name as provider_long, e.type,
  22. tn.title as topnews_title,
  23. p.valid_as_of_date,
  24. t.spaceid_suffix,
  25. UNIX_TIMESTAMP(s.ts) as s_last_update,
  26. UNIX_TIMESTAMP(a.ts) as a_last_update,
  27. UNIX_TIMESTAMP(tn.ts) as tn_last_update from sportsnews as s
  28. left join articles as a on s.storyid = a.storyid and
  29. s.subcat1 = a.subcat1
  30. left join providers p on s.provider = p.abbr
  31. left join expert_authors e on s.subcat1 = e.league and s.author = e.author
  32. left join topnews tn on s.storyid = tn.storyid and s.subcat1 = tn.subcat1
  33. left join article_templates t on s.article_template = t.template_id
  34. where s.storyid = 'aw-wojnarowski_jeremy_lin_knicks_rockets_nba_021412' and s.subcat1 = 'nba' limit 1
  35. num queries: 5
  36. select s.storyid, s.title, s.provider, s.author, s.priority,
  37. s.unixtime, s.summary, s.article_template, s.url,
  38. s.source,s.subcat1,s.subcat2,s.comments_enabled,
  39. a.subtitle, a.issuedate, a.byline, a.text,
  40. p.copyright, p.name as provider_long, e.type,
  41. tn.title as topnews_title,
  42. p.valid_as_of_date,
  43. t.spaceid_suffix,
  44. UNIX_TIMESTAMP(s.ts) as s_last_update,
  45. UNIX_TIMESTAMP(a.ts) as a_last_update,
  46. UNIX_TIMESTAMP(tn.ts) as tn_last_update from sportsnews as s
  47. left join articles as a on s.storyid = a.storyid and
  48. s.subcat1 = a.subcat1
  49. left join providers p on s.provider = p.abbr
  50. left join expert_authors e on s.subcat1 = e.league and s.author = e.author
  51. left join topnews tn on s.storyid = tn.storyid and s.subcat1 = tn.subcat1
  52. left join article_templates t on s.article_template = t.template_id
  53. where s.storyid = 'aw-wojnarowski_jeremy_lin_knicks_rockets_nba_021412' and s.subcat1 = 'nba' limit 1
  54. num queries: 6
  55. select e.name, e.bio, e.description, e.expertsarchive_url, e.author_uuid,
  56. ef.group_email, ef.spaceid, ef.title, ef.message,
  57. e.spaceid_subpath,
  58. GROUP_CONCAT(DISTINCT ea.league SEPARATOR ', ') as leagues
  59. from experts as e
  60. left join expert_authors as ea on ea.author = e.name
  61. left join expert_feedback as ef on ef.name = e.name
  62. group by e.name
  63. num queries: 7
  64. select e.name, i.url, i.type, it.width, it.height
  65. from experts as e
  66. left join expert_images as ei on ei.name = e.name
  67. left join images as i on ei.image = i.image_id
  68. left join image_types as it on it.type_id = i.type
  69. where (i.type = 1 or i.type is null or i.type = 27)
  70. num queries: 8
  71. select e.name, jen.urn
  72. from experts as e
  73. join joint_expert_news as jen on jen.expert = e.name
  74. num queries: 9
  75. select p.abbr, p.name, p.valid_as_of_date,
  76. i.url, it.type_id, it.width, it.height, pl.url as link_url, pl2.url as ymedia_id,
  77. p.intl_exclude_list,p.photo_provider,
  78. p.morenews_include_leagues, p.morenews_exclude_leagues
  79. from providers as p
  80. left join partner_images as pi on pi.provider = p.abbr
  81. left join images as i on pi.image = i.image_id
  82. left join image_types as it on it.type_id = i.type
  83. left join partner_links as pl on pl.provider = pi.provider and pl.type = 1
  84. left join partner_links as pl2 on pl2.provider = p.abbr and pl2.type = 2
  85. num queries: 10
  86. SELECT l.SHORT_NAME,
  87. li.IPTC,
  88. li.LEAGUE_RANK,
  89. li.IPTC_RANK FROM LEAGUE_IPTC li JOIN LEAGUE l on l.LEAGUE_ID=li.LEAGUE ORDER BY li.LEAGUE, IPTC_RANK
  90. num queries: 11
  91. select p.abbr, p.name, p.valid_as_of_date,
  92. i.url, it.type_id, it.width, it.height, pl.url as link_url, pl2.url as ymedia_id,
  93. p.intl_exclude_list,p.photo_provider,
  94. p.morenews_include_leagues, p.morenews_exclude_leagues
  95. from providers as p
  96. left join partner_images as pi on pi.provider = p.abbr
  97. left join images as i on pi.image = i.image_id
  98. left join image_types as it on it.type_id = i.type
  99. left join partner_links as pl on pl.provider = pi.provider and pl.type = 1
  100. left join partner_links as pl2 on pl2.provider = p.abbr and pl2.type = 2
  101. num queries: 12
  102. select e.name, e.bio, e.description, e.expertsarchive_url, e.author_uuid,
  103. ef.group_email, ef.spaceid, ef.title, ef.message,
  104. e.spaceid_subpath,
  105. GROUP_CONCAT(DISTINCT ea.league SEPARATOR ', ') as leagues
  106. from experts as e
  107. left join expert_authors as ea on ea.author = e.name
  108. left join expert_feedback as ef on ef.name = e.name
  109. group by e.name
  110. num queries: 13
  111. select e.name, i.url, i.type, it.width, it.height
  112. from experts as e
  113. left join expert_images as ei on ei.name = e.name
  114. left join images as i on ei.image = i.image_id
  115. left join image_types as it on it.type_id = i.type
  116. where (i.type = 1 or i.type is null or i.type = 27)
  117. num queries: 14
  118. select e.name, jen.urn
  119. from experts as e
  120. join joint_expert_news as jen on jen.expert = e.name
  121. num queries: 15
  122. select storyid, provider, category, url from distlinks where storyid in ('.lego_topnews_uuid', '.lego_default_uuid_v1', '.lego_default_uuid_v2' )
  123. num queries: 16
  124. SELECT s.storyid, s.subcat1, s.provider, p.valid_as_of_date,
  125. UNIX_TIMESTAMP(s.ts) as s_last_update
  126. FROM sportsnews s
  127. INNER JOIN providers p on s.provider = p.abbr
  128. WHERE (s.unixtime > 1328142600 and s.priority > 0 and s.subcat2 in ('lgns', 'story_recruiting', 'team_report', 'ept_sports_georgia_bulldogs', 'ept_sports_indiana_hoosiers', 'ept_sports_kentucky_wildcats', 'ept_sports_michigan_wolverines', 'ept_sports_missouri_power_mizzou', 'ept_sports_nascar_marbles', 'ept_sports_ncstate_wolfpack', 'ept_sports_oklahoma_sooners', 'ept_sports_olemiss_rebels', 'ept_sports_pittsburgh_panthers', 'ept_sports_rivals_footballrecruiting', 'ept_sports_texas_longhorns', 'ept_sports_texastech_raiders', 'ept_sports_usc_trojans', 'ept_sports_vanderbilt_commodores', 'ept_sports_alabama_crimsontide', 'ept_sports_california_goldenbears', 'ept_sports_florida_gators', 'ept_sports_floridastate_seminoles', 'ept_sports_iowastate_cyclones', 'ept_sports_louisianatech_bulldogs', 'ept_sports_northcarolina_tarheels', 'ept_sports_oklahomastate_cowboys', 'ept_sports_southcarolina_gamecocks', 'ept_sports_unlv_rebels', 'ept_sports_virginiatech_hokies', 'ept_sports_mississippistate_bulldogs', 'ept_sports_oregonstate_beavers'))
  129. ORDER BY s.unixtime DESC
  130. LIMIT 1 OFFSET 0
  131. Array
  132. (
  133. [0] => Array
  134. (
  135. [class] => connective
  136. [inclusive] => Array
  137. (
  138. [0] => Array
  139. (
  140. [class] => connective
  141. [inclusive] => Array
  142. (
  143. [0] => Array
  144. (
  145. [class] => condition
  146. [field] => provider_id
  147. [operator] => is
  148. [subclass] => string
  149. [value] => fcb559c7-584e-480d-be44-b8c6b60ade33
  150. )
  151.  
  152. [1] => Array
  153. (
  154. [class] => condition
  155. [field] => provider_id
  156. [operator] => is
  157. [subclass] => string
  158. [value] => 54edcaf7-cdbb-43d7-a41b-bffdcc37fb56
  159. )
  160.  
  161. [2] => Array
  162. (
  163. [class] => condition
  164. [field] => provider_id
  165. [operator] => is
  166. [subclass] => string
  167. [value] => 0839657e-6c78-4e67-9d21-5409b8eb8a2b
  168. )
  169.  
  170. [3] => Array
  171. (
  172. [class] => condition
  173. [field] => provider_id
  174. [operator] => is
  175. [subclass] => string
  176. [value] => a70566db-8a27-4473-bb6f-73380e4c965b
  177. )
  178.  
  179. [4] => Array
  180. (
  181. [class] => condition
  182. [field] => provider_id
  183. [operator] => is
  184. [subclass] => string
  185. [value] => de666450-3434-45fa-ac3d-ea6088f81691
  186. )
  187.  
  188. [5] => Array
  189. (
  190. [class] => condition
  191. [field] => provider_id
  192. [operator] => is
  193. [subclass] => string
  194. [value] => f4707a9e-944a-47ad-a831-3062394020c0
  195. )
  196.  
  197. [6] => Array
  198. (
  199. [class] => condition
  200. [field] => provider_id
  201. [operator] => is
  202. [subclass] => string
  203. [value] => 6b24cdb1-fb0e-4eae-8f3f-41b3d8741f6b
  204. )
  205.  
  206. [7] => Array
  207. (
  208. [class] => condition
  209. [field] => provider_id
  210. [operator] => is
  211. [subclass] => string
  212. [value] => 497660ab-6a82-4a53-b16c-6a93638f82dc
  213. )
  214.  
  215. [8] => Array
  216. (
  217. [class] => condition
  218. [field] => provider_id
  219. [operator] => is
  220. [subclass] => string
  221. [value] => 19a5a5b1-6477-4f16-8a89-22fee8d3fccd
  222. )
  223.  
  224. [9] => Array
  225. (
  226. [class] => condition
  227. [field] => provider_id
  228. [operator] => is
  229. [subclass] => string
  230. [value] => 99add987-dcd1-48ae-b801-e4aa58e4ebd0
  231. )
  232.  
  233. [10] => Array
  234. (
  235. [class] => condition
  236. [field] => provider_id
  237. [operator] => is
  238. [subclass] => string
  239. [value] => 21d636bb-8aa8-4731-9147-93a932d2b27a
  240. )
  241.  
  242. [11] => Array
  243. (
  244. [class] => condition
  245. [field] => provider_id
  246. [operator] => is
  247. [subclass] => string
  248. [value] => ba4206fb-9043-48b4-9f77-d0eafd5887ed
  249. )
  250.  
  251. [12] => Array
  252. (
  253. [class] => condition
  254. [field] => provider_id
  255. [operator] => is
  256. [subclass] => string
  257. [value] => 6237e2fb-9732-4a69-bb38-16cdcd4667ca
  258. )
  259.  
  260. [13] => Array
  261. (
  262. [class] => condition
  263. [field] => provider_id
  264. [operator] => is
  265. [subclass] => string
  266. [value] => 4b2bf1a7-a780-428e-98ec-21f52c1073ce
  267. )
  268.  
  269. [14] => Array
  270. (
  271. [class] => condition
  272. [field] => provider_id
  273. [operator] => is
  274. [subclass] => string
  275. [value] => 7789969d-5b14-4a6e-8e2c-ca6b83cb8cf7
  276. )
  277.  
  278. [15] => Array
  279. (
  280. [class] => condition
  281. [field] => provider_id
  282. [operator] => is
  283. [subclass] => string
  284. [value] => f7d799a7-9855-4f3b-8c5d-90c407ab22ee
  285. )
  286.  
  287. [16] => Array
  288. (
  289. [class] => condition
  290. [field] => provider_id
  291. [operator] => is
  292. [subclass] => string
  293. [value] => 885f4802-0bf4-46d2-b22e-3c63e4aa0239
  294. )
  295.  
  296. )
  297.  
  298. [subclass] => or
  299. )
  300.  
  301. [1] => Array
  302. (
  303. [class] => condition
  304. [field] => published
  305. [operator] => gt
  306. [subclass] => datetime
  307. [value] => 2012-02-01T19:30:00-05:00
  308. )
  309.  
  310. [2] => Array
  311. (
  312. [class] => condition
  313. [field] => tags
  314. [operator] => is
  315. [subclass] => string
  316. [value] => ysports:slug=aw-wojnarowski_jeremy_lin_knicks_rockets_nba_021412
  317. )
  318.  
  319. )
  320.  
  321. [subclass] => and
  322. )
  323.  
  324. )
Add Comment
Please, Sign In to add comment