scarface_jr
New member
- Local time
- Today, 13:21
- Joined
- Dec 28, 2013
- Messages
- 7
I need a record method of tracking progress of a case file and who is responsible for progressing that file. Each file has a unique number associated with it. I will be looking at week on week progress where the weeks are fixed -week1-52. Each person is associated with a file and resolving the file before week52. Each person can transfer to different owners, and files can be resolved, in which case they have no owner. New files can also join the list throughout the course of the year, although it would be uncommon. Maybe a few hundred per week, verses 10k resolved per week.
I'm stuck between 2 different design ideas.
Design1:
File Table
------------------
File ID, Owner ID, week ID
Owner Table
---------------
Owner ID, Owner Name
Design2:
File Table
--------------------
FileID, week1_Owner, week2_Owner, week3_Owner ....... week52_Owner (53 fields total including fileID)
Owner Table
--------------------
OwnerID, Owner Name
Owner ID's are stored as single since I only have 25 Owners.
Design1 seems to make more sense. It also has potential to grow to a huge number of records. We currentlly have a little of 400k records. This means that every week we are adding close to 400k more new records every week, at least for the first few weeks/months.
Design2, seems a lot more inflexible, however I know the number of fields I require and that will not change. Each week should only be adding a few hundred maybe upto 1k records each week maximum. The only data I need to bring back should be current week. I will be storing totals for the week separately so I can see week on week progress.
thoughts/considerations. Leaning towards design2 as it should be more manageable and faster, however it just feels wrong.
I'm stuck between 2 different design ideas.
Design1:
File Table
------------------
File ID, Owner ID, week ID
Owner Table
---------------
Owner ID, Owner Name
Design2:
File Table
--------------------
FileID, week1_Owner, week2_Owner, week3_Owner ....... week52_Owner (53 fields total including fileID)
Owner Table
--------------------
OwnerID, Owner Name
Owner ID's are stored as single since I only have 25 Owners.
Design1 seems to make more sense. It also has potential to grow to a huge number of records. We currentlly have a little of 400k records. This means that every week we are adding close to 400k more new records every week, at least for the first few weeks/months.
Design2, seems a lot more inflexible, however I know the number of fields I require and that will not change. Each week should only be adding a few hundred maybe upto 1k records each week maximum. The only data I need to bring back should be current week. I will be storing totals for the week separately so I can see week on week progress.
thoughts/considerations. Leaning towards design2 as it should be more manageable and faster, however it just feels wrong.