[Metakit] 3 questions...

Brian Myers tarkawebfoot at charter.net
Sun Aug 7 14:04:31 CEST 2005


If I use blocked views, does each sub block constitute a separate file? 
It doesn't look like you can control the number of blocks, so will 
Metakit automatically split a large view into enough blocks that each 
is less than 2GB.

I had thought of using two integer columns to represent a decimal. By 
adaptive, do you mean Metakit handles arbitrarily large integers? That 
would be  awesome if it did.

I can live without unicode for now, but I hope there's plans to include 
it in the future. BSDDB doesn't really support unicode either. Does the 
C interface support it?

Brian

On Aug 7, 2005, at 9:12 AM, Brian Kelley wrote:

> 1) On 32 bit systems, the file size limit is 2GB.  It is more on
> 64bit.  If you are using large tables, use blocked tables otherwise
> you will die a slow horrible death.  If you have indexed keys use
> blocked, ordered tables.
>
> _vw = st.getas("blocked[_B[id:I,data:S]]")
> st = _vw.blocked()#.ordered() if an ordered table
>
> 2) decimal types
>
> No, metakit doesn't have support for decimal types, I have had some
> sucess using two integer columns though to represent decimal numbers.
> Sorting requires a sort on two columns for instance.
>
> Since metakit's integers are adaptive, this doesn't take up any extra 
> space.
>
> The python interface at least doesn't support unicode verty well.
>
> Hope this helps.
>
> Brian
>


More information about the Metakit mailing list