Docsity

Review Study for Final - Database Design | CMSC 424, Exams of Principles of Database Management

Partial preview of the text

Download Review Study for Final - Database Design | CMSC 424 and more Exams Principles of Database Management in PDF only on Docsity!

Course: CMSC 424 – Database design

Instructor: Mihai Pop

Times: TuTh 11:00-12:

Location: CSIC 1121

Office hours:

Wed, 11-12, AVW 3223

and by appointment

alternate office: 3120F Biomol. Sci. Bldg.

TA: Sharath Srinivas

TA office hours: TBA

Class website:

http://www.cbcb.umd.edu/confcour/CMSC424.shtml

Textbook: Database systems concepts.

Silberschatz, Korth, Sudarshan

McGraw Hill, ISBN 978-0-07-295886-

Note: Lectures trump book

Workload

  • (^) Exams: 2 midterms, 1 final
  • (^) Projects: 1 group programming project - build a database that does something cool (TBA)
  • (^) Homeworks: ~4 homeworks throughout the semester (some include SQL programming)
  • (^) Grading:
    • (^) homeworks 10%
    • (^) midterms 25%
    • (^) final 25%
    • (^) project 40%

Policies

  • Attendance - follow University policy
    • you must claim excused absences in writing
    • written documentation of illness is required (from Dr. not yourselves)
    • if possible inform me prior to the class you will skip
  • Disabilities
    • must inform me during the first 2 weeks of the semester if special accommodations necessary
    • request letter from Office of Disability Support Services
  • General – communication is key
    • talk to me about any issues whether covered or not by University policies

Addl. Rules

• NO EXCUSE FOR CHEATING!

• NO LAPTOPS IN CLASS!

Why go through all this?

  • (^) Database administrators are paid well
  • (^) Databases are everywhere (i.e. lots of job opportunities)
    • (^) E.g. Google
    • (^) at the doctor's office
    • (^) payroll systems
    • (^) on Wall Street
    • (^) government (e.g. CIA)
    • (^) scientific data
  • (^) Database research offers many exciting opportunities
    • (^) Internet technologies
    • (^) handling huge amounts of data
    • (^) etc.

Motivation: Data Overload

  • Much more is produced every day Wal-mart: 583 terabytes of sales and inventory data Adds a billion rows every day “we know how many 2.4 ounces of tubes of toothpastes sold yesterday and what was sold with them” Yes we can do it; is there any point to it? [[“library of congress --> 20 TBs”]]

Motivation: Data Overload

  • Much more is produced every day Neilsen Media Research: 20 GB a day; total 80-100 TB From where ??? 12000 households or personal meters Extending to iPods and TiVos in recent years Is there a point beyond telling you what great TV shows you are missing?

Motivation: Data Overload

  • Automatically generated data through

instrumentation

“Britain to log vehicle movements through cameras. 35 million reads per day.” Wireless sensor networks are becoming ubiquitous. RFID: Possible to track every single piece of product throughout its life (Gillette boycott)

Motivation: Data Overload

 (^) How do we do anything with this data?  (^) Where and how do we store it?

  • Disks are doubling every 18 months or so -- not enough
  • How do we search through it?  (^) Text search?  (^) “how much time from here to pittsburgh if I start at 2pm ?”
  • Data is there; more will be soon (live traffic data)

DBMS to the Rescue

  • Provide a systematic way to answer most of these questions…
  • Aim is to allow easy management of data
    • Store it
    • Update it
    • Query it  (^) Massively successful for structured data
    • What do I mean by that?

Structured vs Unstructured

  • A lot of the data we encounter is structured
    • Some have very simple structures
    • E.g. Data that can be represented in tabular forms
    • Signficantly easier to deal with
    • We will actually focus on such data for much of the class 500 700 400 350 A- A- A- A- Downtown Mianus Perry R.H bname acct_no balance Account Harrison Rye Harrison Rye Pittsfield Main North Main North Park Jones Smith Hayes Curry Lindsay cname cstreet ccity Customer

Collaborations Graph Query: Find my Erdos Number.

Structured vs Unstructured

  • Increasing amount of data in a semi-structured format
    • XML – Self-describing tags
    • Complicates a lot of things
    • We will discuss this toward the end