Resizing & Distributing

  • krish_rgs
  • Topic Author
  • Offline
  • New Member
  • New Member
More
17 years 6 months ago #2018 by krish_rgs
Resizing & Distributing was created by krish_rgs
Could anybody tell me that Why we are resizing & distributing the files in JBASE,Globus ie., MERITS?


Thanks

Please Log in or Create an account to join the conversation.

More
17 years 6 months ago #2019 by malai
Replied by malai on topic Read jBASE manual for more details
Resizing:

Lets say if you create a file in jBASE using the command CREATE-FILE DATA MYFILE 10 TYPE=J4. It creates a file with 10 buckets, each bucket with a size 4096 bytes. In total 10*4096=40960 bytes. Records which are writen into this file will be stored into buckets based on some inbuild algorithm. If your average record size is 1000 bytes, then you can store only 40 records in this file. By storing more records will results in file corruption. To avoid this every jBASE file has to be resized in a periodically basis.



Distributing:

jBASE limits the max file size to 2GB. If a file which goes beyond 2GB will get corrupted. To avoid this we need distribution.



In Future:
In future jBASE 64bit will have automatic resizing of files and there is no 2GB limit.


___________

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.035 seconds