Re: Row vs. tuple

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: Row vs. tuple
Дата
Msg-id 20030315210321.GO79234@perrin.int.nxad.com
обсуждение исходный текст
Ответ на Re: Row vs. tuple  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Row vs. tuple
Список pgsql-docs
> > In some places the documentation uses the term "tuple" to mean
> > "row version" (in the MVCC sense).  This choice of terms is
> > puzzling me; where does it come from?  In the literature available
> > to me, the term "tuple" is used as the mathematical equivalent of
> > "row", meaning that table/row/column parallels
> > relation/tuple/attribute.
>
> Well, "row version" isn't a particularly standard term either.  I'd
> prefer a one-word term.  I think that the use of "tuple" for this can be
> traced back to the Berkeley code.

How about:  s/(row|tuple)/record/

A "record" is a much less theoretical/mathematical term that I've had
good success in using when describing basic table theory to lay
people.  Seems easier to grasp on the uptake than a row (rows are
confused with columns if you're not familiar with databases, math, or
matrices.  "Do rows go vertically or horizontally?") or tuple
(heavily mathematical term or term used in DB theory, but no where
else).  A record, on the other hand, is something that everyone has a
conceptual picture of.  -sc

--
Sean Chittenden

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Row vs. tuple
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Row vs. tuple