Re: 1600 Column limit..

From: "Williams, Travis L, NPONS" <tlw(at)att(dot)com>
To: "Gavin M(dot) Roy" <gmr(at)justsportsusa(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: 1600 Column limit..
Date: 2002-11-14 03:27:02
Message-ID: AB815D267EC31A4693CC24D234F8291602E59D23@ACCLUST02EVS1.ugd.att.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

we have to have all of that information per shelf.. so we have the columns with the information then each row is a different shelf.. which to start with there are 400.. which could grow to upwards to any number.. but I did split all of this up into seperate tables..
Travis

-----Original Message-----
From: Gavin M. Roy [mailto:gmr(at)justsportsusa(dot)com]
Sent: Wednesday, November 13, 2002 8:19 PM
To: Williams, Travis L, NPONS; pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] 1600 Column limit..

Seems like a more effective layout would be

create table tracking (
i_slot int4,
i_port int4,
i_item int4 );

maybe i'm missing somthing, but a 1600 row table is tiny, a 1600 column
table would be very difficult to manage, and poor design.

Gavin

Williams, Travis L, NPONS wrote:

>The reason we have that is we have 23 slots in a shelf (of equipment)
>and we have 23 ports in a slot. We are tracking 3 different items per
>port.. so we have 23 x 23 which is 529 x 3 which is 1587 individual
>items to track of which they are all a single digit. You add into that
>some misc. stuff like shelf name and poll_time and it becomes a mess..
>I just split them into 3 seperate tables.
>
>Travis
>
>-----Original Message-----
>From: Joe Tomcat [mailto:tomcat(at)mobile(dot)mp]
>Sent: Thursday, November 14, 2002 1:35 PM
>To: Williams, Travis L, NPONS
>Cc: pgsql-general(at)postgresql(dot)org
>Subject: Re: [GENERAL] 1600 Column limit..
>
>
>On Wed, 2002-11-13 at 17:23, Williams, Travis L, NPONS wrote:
>
>
>>Is this set in stone.. or is there somewhere you can change this.. and
>>
>>
>will changing it cause upgrade problems in the future..
>
>If you are trying to have 1600 columns in a table, you probably have
>made a design mistake in your table design. You should take a look at
>some database design books to see if you can change the structure.
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>

---------------------------------------------------------
Scanned by Sophos Anti-Virus v3.59TPOS, MIMEDefang v2.19,
and Spam Assassin v2.31 on satchel.bteg.net

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shridhar Daithankar 2002-11-14 04:05:21 Re: Upgrade to dual processor machine?
Previous Message Stephan Szabo 2002-11-14 02:41:47 Re: 1600 Column limit..