September 17, 2004 at 2:03 am
rakesh
September 18, 2004 at 10:24 am
Hi,
I generally stick to the 'fully normalised' solution if there is any doubt as it provides the most flexibility regarding how the data will be used. if you create a table with 512 columns, then what will you do when the 'users' want the erport in a different format.
I would stick to the 3 column table and add extra indexes etc to help the performance of the reports.
Incidently, on the same basis I would always store dates and times in datetime fields as that makes sure that they are valid and it simplifies the handling when you come to search and display them.
You would have to have a very slow server and / or a much bigger database before it would be worth messing about with 'special' fields.
The ch_number could be stored in a smallint.
From your information, it is clear the there cannot be more than 512 new records per minute. and they are very small, so the server should have no difficulty keeping up.
The reporting side however may be more of a challenge if you want to be able to a variety of reports covering different time periods in a reasonable time.
So if you create the table with a clustered index of
September 21, 2004 at 1:15 am
Thanks for your help. I will keep all your suggestion while designing database and come back to you when required.
Regards
Rakesh
rakesh
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply