Re: What is the maximum IBTree key my system can use?

Éloi Rivard <[email protected]> Tue, 8 Jan 2019 19:48:03 +0100
Newsgroups gmane.comp.web.zope.zodb
Message-ID <CAApDX_qD7xA2b0-uAD3wzkVn2HcqLjS=4=tsj226AusXb6kHvQ@mail.gmail.com>
--000000000000b59dac057ef6c963
Content-Type: text/plain; charset="UTF-8"

>
> You are using the wrong class.  Try LOBTree explicitly, not IOBTree.
>
Ok I can manage to use LOBTree instead of IOBTree. Some 'minint' and
'maxint' constants attached to the every kind of trees would be useful
though.


>
> Then use an LOBTree, and use 64-bit (C long long) integers.  It is not
> unreasonable to suggest that you do not need 128 bit keys.
>

As it is written in the bug report, my company has a lot of data identified
with UUID4. At the moment we cannot consider to use another data type if it
is not bijectionnal with UUID4. UUID4 can be transformed to int128, and
generated from a int128 so we could use int128 instead of UUID4. However
this is not possible with int64. We could use LOBTree if it supported
128int, in the meantime we use OOBTrees.

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

--000000000000b59dac057ef6c963
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex"><div style=3D"overflow-wrap: break-word;"><div><div>You =
are using the wrong class.=C2=A0 Try LOBTree explicitly, not IOBTree.</div>=
</div></div></blockquote><div><div>Ok I can manage to use LOBTree instead o=
f IOBTree. Some &#39;minint&#39; and &#39;maxint&#39; constants attached to=
 the every kind of trees would be useful though.</div>=C2=A0</div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex"><div style=3D"overflow-wrap: break=
-word;"><div><br><div>Then use an LOBTree, and use 64-bit (C long long) int=
egers.=C2=A0 It is not unreasonable to suggest that you do not need 128 bit=
 keys.</div></div></div></blockquote><div>=C2=A0</div><div>As it is written=
 in the bug report, my company has a lot of data identified with UUID4. At =
the moment we cannot consider to use another data type if it is not bijecti=
onnal with UUID4. UUID4 can be transformed to int128, and generated from a =
int128 so we could use int128 instead of UUID4. However this is not possibl=
e with int64. We could use LOBTree if it supported 128int, in the meantime =
we use OOBTrees.<br></div></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;zodb&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">zodb+unsubscri=
[email protected]</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

--000000000000b59dac057ef6c963--