1 SINA: Scalable Incremental Processing of Continuous Queries in Spatio-temporal Databases Mohamed F. Mokbel, Xiaopeng Xiong, Walid G. Aref Presented by.

Slides:



Advertisements
Similar presentations
Efficient Evaluation of k-Range Nearest Neighbor Queries in Road Networks Jie BaoChi-Yin ChowMohamed F. Mokbel Department of Computer Science and Engineering.
Advertisements

Spatial Join Queries. Spatial Queries Given a collection of geometric objects (points, lines, polygons,...) organize them on disk, to answer point queries.
Supporting top-k join queries in relational databases Ihab F. Ilyas, Walid G. Aref, Ahmed K. Elmagarmid Presented by Rebecca M. Atchley Thursday, April.
1 Top-k Spatial Joins
Bio Michel Hanna M.S. in E.E., Cairo University, Egypt B.S. in E.E., Cairo University at Fayoum, Egypt Currently is a Ph.D. Student in Computer Engineering.
Query Execution, Concluded Zachary G. Ives University of Pennsylvania CIS 550 – Database & Information Systems November 18, 2003 Some slide content may.
A Generic Framework for Monitoring Continuous Spatial Queries over Moving Objects.
©Silberschatz, Korth and Sudarshan12.1Database System Concepts Chapter 12: Part C Part A:  Index Definition in SQL  Ordered Indices  Index Sequential.
Quick Review of Apr 10 material B+-Tree File Organization –similar to B+-tree index –leaf nodes store records, not pointers to records stored in an original.
Chapter 11 Indexing and Hashing (2) Yonsei University 2 nd Semester, 2013 Sanghyun Park.
Join Processing in Databases Systems with Large Main Memories
Chord: A Scalable Peer-to-peer Lookup Protocol for Internet Applications Speaker: Cathrin Weiß 11/23/2004 Proseminar Peer-to-Peer Information Systems.
Mohamed F. Mokbel University of Minnesota
Department of Computer Science Spatio-Temporal Histograms Hicham G. Elmongui*Mohamed F. Mokbel + Walid G. Aref* *Purdue University, Department of Computer.
Reverse Furthest Neighbors in Spatial Databases Bin Yao, Feifei Li, Piyush Kumar Florida State University, USA.
--Presented By Sudheer Chelluboina. Professor: Dr.Maggie Dunham.
On Reducing Communication Cost for Distributed Query Monitoring Systems. Fuyu Liu, Kien A. Hua, Fei Xie MDM 2008 Alex Papadimitriou.
Spatio-Temporal Databases
Computer Science Spatio-Temporal Aggregation Using Sketches Yufei Tao, George Kollios, Jeffrey Considine, Feifei Li, Dimitris Papadias Department of Computer.
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
1 SINA: Scalable Incremental Processing of Continuous Queries in Spatio-temporal Databases Mohamed F. Mokbel, Xiaopeng Xiong, Walid G. Aref Presented by.
Approximate querying about the Past, the Present, and the Future in Spatio-Temporal Databases Jimeng Sun, Dimitris Papadias, Yufei Tao, Bin Liu.
Temporal Databases. Outline Spatial Databases Indexing, Query processing Temporal Databases Spatio-temporal ….
THE QUERY COMPILER 16.6 CHOOSING AN ORDER FOR JOINS By: Nitin Mathur Id: 110 CS: 257 Sec-1.
1 Continuous k-dominant Skyline Query Processing Presented by Prasad Sriram Nilu Thakur.
Chapter 3: Data Storage and Access Methods
Tracking Moving Objects in Anonymized Trajectories Nikolay Vyahhi 1, Spiridon Bakiras 2, Panos Kalnis 3, and Gabriel Ghinita 3 1 St. Petersburg State University.
Probabilistic Skyline Operator over sliding Windows Wan Qian HKUST DB Group.
Euripides G.M. PetrakisIR'2001 Oulu, Sept Indexing Images with Multiple Regions Euripides G.M. Petrakis Dept.
Scalable Network Distance Browsing in Spatial Database Samet, H., Sankaranarayanan, J., and Alborzi H. Proceedings of the 2008 ACM SIGMOD international.
Indexing Spatio-Temporal Data Warehouses Dimitris Papadias, Yufei Tao, Panos Kalnis, Jun Zhang Department of Computer Science Hong Kong University of Science.
1 Algorithms and Analysis CS 2308 Foundations of CS II.
Evaluation of Top-k OLAP Queries Using Aggregate R-trees Nikos Mamoulis (HKU) Spiridon Bakiras (HKUST) Panos Kalnis (NUS)
Trip Planning Queries F. Li, D. Cheng, M. Hadjieleftheriou, G. Kollios, S.-H. Teng Boston University.
Sorting and Query Processing Zachary G. Ives University of Pennsylvania CIS 550 – Database & Information Systems November 29, 2005.
Moving Objects Databases Nilanshu Dharma Shalva Singh.
Query Processing Presented by Aung S. Win.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
AAU A Trajectory Splitting Model for Efficient Spatio-Temporal Indexing Presented by YuQing Zhang  Slobodan Rasetic Jorg Sander James Elding Mario A.
Dept. of Electrical Engineering and Computer Science, Northwestern University Context-Aware Optimization of Continuous Query Maintenance for Trajectories.
Accessing to Spatial Data in Mobile Environment Presented By Jekkin Shah.
Systems and Internet Infrastructure Security (SIIS) LaboratoryPage Systems and Internet Infrastructure Security Network and Security Research Center Department.
Graph Indexing: A Frequent Structure- based Approach Alicia Cosenza November 26 th, 2007.
Efficient Processing of Top-k Spatial Preference Queries
Spatio-temporal Pattern Queries M. Hadjieleftheriou G. Kollios P. Bakalov V. J. Tsotras.
Supporting Top-k join Queries in Relational Databases Ihab F. Ilyas, Walid G. Aref, Ahmed K. Elmagarmid Presented by: Z. Joseph, CSE-UT Arlington.
August 30, 2004STDBM 2004 at Toronto Extracting Mobility Statistics from Indexed Spatio-Temporal Datasets Yoshiharu Ishikawa Yuichi Tsukamoto Hiroyuki.
Monitoring k-NN Queries over Moving Objects Xiaohui Yu University of Toronto Joint work with Ken Pu and Nick Koudas.
Presentation Template KwangSoo Yang Florida Atlantic University College of Engineering & Computer Science.
Euripides G.M. PetrakisIR'2001 Oulu, Sept Indexing Images with Multiple Regions Euripides G.M. Petrakis Dept. of Electronic.
CS4432: Database Systems II Query Processing- Part 2.
February 4, Location Based M-Services Soon there will be more on-line personal mobile devices than on-line stationary PCs. Location based mobile-services.
Efficient OLAP Operations in Spatial Data Warehouses Dimitris Papadias, Panos Kalnis, Jun Zhang and Yufei Tao Department of Computer Science Hong Kong.
1 CSIS 7101: CSIS 7101: Spatial Data (Part 1) The R*-tree : An Efficient and Robust Access Method for Points and Rectangles Rollo Chan Chu Chung Man Mak.
1 Complex Spatio-Temporal Pattern Queries Cahide Sen University of Minnesota.
CS 440 Database Management Systems Lecture 5: Query Processing 1.
Chapter 9: Web Services and Databases Title: NiagaraCQ: A Scalable Continuous Query System for Internet Databases Authors: Jianjun Chen, David J. DeWitt,
CS 540 Database Management Systems
Rate-Based Query Optimization for Streaming Information Sources Stratis D. Viglas Jeffrey F. Naughton.
1 Overview of Query Evaluation Chapter Outline  Query Optimization Overview  Algorithm for Relational Operations.
Igor EPIMAKHOV Abdelkader HAMEURLAIN Franck MORVAN
Database Performance Tuning and Query Optimization
Spatio-temporal Pattern Queries
On Spatial Joins in MapReduce
Spatio-Temporal Databases
Presented by: Mahady Hasan Joint work with
Chapter 11 Database Performance Tuning and Query Optimization
Spatio-Temporal Histograms
Efficient Processing of Top-k Spatial Preference Queries
Presentation transcript:

