File Resizing - jBASE

  • KingArthur
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
19 years 3 months ago #2111 by KingArthur
File Resizing - jBASE was created by KingArthur
Hi,

I have one file F.MY.LARGE.FILE which has 1892458496 as file size.

To resize this file, I want to know what could be the best group and seperation for this file.

I belive jstat and jrf can do this.

Manually how can I decide the group and seperation?

Any Ideas??
_________________
King Arthur

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

More
19 years 3 months ago #2112 by takoor
Replied by takoor on topic File Resizing - jBASE
Hello King A

to make a decision on this you would need to identify the size of the record. this will help you decide on the seperation. after you have the seperation then devide the size of the file by he seperation and you will have the modulo. remember that you will always have wasted space so take that into consideration. There is no precise method in use yet as the system decides where to put the data. Try to get a modulo that will eliminate the overflow area for at least a week or two.
_________________
takoor

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

  • KingArthur
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
19 years 3 months ago #2113 by KingArthur
Replied by KingArthur on topic File Resizing - jBASE
Hi,

In my case the size of the record will be 2000 bytes.

How can I decide the seperation?
What is the default seperation?

The size of the file is 1892458496 bytes.

If we take 2000 as a seperation then the modulo could be 1892458496/2000 = 946229.

Am I right?
_________________
King Arthur

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

More
19 years 3 months ago #2114 by takoor
Replied by takoor on topic File Resizing - jBASE
The seperator is in increments of 512k. in your case of 2000 you would use a size of 2048k which is a seperator of 4.
_________________
takoor

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

More
19 years 3 months ago #2115 by malai
Replied by malai on topic File Resizing - jBASE
If I am not wrong, the default seperator(frame size) is 4096k.
_________________
M A L A I

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

More
19 years 3 months ago #2116 by ironmaiden
Replied by ironmaiden on topic File Resizing - jBASE
My Best advice dont do too much R&D on resizing...jrf and jstat have been working well in many client areas.....
_________________
NJOY LIFE TO THE FULLEST

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

More
19 years 3 months ago #2117 by malai
Replied by malai on topic File Resizing - jBASE
Hi Iron

I can't agree with your words.

jrf never consider for secondary file size.

But a perfect resize tool should resize the file by considering both the primary and secondary memory.
_________________
M A L A I

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

More
18 years 11 months ago #2118 by girish
Replied by girish on topic File Resizing - jBASE
as malai said u cannot have a perfect resize tool as the file is dynamic
based on the data.certain files will have more data at EOD and willl be empty at SOD. it is better to distribute a the file using a suitable distribution logic. but it may affect performance. bad size files also affect performance badly.

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

More
18 years 8 months ago #2119 by malai
Replied by malai on topic File Resizing - jBASE
Confused again...

Does anyone know how jrf calculates the modulo?

I used to calculate by the following forumula.

PRIME(total_rec_bytes/frame_size).

Is it right? But jrf -R is showing a different figure. How to arrive that?
_________________
M A L A I

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

Time to create page: 0.046 seconds