Replies: 3 comments 5 replies
-
I mean, Nick always gives probably the best responses, so if he didn't mention anything else, then probably there is nothing else to mention. Since they are on SQL, you can try to run this query any maybe spot where the offending channel is and direct your changes/tweaks there to see if you can maintain a steady size in database growth:
|
Beta Was this translation helpful? Give feedback.
-
Michael Hobbs wrote an excellent query which shows the size of various MC channels https://gist.github.com/MichaelLeeHobbs/67980d165fc68880eb2ab283c673244b It should a lot of detail about what channels and what data is using the space. Chris T. wrote an excellent article on using Attachments in MC also - https://forums.mirthproject.io/articles/175046-using-attachments This is valuable for space because for messages MC stores ONE copy as an attachment and re-uses versus passing teh whole message from one connector to the next. |
Beta Was this translation helpful? Give feedback.
-
This also works if you are on MS SQL server.
https://stackoverflow.com/questions/58942371/get-space-used-by-mirth-per-channel-in-sql-server
…On Tue, Dec 21, 2021 at 8:17 AM Coooz ***@***.***> wrote:
Thank you @jonbartels <https://github.com/jonbartels> . I'll check it out!
—
Reply to this email directly, view it on GitHub
<#4895 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFPLOOTH3FVIH2GWUHLWFZDUSCSAJANCNFSM5JZGANHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: <nextgenhealthcare/connect/repo-discussions/4895/comments/1853690@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
On https://forums.mirthproject.io/forum/mirth-connect/support/13367-database-size-growing-out-of-contol Nick Rupley gives some very useful remarks on why the database may grow larger than intended.
Since a customer of ours complains about a bloated database (70 Gb, SQL Server), I'm very much interested in similar tips to check or implement that will help to keep the database relatively small.
I know about the message storage slider, message pruning, and the occasional database shrink + index defrag. Are there any other additional best practices/rules of thumb that may be overlooked - for instance, like the ones in the link? I would be most grateful!
Also: said customer uses Mirth Connect 3.5.1. Is it possible that simply upgrading to 3.12.0 will help me here? I wanted to check the release notes of all of the inbetween versions for this, but they cannot be accessed. I get proxy errors instead.
Beta Was this translation helpful? Give feedback.
All reactions