Max Drown wrote:
BULKCOPY uses I/O (disk read/write)? I assumed it was all done in memory? How does it work exactly?
I was referring to the downstream resource consumption that inherently accompanies the use of bulkcopy and not the actual in memory copy.
Since bulkcopy copies the entire message as much as possible your messages typically are much larger than they need to be for the receiving system.
This equates to extra disk I/O as unnecissarily larger messages are written to SMAT and the recovery database repeatedly.
The larger message size inherient with bulk copy also reduces all other overhead of message flow like network traffic.
For example, let’s say your typical ADT message is 2,000 bytes using bulkcopy and when you switch to field by field copy of what is used by the foreign system your same ADT message is now 800 bytes.
Each piece might seem small but add them all together and you just reduced certain resource waste in more than half.
Being the largest Cancer facility in the world with a huge message multiplier (millions upon millions of messages flowing thru our cloverleaf server each day) makes it easy for us to see the resource savings without needing a stop watch.
However, we have discovered there are additional benifits to doing field by field copy that make it worthwhile even without the resource savings.
Actually I say we but credit really goes to our team mate (Jim Kosloskey) for educating us on the advantages of using field by field copy over bulkcopy.
Most of the additional benefits I elude to have to do with granularity of control and maintainability and support after go-live.
Bulkcopy’s main advantage as I see it is to get the integration done quickly up front; doing field by field copy takes me about an extra 2 days of xlate work up front but I also get much more familiar with the xlate tool, HL7 pathing, interation, etc.
I also tend to find doing a field by field copy makes me look at each field in more detail resulting in better project team analysis of the integration and spec writing.
Normally we have to make something like this a team standard for everyone to adhere to a consistant methodology, but I think the entire team has voluntarily endorsed using field by field copy instead of bulkcopy, even those of us like me that grew up on bulkcopy.
Russ Ross
RussRoss318@gmail.com