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?

Reply via email to