Jump to content

How do you start a database design?

I took a database class in school, but most of what I remember is about normalization and SQL. But that would require having an initial database to normalize. I can't remember how you get started.

 

I know they said something about evaulating the existing system, but in my case the existing system is a spreadsheet that doesn't DO what I want it to do.

 

I'm at the stage where I can describe in words what I want the darn thing to do, what I want it to keep track of, and even what I want it to look like when it's done (the front end), but I can't for the life of me figure out what to do first.

 

Any help is appreciated.

 

If you want to offer advice about my specific project, say so and I can edit this post to include a description of my project.

Link to comment
https://linustechtips.com/topic/314432-how-do-you-start-a-database-design/
Share on other sites

Link to post
Share on other sites

Know the details of your project... this includes data types, process flows, etc.

 

then you determine the tables/entities and their columns and their respective data types...

 

afterwards, make the connections between the tables...

 

go get MySQL Workbench and prototype from there...

Link to post
Share on other sites

I don't have the time right now to launch into a full explanation with examples but maybe this might be of some use to you (it helped me when I was on my degree):

 

17snUud.png

The single biggest problem in communication is the illusion that it has taken place.

Link to post
Share on other sites

Best advice to do is start off with a pen and a piece of paper, before you go anywhere near any databases. Draw boxes to represent tables (objects that you want to store) for example a user table and then write out the attributes you think that table might hold (username, email...) then when you have multiple tables draw lines to show any links that might be between them to show where you need foreign keys etc. Once you've designed it on paper, then and only then move on to making it on a computer.

 

I normally do a class digram, that will show you the attributes. Some might be in a database some not.

 

I'm currently doing a plan for college for a system that manages a rugby team. been doing it for weeks now still not finished ^_^  

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

I took a database class in school, but most of what I remember is about normalization and SQL. But that would require having an initial database to normalize. I can't remember how you get started.

I know they said something about evaulating the existing system, but in my case the existing system is a spreadsheet that doesn't DO what I want it to do.

I'm at the stage where I can describe in words what I want the darn thing to do, what I want it to keep track of, and even what I want it to look like when it's done (the front end), but I can't for the life of me figure out what to do first.

Any help is appreciated.

If you want to offer advice about my specific project, say so and I can edit this post to include a description of my project.

The first thing you need to do is define the purpose of the database. What you want it for, what kind of data you want to store. Then you should list off the entities to have data stored about, then the attributes of each entity. From there, once you're certain you have the detail you need, then normalise
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×