This topic contains a solution. Click here to go to the answer

Author Question: Explain denormalization, and why it may be appropriate to denormalize a set of tables. What will ... (Read 36 times)

MGLQZ

  • Hero Member
  • *****
  • Posts: 579
Explain denormalization, and why it may be appropriate to denormalize a set of tables.
 
  What will be an ideal response?

Question 2

Explain the MySQL control-of-flow statements.
 
  What will be an ideal response?



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

skipfourms123

  • Sr. Member
  • ****
  • Posts: 343
Answer to Question 1

Denormalization is the process of taking a normalized set of relations and converting them into a smaller set of relations that is in a lower normal form and thus vulnerable to a greater number of anomalies. While the fully normalized set of relations is more desirable from a theoretical perspective, it does have some disadvantages. The greater the number of relations in the database, the more work that is required by the database whenever data must be retrieved from multiple relations to reconstruct the users' view of the data. In some circumstances, the anomalies introduced by denormalizing a data model may be considered an acceptable cost for the performance improvement from reducing the overhead work performed by the database.

Answer to Question 2

The MySQL control-of-flow statements are used to direct which blocks of code are executed and in what order. Blocks of code can be labeled with block labels to identify them. The IF..THEN...ELSE..EN D IF structure is used to test conditions and execute code blocks based on the results, and also includes an IF...ELSEIF...END variant. The REPEAT and WHILE LOOP keywords are used to create repeating blocks of code. The LEAVE BlockLabel keywords are used to exit a block of code.




MGLQZ

  • Member
  • Posts: 579
Reply 2 on: Jul 7, 2018
:D TYSM


TheNamesImani

  • Member
  • Posts: 334
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

Limit intake of red meat and dairy products made with whole milk. Choose skim milk, low-fat or fat-free dairy products. Limit fried food. Use healthy oils when cooking.

Did you know?

The types of cancer that alpha interferons are used to treat include hairy cell leukemia, melanoma, follicular non-Hodgkin's lymphoma, and AIDS-related Kaposi's sarcoma.

Did you know?

Asthma cases in Americans are about 75% higher today than they were in 1980.

Did you know?

Most women experience menopause in their 50s. However, in 1994, an Italian woman gave birth to a baby boy when she was 61 years old.

Did you know?

People with high total cholesterol have about two times the risk for heart disease as people with ideal levels.

For a complete list of videos, visit our video library