Lec2 - CS 6093 Lecture 2 Database Web Structured Search Cong Yu Some Logistics If you are auditing please talk to us If you missed the first class

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 6093 Lecture 2 Database & Web: Structured Search Cong Yu
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Some Logistics If you are auditing, please talk to us If you missed the first class, please talk to us Group formation and project selection is due a week from today, email us with: – Group members – Project selection Once a project is selected, please schedule a meeting with us during the office hour I will be away Feb 6 th to Feb 20 th 2 CS 6093 ©2011
Background image of page 2
Today’s Outline Introduction – A Primer on Database Topics: from SQL to XML – A Primer on Web Topics: from Hypertext to Semantic Web Semi-structured Search – FlexPath – Timber 3 CS 6093 ©2011
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Database 101 What is a database (in the traditional sense)? – A large collection of structured data Structured: – Data are stored according to the specified schema (i.e., tables) Large: – Modern databases contain thousands of tables and billions of records Student Course Semester Grade John Doe CS 6093 Spring 2011 A Jane Smith CS 6093 Spring 2011 4 CS 6093 ©2011
Background image of page 4
Advanced Database Topics A crash course on topics that we don’t cover – Conceptual Model and Physical Storage Separation – Relational Data Model and Data Normalization – Relational Algebra and SQL – Storage and Indexing – Query Optimization – Transaction and Concurrency Control Topics that we will cover in this course, you will learn in details over the semester – Semi-structured Data and Usability – Data Warehousing and Mining 5 CS 6093 ©2011
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Abstraction: Logical & Physical Imagine a world without database, and you have to manage lots of data, what would you do? – Files: lots of them and/or very large ones – Problem: • To manipulate any piece of information, you have to write lots of code to search through the files and manage the intermediate results Database provides the conceptual and physical data independence – How you access the data is abstracted away from how the data is stored Student Course Semester Grade John D 6093 S11 A Jane S 6093 File2: “John D”, “Jane S” “6093”, “6093” “S11”, “S11” “A”, “A” File1: “John D”, “6093”, “S11”, “A” “Jane S”, “6093”, “S11”, “A” 6 CS 6093 ©2011
Background image of page 6
Data Model How to represent real world information? Entity-Relationship (ER) model – Each conceptual entity is maintained using a table – 1-1 relationships are maintained using key/foreign key – 1-many and many-many relationships are maintained through tables Data normalization – Avoid update anomaly 7 CS 6093 ©2011 Student Course Semester Grade John D 6093 S11 A Jane S 6093 Student CID Grade John D 1 Jane S 1 ID Course Semester 1 6093
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
SQL: Structured Query Language Key feature – Declarative • Specifying what data one wants, without specifying how to get them Example select s.student from student s, course c where s.grade = “A” and s.cid = c.id and c.semester = “S11” 8 CS 6093 ©2011 Student CID Grade John D 1 A Jane S 1 ID Course Semester 1 6093 S11 Selection, Project, Join (SPJ)
Background image of page 8
Indexing and Access Methods
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/22/2012 for the course CS 6093 taught by Professor Diaz during the Spring '11 term at NYU Poly.

Page1 / 60

Lec2 - CS 6093 Lecture 2 Database Web Structured Search Cong Yu Some Logistics If you are auditing please talk to us If you missed the first class

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online