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 10 of 16 Topic 3157 of 3234
Post > Topic >>

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

by Ed Prochak <edprochak@[EMAIL PROTECTED] > May 6, 2008 at 05:45 AM

On May 6, 7:41 am, rock_san...@[EMAIL PROTECTED]
 wrote:
> > postgres sup****ts 32
> > indexes per table, mysql 16
>
> Do you have a source for that information?
> I could not quickly find that information.
>
> Or did you refer to the max amount of columns per one index?
> Those kinds of amounts are mentioned on this page (that is why I would
> double check this issue):http://www.wikivs.com/wiki/MySQL_vs_PostgreSQL
> -> Multi-column Indexes
>
>
>
> > It would probably be useful. But you need to test.
>
> Yes it might be required.
>
> I will check the Art of SQL.
>
>
>
> > Also, did you tell which DBMS you're using?
>
> Oracle might be one. Maybe MySQL would be good too, but I am not sure
> what kinds of functionalities would be required in the end. Maybe I
> will try to check some other DBMSs too.
>
> > I still cannot fathom the application domain you're working in,
>
> I will give only the information which I gave already. The new items
> arrive, those will be kept in the DB for analysis (not for a very long
> time) and then the old items will be deleted. Items are not kept in
> the DB for a long time.
>
> Thank you for the comments and the information!

From your description of the constraints,
  * 900 columns per row,
  * searchable on any column,
  * minimum overhead,
  * data continually replaced

From the last one, I assume no updates between loads, only deletes and
inserts. IOW, I assume you
1. load a set of 900 column data
2. query the data and produce some analysis
3. delete all of that data in preparation for the next set

I would suggest not using a RDB at all. You may get better performance
and lower overhead writing a custom application that handles this
using flat data files and index files. Down side is you give up the
generic SQL interface. Although you could add that too since the logic
would be simple (only one table so no join logic needed, and no
optimizer since all columns are indexed).

It might take a little longer to build, but if your key constraints
are fast access and minimal overhead, then custom code may be the way
to go.

  HTH,
  ed
 




 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 Thu Aug 21 21:47:13 CDT 2008.