Provide the Difference
This is a discussion on Provide the Difference within the MySQL forums, part of the Database category; I want to know whether there is any difference in OID and CTID in PostgreSQL. If so what is it. ...
-
12-07-2006, 12:59 AM #1
- Join Date
- Apr 2006
- Answers
- 124
Provide the Difference
I want to know whether there is any difference in OID and CTID in PostgreSQL. If so what is it. If someone could provide example it would be great.
-
CTIDs are used to identify specific physical rows with block and offset values. They are used by index entries to point to physical rows. Every row that is created in PostgreSQL gets an OID.
-
I want to know whether OID and CTIDs are unique for each row and also how many byte integers are assigned for OID and CTID.
-
Each row gets a unique a OID when a table is created WITH OIDS. OIDs are automatically assigned unique 4-byte integers that are unique across the entire installation. CTIDs change after rows are modified or reloaded.
-
Sponsored Ads


Reply With Quote





