From: Alexander P. <pes...@ma...> - 2011-12-31 14:16:08
|
В Сб., 31/12/2011 в 18:08 +0400, Dmitry Yemanov пишет: > 31.12.2011 17:57, Alexander Peshkov wrote: > > > This will make each version of the record (not the record- but EACH > > version of it) 4 bytes longer. > > Not strictly necessary. We could use a variable-length encoding for txn > ids longer than 32 bits and mark such records with a new flag. It would > add zero storage/performance overhead for all the current applications > but allow longer txn ids for the slightly bigger cost. It would increase > the code complexity though. > May be simply use 64-bit numbers with new flag? Variable-length encoding is not very good from performance POV. |