Notifications
Clear all

How can I run BatchWriteSingleRelationalChunk in parallel?

   RSS

0
Topic starter

I uploaded a large file. BatchWriteSingleRelationalChunk task is running 1 task at a time ...

I have 3000+ such tasks... is there a configuration available to parallelize it?

4 Answers
0
Topic starter

See https://docs.onenetwork.com/devnet/latest/platform-user-s-guide/system-configuration

 
You can use the ParallelBatchWrite configuration for your QueueName~Interface~Version.
 
Note - this only takes affect for files dequeued *after* this configuration is created.  It won't affect in-flight processing.
0

 To configure, add an entry to EXTERNAL_REFERENCE with:
 type = ParallelBatchWrite
 key = queueversion, for example "100~inbox:SCC.Item_IB:2.0"
 value = number of grid queues to use to process a single message
Sample query - 

insert into external_reference (SYS_EXTERNAL_REFERENCE_ID,MODEL_NAME,VC_ID,REF_TYPE,EXTERNAL_VALUE,LOCAL_VALUE)
values (EXTERNAL_REFERENCE_SEQ.nextval, 'Standard ExternalReference',(select vc_id from value_chain where vc_id!=0),'ParallelBatchWrite','UploadInboundInterfaceCsvFiles~CMD.UploadOnboardRequest~1.0',10);

* You must register this class through BatchWriteCallback.register from your ModuleContextListener*.

e.g.

BatchWriteCallback.register(new ParallelBatchWriteCallback());
0

I am new here and the sole reason for me to come here is to get the best accounting assignment help because I am stuck in between writing my assignment and cannot get my work done. 

Accounting Assignment Help

0

You should try finding the solution on Google because yesterday I did the same, as I wanted to know how to watch channel 4 in the US and got the solution within seconds in the name of Streaming Digitally!

how to watch channel 4 in the US

© 2020 One Network Enterprises. All rights reserved. Privacy Policy