Re: column limit

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: column limit
Дата
Msg-id 45B8D134.5030406@cox.net
обсуждение исходный текст
Ответ на column limit  ("Isaac Ben" <ib.zero@gmail.com>)
Список pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/25/07 09:34, Isaac Ben wrote:
> Hi,
> I'm trying to create a table with 20,000 columns of type int2, but I
> keep getting the error message that the limit is 1600.  According to
> this message
> http://archives.postgresql.org/pgsql-admin/2001-01/msg00199.php
> it can be increased, but only up to about 6400.  Can anyone tell me
> how to get 20,000 columns?

Why the heck do you need 20 *thousand* columns?

Assuming, though, that you know what you're doing, and the design
isn't horribly botched, then arrays might be what you want.

Normalizing the table might be better, and vertically partitioning
it would be a big performance win if you don't need all 20
*thousand* columns at the same time.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFuNE0S9HxQb37XmcRAoxxAKCLrX0WaekNH8N8ghAzMkhgMmZ43ACg7F0K
0pqcprs/suZ/1xmK73PAdOE=
=WLdL
-----END PGP SIGNATURE-----

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

Предыдущее
От: Thorsten Körner
Дата:
Сообщение: Problem with result ordering
Следующее
От: btober@ct.metrocast.net
Дата:
Сообщение: Re: SQL Newbie Question