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 34 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
Thanks for the timely response, appreciate it


Jossy

  • Member
  • Posts: 336
Reply 3 on: Yesterday
Wow, this really help

 

Did you know?

For pediatric patients, intravenous fluids are the most commonly cited products involved in medication errors that are reported to the USP.

Did you know?

Your chance of developing a kidney stone is 1 in 10. In recent years, approximately 3.7 million people in the United States were diagnosed with a kidney disease.

Did you know?

Urine turns bright yellow if larger than normal amounts of certain substances are consumed; one of these substances is asparagus.

Did you know?

Elderly adults are living longer, and causes of death are shifting. At the same time, autopsy rates are at or near their lowest in history.

Did you know?

Fatal fungal infections may be able to resist newer antifungal drugs. Globally, fungal infections are often fatal due to the lack of access to multiple antifungals, which may be required to be utilized in combination. Single antifungals may not be enough to stop a fungal infection from causing the death of a patient.

For a complete list of videos, visit our video library