what is the best way to store this data
From: D (Dave_at_nothing.net)
Date: 02/20/05
- Next message: David Gugick: "Re: Clustered Indexes"
- Previous message: Uri Dimant: "Re: SQL Maintenance Optimization"
- Next in thread: Tom Moreau: "Re: what is the best way to store this data"
- Reply: Tom Moreau: "Re: what is the best way to store this data"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 20 Feb 2005 12:12:29 -0500
I have about a thousand variable length arrays of numeric data that I need
to store, some can be as small as 14 numbers others can be as large as 1500
numbers. In your opinion, what would be the best way to do that?
I'm going to read them in as I need them and save them occasionally as they
don't change much.
I have thought about
1. sql table - Would that be a waste of space for the records that may have
only 14 numbers, to have 1486 empty columns? what is the max columns for a
table in sql btw?
2. xml files - Not sure if I want 1000 xml files around
3. I could store them vertically in a table, the design would look like
long lGroupIndex - id's which data group the row belongs too
long lDataIndex - index within the group
long lData - actual data value.
if I did this and a worse case scenario of 1500 arrays of 1500 number would
produce 2250000 , that wouldn't be a problem with sql would it ?
Feel free to offer your suggestions.
Thanks
- Next message: David Gugick: "Re: Clustered Indexes"
- Previous message: Uri Dimant: "Re: SQL Maintenance Optimization"
- Next in thread: Tom Moreau: "Re: what is the best way to store this data"
- Reply: Tom Moreau: "Re: what is the best way to store this data"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|