Dear all,

I'm using the jstat utility to check the attributes of hashed files and for
some of them i can see data in primary space but for others in both, primary
and secondary

My question is how to find whether a file needs resize or not based on jstat
output (for both cases) and if it needs how to calculate the new modulo

As an example you can consider the following files:

jsh ~ -->jstat -v F.LOCKING
File ../bnk.data/eb/F.LOCKING
Type=J4 , Hash method = 5
Created at Wed Jan  6 19:45:35 2010
Groups = 1629 , Frame size = 8192 bytes , Secondary Record Size = 16384
bytes
Restore re-size parameters : (none)
File size = 16457728 bytes , Inode = 1248028 , Device = Id
9223372212948434946
Last Accessed Tue Mar  2 08:40:18 2010 , Last Modified Tue Mar  2 08:40:18
2010
Backup = YES , Log = YES , Rollback = YES , Network = AUTO


Record Count = 24207 , Record Bytes = 10265930
Bytes/Record = 424 , Bytes/Group = 6301
Primary   file space:   Total Frames = 1950 , Total Bytes = 9840241
Secondary file space:   Total Frames = 56 , Total Bytes = 425689


jsh ~ -->jstat -v FBNK.EB.CONTRACT.BALANCES
File ../bnk.data/re/FBNK_EB_CONTRACT_BALANCES
Type=J4 , Hash method = 5
Created at Wed Feb 24 10:56:56 2010
Groups = 250001 , Frame size = 4096 bytes , Secondary Record Size = 8192
bytes
Restore re-size parameters : (none)
File size = 1061769216 bytes , Inode = 1230014 , Device = Id
9223372212948434946
Last Accessed Wed Feb 24 14:34:34 2010 , Last Modified Wed Feb 24 14:34:34
2010
Backup = YES , Log = YES , Rollback = YES , Network = AUTO


Record Count = 1346947 , Record Bytes = 387310863
Bytes/Record = 287 , Bytes/Group = 1549
Primary   file space:   Total Frames = 259220 , Total Bytes = 387310863
Secondary file space:   Total Frames = 0 , Total Bytes = 0

System Information
==================

OS  AIX 5.3.9.0
jbase: Major 5.0 , Minor 20 , Patch 0364 (Change 85159)

Regards,
Xze

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to