|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
File transfer |
« View previous topic :: View next topic » |
Author |
Message
|
priyesh |
Posted: Fri Jul 10, 2015 1:32 am Post subject: File transfer |
|
|
 Newbie
Joined: 11 Jun 2015 Posts: 4
|
Hi All,
Here I have a small doubt that what is the max size of a file can we transfer through File Nodes ,If we consider whole file as a single record ?
 |
|
Back to top |
|
 |
zpat |
Posted: Fri Jul 10, 2015 2:30 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Generally a bad idea to do this, for memory reasons.
Why can't you process it record by record? _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
priyesh |
Posted: Fri Jul 10, 2015 2:55 am Post subject: |
|
|
 Newbie
Joined: 11 Jun 2015 Posts: 4
|
actually I have some requirement in our project so that I need to know the max size..but I didn't find any where...
If I process it record by record , then what max size of file can we transfer... |
|
Back to top |
|
 |
zpat |
Posted: Fri Jul 10, 2015 3:42 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
No limit if record by record. Pass each one to the fileoutput node and it will accumulate them in the output file (in the mqsitransit directory) and move it to the output directory when you finalise the file. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jul 10, 2015 4:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
priyesh wrote: |
actually I have some requirement in our project so that I need to know the max size..but I didn't find any where... |
It's here.
The limit is 100Mb unless you change that by setting the MQSI_FILENODES_MAXIMUM_RECORD_LENGTH environment variable in the running process shell (broker parses files into records, hence Whole File parsing results in 1 record).
As my associate correctly points out, reading large files as Whole File is a great way to run out of memory. Much, much better to stream them record by record.
priyesh wrote: |
what max size of file can we transfer... |
If all you're trying to do is transfer a file from one place to another, there are a large number of better tools to do this. Any of the pantheon of File-Over-MQ tools or Connect:Direct for example. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|