phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <els...@apache.org>
Subject Re: Are values of a sequence deleted after an incrementation?
Date Thu, 23 Feb 2017 15:47:46 GMT
I believe the sequences track the current value of the sequence.

When your client requests 100 values, it would use 1-100, but Phoenix 
only needs to know that the next value it can give out is 101. I'm not 
100% sure, but I think this is how it works.

What are you concerned about?

Cheyenne Forbes wrote:
> I am not sure how sequences work in phoenix but something popped up in
> my mind.
>
> If I request 100 values from a sequence will there be 100 values stored
> in the database or just 1 value which is "100" telling phoenix the is
> the number to be incremented?

Mime
View raw message