I can see how this makes sense for future compatibility with distributed
systems across a variety of RDBMS, although I'm not convinced it's more
efficient for single nodes (e.g., auto-incrementing fields do not require
round trips). Thanks for the reply! Just wanted to know while porting a
bulk importer for 584.

 - Blake

On Tue, Feb 13, 2018 at 12:15 PM, Sebastian Schaffert <
sebastian.schaff...@gmail.com> wrote:

> Hi Blake,
> Auto-increment requires querying the database for the next sequence number
> (or the last given ID, depending on the database you use), and that's
> adding another database roundtrip. Snowflake is purely in code, very fast
> to compute, and safe even in distributed setups.
> Is it causing problems?
> Sebastian
> Blake Regalia <blake.rega...@gmail.com> schrieb am Di., 13. Feb. 2018,
> 21:11:
>> What was the justification for using the 'snowflake' bigint type for the
>> id fields on nodes, triples and namespaces?
>>  - Blake

Reply via email to