TL; DR - , .
PostgreSQL 4 , . SQL Server 4 . B-tree - , .
PostgreSQL . , PostgreSQL - MVCC. xmin xmax, . . PostgreSQL . . , 29, , b-, 48-52 , .
SQL Server , - . , SELECT * FROM sys.dm_db_index_physical_stats(DB_ID(), OBJECT_ID('dbo.Tree'), NULL, NULL, NULL). SQL Server, - :
-- Locate the first page of the index
DBCC IND('test', 'Tree', 1);
GO
-- tell SQL Server to show DBCC output in the message page, not the SQL Server log
DBCC TRACEON (3604);
GO
-- look at nasty, dirty, on page data.
DBCC PAGE(test, 1,155,3);
DBCC PAGE, . , :
Slot 0 Offset 0x60 Length 15
Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP Record Size = 15
Memory Dump @0x000000006D6FA060
0000000000000000: 10000c00 01000000 01000000 020000††††...............
Slot 0 Column 1 Offset 0x4 Length 4 Length (physical) 4
Key = 1
Slot 0 Column 2 Offset 0x8 Length 4 Length (physical) 4
ID = 1
Slot 0 Offset 0x0 Length 0 Length (physical) 0
KeyHashValue = (e2338e2f4a9f)
, SQL Server. Key = 1 , . .
PostgreSQL SQL Server MVCC PostgreSQL. PostgreSQL, . , PostgreSQL . SQL Server ( ), .