Re: [GENERAL] Limitation

Поиск
Список
Период
Сортировка
От Dustin Sallings
Тема Re: [GENERAL] Limitation
Дата
Msg-id Pine.SGI.3.95.990624120446.28677A-100000@bleu.west.spy.net
обсуждение исходный текст
Ответ на Re: [GENERAL] Limitation  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-general
On Thu, 24 Jun 1999, Bruce Momjian wrote:

# > 1.  Have more than 7 fields on a btree index
#
# We have never understood why someone would want an index with more than
# seven columns.

    Honestly, I think it's the same reason someone would want to
insert data as a single string, then create a view that does substrings to
produce the appearance of a multi-column table (which, I assume is then
selected on from certain fields, causing table scans).  Sometimes, people
try to wedge efficiency into an inefficient design, which rarely works.
My approach here would be to substr before insertion, then make a view to
concatenate the results.

--
SA, beyond.com           My girlfriend asked me which one I like better.
pub  1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@spy.net>
|    Key fingerprint =  87 02 57 08 02 D0 DA D6  C8 0F 3E 65 51 98 D8 BE
L_______________________ I hope the answer won't upset her. ____________


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

Предыдущее
От: Artur Pietruk
Дата:
Сообщение: Re: [GENERAL] Problems building pgsql 6.5/6.4 on AIX gcc
Следующее
От: "John Huttley"
Дата:
Сообщение: Re: [GENERAL] Limitation