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

Reply   View First Unread View First Unread

Join Date: Oct 2009
Posts: 4
Reputation: badmanmc is an unknown quantity at this point 
Solved Threads: 0
badmanmc badmanmc is offline Offline
Newbie Poster

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

 
0
  #1
Oct 17th, 2009
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!!
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,473
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 629
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast
 
0
  #2
Oct 17th, 2009
>>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.
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 23
Reputation: jmw229 is an unknown quantity at this point 
Solved Threads: 0
jmw229 jmw229 is offline Offline
Newbie Poster
 
0
  #3
1 Day Ago
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/

Originally Posted by badmanmc View 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!!
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the Database Design Forum


Views: 922 | Replies: 2
Thread Tools Search this Thread



Tag cloud for Database Design
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC