Hi Rob,
Please find my all 3 options, in 3’rd option i have enabled the db connection which update table Y where i “passed the values to get updated in db table”, whereas in other 2 options didn’t pass value to db connection for update “here it took less time”.
Also I have pasted the individual time for each update, noticed time taken in db table update - tried both “LOCAL_TRANSACTOIN” & “NO_TRANSACTION” both timings were nearly same.
-
Enable Connection Pooling true
Minimum Pool Size 1
Maximum Pool Size 10
Pool Increment Size 1
Block Timeout (msec) 10000
Expire Timeout (msec) 7200000
Startup Retry Count 0
Startup Backoff Timeout (sec) 10
Document Retrieval
Queue Re-fill size=8
Document processing
Max thread=10
Here I have disabled the adapter connection service which update Y table. Only I had save pipeline invoke service within the service which got invoked by trigger.
END 2009-07-24 11:07:40
START 2009-07-24 11:07:39
Total time = 1 sec
-
Enable Connection Pooling true
Minimum Pool Size 1
Maximum Pool Size 10
Pool Increment Size 1
Block Timeout (msec) 10000
Expire Timeout (msec) 7200000
Startup Retry Count 0
Startup Backoff Timeout (sec) 10
Document Retrieval
Queue Re-fill size=8
Document processing
Max thread=10
Here enabled the db connection & didn’t pass any value to update service (so update didn’t takes place)
END 2009-07-24 11:20:45 IST
START 2009-07-24 11:20:42 IST
Total time = 3 sec
-
Enable Connection Pooling true
Minimum Pool Size 1
Maximum Pool Size 10
Pool Increment Size 1
Block Timeout (msec) 10000
Expire Timeout (msec) 7200000
Startup Retry Count 0
Startup Backoff Timeout (sec) 10
Document Retrieval
Queue Re-fill size=8
Document processing
Max thread=10
Enabled the db connection to updated by passing the values.
END 2009-07-24 11:38:00 IST
START 2009-07-24 11:34:26 IST
Total Time: 3 min 34 sec
Individual time taken for each update:
[15515]2009-07-24 11:38:00 IST [ISP.0090.0003C] End Time 07/24/09 11:38:00:465
[15505]2009-07-24 11:36:45 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:45:686
[15514]2009-07-24 11:37:53 IST [ISP.0090.0003C] End Time 07/24/09 11:37:53:372
[15503]2009-07-24 11:36:39 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:39:29
[15513]2009-07-24 11:37:46 IST [ISP.0090.0003C] End Time 07/24/09 11:37:46:700
[15501]2009-07-24 11:36:32 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:32:30
[15512]2009-07-24 11:37:39 IST [ISP.0090.0003C] End Time 07/24/09 11:37:39:966
[15499]2009-07-24 11:36:25 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:25:77
[15511]2009-07-24 11:37:32 IST [ISP.0090.0003C] End Time 07/24/09 11:37:32:91
[15497]2009-07-24 11:36:14 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:14:436
[15510]2009-07-24 11:37:20 IST [ISP.0090.0003C] End Time 07/24/09 11:37:20:904
[15495]2009-07-24 11:36:06 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:06:389
[15509]2009-07-24 11:37:13 IST [ISP.0090.0003C] End Time 07/24/09 11:37:13:904
[15493]2009-07-24 11:35:59 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:59:765
[15508]2009-07-24 11:37:06 IST [ISP.0090.0003C] End Time 07/24/09 11:37:06:357
[15491]2009-07-24 11:35:52 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:52:765
[15507]2009-07-24 11:36:59 IST [ISP.0090.0003C] End Time 07/24/09 11:36:59:717
[15489]2009-07-24 11:35:46 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:46:15
[15506]2009-07-24 11:36:52 IST [ISP.0090.0003C] End Time 07/24/09 11:36:52:232
[15487]2009-07-24 11:35:39 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:39:359
[15504]2009-07-24 11:36:45 IST [ISP.0090.0003C] End Time 07/24/09 11:36:45:576
[15485]2009-07-24 11:35:31 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:31:421
[15502]2009-07-24 11:36:38 IST [ISP.0090.0003C] End Time 07/24/09 11:36:38:936
[15483]2009-07-24 11:35:24 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:24:312
[15500]2009-07-24 11:36:31 IST [ISP.0090.0003C] End Time 07/24/09 11:36:31:936
[15481]2009-07-24 11:35:16 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:16:546
[15498]2009-07-24 11:36:24 IST [ISP.0090.0003C] End Time 07/24/09 11:36:24:967
[15479]2009-07-24 11:35:09 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:09:734
[15496]2009-07-24 11:36:14 IST [ISP.0090.0003C] End Time 07/24/09 11:36:14:342
[15477]2009-07-24 11:35:02 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:02:968
[15494]2009-07-24 11:36:06 IST [ISP.0090.0003C] End Time 07/24/09 11:36:06:296
[15475]2009-07-24 11:34:52 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:52:859
[15492]2009-07-24 11:35:59 IST [ISP.0090.0003C] End Time 07/24/09 11:35:59:655
[15473]2009-07-24 11:34:46 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:46:203
[15490]2009-07-24 11:35:52 IST [ISP.0090.0003C] End Time 07/24/09 11:35:52:624
[15471]2009-07-24 11:34:39 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:39:313
[15488]2009-07-24 11:35:45 IST [ISP.0090.0003C] End Time 07/24/09 11:35:45:921
[15469]2009-07-24 11:34:32 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:32:781
[15486]2009-07-24 11:35:39 IST [ISP.0090.0003C] End Time 07/24/09 11:35:39:249
[15468]2009-07-24 11:34:32 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:32:781
[15484]2009-07-24 11:35:31 IST [ISP.0090.0003C] End Time 07/24/09 11:35:31:312
[15465]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:813
[15482]2009-07-24 11:35:24 IST [ISP.0090.0003C] End Time 07/24/09 11:35:24:203
[15464]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:766
[15480]2009-07-24 11:35:16 IST [ISP.0090.0003C] End Time 07/24/09 11:35:16:437
[15463]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:625
[15478]2009-07-24 11:35:09 IST [ISP.0090.0003C] End Time 07/24/09 11:35:09:625
[15462]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:500
[15476]2009-07-24 11:35:02 IST [ISP.0090.0003C] End Time 07/24/09 11:35:02:859
[15461]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:453
[15474]2009-07-24 11:34:52 IST [ISP.0090.0003C] End Time 07/24/09 11:34:52:781
[15460]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:203
[15472]2009-07-24 11:34:46 IST [ISP.0090.0003C] End Time 07/24/09 11:34:46:78
[15459]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:78
[15470]2009-07-24 11:34:39 IST [ISP.0090.0003C] End Time 07/24/09 11:34:39:219
[15458]2009-07-24 11:34:25 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:25:985
[15467]2009-07-24 11:34:32 IST [ISP.0090.0003C] End Time 07/24/09 11:34:32:547
[15457]2009-07-24 11:34:25 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:25:906
[15466]2009-07-24 11:34:32 IST [ISP.0090.0003C] End Time 07/24/09 11:34:32:547
[15456]2009-07-24 11:34:25 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:25:813
Entry from log file:
[15515]2009-07-24 11:38:00 IST [ISP.0090.0003C] End Time 07/24/09 11:38:00:465
[15514]2009-07-24 11:37:53 IST [ISP.0090.0003C] End Time 07/24/09 11:37:53:372
[15513]2009-07-24 11:37:46 IST [ISP.0090.0003C] End Time 07/24/09 11:37:46:700
[15512]2009-07-24 11:37:39 IST [ISP.0090.0003C] End Time 07/24/09 11:37:39:966
[15511]2009-07-24 11:37:32 IST [ISP.0090.0003C] End Time 07/24/09 11:37:32:91
[15510]2009-07-24 11:37:20 IST [ISP.0090.0003C] End Time 07/24/09 11:37:20:904
[15509]2009-07-24 11:37:13 IST [ISP.0090.0003C] End Time 07/24/09 11:37:13:904
[15508]2009-07-24 11:37:06 IST [ISP.0090.0003C] End Time 07/24/09 11:37:06:357
[15507]2009-07-24 11:36:59 IST [ISP.0090.0003C] End Time 07/24/09 11:36:59:717
[15506]2009-07-24 11:36:52 IST [ISP.0090.0003C] End Time 07/24/09 11:36:52:232
[15505]2009-07-24 11:36:45 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:45:686
[15504]2009-07-24 11:36:45 IST [ISP.0090.0003C] End Time 07/24/09 11:36:45:576
[15503]2009-07-24 11:36:39 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:39:29
[15502]2009-07-24 11:36:38 IST [ISP.0090.0003C] End Time 07/24/09 11:36:38:936
[15501]2009-07-24 11:36:32 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:32:30
[15500]2009-07-24 11:36:31 IST [ISP.0090.0003C] End Time 07/24/09 11:36:31:936
[15499]2009-07-24 11:36:25 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:25:77
[15498]2009-07-24 11:36:24 IST [ISP.0090.0003C] End Time 07/24/09 11:36:24:967
[15497]2009-07-24 11:36:14 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:14:436
[15496]2009-07-24 11:36:14 IST [ISP.0090.0003C] End Time 07/24/09 11:36:14:342
[15495]2009-07-24 11:36:06 IST [ISP.0090.0003C] Start Time 07/24/09 11:36:06:389
[15494]2009-07-24 11:36:06 IST [ISP.0090.0003C] End Time 07/24/09 11:36:06:296
[15493]2009-07-24 11:35:59 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:59:765
[15492]2009-07-24 11:35:59 IST [ISP.0090.0003C] End Time 07/24/09 11:35:59:655
[15491]2009-07-24 11:35:52 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:52:765
[15490]2009-07-24 11:35:52 IST [ISP.0090.0003C] End Time 07/24/09 11:35:52:624
[15489]2009-07-24 11:35:46 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:46:15
[15488]2009-07-24 11:35:45 IST [ISP.0090.0003C] End Time 07/24/09 11:35:45:921
[15487]2009-07-24 11:35:39 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:39:359
[15486]2009-07-24 11:35:39 IST [ISP.0090.0003C] End Time 07/24/09 11:35:39:249
[15485]2009-07-24 11:35:31 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:31:421
[15484]2009-07-24 11:35:31 IST [ISP.0090.0003C] End Time 07/24/09 11:35:31:312
[15483]2009-07-24 11:35:24 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:24:312
[15482]2009-07-24 11:35:24 IST [ISP.0090.0003C] End Time 07/24/09 11:35:24:203
[15481]2009-07-24 11:35:16 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:16:546
[15480]2009-07-24 11:35:16 IST [ISP.0090.0003C] End Time 07/24/09 11:35:16:437
[15479]2009-07-24 11:35:09 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:09:734
[15478]2009-07-24 11:35:09 IST [ISP.0090.0003C] End Time 07/24/09 11:35:09:625
[15477]2009-07-24 11:35:02 IST [ISP.0090.0003C] Start Time 07/24/09 11:35:02:968
[15476]2009-07-24 11:35:02 IST [ISP.0090.0003C] End Time 07/24/09 11:35:02:859
[15475]2009-07-24 11:34:52 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:52:859
[15474]2009-07-24 11:34:52 IST [ISP.0090.0003C] End Time 07/24/09 11:34:52:781
[15473]2009-07-24 11:34:46 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:46:203
[15472]2009-07-24 11:34:46 IST [ISP.0090.0003C] End Time 07/24/09 11:34:46:78
[15471]2009-07-24 11:34:39 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:39:313
[15470]2009-07-24 11:34:39 IST [ISP.0090.0003C] End Time 07/24/09 11:34:39:219
[15469]2009-07-24 11:34:32 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:32:781
[15468]2009-07-24 11:34:32 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:32:781
[15467]2009-07-24 11:34:32 IST [ISP.0090.0003C] End Time 07/24/09 11:34:32:547
[15466]2009-07-24 11:34:32 IST [ISP.0090.0003C] End Time 07/24/09 11:34:32:547
[15465]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:813
[15464]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:766
[15463]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:625
[15462]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:500
[15461]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:453
[15460]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:203
[15459]2009-07-24 11:34:26 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:26:78
[15458]2009-07-24 11:34:25 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:25:985
[15457]2009-07-24 11:34:25 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:25:906
[15456]2009-07-24 11:34:25 IST [ISP.0090.0003C] Start Time 07/24/09 11:34:25:813
Guide me which values I can try in db connections to minimize the update time.
Regards,
Sam.