The database system holds all information about sequences in the sequence cache.
The size of the sequence cache is configured using the special database parameter SEQUENCE_CACHE.
See also:
Concepts of the Database System, Special Database Parameters