Integrating the UB-Tree Into a Database System Kernel

Total Page:16

File Type:pdf, Size:1020Kb

Integrating the UB-Tree Into a Database System Kernel Integrating the UB-Tree into a Database System Kernel Frank Ramsak1, Volker Markl1, Robert Fenk1, Martin Zirkel2, Klaus Elhardt3, Rudolf Bayer1,2 1Bayerisches Forschungszentrum 2Institut für Informatik 3TransAction Software GmbH für Wissensbasierte Systeme TU München Gustav-Heinemann-Ring 109, Orleansstraße 34, Orleansstraße 34, D-81739 München, Germany D- 81667 München, Germany D-81667 München, Germany {frank.ramsak, robert.fenk, volker.markl}@forwiss.de, {zirkel, bayer}@in.tum.de, [email protected] Abstract Multidimensional access methods have shown 1 Introduction high potential for significant performance im- Various research approaches in the past have shown that provements in various application domains. multidimensional access methods (MAMs) have a high However, only few approaches have made their impact on different database application domains like data way into commercial products. In commercial warehousing, data mining, or geographical information database management systems (DBMSs) the B- systems. However, despite the vast research effort MAMs Tree is still the prevalent indexing technique. have not made their way into commercial database Integrating new indexing methods into existing management systems on a broad scale. This is mostly due database kernels is in general a very complex to the fact that the integration of these complex data and costly task. Exceptions exist, as our experi- structures into an existing database kernel is fairly ence of integrating the UB-Tree into TransBase, complicated. Especially concurrency and recovery issues, a commercial DBMS, shows. The UB-Tree is a which are as important as performance issues for very promising multidimensional index, which commercial systems, are major obstacles. For most has shown its superiority over traditional access MAMs new solutions to these problems, e.g., locking for methods in different scenarios, especially in R-Trees [KB95, CM98], have to be developed, as the new OLAP applications. In this paper we discuss the concepts do not allow reusing standard techniques. This major issues of a UB-Tree integration. As we makes the kernel integration of an MAM a very costly will show, the complexity and cost of this task is task in the range of multiple man-years. As consequence reduced significantly due to the fact that the UB- many DBMS producers have not integrated the new Tree relies on the classical B-Tree. Even though technology into their systems, but offer it only as add-on commercial DBMSs provide interfaces for index features. So, are MAMs just another nice research extensions, we favor the kernel integration be- gimmick, but commercially not affordable? No, in this cause of the tight coupling with the query opti- paper we will show that there are MAMs, which provide mizer, which allows for optimal usage of the UB- good performance on one side and can smoothly be Tree in execution plans. Measurements on a integrated into a DBMS kernel on the other side. A real-world data warehouse show that the kernel category of MAMs is based on the combination of one- integration leads to an additional performance dimensional index structures and space-filling curves. improvement compared to our prototype imple- One prominent example is the UB-Tree [Bay97], which mentation and competing index methods. combines the B-Tree and the Z-curve. Together with its Permission to copy without fee all or part of this material is sophisticated query processing algorithms it has proven its granted provided that the copies are not made or distributed for performance advantages in numerous application direct commercial advantage, the VLDB copyright notice and domains. Because the UB-Tree is based on the standard the title of the publication and its date appear, and notice is B-Tree, which is the basic index structure in almost every given that copying is by permission of the Very Large Data Base commercial DBMS, the task of integrating this MAM into Endowment. To copy otherwise, or to republish, requires a fee an existing kernel becomes less complex and less costly. and/or special permission from the Endowment. Proceedings of the 26th International Conference on Very The kernel integration of the UB-Tree into TransBase Large Databases, Cairo, Egypt, 2000 [Tra98] (as part of an ESPRIT project funded by the 263 European Commission) has been accomplished within The fundamental innovation of UB-Trees is the concept one year. TransBase is a full-scale relational database of Z-Regions to create a disjunctive partitioning of the system, which conforms to the SQL-92 standard. multidimensional space. This allows for very efficient TransBase, which handles databases up to 8 Terabyte of processing of multidimensional range queries (see Section data, is used especially in the field of CD-ROM retrieval 4). A Z-Region [α : β ] is the space covered by an interval systems, and has an installation base of well beyond on the Z-Curve and is defined by two Z-Addresses α and 50,000 sites worldwide. β. We call β the region address of [α : β ]. Each Z- In this paper, we will present the major issues and Region maps exactly onto one page on secondary storage, problems that have to be tackled and solved for a suc- i.e., to one leaf page of the B-Tree. cessful UB-Tree kernel integration. The paper is For an 2 dimensional universe of size 8×8, Figure 2-1b organized as follows: Section 2 presents the basic con- shows the corresponding Z-addresses. Figure 2-1c shows cepts behind the UB-Tree and Section 3 deals with the the Z-region [4: 20] and Figure 2-1d shows a partitioning issue of the UB-Tree address representation and the with five Z-regions [0 : 3],[4 : 20], [21 : 35], [36 : 47] and implementation of the standard UB-Tree operations. [48 : 63]. Assuming a page capacity of 2 points, Figure Section 4 addresses the specific query operation of the 2-1e shows ten points, which create the partitioning of UB-Tree and Section 5 tackles the important topic of Figure 2-1d. required optimizer extensions to efficiently support the The details of the UB-Tree algorithms are described in the UB-Tree. Section 6 covers additional enhancements for following sections. the UB-Tree and Section 7 presents the performance evaluation. Section 8 summarizes related work and 3 UB-Tree Address Representation and Section 9 concludes the paper. Standard Operations 2 Basic Concept of the UB-Tree For the rest of the paper we will refer to the function computing the Z-Addresses as UBKEY and to the keys as The basic idea of the UB-Tree [Bay97] is to use a space- Z-values. It is important to note that the UB-Tree filling curve to map a multidimensional universe to one- algorithms can be implemented and integrated without dimensional space. Using the Z-Curve (Figure 2-1a) for fundamental changes to the query processing of the preserving multidimensional clustering as good as database kernel. They do not require special tuple possible it is a variant of the zkd-B-Tree [OM84]. handling or other significant modifications, as the 0 1 2 3 4 5 6 7 following sections show. 0 0 1 4 5 16 17 20 21 1 2 3 6 7 18 19 22 23 3.1 Address Representation and Z-value Computation 8 9 12 13 24 25 28 29 2 An important question for the implementation of the UB- 3 10 11 14 15 26 27 30 31 4 32 33 36 37 48 49 52 53 Tree inside the database kernel is how to represent the Z- 5 34 35 38 39 50 51 54 55 values. All algorithms for the UB-Tree basically rely on 6 40 41 44 45 56 57 60 61 7 42 43 46 47 58 59 62 63 Z-values in the format of variable length bitstrings (a) (b) (trailing zeros are omitted to reduce storage requirements). The operations on Z-values manipulate single bits and copy parts of the bitstring. The UBKEY function can be efficiently implemented, as it requires only reading the specified index attributes bitwise and writing the bits at the corresponding positions in the resulting Z-value. As input the UBKEY function requires (c) (d) a bitstring representation of the attribute values. The natural order ≤ of the attribute values in the original domain A has to correspond to the bit-lexicographical ≤ order bitstr on bitstrings, i.e., ≤ ⇔ ≤ ai a j bitstr(ai ) bitstr bitstr(a j ) , where bitstr : A →{b | b ∈[]0,1 *}generates the corresponding (e) Figure 2-1 Z-Addresses and Z-Regions bitstring. For example, in case of unsigned integers and strings bitstr := identity while for signed integers the A Z-Address α = Z(x) is the ordinal number of the key bitstr function has to take care of the sign bit. attributes of a tuple x on the Z-Curve, which can be efficiently computed by bit-interleaving (see Section 3.1). To compute the Z-value of a tuple, we interleave the bits A standard B-Tree is used to index the tuples taking the of the bitstring representation of the key attributes (see Z-Address of the tuples as keys. Figure 3-1). 264 Bitstring 1 Bitstring d Note that complex normalization may lead to significant 0 1 1 ... 10 1 performance overhead, which may then not be neglected any more. Our standard normalization techniques just require a few microseconds of CPU cycles and therefore 0...1 1...0 1...1 do not affect the address calculation performance. Step0 Step1 Step2 3.2 Insertion, Deletion, Update The basic algorithms of the UB-Tree are handled by the Z-value underlying B-Tree. To perform an insertion, deletion or Figure 3-1 Calculation of Z-values by bit-interleaving the update one just has to compute the Z-value corresponding transformed attributes to the tuple.
Recommended publications
  • Advanced Concepts and Applications of the UB-Tree
    INSTITUT FUR¨ INFORMATIK d d d d d d d d DER TECHNISCHEN UNIVERSITAT¨ MUNCHEN¨ d d d d d d d d d d d d Advanced Concepts and Applications of the UB-Tree Robert Josef Widhopf-Fenk Institut f¨urInformatik der Technischen Universit¨atM¨unchen Advanced Concepts and Applications of the UB-Tree Robert Josef Widhopf-Fenk Vollst¨andiger Abdruck der von der Fakult¨at f¨urInformatik der Technischen Universit¨at M¨unchen zur Erlangung des akademischen Grades eines Doktors der Naturwissenschaften genehmigten Dissertation. Vorsitzende: Univ.-Prof. G. J. Klinker, Ph.D. Pr¨uferder Dissertation: 1. Univ.-Prof. R. Bayer, Ph.D., emeritiert 2. Univ.-Prof. A. Kemper, Ph.D. Die Dissertation wurde am 05.08.2004 bei der Technischen Universit¨atM¨unchen eingereicht und durch die Fakult¨at f¨ur Informatik am 07.02.2005 angenommen. Acknowledgements First of all, I want to thank my supervisor Rudolf Bayer for his advice, guidance, support, and patience. Without his invitation to be a Ph.D. student, I would have never been working on database research. I owe my former colleagues in the MISTRAL project many thanks for fruitful discus- sions, proofreading, inspirations, and motivating me: Volker Markl, Frank Ramsak, Martin Zirkel and our “external” member Roland Pieringer. I like to thank my students, Oliver Nickel, Chris Hodges and Werner Unterhofer con- tributing to this work by supporting the implementation of algorithms and performing experiments. Special thanks to our project partners at TransAction, Teijin, GfK, and the members of the EDITH project. And last but not least, many thanks to Michael Bauer, Bernd Reiner, and Charlie Hahn for discussions, distraction and small talk.
    [Show full text]
  • Today's Problems, Yesterday's Toolkit
    TODAY’S PROBLEMS, YESTERDAY’S TOOLKIT Developed by Owned by and working for Australian and New Zealand Governments. 1 THE ROADMAP: TODAY’S PROBLEMS, YESTERDAY’S TOOLKIT 4 THE PUBLIC PROBLEM SOLVING IMPERATIVE 5 The Death of Trust 6 Why Public Problem Solving is So Urgent 7 Why Building Skills will Restore Trust 10 How Public Problems Differ 12 The Public Problem-Solving Pathway 14 INNOVATION SKILLS IN THE PUBLIC SECTOR 16 Definitions of Innovation Skills in the Public Sector 17 The Public Entrepreneur’s Skillset 18 Training for Innovation Skills 21 ANZSOG Survey of Innovation Skills 27 THE INSTITUTIONAL ENVIRONMENT 35 Features of Innovative Institutions 37 New Innovation Institutions 41 Policies to Catalyse Innovative Institutions 46 Talent Mobility: Moving Brains Around 48 Sustaining Innovative Institutions 50 CONCLUSION: LOOKING TO TOMORROW 53 Acknowledgements 56 About the Authors 57 ANNEX I 58 Section I. Respondent’s characteristics 60 Section II. Awareness of skill & training 63 Section III. Use of skill 67 Section IV. Interest in learning skills and learning preferences 71 Section V. Enabling environment 74 Section VI. Relationship between skill practice, training and environment 79 ANNEX II — AUSTRALIA AND NEW ZEALAND INNOVATION SKILLS SURVEY INSTRUMENT 83 ANNEX III — LIST OF INTERVIEWEES 106 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying or otherwise, without the prior permission of the publisher. © 2019 The Australia and New Zealand School of Government (ANZSOG) and the authors. 3 THE ROADMAP: TODAY’S PROBLEMS, YESTERDAY’S TOOLKIT Governments of all political stripes are being The report begins by explaining why public problem- buffeted by technological and societal change.
    [Show full text]
  • (12) United States Patent (10) Patent No.: US 8.473450 B2 Bakalash Et Al
    USOO847345OB2 (12) United States Patent (10) Patent No.: US 8.473450 B2 Bakalash et al. (45) Date of Patent: *Jun. 25, 2013 (54) RELATIONAL DATABASE MANAGEMENT (52) U.S. Cl. SYSTEM (RDBMS) EMPLOYING USPC ........................................... 707/600; 707/770 MULTI-DIMENSIONAL DATABASE (MDDB) (58) Field of Classification Search FOR SERVICING QUERY STATEMENTS None THROUGHONE ORMORE CLIENT See application file for complete search history. MACHINES (56) References Cited (75) Inventors: Reuven Bakalash, Beer Sheva (IL); Guy U.S. PATENT DOCUMENTS Shaked, Shdema (IL); Joseph Caspi, 4,590,465. A 5, 1986 Fuchs Herzlyia (IL) 4,598.400 A 7, 1986 Hillis (73) Assignee: Yanicklo Technology Limited Liability (Continued) Company, Wilmington, DE (US) FOREIGN PATENT DOCUMENTS (*) Notice: Subject to any disclaimer, the term of this EP O 314 279 5, 1989 patent is extended or adjusted under 35 EP O 657 052 6, 1995 U.S.C. 154(b) by 13 days. (Continued) OTHER PUBLICATIONS This patent is Subject to a terminal dis claimer. Scheuermann, P. J. Shim and R. Vingralek “WATCHMAN: A Data Warehouse Intelligent Cache Manager'. Proceedings of the 22nd International Conference on Very Large Databases (VLDB), 1996, (21) Appl. No.: 12/455,665 pp. 51-62.* (22) Filed: Jun. 4, 2009 (Continued) (65) Prior Publication Data Primary Examiner — Robert Timblin (74) Attorney, Agent, or Firm — Knobbe, Martens, Olson & US 2009/027641.0 A1 Nov. 5, 2009 Bear LLP Related U.S. Application Data (57) ABSTRACT A relational database management system (RDBMS) for ser (63) Continuation of application No. 1 1/888,904, filed on vicing query statements through one or more client machines.
    [Show full text]
  • Vasili Korol
    Vasili Korol Senior Software Developer Odense, Denmark Age: 35 mob.: +45 20 68 50 23 Married, have son (born 2010) e-mail: [email protected] ​ Personal Statement ⚬ Strong IT skills (16+ years of versatile experience) ⚬ Background in physics research ⚬ Work effectively both as team member and leader ⚬ Enthusiastic and committed ⚬ Spoken languages: Russian (native), English (fluent), Danish (Prøve i Dansk 3 / level B2) ​ ​ ​ ​ Education 2006–2008: Master’s degree (with distinction) in applied physics. ​ 2002–2006: Bachelor’s degree (with distinction) in applied physics. Under- to postgraduate student at St. Petersburg State Polytechnical University, Faculty of Physics and Technology, Dept. of Cosmic Physics. The thesis “Search for possible space-time variations of the fine-structure constant and isotopic shifts” (a supervisor Prof. ​ M.G. Kozlov). ​ 1992-2002: School education in St. Petersburg, Russia and Belfast, UK (in 1993). Professional Career 2015 – Feb 2021: Software developer in the QuantBio research group at the University of ​ ​ ​ ​ Southern Denmark (SDU), Institute of Physics, Chemistry and Pharmacy (HPC section). I am the principal developer of VIKING, a service providing a web interface for configuring ​ ​ ​ and running scientific computational tasks on supercomputers. I designed the software architecture, developed the system core and coordinated the work of several developers. 2014 – 2015: Lead programmer (Perl) at Internet Projects LLC, russian informational portals subscribe.ru and sendsay.ru (St. Petersburg, Russia). ​ ​ ​ Worked with a team of developers on projects targeted at developing an API for news aggregation and content processing services. This involved integration with various online platforms (Facebook, Twitter, Vkontakte, LiveJournal, Google Analytics), web scraping and designing instruments for user publications at the portals and beyond.
    [Show full text]
  • A Location Service for Partial Spatial Replicas Implementing an R-Tree in a Relational Database
    A Location Service for Partial Spatial Replicas Implementing an R-Tree in a Relational Database Yun Tian Department of Computer Science, Eastern Washington University Cheney, WA, USA 99004 Philip J. Rhodes Department of Computer and Information Science, University of Mississippi, University, MS, USA 38677 Abstract As parallel computing has become increasingly common, the need for scalable and efficient ways of storing and locating data has become increas- ingly acute. For years, both grid and cloud computing have distributed data across machines and even clusters at different geographic locations (sites). However not all sites need all of the data in a particular data set, or have the (perhaps specialized) processing capabilities required. These facts chal- lenge the conventional wisdom that we should always move the computation to the data rather than the data to the computation. Sometimes the data actually required is small. In other cases, the site with specialized processing capabilities (such as a GPU equipped cluster) cannot handle the demands placed on it unless a way is found to let that cluster select the data that is actually needed, even if it is not stored locally. Keywords: Globus Toolkit, Replica Location Service, R-tree, Prefetching, Spatial, Replica Email addresses: [email protected] (Yun Tian), [email protected] (Philip J. Rhodes) Preprint submitted to Journal of Parallel and Distributed Computing 1. Introduction Although the problems just described are general, this paper concentrates on the problem of computation with spatial data. Such data is often the product of large computations and simulations, and also natural observations. In any case, spatial data sets present special problems, including not only size but also the mismatch between the n-dimensional nature of the dataset and its representation on disk.
    [Show full text]
  • Transbase®: a Leading-Edge ROLAP Engine Supporting Multidimensional Indexing and Hierarchy Clustering∇ R
    Transbase®: A leading-edge ROLAP Engine supporting multidimensional Indexing and Hierarchy Clustering∇ R. Pieringer1, K. Elhardt1, F. Ramsak2, V. Markl3, R. Fenk2, R. Bayer2 1 Transaction 2 Bayerisches 3IBM Almaden Software GmbH Forschungszentrum für Research Center, Thomas-Dehler- Wissensbasierte Systeme K55/B1, Str. 18 Boltzmannstr. 3 650 Harry Road, San D-81737 München D-85747 München Jose, CA 95120- {pieringer,elhardt}@ {ramsak,fenk}@forwiss.de, 6099 transaction.de [email protected] [email protected] Abstract: Analysis-oriented database applications, such as data warehousing or customer relationship management, play a crucial role in the database area. In general, the multidimensional data model is used in these applications, realized as star or snow-flake schemata in the relational world. The so-called star queries are the prevalent type of queries on such schemata. All database vendors have extended their products to support star queries efficiently. However, mostly reporting queries benefit from the optimizations, like pre-aggregation, while ad-hoc queries usually lack efficient support. We present the DBMS Transbase® in this paper, which provides a new physical organization of the data based on hierarchical clustering and multidimensional clustering combined with multidimensional indexing. In combination with new query optimizations (e.g., hierarchical pre-grouping) significant performance improvements are achieved. The paper describes how the new technology is implemented in the Transbase® product and how it is made available to the user as transparently as possible. The benefits are illustrated with a real-world data warehousing scenario. 1 Introduction Data warehousing (DW), online analytical processing (OLAP), and customer relationship management (CRM), have become a major market in the database area through the last decade.
    [Show full text]
  • Transbase® System Guide Transbase System Guide Version 8.1
    Transbase® System Guide Transbase System Guide Version 8.1 Publication date 2018-05-14 Copyright © 2018 Transaction Software GmbH ALL RIGHTS RESERVED. While every precaution has been taken in the preparation of this document, the publisher assumes no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. Table of Contents About This Manual ...................................................................................................... vii 1. The Transbase DBMS ................................................................................................ 1 1.1. Transbase Packages ......................................................................................... 1 1.2. Transbase Platforms ........................................................................................ 1 1.2.1. Service Platforms .................................................................................. 2 1.2.2. Client Platforms ................................................................................... 2 2. Applications and Client Software ................................................................................. 3 2.1. Client Software ............................................................................................... 3 2.1.1. Database Browsers ................................................................................ 3 2.1.2. Programming Interfaces ......................................................................... 3 2.2. Database Connections
    [Show full text]
  • Case Study Transbase CD Customer AZ Direct Adress Data
    CASE STUDY Direct marketing supplier AZ Direct relies on Transbase® and Transaction Software's data- base expertise AZ Direct is one of Europe's leading direct marketing companies. AZ Direct offers innovative products and services relating to addresses, information, and information processing. Over almost four decades, the company has grown from a traditional direct marketing company to a universal information pro- vider for marketing. Many companies and agencies have used the ideas and solutions offered by AZ Direct to initiate a successful dialogue with their cus- tomers. AZ Direct is a subsidiary of arvato AG, the internationally networked media service provider of Bertelsmann AG. Bertelsmann AG has 42,000 employees worldwide. For further information, please visit: www.az-direct.de ConData arvato services is a division of AZ Direct. ConData maintains close relationships with top suppliers throughout the direct marketing value chain. For further information, please visit: www.arvato-condata.de Overview The ConTo application Industry: ConTo is a new concept in direct marketing. For the first time, this application Direct marketing combines one of the strongest and best-known consumer databases in Information service Germany with a powerful tool on one program DVD and two data DVDs. Clients receive a comprehensive and constantly updated database embedded Application: in the user-friendly ConTo program. The ConTo application is provided free of ConTo charge. With ConTo, users can easily work with a number of different feature combinations to assemble selections that are specifically customized for end Product: clients, or to optimize consumer address records by comparing them against Transbase® CD reference records.
    [Show full text]
  • Kiev, Ukraine, September 14-17, 1993)
    DOCUMENT RESUME ED 367 314 IR 016 592 AUTHOR Petrushin, V., Ed.; Dovgiallo, A., Ed. TITLE Computer Technologies in Education. Proceedinga of the International Conference on Computer Technologies in Education (Kiev, Ukraine, September 14-17, 1993). PUB DATE 93 NOTE 217p. PUB TYPE Collected Works Conference Proceedings (021) EDRS PRICE MF01/PC09 Plus Postage. DESCRIPTORS Artificial Intelligence; *Computer Assisted Instruction; Computer Literacy; Computer Simulation; Distance Education; Educational Media; *Educational Technology; Elementary Secondary Education; Foreign Countries; Higher Education; Hypermedia; *Information Technology; Learning Processes; Models; Multimedia Instruction; Programming IDENTIFIERS Intelligent Tutoring Systems; Knowledge Representation; Multimedia Materials; Ukraine; United States ABSTRACT The conference reported in this document provides a meeting place for researchers from around the world, where the emphasis is on new ideas connected to computer technologies in education. This volume contains 140 extended abstracts selected by the program committee and organized into the following categories: (1) educational informational technologies (14 titles);(2) multimedia and hypermedia learning environments (24 titles); (3) distance learning (14 titles);(4) knowledge-based systems in education (23 titles);(3) intelligent tutoring systems and their components (19 titles); (6) student modelling (10 titles); (7) simulation environments and teaching science (15 titles); (8) teaching languages and humanities (7 titles); and
    [Show full text]
  • Transbase® CD
    PRODUCT SHEET Publishing Central Databases Widely with Transbase® CD Transbase® CD is a special variant of the database system Transbase®, desi- gned and optimized for databases directly on CD-ROM or DVD-ROM. The range of use of Transbase® CD offers many advantages for the develop- ment and the operration of applications on CD and DVD. Transbase® CD provides for full SQL functionality (SQL 2003) Transbase® CD permits space saving distribution of database contents on CD/DVD-ROM Transbase® CD runs directly with the compressed database contents, thus minimizing local memory requirements. The integrated encryption and the privilege concepts provide an effective security for sensitive stored data. Transbase® CD offers the possibility to continuously update the data via internet using its update mechanism. Transbase® CD is perfect for applications which distribute central databases widely for autonomous operation. Publication of data on CD/DVD-ROM CD-ROM and DVD-ROM remain widely used for distributing information. These media prove themselves to be an important channel for distribution, even in the age of intensive internet usage. These media guarantee an auto- nomous use of the information in the event that use on-line is restricted or even impossible. This is an important aspect which has particular relevance to product information such as technical handbooks, service information and catalogues Database operation direct on CD/DVD-ROM For a long time SQL was considered too cumbersome and complex for these relatively slow media. Transbase® CD, however, is convincing with its full SQL functionality and impressive speed and performance. Page 1 of 6 PRODUCT SHEET This permits not only simple and clear programming, but also the immediate use of all the more pleasing features of SQL database systems: Automatic net- workability, multi-user support, data security monitored by the system, trans- actions and the powerful descriptive query language SQL.
    [Show full text]
  • Modelo Para a Gestão E Controlo Da Entrega Na Distribuição Logística Da Empresa Transbase
    Projecto Mestrado em Computação Móvel Modelo para a gestão e controlo da entrega na distribuição logística da empresa Transbase Sérgio Duarte Mota Leiria, Setembro de 2011 Projecto Mestrado em Comuptação Móvel Modelo para a gestão e controlo da entrega na distribuição logística da empresa Transbase Sérgio Duarte Mota Projecto de Mestrado realizada sob a orientação do Doutor Rui Rijo, Professor da Escola Superior de Tecnologia e Gestão do Instituto Politécnico de Leiria. Leiria, Setembro de 2011 “Acho que deve existir um mercado mundial para, talvez, cinco computadores.” Autor Thomas Watson, dirigente da IBM, 1943 Agradecimentos O sucesso na realização deste trabalho foi alcançado com o apoio e a colaboração de todos os que se enumeram de seguida. A todos gostaria de exprimir os meus mais sinceros agradecimentos e aqui reconhecer o seu contributo. Aos meus familiares e amigos, em especial à minha mãe que sempre me motivou e incentivou. À Ana Ribeiro que sempre me acompanhou nas diversas noites e fins de semana que passei a trabalhar, dando-me energia para continuar. Ao meu orientador Professor Doutor Rui Pedro Charters Lopes Rijo, pela sua disponibilidade, incentivo e motivação. A todos os colaboradores da Transbase que estiveram envolvidos na elaboração deste trabalho e sempre se encontraram disponíveis para me auxiliarem. O meu muito obrigado a todos. ix Resumo A evolução acentuada das tecnologias de informação e comunicação, que se tem vindo a assistir nas últimas décadas, tem permitido que estas se encontrem implementadas em praticamente todas as áreas de negócio. Assim, é com naturalidade que as tecnologias de informação tenham sido adoptadas na logística empresarial.
    [Show full text]
  • Modern B-Tree Techniques Contents
    Foundations and TrendsR in Databases Vol. 3, No. 4 (2010) 203–402 c 2011 G. Graefe DOI: 10.1561/1900000028 Modern B-Tree Techniques By Goetz Graefe Contents 1 Introduction 204 1.1 Perspectives on B-trees 204 1.2 Purpose and Scope 206 1.3 New Hardware 207 1.4 Overview 208 2 Basic Techniques 210 2.1 Data Structures 213 2.2 Sizes, Tree Height, etc. 215 2.3 Algorithms 216 2.4 B-trees in Databases 221 2.5 B-trees Versus Hash Indexes 226 2.6 Summary 230 3 Data Structures and Algorithms 231 3.1 Node Size 232 3.2 Interpolation Search 233 3.3 Variable-length Records 235 3.4 Normalized Keys 237 3.5 Prefix B-trees 239 3.6 CPU Caches 244 3.7 Duplicate Key Values 246 3.8 Bitmap Indexes 249 3.9 Data Compression 253 3.10 Space Management 256 3.11 Splitting Nodes 258 3.12 Summary 259 4 Transactional Techniques 260 4.1 Latching and Locking 265 4.2 Ghost Records 268 4.3 Key Range Locking 273 4.4 Key Range Locking at Leaf Boundaries 280 4.5 Key Range Locking of Separator Keys 282 4.6 Blink-trees 283 4.7 Latches During Lock Acquisition 286 4.8 Latch Coupling 288 4.9 Physiological Logging 289 4.10 Non-logged Page Operations 293 4.11 Non-logged Index Creation 295 4.12 Online Index Operations 296 4.13 Transaction Isolation Levels 300 4.14 Summary 304 5 Query Processing 305 5.1 Disk-order Scans 309 5.2 Fetching Rows 312 5.3 Covering Indexes 313 5.4 Index-to-index Navigation 317 5.5 Exploiting Key Prefixes 324 5.6 Ordered Retrieval 327 5.7 Multiple Indexes for a Single Table 329 5.8 Multiple Tables in a Single Index 333 5.9 Nested Queries and Nested Iteration 334
    [Show full text]