web stats
DB values are reading continuosly - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2015, 05:17 AM
vibinChander vibinChander is offline
OBX.2 Kenobi
 
Join Date: Jul 2015
Location: Chennai
Posts: 74
vibinChander is on a distinguished road
Send a message via Skype™ to vibinChander
Default DB values are reading continuosly

Hey, i'm trying to read the data from Mysql DB and insert it into Hl7 xml ccda. The values are contionusly read from the DB. I adjusted the polling time around 100000 still Mirth is reading the DB continuosly and inserting the values. How to reduce/stop this? I'm using mirth 3.0.X version.
Reply With Quote
  #2  
Old 09-01-2015, 09:33 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,123
narupley is on a distinguished road
Default

Every time the Database Reader polls it will perform your query, and then process all rows that return from the query. That interval specifies how often to perform the query, not how often to process rows.

If you want to process fewer rows per poll, consider adding a LIMIT clause to your query.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

Tags
mirth 3.0, mysql

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:35 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation