{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cs345-streams-3

cs345-streams-3 - Mining Data Streams The Stream Model...

Info icon This preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Mining Data Streams The Stream Model Sliding Windows Counting 1’s
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
2 Data Management Versus Stream Management rhombus6 In a DBMS, input is under the control of the programmer. rhombus4 SQL INSERT commands or bulk loaders. rhombus6 Stream Management is important when the input rate is controlled externally. rhombus4 Example : Google queries.
Image of page 2
3 The Stream Model rhombus6 Input tuples enter at a rapid rate, at one or more input ports. rhombus6 The system cannot store the entire stream accessibly. rhombus6 How do you make critical calculations about the stream using a limited amount of (secondary) memory?
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
4 Processor Limited Working Storage . . . 1, 5, 2, 7, 0, 9, 3 . . . a, r, v, t, y, h, b . . . 0, 0, 1, 0, 1, 1, 0 time Streams Entering Ad-Hoc Queries Output Archival Storage Standing Queries
Image of page 4
5 Applications – (1) rhombus6 Mining query streams. rhombus4 Google wants to know what queries are more frequent today than yesterday. rhombus6 Mining click streams. rhombus4 Yahoo wants to know which of its pages are getting an unusual number of hits in the past hour.
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
6 Applications – (2) rhombus6 Sensors of all kinds need monitoring, especially when there are many sensors of the same type, feeding into a central controller. rhombus6 Telephone call records are summarized into customer bills.
Image of page 6
7 Applications – (3) rhombus6 IP packets can be monitored at a switch. rhombus4 Gather information for optimal routing. rhombus4 Detect denial-of-service attacks.
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
8 Sliding Windows rhombus6 A useful model of stream processing is that queries are about a window of length N – the N most recent elements received.
Image of page 8
Image of page 9
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