How do you test your database design?

Solace

I am doing a school project of developing a database application. It is in the design phase, and I am constantly worried that how do I get to know if I am doing something wrong.

I am following the rules, however, is there a way to find if my database design, and especially the normalization is going right or wrong?

Idriss Neumann

You could learn on the first 3 normal forms and the concept of functional dependencies.

I've wrote a course about this subject but in french unfortunately. However, here are some summarized and simplified rules to check if your relational schema is in 3NF:

1) To be in first normal form (1NF) : The attributes of a relation must be atomic and must be in functional dependence with the primary key of this relation.

2) To be in second normal form (2NF) : You have to be in 1NF and all functional dependencies between the primary key and other attributes of the relation are elementary. In other words, the attributes must depend on the whole key.

3) To be in third normal form (3NF) : You have to be in 2NF and all functional dependencies between the primary key of the relation and the other attributes are direct (no transitivity).

The best tool is to check these rules by yourself, that's not very hard ;)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do you test if your HTML page or application is accessible?

From Dev

How and where do you define your database structure in Meteor?

From Dev

How do you 'save' data to your database in a rails controller?

From Dev

How do you access your heroku database (specifically postgres)?

From Dev

How do you run Rest assured against a test database?

From Dev

When running unit tests with laravel, how do you test your App::error() implementations?

From Dev

How do you create your own DataType?

From Dev

How do you name your json methods?

From Dev

How do you "wrap" your application in an installer?

From Dev

How do you manage your dependency libraries?

From Dev

How do you reset your password for thunderbird?

From Dev

How do you reset your password for thunderbird?

From Dev

How do you block a port on your loopback?

From Dev

How do you change your username in Manjaro?

From Dev

How do you organize your file downloads?

From Dev

How do you get your location in javascript?

From Dev

Do ad impressions count when you are on your test device for android?

From Java

Do you use source control for your database items?

From Dev

How can you test transactional database code?

From Dev

How do you design a query conceptually?

From Dev

How do you create a design matrix in Python?

From Dev

How do you make your else statement do nothing?

From Dev

How do you protect your API key in your tests when you publish a gem with tests?

From Dev

How do you access the BIOS if your machine boots too fast for you to enter it, but your OS is broken?

From Dev

How do I design a bus route database?

From Dev

How do I design a bus route database?

From Dev

How do you test a Gmail Contextual Gadget?

From Java

How do you unit test private methods?

From Dev

How do you test for NaN in JavaScript?

Related Related

  1. 1

    How do you test if your HTML page or application is accessible?

  2. 2

    How and where do you define your database structure in Meteor?

  3. 3

    How do you 'save' data to your database in a rails controller?

  4. 4

    How do you access your heroku database (specifically postgres)?

  5. 5

    How do you run Rest assured against a test database?

  6. 6

    When running unit tests with laravel, how do you test your App::error() implementations?

  7. 7

    How do you create your own DataType?

  8. 8

    How do you name your json methods?

  9. 9

    How do you "wrap" your application in an installer?

  10. 10

    How do you manage your dependency libraries?

  11. 11

    How do you reset your password for thunderbird?

  12. 12

    How do you reset your password for thunderbird?

  13. 13

    How do you block a port on your loopback?

  14. 14

    How do you change your username in Manjaro?

  15. 15

    How do you organize your file downloads?

  16. 16

    How do you get your location in javascript?

  17. 17

    Do ad impressions count when you are on your test device for android?

  18. 18

    Do you use source control for your database items?

  19. 19

    How can you test transactional database code?

  20. 20

    How do you design a query conceptually?

  21. 21

    How do you create a design matrix in Python?

  22. 22

    How do you make your else statement do nothing?

  23. 23

    How do you protect your API key in your tests when you publish a gem with tests?

  24. 24

    How do you access the BIOS if your machine boots too fast for you to enter it, but your OS is broken?

  25. 25

    How do I design a bus route database?

  26. 26

    How do I design a bus route database?

  27. 27

    How do you test a Gmail Contextual Gadget?

  28. 28

    How do you unit test private methods?

  29. 29

    How do you test for NaN in JavaScript?

HotTag

Archive