{"id":15893,"date":"2018-08-16T23:08:42","date_gmt":"2018-08-17T06:08:42","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=15893"},"modified":"2020-08-26T15:48:03","modified_gmt":"2020-08-26T22:48:03","slug":"kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/","title":{"rendered":"KB00023359: Resolving report job failure when overwhelmed with data quantity"},"content":{"rendered":"
KB Article #:<\/strong> KB0023359<\/div>\n
Topic\/Category:<\/strong>\u00a0Report<\/div>\n
Applies to:<\/strong>\u00a0v4.1.2.1 without Advanced Reporting<\/div>\n
Issue:<\/strong>\u00a0Report jobs fail when a large quantity data is processed at one time.<\/div>\n
<\/div>\n
Solution:<\/strong><\/div>\n
Please use the following hot-fix for Ephesoft Transact v4.1.2.1. To deploy the ktr files, please perform these steps:<\/div>\n
    \n
  1. Shut down the server.<\/li>\n<\/ol>\n
      \n
    1. Run the following SQL query in the report database and commit the changes. This query deletes unnecessary data from the report database.<\/li>\n<\/ol>\n
        \n
      • \n
        delete from\u00a0batch_instance\u00a0where\u00a0last_modified\u00a0<\u00a0(select\u00a0last_execution_at\u00a0from\u00a0last_execution\u00a0where\u00a0job='BATCH_INSTANCE_LAST_UPDATE');\r\ndelete from\u00a0finished_batch_instance;\r\ndelete from\u00a0finished_batch_xml_data;\r\ndelete from\u00a0modified_batch_instance;\r\ndelete from throughput_common_data\u00a0where\u00a0end_time\u00a0<\u00a0(select\u00a0last_execution_at\u00a0from\u00a0last_execution\u00a0where\u00a0job='BATCH_INSTANCE_LAST_UPDATE');\r\ndelete from\u00a0throughput_common_module_data\u00a0where\u00a0end_time\u00a0<\u00a0(select\u00a0last_execution_at\u00a0from\u00a0last_execution\u00a0where\u00a0job='BATCH_INSTANCE_LAST_UPDATE');\r\n<\/pre>\n<\/li>\n<\/ul>\n
          \n
        1. \n
          Once you have successfully execute this query, place the attached files in below location:<\/div>\n<\/li>\n<\/ol>\n
            \n
          • {Ephesoft Installation Directory}\\Application\\WEB-INF\\classes\\META-INF\\dcma-reporting\\Dashboard<\/li>\n<\/ul>\n
              \n
            1. Restart the server.<\/li>\n<\/ol>\n
              <\/div>\n
              Suggestion:<\/strong><\/div>\n

              Ephesoft can adjust the cron expressions for cleanup to run during non-working hours, or during a time when the load on the server is known not to be high.<\/p>\n

              This could be a dashboard job run in an interval of 4 hours.<\/p>\n","protected":false},"excerpt":{"rendered":"

              KB Article #: KB0023359 Topic\/Category:\u00a0Report Applies to:\u00a0v4.1.2.1 without Advanced Reporting Issue:\u00a0Report jobs fail when a large quantity data is processed […]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12363],"tags":[1397,553,1398,1430,968],"yoast_head":"\nKB00023359: Resolving report job failure when overwhelmed with data quantity | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KB00023359: Resolving report job failure when overwhelmed with data quantity\" \/>\n<meta property=\"og:description\" content=\"KB Article #: KB0023359 Topic\/Category:\u00a0Report Applies to:\u00a0v4.1.2.1 without Advanced Reporting Issue:\u00a0Report jobs fail when a large quantity data is processed […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-17T06:08:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-26T22:48:03+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/\",\"name\":\"KB00023359: Resolving report job failure when overwhelmed with data quantity | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2018-08-17T06:08:42+00:00\",\"dateModified\":\"2020-08-26T22:48:03+00:00\",\"author\":{\"@id\":\"\"},\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB00023359: Resolving report job failure when overwhelmed with data quantity\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"KB00023359: Resolving report job failure when overwhelmed with data quantity | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"KB00023359: Resolving report job failure when overwhelmed with data quantity","og_description":"KB Article #: KB0023359 Topic\/Category:\u00a0Report Applies to:\u00a0v4.1.2.1 without Advanced Reporting Issue:\u00a0Report jobs fail when a large quantity data is processed […]","og_url":"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/","og_site_name":"Ephesoft Docs","article_published_time":"2018-08-17T06:08:42+00:00","article_modified_time":"2020-08-26T22:48:03+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/","url":"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/","name":"KB00023359: Resolving report job failure when overwhelmed with data quantity | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2018-08-17T06:08:42+00:00","dateModified":"2020-08-26T22:48:03+00:00","author":{"@id":""},"breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/kb0022761-to-clean-up-chunks-of-reports-of-data-when-overwhelmed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"KB00023359: Resolving report job failure when overwhelmed with data quantity"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":""}]}},"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/15893"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=15893"}],"version-history":[{"count":0,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/15893\/revisions"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=15893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/categories?post=15893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/tags?post=15893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}