Re: Database normalization

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Database normalization
Дата
Msg-id 20070828145902.GB847@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на Re: Database normalization  ("Sebastian Ritter" <ritter.sebastian@gmail.com>)
Ответы Re: Database normalization  ("Sebastian Ritter" <ritter.sebastian@gmail.com>)
Список pgsql-sql
On Tue, Aug 28, 2007 at 03:37:22PM +0100, Sebastian Ritter wrote:
> Thanks for the information.
> 
> Both tables would be exactly sames apart from the  foreign key relation to
> clients or services.

Hmm.  Are the services or clients tables different?  A useful rule of
thumb is that, to the extent you can sort things into "kinds of
data", then you should have exactly one space for each one.  (I hope
that's clear.)

> Another factor ive been considering is that one of the fields in this
> table(s) definition(s) is free flowing text which could potentially become
> very large. Should I take this in to
> consideration when deciding whether to split the tables? In terms of
> searching speed that is.

I'd put it in its own table, probably, unless you're going to use it
frequently.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
Everything that happens in the world happens at some place.    --Jane Jacobs 


В списке pgsql-sql по дате отправления:

Предыдущее
От: Erik Jones
Дата:
Сообщение: Re: Database normalization
Следующее
От: "Sebastian Ritter"
Дата:
Сообщение: Re: Database normalization