Consider this table used to store object metadata
CREATE TABLE meta (
"obj_uuid" uuid,
"type" int,
"value" text
);
Objects are identified using uuids as primary keys, the metadata row references that uuid. Now I am concerned this will blow up the DB size exponentially.
Does Postgres optimize this on itself, or would it be better to create an intermediate table that maps the uuid to a serial and reference this serial in the metadata table instead?