Hi.
I am in a situation with an engineering application involving
monitoring of press operations. This involves storage of numbers for
both an X and Y arrays. The number of element within the arrays
varies slightly but should be identical for a singular press
operation.
One approach is to store an element in a row. This would be 6000 rows
(3000 elements/axis * 2). This seems excessive for a single
operation. Also, I have no intention of every reading rows that would
be a subset of an operation.
The other approach is to pack an array of data into a single varbinary
data type.
Questions;
1) Is my thinking here correct for DB usage?
2) Can people provide some techniques for doing the later (an array
into a single varbinary value)?
In particular for point 2 how would I cast arrays that vary from
2500 .. 3500 elements with integers to a single varbinary and of
course retrieve?
Regards JC.......
I am in a situation with an engineering application involving
monitoring of press operations. This involves storage of numbers for
both an X and Y arrays. The number of element within the arrays
varies slightly but should be identical for a singular press
operation.
One approach is to store an element in a row. This would be 6000 rows
(3000 elements/axis * 2). This seems excessive for a single
operation. Also, I have no intention of every reading rows that would
be a subset of an operation.
The other approach is to pack an array of data into a single varbinary
data type.
Questions;
1) Is my thinking here correct for DB usage?
2) Can people provide some techniques for doing the later (an array
into a single varbinary value)?
In particular for point 2 how would I cast arrays that vary from
2500 .. 3500 elements with integers to a single varbinary and of
course retrieve?
Regards JC.......
Comment