{"id":7963,"date":"2015-08-12T13:04:10","date_gmt":"2015-08-12T18:04:10","guid":{"rendered":"http:\/\/www.mrc-productivity.com\/legacy\/?page_id=7963"},"modified":"2017-06-12T14:36:29","modified_gmt":"2017-06-12T19:36:29","slug":"in-memory-reporting","status":"publish","type":"page","link":"https:\/\/www.mrc-productivity.com\/legacy\/reports\/in-memory-reporting","title":{"rendered":"In-Memory Reporting"},"content":{"rendered":"<p><!-- Begin Content --><\/p>\n<h1>In-Memory Reporting<\/h1>\n<p>The architecture of m-Power reports allow them to query data from a variety of sources, including:<\/p>\n<ul>\n<li>-A database, via a JDBC connection<\/li>\n<li>-Web Services<\/li>\n<li>-In-Memory <\/li>\n<p>\nThis documentation will focus on the final point listed above, In-Memory Reporting. It is important to note that while In-Memory Reporting may offer considerable performance advantages from Web Services and database connections, it is only recommended to use in limited situations. One common use of in-memory reporting is for use in high visibility graphing and dashboards. Other good uses of this feature would include any case where data is somewhat stagnant yet frequently accessed.<\/p>\n<p>To begin, developers first need to create a Summary application type, using the In-Memory Summary template. When this template is compiled and run, the generated data will be stored on the application server rather than the database. It is recommended to use m-Power&#39;s <a href=\"https:\/\/www.mrc-productivity.com\/legacy\/utilities\/working-with-the-messaging-scheduled-tasks-plug-in\" target=\"_blank\">Messaging and Scheduled Task<\/a> feature to automate the regular running of this summary, allowing the data to refresh as needed.<\/p>\n<p>Once the summary has been created, build your Report and select your In-Memory summary table. Please note that since In-Memory Reporting does not utilize the database whatsoever, some common m-Power features will not be available, including table joins and database calculations. If joins or database calculations are needed, you are encouraged to implement these within the summary application.<\/p>\n<p>The embedded video below explains the process in more detail:<br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/YqweN38emNA\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>Continue building the report as you would build any other standard application. At run-time your application will query the In-Memory data set rather than the database. <br \/>\n<span style=\"font-style:italic\">Note: <\/span> The first time the data set is run, the performance may be slower than normal, as extra overhead is required to load the data into memory.<br \/>\n<span style=\"font-style:italic\">Note: <\/span> Since the data set was generated from a summary, please remember that the data will be stagnant until the summary is re-run allowing the data to be updated.<br \/>\n<span style=\"font-style:italic\">Note: <\/span> Because the data lives in-memory, any dropdown lists that are added to record selections need to access data from an External application.<br \/>\n<!-- End Content --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In-Memory Reporting The architecture of m-Power reports allow them to query data from a variety of sources, including: -A database, via a JDBC connection -Web Services -In-Memory This documentation will focus on the final point listed above, In-Memory Reporting. It is important to note that while In-Memory Reporting may offer considerable performance advantages from Web [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":557,"menu_order":3,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-7963","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/pages\/7963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/comments?post=7963"}],"version-history":[{"count":12,"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/pages\/7963\/revisions"}],"predecessor-version":[{"id":7982,"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/pages\/7963\/revisions\/7982"}],"up":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/pages\/557"}],"wp:attachment":[{"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/media?parent=7963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}