I have a large table (~ 2 million rows), each row of which represents one image. I want to store EXIF metadata in JSON format for each image. This JSON frame is about 6 KB per image.
This EXIF metadata will not be requested / used very often, and I wonder if it will be much more convenient to store it in a separate table with two columns (imageid, exifjson) or whether PostgreSQL will be just fine with this, like the text column in an existing table . I would not want to add a column to significantly slow down regular queries in a table or millions of 6K text values to disable PostgreSQL.
source share