An Efficient Multi-Dimensional Index for Cloud Data Management Xiangyu Zhang Jing Ai Zhongyuan Wang Jiaheng Lu Xiaofeng Meng School of Information Renmin.

Slides:



Advertisements
Similar presentations
Index Dennis Shasha and Philippe Bonnet, 2013.
Advertisements

Probabilistic Skyline Operator over Sliding Windows Wenjie Zhang University of New South Wales & NICTA, Australia Joint work: Xuemin Lin, Ying Zhang, Wei.
1 Scoped and Approximate Queries in a Relational Grid Information Service Dong Lu, Peter A. Dinda, Jason A. Skicewicz Prescience Lab, Dept. of Computer.
External Memory Hashing. Model of Computation Data stored on disk(s) Minimum transfer unit: a page = b bytes or B records (or block) N records -> N/B.
Multidimensional Indexing
Hashing and Indexing John Ortiz.
Index for Cloud Data Management Lab of Web And Mobile Data Management ( WAMDM ) Youzhong MA.
Multidimensional Data
Yoshiharu Ishikawa (Nagoya University) Yoji Machida (University of Tsukuba) Hiroyuki Kitagawa (University of Tsukuba) A Dynamic Mobility Histogram Construction.
1 Lecture 8: Data structures for databases II Jose M. Peña
Multidimensional Data. Many applications of databases are "geographic" = 2­dimensional data. Others involve large numbers of dimensions. Example: data.
Multiple-key indexes Index on one attribute provides pointer to an index on the other. If V is a value of the first attribute, then the index we reach.
Efficient Processing of Top-k Spatial Keyword Queries João B. Rocha-Junior, Orestis Gkorgkas, Simon Jonassen, and Kjetil Nørvåg 1 SSTD 2011.
Data Indexing Herbert A. Evans. Purposes of Data Indexing What is Data Indexing? Why is it important?
Advanced Querying OLAP Part 2. Context OLAP systems for supporting decision making. Components: –Dimensions with hierarchies, –Measures, –Aggregation.
1 An Empirical Study on Large-Scale Content-Based Image Retrieval Group Meeting Presented by Wyman
Abstract Shortest distance query is a fundamental operation in large-scale networks. Many existing methods in the literature take a landmark embedding.
1 Database Tuning Rasmus Pagh and S. Srinivasa Rao IT University of Copenhagen Spring 2007 February 8, 2007 Tree Indexes Lecture based on [RG, Chapter.
Bigtable: A Distributed Storage System for Structured Data F. Chang, J. Dean, S. Ghemawat, W.C. Hsieh, D.A. Wallach M. Burrows, T. Chandra, A. Fikes, R.E.
Keyword Search on External Memory Data Graphs Bhavana Bharat Dalvi, Meghana Kshirsagar, S. Sudarshan PVLDB 2008 Reported by: Yiqi Lu.
MapReduce – An overview Medha Atre (May 7, 2008) Dept of Computer Science Rensselaer Polytechnic Institute.
CORE 2: Information systems and Databases CENTRALISED AND DISTRIBUTED DATABASES.
An Integration Framework for Sensor Networks and Data Stream Management Systems.
XML as a Boxwood Data Structure Feng Zhou, John MacCormick, Lidong Zhou, Nick Murphy, Chandu Thekkath 8/20/04.
Goodbye rows and tables, hello documents and collections.
VLDB2012 Hoang Tam Vo #1, Sheng Wang #2, Divyakant Agrawal †3, Gang Chen §4, Beng Chin Ooi #5 #National University of Singapore, †University of California,
Workload-Aware Aggregate Maintenance in Columnar In-Memory Databases Stephan Müller, Lars Butzmann, Stefan Klauck, Hasso Plattner 2013 IEEE International.
Index tuning Performance Tuning. Overview Index An index is a data structure that supports efficient access to data Set of Records index Condition on.
1 CPS216: Advanced Database Systems Notes 04: Operators for Data Access Shivnath Babu.
Alireza Angabini Advanced DB class Dr. M.Rahgozar Fall 88.
1 Wenguang WangRichard B. Bunt Department of Computer Science University of Saskatchewan November 14, 2000 Simulating DB2 Buffer Pool Management.
Large-scale Incremental Processing Using Distributed Transactions and Notifications Daniel Peng and Frank Dabek Google, Inc. OSDI Feb 2012 Presentation.
Multidimensional Indexes Applications: geographical databases, data cubes. Types of queries: –partial match (give only a subset of the dimensions) –range.
Efficiently Processing Queries on Interval-and-Value Tuples in Relational Databases Jost Enderle, Nicole Schneider, Thomas Seidl RWTH Aachen University,
Parallel dynamic batch loading in the M-tree Jakub Lokoč Department of Software Engineering Charles University in Prague, FMP.
Indexing HDFS Data in PDW: Splitting the data from the index VLDB2014 WSIC、Microsoft Calvin
Reporter : Yu Shing Li 1.  Introduction  Querying and update in the cloud  Multi-dimensional index R-Tree and KD-tree Basic Structure Pruning Irrelevant.
Index Example From Garcia-Molina, Ullman, and Widom: Database Systems, the Complete Book pp
Page 1 MD-HBase: A Scalable Multi-dimensional Data Infrastructure for Location Aware Services Shoji Nishimura (NEC Service Platforms Labs.), Sudipto Das,
1 Biometric Databases. 2 Overview Problems associated with Biometric databases Some practical solutions Some existing DBMS.
Zhuo Peng, Chaokun Wang, Lu Han, Jingchao Hao and Yiyuan Ba Proceedings of the Third International Conference on Emerging Databases, Incheon, Korea (August.
VLDB 2006, Seoul1 Indexing For Function Approximation Biswanath Panda Mirek Riedewald, Stephen B. Pope, Johannes Gehrke, L. Paul Chew Cornell University.
Topic Distributed DBMS Database Management Systems Fall 2012 Presented by: Osama Ben Omran.
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
DynamicMR: A Dynamic Slot Allocation Optimization Framework for MapReduce Clusters Nanyang Technological University Shanjiang Tang, Bu-Sung Lee, Bingsheng.
Design Issues of Prefetching Strategies for Heterogeneous Software DSM Author :Ssu-Hsuan Lu, Chien-Lung Chou, Kuang-Jui Wang, Hsiao-Hsi Wang, and Kuan-Ching.
Introduction.  Administration  Simple DBMS  CMPT 454 Topics John Edgar2.
1. Efficient Peer-to-Peer Lookup Based on a Distributed Trie 2. Complex Queries in DHT-based Peer-to-Peer Networks Lintao Liu 5/21/2002.
Big traffic data processing framework for intelligent monitoring and recording systems 學生 : 賴弘偉 教授 : 許毅然 作者 : Yingjie Xia a, JinlongChen a,b,n, XindaiLu.
Spring 2004 ECE569 Lecture 05.1 ECE 569 Database System Engineering Spring 2004 Yanyong Zhang
An Interval Classifier for Database Mining Applications Rakes Agrawal, Sakti Ghosh, Tomasz Imielinski, Bala Iyer, Arun Swami Proceedings of the 18 th VLDB.
Bigtable : A Distributed Storage System for Structured Data Fay Chang, Jeffrey Dean, Sanjay Ghemawat, Wilson C. Hsieh, Deborah A. Wallach Mike Burrows,
Bigtable: A Distributed Storage System for Structured Data
1 CSCE 520 Test 2 Info Indexing Modified from slides of Hector Garcia-Molina and Jeff Ullman.
Cluster computing. 1.What is cluster computing? 2.Need of cluster computing. 3.Architecture 4.Applications of cluster computing 5.Advantages of cluster.
Evaluating and Optimizing Indexing Schemes for a Cloud-based Elastic Key- Value Store Apeksha Shetty and Gagan Agrawal Ohio State University David Chiu.
A Flexible Spatio-temporal indexing Scheme for Large Scale GPS Tracks Retrieval Yu Zheng, Longhao Wang, Xing Xie Microsoft Research.
Dense-Region Based Compact Data Cube
CS 540 Database Management Systems
Pagerank and Betweenness centrality on Big Taxi Trajectory Graph
NOSQL.
COMP 430 Intro. to Database Systems
NOSQL databases and Big Data Storage Systems
OrientX: an Integrated, Schema-Based Native XML Database System
Pyramid Sketch: a Sketch Framework
CPSC-310 Database Systems
Ch 4. The Evolution of Analytic Scalability
Indexing and Hashing B.Ramamurthy Chapter 11 2/5/2019 B.Ramamurthy.
Continuous Density Queries for Moving Objects
DBMS Physical Design Physical design is concerned with the placement of data and selection of access methods for efficiency and ongoing maintenance.
Presentation transcript:

An Efficient Multi-Dimensional Index for Cloud Data Management Xiangyu Zhang Jing Ai Zhongyuan Wang Jiaheng Lu Xiaofeng Meng School of Information Renmin University of China

Outline Motivation Query Answering on the Cloud Related Work EMINC: Index the Cloud Efficiently ◦ Node Bounding ◦ Extended Node Bounding ◦ Cost Estimation based Index Update Evaluation Conclusion & Future Work

Outline Motivation Query Answering on the Cloud Related Work EMINC: Index the Cloud Efficiently ◦ Node Bounding ◦ Extended Node Bounding ◦ Cost Estimation based Index Update Evaluation Conclusion & Future Work

Motivation Cloud systems have been justified as brilliant for web search applications ◦ Simple structure, mostly key-value pairs ◦ Flexible, efficient for analytic work However, they are insufficient for complex data management needs ◦ No powerful language as SQL ◦ Hard to process complex queries ◦ Lack of efficient index structures

Distributed Cloud base? BigTable HBase How to query on other attributes besides primary key?

Motivation As part of our Cloud-based DBMS project, we aim to build efficient index structure on the Cloud.

Outline Motivation Query Answering on the Cloud Related Work EMINC: Index the Cloud Efficiently ◦ Node Bounding ◦ Extended Node Bounding ◦ Cost Estimation based Index Update Evaluation Conclusion & Future Work

Query Answering in the Cloud Fast locating of relevant slave nodes Efficient lookup on each slave nodes

Outline Motivation Query Answering on the Cloud Related Work EMINC: Index the Cloud Efficiently ◦ Node Bounding ◦ Extended Node Bounding ◦ Cost Estimation based Index Update Evaluation Conclusion & Future Work

Related Work S. Wu and K.-L. Wu, “An indexing framework for efficient retrieval on the cloud,” IEEE Data Eng. Bull., vol. 32, pp.75–82, H. chih Yang and D. S. Parker, “Traverse: Simplified indexing on large map-reduce-merge clusters,” in Proceedings of DASFAA 2009, Brisbane, Australia, April 2009, pp. 308–322. M. K. Aguilera, W. Golab, and M. A. Shah, “A practical scalable distributed b-tree,” in Proceedings of VLDB’08, Auckland, New Zealand, August 2008, pp. 598–609.

Distributed Database Data slicing in DDBS ◦ Horizontal, vertical, etc. ◦ Slice based on conditions ◦ Check condition conflict on query processing Data distribution on the Cloud is different and could be very complex if expressed as set of conditions Condition check is too expensive

Outline Motivation Query Answering on the Cloud Related Work EMINC: Index the Cloud Efficiently ◦ Node Bounding ◦ Extended Node Bounding ◦ Cost Estimation based Index Update Evaluation Conclusion & Future Work

Outline Motivation Query Answering on the Cloud Related Work EMINC: Index the Cloud Efficiently ◦ Node Bounding ◦ Extended Node Bounding ◦ Cost Estimation based Index Update Evaluation Conclusion & Future Work

EMINC: Node Bounding Node cube of a table on a slave node ◦ Value range of table on this node IdAB Node Cube: (1,1), (6,10)

EMINC: Architecture Each leaf node corresponds to one node cube Use KD-Tree to maintain local index on slave nodes

EMINC: Query Processing Get query cube of the query and look up in the R-Tree to get relevant data nodes ◦ 1 Query Cube: (1,3),(2,4) Node Cube Query Cube Node Cube Query Cube

Outline Motivation Query Answering on the Cloud Related Work EMINC: Index the Cloud Efficiently ◦ Node Bounding ◦ Extended Node Bounding ◦ Cost Estimation based Index Update Evaluation Conclusion & Future Work

EMINC: Extended Node Bounding Problem with single bounding ◦ Bad performance for sparse node Many queries will be mislead to this node

EMINC: Cube Cutting Single Node Cube with Low Accuracy Multiple Node Cube with High Accuracy

EMINC: Cube Methods Random cuttingEqual cuttingClustering-based cutting

Outline Motivation Query Answering on the Cloud Related Work EMINC: Index the Cloud Efficiently ◦ Node Bounding ◦ Extended Node Bounding ◦ Cost Estimation based Index Update Evaluation Conclusion & Future Work

EMINC: Index Update Strategy Index update issues: ◦ Cubes may invalidate themselves after certain data update, thus need reconstruction Insertion invalidates cube ◦ Create a node cube containing new data For regular maintenance of index ◦ Cost estimation based update strategy

EMINC: Cost Estimation Strategy Cost of index update: ◦ Recalculate cubes on local node ◦ Transfer to master node and maintain R-Tree ◦ Query performance will be affected Benefit of index update: ◦ More accurate query directing, less waste

EMINC: Two Phase Method After one update: 1.Wait for a time period of deltaT 2.deltaT expires, check if an update is needed Determin deltaT Check for update Assumption : Number of queries to be processed Total size of node cubes of this node

EMINC: Phase One After pervious update: benefit = decrement-of-query/time* deltaT ◦ We enjoy the benefit of pervious update for deltaT time period cost = number-of-queries missed ◦ Number of queries we could process if we use pervious update time to answer queries

EMINC: Phase Two benefit > cost => deltaT After deltaT expires, check if an update is needed. This check involves following: ◦ Record update frequency ◦ Expected benefit ratio ◦ Performance requirement We leave this as future work

Outline Motivation Query Answering on the Cloud Related Work EMINC: Index the Cloud Efficiently ◦ Node Bounding ◦ Extended Node Bounding ◦ Cost Estimation based Index Update Evaluation Conclusion & Future Work

Evaluation 6 machines ◦ 1 as master node ◦ 5 slave nodes simulating 100~1000 nodes Each machine had a 2.33GHz Intel Core2 Quad CPU, 4GB of main memory, and a 320G disk. Machines ran Ubuntu 9.04 Server OS.

Evaluation: Point Query

Evaluation: Range Query

Outline Motivation Query Answering on the Cloud Related Work EMINC: Index the Cloud Efficiently ◦ Node Bounding ◦ Extended Node Bounding ◦ Cost Estimation based Index Update Evaluation Conclusion & Future Work

Conclusion In this paper we presented a series of approaches on building efficient multi- dimensional index on Cloud platform. We developed the node bounding technique to reduce query processing cost on the cloud platform. In order to maintain efficiency of the index, we proposed a cost estimation- based approach for index update.

Future Work Complete cost estimation model Take replication of data into consideration Implement in Hbase to further verify performance

Thanks Please visit our lab for more information: