The DBMS needs a ways to keep track of individual tuples
Each tuple is assigned a unique record identifier.
-> Most common: page_id + offset/slot
An application cannot rely on these ids to mean anything
ctid (page, slot): physical location of the data
Insert to the end
VACUUM FULL : like a garbage collector, it go through anh reorganize all the pages
VACUUM FULL
SELECT sys.fn_PhysLocFormatter (%%physloc%%) AS [File:Page:Slot], * FROM TEST;
SELECT sys.fn_PhysLocFormatter (%%physloc%%) AS [
], * FROM TEST;
Delete id 102:
Insert 104
Has the rowid
rowid
Last updated 3 years ago