Large text data

Поиск
Список
Период
Сортировка
От Antimon
Тема Large text data
Дата
Msg-id 1144361916.122085.59380@e56g2000cwe.googlegroups.com
обсуждение исходный текст
Ответы Re: Large text data  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список 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 по дате отправления:

Предыдущее
От: Tyler MacDonald
Дата:
Сообщение: Re: Debian package for freeradius_postgresql module
Следующее
От: Chris
Дата:
Сообщение: Re: pgcrypto-crypt