{"id":1158303,"date":"2016-08-31T10:31:48","date_gmt":"2016-08-31T17:31:48","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/"},"modified":"2016-08-31T10:31:48","modified_gmt":"2016-08-31T17:31:48","slug":"best-way-to-clean-duplicates-and-database","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/","title":{"rendered":"Best way to clean duplicates and database?"},"content":{"rendered":"<p>We had a calendar with 15,000 to 20,000 events that shot up to 60,000 events when duplicates were created by the plugin&#8230;<\/p>\n<ul>\n<li>What is the best way to remove the duplicates &#8211; when we try selecting more than 60, the system hangs deleting? When we do an &#8216;Edit All&#8217; occurrences it takes overnight and hangs &#8211; we have to resume in the morning.<\/li>\n<li>After clean-up, what is the recommended way to clean-up and\/or optimize our database? Plugin we should use?<\/li>\n<li>Once we get all the dups deleted, what is the best\/proven method for adding new recurring events that don&#8217;t create extra dups?<\/li>\n<li>Do the automatically deleted past items get put in &#8216;Trash&#8217; or permanently deleted? (Ask since trash takes so long to delete since we can only select 60 events at a time &#8211; is there a better way to flush &#8216;Trash&#8217; that is stable?<\/li>\n<\/ul>\n<p>We can&#8217;t stage the site since the original database was close to 400mb in size, from all the events, in order to try alternative routes.<\/p>\n<p>&#8230;we&#8217;ve cranked up our server memory and request time-out as much as possible. We host at a very good WordPress-only host, Flywheel.<\/p>\n<p>Please advise as this applies to some of our past purchased licenses too?<\/p>\n<p>Regards,<br \/>\nJeremy<\/p>\n","protected":false},"template":"","class_list":["post-1158303","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>Best way to clean duplicates and database? -<\/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\/best-way-to-clean-duplicates-and-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Best way to clean duplicates and database? -\" \/>\n<meta property=\"og:description\" content=\"We had a calendar with 15,000 to 20,000 events that shot up to 60,000 events when duplicates were created by the plugin&#8230; What is the best way to remove the duplicates &#8211; when we try selecting more than 60, the system hangs deleting? When we do an &#8216;Edit All&#8217; occurrences it takes overnight and hangs [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/\" \/>\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\/best-way-to-clean-duplicates-and-database\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/\",\"name\":\"Best way to clean duplicates and database? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-08-31T17:31:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/#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\":\"Best way to clean duplicates and database?\"}]},{\"@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":"Best way to clean duplicates and database? -","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\/best-way-to-clean-duplicates-and-database\/","og_locale":"en_US","og_type":"article","og_title":"Best way to clean duplicates and database? -","og_description":"We had a calendar with 15,000 to 20,000 events that shot up to 60,000 events when duplicates were created by the plugin&#8230; What is the best way to remove the duplicates &#8211; when we try selecting more than 60, the system hangs deleting? When we do an &#8216;Edit All&#8217; occurrences it takes overnight and hangs [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/","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\/best-way-to-clean-duplicates-and-database\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/","name":"Best way to clean duplicates and database? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-08-31T17:31:48+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/best-way-to-clean-duplicates-and-database\/#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":"Best way to clean duplicates and database?"}]},{"@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\/1158303","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":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1158303\/revisions"}],"predecessor-version":[{"id":1159187,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1158303\/revisions\/1159187"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1158303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}