Re: [SQL] index row size 2728 exceeds btree maximum, 27

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: [SQL] index row size 2728 exceeds btree maximum, 27
Дата
Msg-id 42A0052C.6040505@archonet.com
обсуждение исходный текст
Ответ на Re: [SQL] index row size 2728 exceeds btree maximum, 27  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
Bruno Wolff III wrote:
> On Thu, Jun 02, 2005 at 18:00:17 +0100,
>   Richard Huxton <dev@archonet.com> wrote:
>
>>Certainly, but if the text in the logfile row is the same, then hashing
>>isn't going to make a blind bit of difference. That's the root of my
>>concern, and something only Dinesh knows.
>
>
> Sure it is. Because the hash can be used in the primary key instead of
> of the error message which should reduce the size of the key enough
> that he can use a btree index.

Sorry - obviously not being clear. Since he's using the index via a
primary key he'll need the columns that key is over to be unique. If the
columns fail that test in the real world, hashing will replace the
index-size error with an "unable to insert duplicates" error.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Automate Postgres Backup In windows
Следующее
От: Marian POPESCU
Дата:
Сообщение: Re: PostgreSQL Developer Network