Search Postgresql Archives

Re: Best approach for a "gap-less" sequence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Dawid Kuroczko" <qnex42@xxxxxxxxx> writes:

> I did not test the code right now, but I've written something similar to
> it some time ago, and it worked fine.  Remember to vacuum gapless_seq
> table frequently and don't expect stellar performance from it.

Interesting approach...  And I don't expect too much performance for it.  The
restriction of the gapless sequence makes it expected that there's some minor
delay somewhere.  It would be bad on "common" sequences, but not on
gapless. :-) 

Thanks for the code...  It is a bit different from mine -- better, in
fact... ;-) -- and I could give it a try.

-- 
Jorge Godoy      <jgodoy@xxxxxxxxx>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux