{"id":31079,"date":"2013-01-17T16:44:27","date_gmt":"2013-01-18T00:44:27","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/wp_posts-table-locking-problem\/"},"modified":"2013-01-17T16:44:27","modified_gmt":"2013-01-18T00:44:27","slug":"wp_posts-table-locking-problem","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/","title":{"rendered":"wp_posts table locking problem"},"content":{"rendered":"<p>Our database was brought to its knees today when our user was trying to update Events.  The database was repaired by the host and then their support person said said &#8220;the queries were stuck.  It looks like a problem copying them to the temp  files and then they get locked up.  He said this did relate to the Events; he said one of the fields was event start date.&#8221;<br \/>\nWe were sent this from their logs:<\/p>\n<p>| 194  | 1018979 | 66.39.3.120:16443 | creativehaverhil_wp | Query   | 1320<br \/>\n| Copying to tmp table | SELECT SQL_CALC_FOUND_ROWS DISTINCT wp_posts.*,<br \/>\neventStart.meta_value as EventStartDate, IFNULL(DATE |<br \/>\n| 356  | 1018979 | 66.39.3.120:19251 | creativehaverhil_wp | Query   | 1140<br \/>\n| Locked               | UPDATE `wp_posts` SET `post_author` = 781,<br \/>\n`post_date` = &#8216;2012-12-14 12:55:03&#8217;, `post_date_gmt` = &#8216;2 |<br \/>\n| 417  | 1018979 | 66.39.3.120:21477 | creativehaverhil_wp | Query   | 999<br \/>\n| Locked               | SELECT id from wp_posts WHERE post_content LIKE<br \/>\n&#8216;%[tribe_community_events]%&#8217; AND post_type in (&#8216;page |<br \/>\n| 437  | 1018979 | 66.39.3.120:22077 | creativehaverhil_wp | Query   | 959<br \/>\n| Locked               | SELECT id from wp_posts WHERE post_content LIKE<br \/>\n&#8216;%[tribe_community_events]%&#8217; AND post_type in (&#8216;page |<br \/>\n| 505  | 1018979 | 66.39.3.120:24452 | creativehaverhil_wp | Query   | 829<br \/>\n| Locked               | SELECT id from wp_posts WHERE post_content LIKE<br \/>\n&#8216;%[tribe_community_events]%&#8217; AND post_type in (&#8216;page |<br \/>\n| 509  | 1018979 | 66.39.3.120:24661 | creativehaverhil_wp | Query   | 813<br \/>\n| Locked               | SELECT id from wp_posts WHERE post_content LIKE<br \/>\n&#8216;%[tribe_community_events]%&#8217; AND post_type in (&#8216;page |<br \/>\n| 511  | 1018979 | 66.39.3.120:24807 | creativehaverhil_wp | Query   | 804<br \/>\n| Locked               | SELECT id from wp_posts WHERE post_content LIKE<br \/>\n&#8216;%[tribe_community_events]%&#8217; AND post_type in (&#8216;page |<br \/>\n| 562  | 1018979 | 66.39.3.120:26475 | creativehaverhil_wp | Query   | 710<br \/>\n| Locked               | SELECT id from wp_posts WHERE post_content LIKE<br \/>\n&#8216;%[tribe_community_events]%&#8217; AND post_type in (&#8216;page |<br \/>\n| 592  | 1018979 | 66.39.3.120:27436 | creativehaverhil_wp | Query   | 660<br \/>\n| Locked               | SELECT id from wp_posts WHERE post_content LIKE<br \/>\n&#8216;%[tribe_community_events]%&#8217; AND post_type in (&#8216;page |<br \/>\n| 594  | 1018979 | 66.39.3.120:27455 | creativehaverhil_wp | Query   | 659<br \/>\n| Locked               | SELECT id from wp_posts WHERE post_content LIKE<br \/>\n&#8216;%[tribe_community_events]%&#8217; AND post_type in (&#8216;page |<br \/>\n| 625  | 1018979 | 66.39.3.120:28896 | creativehaverhil_wp | Query   | 585  <\/p>\n<p>etc&#8230;..<\/p>\n<p>I have updated the plugins to the latest versions, but whenever this particular user attempts to access the Events thru admin, the whole database seizes.<\/p>\n<p>I could not find where in the plug-in(s) this particular query is coming from.<br \/>\nHelp!?!?!?!?!?<\/p>\n<p>Thank you.<\/p>\n","protected":false},"template":"","class_list":["post-31079","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>wp_posts table locking problem -<\/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\/wp_posts-table-locking-problem\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"wp_posts table locking problem -\" \/>\n<meta property=\"og:description\" content=\"Our database was brought to its knees today when our user was trying to update Events. The database was repaired by the host and then their support person said said &#8220;the queries were stuck. It looks like a problem copying them to the temp files and then they get locked up. He said this did [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/\",\"name\":\"wp_posts table locking problem -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2013-01-18T00:44:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/#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\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"wp_posts table locking problem\"}]},{\"@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":"wp_posts table locking problem -","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\/wp_posts-table-locking-problem\/","og_locale":"en_US","og_type":"article","og_title":"wp_posts table locking problem -","og_description":"Our database was brought to its knees today when our user was trying to update Events. The database was repaired by the host and then their support person said said &#8220;the queries were stuck. It looks like a problem copying them to the temp files and then they get locked up. He said this did [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/","name":"wp_posts table locking problem -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2013-01-18T00:44:27+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/wp_posts-table-locking-problem\/#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":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"wp_posts table locking problem"}]},{"@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\/31079","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/31079\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=31079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}