944,156 Members | Top Members by Rank

Ad:
Oct 17th, 2009
0

real client's project..please help optimizing design!!

Expand Post »
Right, I poster earlier with a practice table I was working on. I appreciated the reply and have been working on that.. but yesterday I got a real client's project.

I have been given the task of optimizing the database design.
The database keeps track of the transactions the company makes. A transaction is made and records are stored in several different tables.


These are the tables:

Ledger
Group
User
Opening Balance
Transaction
Transaction Type



The client would like

1) the data to be stored in ONE location and not 2 different places

2) to save disk space

3) prevent duplicate entries being


Any ideaS? I wont post the current design of the database unless necessary as I would like to try and do it all by myself but some pointers would be appreciated.

Initially I was thinking of denormalization. Eradicating the multiple tables and placing all data in one table. But this might not be the best strategy. How would you do it? What practices would you use?

ANY help would be appreciated.

Thanks!!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
badmanmc is offline Offline
4 posts
since Oct 2009
Oct 17th, 2009
0
Re: real client's project..please help optimizing design!!
>>1) the data to be stored in ONE location and not 2 different places
You mentioned 6 tables, not 2.

>>2) to save disk space
Disk space is minimal

>>3) prevent duplicate entries being
Combining those tables will cause more duplicate data

If you have transactions on an account that are cleared at the end of the month you can store bucket totals of opening balance in another table. Your only choice here is to move the total to the detail level which means the beginning balance will repeat for every entry in a single month which can lead to problems.

If your client is an accountant then tell him let you will handle the technical aspects and he should advise on the business side.
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Dec 24th, 2009
0
Re: real client's project..please help optimizing design!!
You have to perform normalization on the database to accomplish:
2) to save disk space

3) prevent duplicate entries being

The link below may be some help:
http://www.devshed.com/c/a/MySQL/An-...Normalization/

Click to Expand / Collapse  Quote originally posted by badmanmc ...
Right, I poster earlier with a practice table I was working on. I appreciated the reply and have been working on that.. but yesterday I got a real client's project.

I have been given the task of optimizing the database design.
The database keeps track of the transactions the company makes. A transaction is made and records are stored in several different tables.


These are the tables:

Ledger
Group
User
Opening Balance
Transaction
Transaction Type



The client would like

1) the data to be stored in ONE location and not 2 different places

2) to save disk space

3) prevent duplicate entries being


Any ideaS? I wont post the current design of the database unless necessary as I would like to try and do it all by myself but some pointers would be appreciated.

Initially I was thinking of denormalization. Eradicating the multiple tables and placing all data in one table. But this might not be the best strategy. How would you do it? What practices would you use?

ANY help would be appreciated.

Thanks!!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jmw229 is offline Offline
23 posts
since Apr 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Database Design Forum Timeline: Database Design Help
Next Thread in Database Design Forum Timeline: ERD for tuition school





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC