Large text data - Mailing list pgsql-general

From Antimon
Subject Large text data
Date
Msg-id 1144361916.122085.59380@e56g2000cwe.googlegroups.com
Whole thread Raw
Responses Re: Large text data  (Scott Marlowe <smarlowe@g2switchworks.com>)
List pgsql-general
Hi,
I need to store text entries and i use text datatype. I want to ask if
it will be better to split text and entry information?

I mean, i can use a table like, (id, authorid, insertdate, editdate,
threadid, textdata) or i can have an entrytexts table (id, entryid,
textdata) and a foreign key on entryid -> entries.id.
Which would be better? I might need to do some range searches and
orders on entries so i thought splitting text might decrease some
overhead?

Or shall i just use one table?

Thanks.


pgsql-general by date:

Previous
From: Tyler MacDonald
Date:
Subject: Re: Debian package for freeradius_postgresql module
Next
From: Chris
Date:
Subject: Re: pgcrypto-crypt