Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Databases General > Re: Hundreds of...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 16 Topic 3157 of 3295
Post > Topic >>

Re: Hundreds of columns, index on all of those.

by Jeff North <jnorth@[EMAIL PROTECTED] > May 6, 2008 at 07:54 AM

On Tue, 6 May 2008 00:05:09 -0700 (PDT), rock_sand81@[EMAIL PROTECTED]
 wrote:

>Topic: Hundreds of columns, index would be required on all of the
>columns.
>
>Hi!
>
>How could this be implemented?
>
>There are several items (or rows).
>
>One item (or row) has e.g. even 900 columns.
>
>An index would be needed on every column.
>
>Would it be better to have 900 columns or should the table structure
>be something else?

The database should definitely be of a different structure. Have a
look at :
http://en.wikipedia.org/wiki/Database_normalization


>
>900 columns, table structure:
>  Item ID, item name, column 1, column 2, column 3, column 4, ...,
>column 888, column 889, column 900
>  -> Index on all of the columns.
>SQL clauses are very long with that kind of a table structure.

This will cause performance problems down the track.

[snip 2 end]
 




 16 Posts in Topic:
Hundreds of columns, index on all of those.
rock_sand81@[EMAIL PROTEC  2008-05-06 00:05:09 
Re: Hundreds of columns, index on all of those.
Jeff North <jnorth@[EM  2008-05-06 07:54:21 
Re: Hundreds of columns, index on all of those.
Marco Mariani <marco@[  2008-05-06 10:05:27 
Re: Hundreds of columns, index on all of those.
Thomas Kellerer <YQDHX  2008-05-06 15:15:31 
Re: Hundreds of columns, index on all of those.
Marco Mariani <marco@[  2008-05-06 10:09:02 
Re: Hundreds of columns, index on all of those.
rock_sand81@[EMAIL PROTEC  2008-05-06 03:25:50 
Re: Hundreds of columns, index on all of those.
Marco Mariani <marco@[  2008-05-06 13:08:06 
Re: Hundreds of columns, index on all of those.
rock_sand81@[EMAIL PROTEC  2008-05-06 04:41:23 
Re: Hundreds of columns, index on all of those.
Marco Mariani <marco@[  2008-05-06 15:06:57 
Re: Hundreds of columns, index on all of those.
Ed Prochak <edprochak@  2008-05-06 05:45:54 
Re: Hundreds of columns, index on all of those.
--CELKO-- <jcelko212@[  2008-05-07 09:51:29 
Re: Hundreds of columns, index on all of those.
"David Cressey"  2008-05-07 19:26:47 
Re: Hundreds of columns, index on all of those.
rock_sand81@[EMAIL PROTEC  2008-05-07 22:23:56 
Re: Hundreds of columns, index on all of those.
rock_sand81@[EMAIL PROTEC  2008-05-07 23:34:52 
Re: Hundreds of columns, index on all of those.
Ed Prochak <edprochak@  2008-05-08 05:29:54 
Re: Hundreds of columns, index on all of those.
rock_sand81@[EMAIL PROTEC  2008-05-09 04:04:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 9:56:38 CST 2008.