{"id":1020070,"date":"2015-10-29T15:32:34","date_gmt":"2015-10-29T22:32:34","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/"},"modified":"2016-02-18T08:30:53","modified_gmt":"2016-02-18T16:30:53","slug":"super-slow-queries-in-3-12","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/","title":{"rendered":"Super Slow Queries in 3.12"},"content":{"rendered":"<p>Hey Folks,<br \/>\nWe were cruising for a while on 3.9 and after this update and enabling community-event-tickets, our site has slowed down by more than 50%.  <\/p>\n<p>SInce we added the plugins 6 days ago we&#8217;ve racked up almost 4000 slow queries similar to this:<\/p>\n<pre><code>\n| 2015-10-23 05:07:12 | x_root_nginx[xl_root_nginx] @  [xxx.xxx.xx.xxx] | 00:00:19   | 00:00:00  |         6 |        104741 | wp_xlr8r_nginx |              0 |         0 | 1171086832 | \nSELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  WHERE 1=1  AND (((wp_posts.post_title LIKE &#039;%TTC%&#039;) OR\n(wp_posts.post_content LIKE &#039;%TTC%&#039;)) AND ((wp_posts.post_title LIKE &#039;%TE%&#039;) OR (wp_posts.post_content LIKE &#039;%TE%&#039;)))  \nAND (wp_posts.post_password = &#039;&#039;)  AND wp_posts.post_type IN (&#039;post&#039;, &#039;page&#039;, &#039;attachment&#039;, &#039;product&#039;, &#039;tribe_events&#039;, \n&#039;tribe_venue&#039;) AND ((wp_posts.post_status = &#039;publish&#039;))  ORDER BY wp_posts.post_date DESC LIMIT 0, 6\n<\/code><\/pre>\n<blockquote class=\"imgur-embed-pub\" lang=\"en\" data-id=\"XzLlzZb\"><p><a href=\"https:\/\/imgur.com\/XzLlzZb\">View post on imgur.com<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/s.imgur.com\/min\/embed.js\" charset=\"utf-8\"><\/script><\/p>\n<blockquote class=\"imgur-embed-pub\" lang=\"en\" data-id=\"Mw4bDNn\"><p><a href=\"https:\/\/imgur.com\/Mw4bDNn\">View post on imgur.com<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/s.imgur.com\/min\/embed.js\" charset=\"utf-8\"><\/script><br \/>\nhttp:\/\/imgur.com\/GFzPcRd  (after we upgraded to 3.12 Oct 19)<\/p>\n<blockquote class=\"imgur-embed-pub\" lang=\"en\" data-id=\"8nVEJBT\"><p><a href=\"https:\/\/imgur.com\/8nVEJBT\">View post on imgur.com<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/s.imgur.com\/min\/embed.js\" charset=\"utf-8\"><\/script><\/p>\n<p>We have:<br \/>\n<strong>28,800 Posts<br \/>\n1250 Events<\/strong><br \/>\n&#8212;&#8211;<\/p>\n<p>I&#8217;ve looked all over your forums and have worked with some of your team members to get a beta ticketing our the door, but they have specifically mentioned that something has been identified on the core event-calendar plugin or pro and told me to hit you guys here for a solution.  If there is something we can hack out until you get a proper patch, that would be super helpful.<\/p>\n<p>We have disabled recurring events.<br \/>\nDeleting old events are not an option as we have promoters who want a record of all those past events.<\/p>\n<p>Please advise, we&#8217;ve been looking for solutions for the past 5 days doing tests, but seems like there is some query that is triggering all these issues.<\/p>\n","protected":false},"template":"","class_list":["post-1020070","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Super Slow Queries in 3.12 -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Super Slow Queries in 3.12 -\" \/>\n<meta property=\"og:description\" content=\"Hey Folks, We were cruising for a while on 3.9 and after this update and enabling community-event-tickets, our site has slowed down by more than 50%. SInce we added the plugins 6 days ago we&#8217;ve racked up almost 4000 slow queries similar to this: | 2015-10-23 05:07:12 | x_root_nginx[xl_root_nginx] @ [xxx.xxx.xx.xxx] | 00:00:19 | 00:00:00 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-18T16:30:53+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/\",\"name\":\"Super Slow Queries in 3.12 -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-10-29T22:32:34+00:00\",\"dateModified\":\"2016-02-18T16:30:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Community Events\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Super Slow Queries in 3.12\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Super Slow Queries in 3.12 -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/","og_locale":"en_US","og_type":"article","og_title":"Super Slow Queries in 3.12 -","og_description":"Hey Folks, We were cruising for a while on 3.9 and after this update and enabling community-event-tickets, our site has slowed down by more than 50%. SInce we added the plugins 6 days ago we&#8217;ve racked up almost 4000 slow queries similar to this: | 2015-10-23 05:07:12 | x_root_nginx[xl_root_nginx] @ [xxx.xxx.xx.xxx] | 00:00:19 | 00:00:00 [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/","article_modified_time":"2016-02-18T16:30:53+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/","name":"Super Slow Queries in 3.12 -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-10-29T22:32:34+00:00","dateModified":"2016-02-18T16:30:53+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/super-slow-queries-in-3-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Community Events","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/"},{"@type":"ListItem","position":5,"name":"Super Slow Queries in 3.12"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1020070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":4,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1020070\/revisions"}],"predecessor-version":[{"id":1020282,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1020070\/revisions\/1020282"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1020070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}