Hi, Preeti,

The index class has a public function called sizeInBytes which can
tell you the index size that might be useful for your purpose.  It is
not meant to produce the exact size so it will not have to examine
everything, instead is returns a quick estimate that might be good
enough for things like comparing the index size again the raw data
size in order to determine whether one should use the index or the raw
data file for answering a query.

There is also a series of protected functions called getSerialSize
which uses more effort to determine the expected index size after it
is serialized into a file.

Let me know if neither of them is useful for your purposes, we will
see if something else might be added.

John


On 1/10/13 3:06 PM, Preeti Gupta wrote:
> HI John,
> 
> Is there a way I can find out the index size and the memory used to store the 
> data in fastbit?
> 
> Regards
> 
> Preeti
> 
> 
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
> 
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to