{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lec2 - CS 6093 Lecture 2 Database Web Structured Search...

Info icon This 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
Image of page 1

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

View Full Document Right 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
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
Image of page 3

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

View Full Document Right 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 A 4 CS 6093 ©2011
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
Image of page 5

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

View Full Document Right 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 S11 A 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
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 S11 A Student CID Grade John D 1 A Jane S 1 A ID Course Semester 1 6093 S11
Image of page 7

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

View Full Document Right 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 A ID Course Semester 1 6093 S11 Selection, Project, Join (SPJ)
Image of page 8
Indexing and Access Methods
Image of page 9

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern