Preview

This

Powerful Essays
Open Document
Open Document
56113 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
This
DATABASE MANAGEMENT
SYSTEMS
SOLUTIONS MANUAL
THIRD EDITION

Raghu Ramakrishnan
University of Wisconsin
Madison, WI, USA

Johannes Gehrke
Cornell University
Ithaca, NY, USA

Jeff Derstadt, Scott Selikoff, and Lin Zhu
Cornell University
Ithaca, NY, USA

CONTENTS

PREFACE

iii

1

INTRODUCTION TO DATABASE SYSTEMS

1

2

INTRODUCTION TO DATABASE DESIGN

6

3

THE RELATIONAL MODEL

16

4

RELATIONAL ALGEBRA AND CALCULUS

28

5

SQL: QUERIES, CONSTRAINTS, TRIGGERS

45

6

DATABASE APPLICATION DEVELOPMENT

63

7

INTERNET APPLICATIONS

66

8

OVERVIEW OF STORAGE AND INDEXING

73

9

STORING DATA: DISKS AND FILES

81

10 TREE-STRUCTURED INDEXING

88

11 HASH-BASED INDEXING

100

12 OVERVIEW OF QUERY EVALUATION

119

13 EXTERNAL SORTING

126

14 EVALUATION OF RELATIONAL OPERATORS

131

i

iiDatabase Management Systems Solutions Manual Third Edition
15 A TYPICAL QUERY OPTIMIZER

144

16 OVERVIEW OF TRANSACTION MANAGEMENT

159

17 CONCURRENCY CONTROL

167

18 CRASH RECOVERY

179

19 SCHEMA REFINEMENT AND NORMAL FORMS

189

20 PHYSICAL DATABASE DESIGN AND TUNING

204

21 SECURITY

215

PREFACE

It is not every question that deserves an answer.
Publius Syrus, 42 B.C.

I hope that most of the questions in this book deserve an answer. The set of questions is unusually extensive, and is designed to reinforce and deepen students’ understanding of the concepts covered in each chapter. There is a strong emphasis on quantitative and problem-solving type exercises.
While I wrote some of the solutions myself, most were written originally by students in the database classes at Wisconsin. I’d like to thank the many students who helped in developing and checking the solutions to the exercises; this manual would not be available without their contributions. In alphabetical order: X. Bao, S. Biao, M.
Chakrabarti, C. Chan, W. Chen, N. Cheung, D.



References: CHAR(10000), supervisor CHAR(20),

You May Also Find These Documents Helpful

  • Powerful Essays

    CIS502FINAL EXAMS

    • 1966 Words
    • 20 Pages

    This final exam consists of 50 multiple choice questions and covers the material in Chapters 5 through 10.…

    • 1966 Words
    • 20 Pages
    Powerful Essays
  • Satisfactory Essays

    Choose the best answer for each question in the “Best Answer” at the end of these chapters, and write a few sentences for each question to justify your choice. Note that just choosing the letter for your best answer only will not earn you full credit for this assignment.…

    • 458 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    As you read this week’s textbook reading assignments, take notes in response to these questions…

    • 834 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Below are study questions along with some questions from the text book reading pages 140-151.…

    • 394 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Choose the best answer for each question in the “Best Answer” at the end of these chapters, and write a few sentences for each question to justify your choice. Note that just choosing the letter for your best answer only will not earn you full credit for this assignment.…

    • 551 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    This quiz consist of 40 multiple choice questions. The first 10 questions cover the material in Chapter 9. The second 10 questions cover the material in Chapter 10. The third 10 questions cover the material in Chapter 12. The last 10 questions cover the material in Chapter 13. Be sure you are in the correct Chapter when you take the quiz.…

    • 1453 Words
    • 6 Pages
    Satisfactory Essays
  • Powerful Essays

    a guide to mysql ch 7

    • 1287 Words
    • 9 Pages

    Except where indicated, use MySQL Query Browser to perform each operation and print the results.…

    • 1287 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    Qnt 561 Week 3 Quiz

    • 1117 Words
    • 5 Pages

    | This quiz consist of 20 multiple choice questions. The first 10 questions cover the material in Chapter 1. The second 10 questions cover the material in Chapter 2. Be sure you are in the correct Chapter when you take the quiz.…

    • 1117 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    MGS 3400 Final Exam Paper

    • 544 Words
    • 3 Pages

    10-12 questions have been selected from each chapter, so the topics are evenly spread throughout the chapters listed.…

    • 544 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Number the questions as they appear on this sheet or copy (retype) the questions. Type your answers in paragraph format, single-spaced and use quotations and examples from the book in support of your answers. Please indicate page numbers for quotations and proofread and spell-check your paper. PLEASE DO NOT RETYPE THE BOOK. I’m interested in reading your perception and perspective on the book.…

    • 798 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    This packet will be collected for points (50 total) when we have finished reading and discussing the book as a whole. If you lose this packet, it is your responsibility to get the questions and respond to them on separate paper to turn in. This packet can also be found on the class website.…

    • 1192 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Week 5 Quiz Humanities

    • 1608 Words
    • 7 Pages

    | This quiz consist of 40 multiple choice questions. The first 10 questions cover the material in Chapter 4. The second 10 questions cover the material in Chapter 5. The third 10 questions cover the material in Chapter 6. The last 10 questions cover the material in Chapter 8. Be sure you are in the correct Chapter when you take the quiz.…

    • 1608 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The following 25 questions are based on the Week Three readings. You may use your textbooks to complete this open-book test.…

    • 519 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Quiz

    • 1110 Words
    • 5 Pages

    | This quiz consist of 30 multiple choice questions. The first 10 questions cover the material in Chapter 17. The second 10 questions cover the material in Chapter 18. The last 10 questions cover the material in Chapter 20. Be sure you are in the correct Chapter when you take the quiz.…

    • 1110 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Theories of Personality

    • 646 Words
    • 3 Pages

    Choose three of the following six questions, and answer them in YOUR OWN WORDS. If you use outside material, other than the lectures, please make sure you cite the source.…

    • 646 Words
    • 3 Pages
    Good Essays