1 SINA: Scalable Incremental Processing of Continuous Queries in Spatio-temporal Databases Mohamed F. Mokbel, Xiaopeng Xiong, Walid G. Aref Presented by Nilu Thakur Prasad Sriram

2 Introduction (1/3) Moving query on stationary objects Find the nearest gas station(s) within 1 miles of moving red car

3 Introduction (2/3) Another Example…. Moving query on moving objects Continuously find all police cars within 3 miles of the moving red car

4 Introduction (3/3) Another Example…. Stationary query on moving objects Continuously find all vehicles within 1 miles of my house My House

5 Problem Definition Input Given a large number of mobile/stationary objects and continuous spatio-temporal queries Output Produce fast, complete and correct results Objective Continuous evaluation Scalability in terms of number of queries Report only updates to previous answer Constraints Any delay in query response might result in outdated answer Limited Network bandwidth

6 Contributions  Shared execution paradigm  Groups similar queries in a query table  R-tree/FUR tree index for spatial join on moving objects  Q-tree index for spatial join on moving queries  Differ from previous approaches of using R-tree and Q index structure for moving query on moving object (Instead uses spatial join assuming no indexing structure)  Incremental evaluation (Most Significant)  Maintains an in-memory table to store positive and negative updates  Negative updates may cancel previous positive update & vice versa  Sends a set of updates to queries every ‘T’ time

7 Spatial join between moving objects & moving queries Shared execution

8 An example to understand Spatial-Join Q represents Objects P represents Queries black circle: Non-moving objects, dashed line represents moving queries

9 State diagram of SINA

10 Step I-Hashing  Two in-memory hash table with N buckets for storing moving objects &  moving queries  One in-memory query table to keep track of upper left and lower right  corners of query region  Hashing --> probing -->storing

11 Step II-Invalidation Map objects and queries to one or more disk-based N*N grid cells Flush out the buckets containing moved objects and queries If object maps to same grid then the object has not moved Else Add the object entry in this grid cell Look for queries that contain this object. Remove these objects from the queries by sending negative updates. Repeat the same procedure for invalidating queries. Query entry Object entry

12 Step III- Joining No additional data structure Two spatial join operations for each grid cell Join in-memory objects with in-disk queries Join in-memory moving queries with in-disk objects Send updated answers to clients Clear all memory data structures

13 Experimental Evidence Methodology  Experiments performed on synthetic data  Used Network-Based Generator of Moving Objects  Input to generator is road map of city of Oldenburg, Germany  Theorem-Proving Validation criteria  Comparison with other non-incremental algorithms based on  Size of the results  Impact of grid size  Scalability with number of objects  Performance in terms of CPU and I/O time Advantages  Very much appropriate to check correctness & efficiency of proposed algorithm where rich datasets with various problem features are not available. Disadvantages  Real world conditions might differ from experimental results

14 Rewrite today Assumptions: No unreasonable assumptions made. In fact, removes some previous assumptions made by other related techniques Preservations Incremental way of sending updates Shared execution Not having assumptions about computational capabilities of client Improvements Incorporate some techniques to determine the optimal ‘T’ i.e., time between sending updates Through experiments Learning based on the past statistics about how valid the previous updates were Extend to handle queries involving huge object histories