Re: Words missing in the following txt

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Words missing in the following txt
Дата
Msg-id AANLkTim=HqZ328kqDAOFJRzqpT+gg04wbyeGrmEgnAov@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Words missing in the following txt  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
On Wed, Dec 29, 2010 at 12:46 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Leslie S Satenstein <lsatenstein@yahoo.com> writes:
>> A good compromise is to perhaps consider the following.
>
>> The bigint type should only be used if the integer range is insufficient, because calculation with the latter is
definitelyfaster. 
>
> This doesn't seem to me to fix the basic problem, which is that "the
> latter" appears to refer to "integer range".  You don't calculate with
> ranges, but with types.  Maybe it should be
>
>        The bigint type should only be used if the range of the integer
>        type is insufficient, because the latter is definitely faster.
>
> I'm not that excited about making the text specify that calculations are
> faster, because on most modern machines the actual calculation speed
> difference is pretty minuscule.  What's expensive about bigint is
> pushing around twice as much data and/or having to do palloc's.

Yeah, I was actually wondering whether the first step here might be to
benchmark this.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Some comments about Julian Dates and possible bug. Please provide feedback.
Следующее
От: Leslie S Satenstein
Дата:
Сообщение: bigint and int