pgsql: Use a hash table to store current sequence values.
pgsql: Use a hash table to store current sequence values.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
Use a hash table to store current sequence values. This speeds up nextval() and currval(), when you touch a lot of different sequences in the same backend. David Rowley Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/21025d4a5322307bcfef1222f497a3aacb2fc79a Modified Files -------------- src/backend/commands/sequence.c | 71 +++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 36 deletions(-)