Main Memory (or, In-Memory) Databases: An Overview

Σχετικά έγγραφα
Συστήματα Διαχείρισης Βάσεων Δεδομένων

Approximation of distance between locations on earth given by latitude and longitude

Instruction Execution Times

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο

Στο εστιατόριο «ToDokimasesPrinToBgaleisStonKosmo?» έξω από τους δακτυλίους του Κρόνου, οι παραγγελίες γίνονται ηλεκτρονικά.

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

CMOS Technology for Computer Architects

Math 6 SL Probability Distributions Practice Test Mark Scheme

ΑΠΟΔΟΤΙΚΗ ΑΠΟΤΙΜΗΣΗ ΕΡΩΤΗΣΕΩΝ OLAP Η ΜΕΤΑΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ ΕΞΕΙΔΙΚΕΥΣΗΣ. Υποβάλλεται στην

ΕΙΣΑΓΩΓΗ ΣΤΗ ΣΤΑΤΙΣΤΙΚΗ ΑΝΑΛΥΣΗ

ΚΥΠΡΙΑΚΟΣ ΣΥΝΔΕΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY 21 ος ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ Δεύτερος Γύρος - 30 Μαρτίου 2011

Mean bond enthalpy Standard enthalpy of formation Bond N H N N N N H O O O

Αναερόβια Φυσική Κατάσταση

Physical DB Design. B-Trees Index files can become quite large for large main files Indices on index files are possible.

Σχέσεις, Ιδιότητες, Κλειστότητες

Εικονική Μνήμη (virtual memory)

Γιπλυμαηική Δπγαζία. «Ανθπυποκενηπικόρ ζσεδιαζμόρ γέθςπαρ πλοίος» Φοςζιάνηρ Αθανάζιορ. Δπιβλέπυν Καθηγηηήρ: Νηθφιανο Π. Βεληίθνο

Assalamu `alaikum wr. wb.

Αποκατάσταση συστήματος Βάσεις Δεδομένων

(1) Describe the process by which mercury atoms become excited in a fluorescent tube (3)

Matrices and vectors. Matrix and vector. a 11 a 12 a 1n a 21 a 22 a 2n A = b 1 b 2. b m. R m n, b = = ( a ij. a m1 a m2 a mn. def

Advanced Subsidiary Unit 1: Understanding and Written Response

Copyright is owned by the Author of the thesis. Permission is given for a copy to be downloaded by an individual for the purpose of research and

Εγκατάσταση λογισμικού και αναβάθμιση συσκευής Device software installation and software upgrade

ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ "ΠΟΛΥΚΡΙΤΗΡΙΑ ΣΥΣΤΗΜΑΤΑ ΛΗΨΗΣ ΑΠΟΦΑΣΕΩΝ. Η ΠΕΡΙΠΤΩΣΗ ΤΗΣ ΕΠΙΛΟΓΗΣ ΑΣΦΑΛΙΣΤΗΡΙΟΥ ΣΥΜΒΟΛΑΙΟΥ ΥΓΕΙΑΣ "

Study of In-vehicle Sound Field Creation by Simultaneous Equation Method

6.1. Dirac Equation. Hamiltonian. Dirac Eq.

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

ΑΝΙΧΝΕΥΣΗ ΓΕΓΟΝΟΤΩΝ ΒΗΜΑΤΙΣΜΟΥ ΜΕ ΧΡΗΣΗ ΕΠΙΤΑΧΥΝΣΙΟΜΕΤΡΩΝ ΔΙΠΛΩΜΑΤΙΚΗ ΕΡΓΑΣΙΑ

Block Ciphers Modes. Ramki Thurimella

ΕΙΣΑΓΩΓΗ ΣΤΑ ΣΥΣΤΗΜΑΤΑ ΔΙΑΧΕΙΡΙΣΗΣ ΒΑΣΕΩΝ ΔΕΔΟΜΕΝΩΝ

ίκτυο προστασίας για τα Ελληνικά αγροτικά και οικόσιτα ζώα on.net e-foundatio // itute: toring Insti SAVE-Monit

Εθνικό Μετσόβιο Πολυτεχνείο Σχολή Ηλεκτρολόγων Μηχανικών - Μηχανικών Υπολογιστών. Αρχιτεκτονική Υπολογιστών Νεκτάριος Κοζύρης.

Abstract Storage Devices

EE512: Error Control Coding

Εικονική Αναπαράσταση Νοηµατικής Γλώσσας στο ιαδίκτυο

Statistical Inference I Locally most powerful tests

SEMANTIC DATA CACHING AND REPLACEMENT

NMBTC.COM /

Overview. Transition Semantics. Configurations and the transition relation. Executions and computation

Capacitors - Capacitance, Charge and Potential Difference

The Simply Typed Lambda Calculus

ΑΚΑ ΗΜΙΑ ΕΜΠΟΡΙΚΟΥ ΝΑΥΤΙΚΟΥ ΜΑΚΕ ΟΝΙΑΣ ΣΧΟΛΗ ΜΗΧΑΝΙΚΩΝ ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ

ΜΕΛΕΤΗ ΤΗΣ ΗΛΕΚΤΡΟΝΙΚΗΣ ΣΥΝΤΑΓΟΓΡΑΦΗΣΗΣ ΚΑΙ Η ΔΙΕΡΕΥΝΗΣΗ ΤΗΣ ΕΦΑΡΜΟΓΗΣ ΤΗΣ ΣΤΗΝ ΕΛΛΑΔΑ: Ο.Α.Ε.Ε. ΠΕΡΙΦΕΡΕΙΑ ΠΕΛΟΠΟΝΝΗΣΟΥ ΚΑΣΚΑΦΕΤΟΥ ΣΩΤΗΡΙΑ

ΤΙΤΛΟΣ ΠΤΥΧΙΑΚΗΣ «H ΠΙΛΟΤΙΚΗ ΕΦΑΡΜΟΓΗ ΣΥΣΤΗΜΑΤΟΣ CATERING ΣE ΚΕΝΤΡΟ ΚΑΤΑΤΑΞΗΣ ΣΤΗΝ ΚΥΠΡΟ»

2 Composition. Invertible Mappings

ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΤΜΗΜΑ ΠΛΗΡΟΦΟΡΙΚΗΣ. ΕΠΛ342: Βάσεις Δεδομένων. Χειμερινό Εξάμηνο Φροντιστήριο 10 ΛΥΣΕΙΣ. Επερωτήσεις SQL

Other Test Constructions: Likelihood Ratio & Bayes Tests

Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1

ΦΥΛΛΟ ΕΡΓΑΣΙΑΣ Α. Διαβάστε τις ειδήσεις και εν συνεχεία σημειώστε. Οπτική γωνία είδησης 1:.

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

ΔΙΕΡΕΥΝΗΣΗ ΤΗΣ ΣΕΞΟΥΑΛΙΚΗΣ ΔΡΑΣΤΗΡΙΟΤΗΤΑΣ ΤΩΝ ΓΥΝΑΙΚΩΝ ΚΑΤΑ ΤΗ ΔΙΑΡΚΕΙΑ ΤΗΣ ΕΓΚΥΜΟΣΥΝΗΣ ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΣΧΟΛΗ ΕΠΙΣΤΗΜΩΝ ΥΓΕΙΑΣ

Homework 3 Solutions

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

LESSON 14 (ΜΑΘΗΜΑ ΔΕΚΑΤΕΣΣΕΡΑ) REF : 202/057/34-ADV. 18 February 2014

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

Locking to ensure serializability

Aluminum Electrolytic Capacitors (Large Can Type)

ΚΒΑΝΤΙΚΟΙ ΥΠΟΛΟΓΙΣΤΕΣ

Πανεπιστήµιο Πειραιώς Τµήµα Πληροφορικής

Section 8.3 Trigonometric Equations

ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΑΤΡΩΝ ΤΜΗΜΑ ΗΛΕΚΤΡΟΛΟΓΩΝ ΜΗΧΑΝΙΚΩΝ ΚΑΙ ΤΕΧΝΟΛΟΓΙΑΣ ΥΠΟΛΟΓΙΣΤΩΝ ΤΟΜΕΑΣ ΣΥΣΤΗΜΑΤΩΝ ΗΛΕΚΤΡΙΚΗΣ ΕΝΕΡΓΕΙΑΣ

Προσωπική Aνάπτυξη. Ενότητα 4: Συνεργασία. Juan Carlos Martínez Director of Projects Development Department

ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΕΙΡΑΙΩΣ ΤΜΗΜΑ ΠΛΗΡΟΦΟΡΙΚΗΣ ΠΜΣ «ΠΡΟΗΓΜΕΝΑ ΣΥΣΤΗΜΑΤΑ ΠΛΗΡΟΦΟΡΙΚΗΣ» ΚΑΤΕΥΘΥΝΣΗ «ΕΥΦΥΕΙΣ ΤΕΧΝΟΛΟΓΙΕΣ ΕΠΙΚΟΙΝΩΝΙΑΣ ΑΝΘΡΩΠΟΥ - ΥΠΟΛΟΓΙΣΤΗ»

[1] P Q. Fig. 3.1

Προσωπική Aνάπτυξη. Ενότητα 2: Διαπραγμάτευση. Juan Carlos Martínez Director of Projects Development Department

Test Data Management in Practice

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =?

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in

TMA4115 Matematikk 3

CE 530 Molecular Simulation

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

A Bonus-Malus System as a Markov Set-Chain. Małgorzata Niemiec Warsaw School of Economics Institute of Econometrics

Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών: OSPF Cost

Εισαγωγή στα Πληροφοριακά Συστήματα. Ενότητα 11: Αρχιτεκτονική Cloud

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11

UDZ Swirl diffuser. Product facts. Quick-selection. Swirl diffuser UDZ. Product code example:

Code Breaker. TEACHER s NOTES

Η ΠΡΟΣΩΠΙΚΗ ΟΡΙΟΘΕΤΗΣΗ ΤΟΥ ΧΩΡΟΥ Η ΠΕΡΙΠΤΩΣΗ ΤΩΝ CHAT ROOMS

Κάθε γνήσιο αντίγραφο φέρει υπογραφή του συγγραφέα. / Each genuine copy is signed by the author.

Numerical Analysis FMN011

EPL 603 TOPICS IN SOFTWARE ENGINEERING. Lab 5: Component Adaptation Environment (COPE)

PARTIAL NOTES for 6.1 Trigonometric Identities

Elements of Information Theory

Fractional Colorings and Zykov Products of graphs

Strain gauge and rosettes

Πρόβλημα 1: Αναζήτηση Ελάχιστης/Μέγιστης Τιμής

Ψηφιακή ανάπτυξη. Course Unit #1 : Κατανοώντας τις βασικές σύγχρονες ψηφιακές αρχές Thematic Unit #1 : Τεχνολογίες Web και CMS

ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΣΧΟΛΗ ΓΕΩΤΕΧΝΙΚΩΝ ΕΠΙΣΤΗΜΩΝ ΚΑΙ ΔΙΑΧΕΙΡΗΣΗΣ ΠΕΡΙΒΑΛΛΟΝΤΟΣ. Πτυχιακή εργασία ΑΝΑΠΤΥΞΗ ΔΕΙΚΤΩΝ ΠΟΙΟΤΗΤΑΣ ΕΔΑΦΟΥΣ

SOAP API. Table of Contents

Συστήματα Διαχείρισης Βάσεων Δεδομένων

Αρχεία και Βάσεις Δεδομένων

ES440/ES911: CFD. Chapter 5. Solution of Linear Equation Systems

4.6 Autoregressive Moving Average Model ARMA(1,1)

ΑΚΑ ΗΜΙΑ ΕΜΠΟΡΙΚΟΥ ΝΑΥΤΙΚΟΥ ΜΑΚΕ ΟΝΙΑΣ ΣΧΟΛΗ ΜΗΧΑΝΙΚΩΝ ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ ΘΕΜΑ : ΧΗΜΙΚΑ ΠΡΟΣΘΕΤΑ ΠΟΥ ΠΡΟΟΡΙΖΟΝΤΑΙ ΓΙΑ ΤΟ ΝΕΡΟ ΤΟΥ ΑΤΜΟΛΕΒΗΤΑ

Congruence Classes of Invertible Matrices of Order 3 over F 2

Partial Differential Equations in Biology The boundary element method. March 26, 2013

Stabilization of stock price prediction by cross entropy optimization

Transcript:

Β Κύριας Μνήµης Main Memory (or, In-Memory) Databases: An Overview Εργαστήριο Πληροφοριακών Συστηµάτων, Παν/µιο Πειραιώς (http://infolab.cs.unipi.gr/) έκδοση: Ιανουάριος 2010 1 Introduction In a MMDB, data (at least a major portion) resides permanently in main physical memory MMDB can provide much better res. time, throughput. real time applications differences from magnetic disks access time / volatile / direct access access cost 11.1

Question I about a MMDB entire database fits in main memory? Yes: real time application or limited DB size No: partition the data into one or more logical DB, and store the hottest one in MM. Question II about a MMDB Difference between a MMDB and a DRDB with a large cache? different cases: index structure, access through a buffer manager As DRDB perform more and more in-memory optimization, they become closer to MMDB. 11.2

Question III about a MMDB main memory is nonvolatile and reliable with special H/W? there is no yes or no answer. there are several factors to force the frequency of backups up. performance of the backup mechanism is important. Impact of Memory Resident Data Concurrency Control lock contention may not as important as DRDB. large lock granules (e.g. relations) are appropriate. serial transaction processing may be desirable. a small number of bits in data to represent their lock status. 11.3

Impact of Memory Resident Data(Cont.) Commit processing the need for a stable log it may undermine the performance advantages of a MMDB a small amount of stable main memory can be used as the log pre-committing group committing Impact of Memory Resident Data(Cont.) Access Methods hashing: fast lookup/updates, not space-efficient, not support range queries well. T-Tree (see http://en.wikipedia.org/wiki/t-tree) index structures can store pointers rather than the data. Data Representation relational tuples can be represented as a set of pointers to data values. 11.4

Impact of Memory Resident Data(Cont.) Query Processing sequential access is not faster than random access in MM. using pointers make some relational operations can be performed efficiently. query processor must focus on processing costs. it is difficult to measure processing costs. Impact of Memory Resident Data(Cont.) Recovery checkpointing and failure recovery are the only access to the disk DB copy. checkpointing should interfere as little as possible with transaction processing restoring after a failure 11.5

Impact of Memory Resident Data(Cont.) performance depends primarily on processing time. performance of backup / checkpointing algorithms is critical. API and Protection applications may be given the actual memory position of the object. transactions can access objects directly without private buffer. can modify unauthorized parts using a special compiler Backup slides Prototypes 11.6

MM-DBMS university of Wisconsin two-phase locking(granuels : relation) commit : stable log tail by segment data rep. self-contained segments extensive pointer use access : hashing / T-tree / pointer recovery segments recovered on demand recovery processor MARS Southern Methodist University database processor/recovery processor two-phase locking commit: stable shadow memory, log tail recovery : fuzzy checkpoints 11.7

HALO(HArdware LOgging) HALO is a proposed special-purpose device for logging. for every write request, HALO creates a log entry (loc., new value, old value) log entries are maintained in nonvolatile buffers. special commands are used to inform HALO of transaction id. OBE(Office-By By-Example) run on the IBM 370 architecture handling ad hoc queries rather than high update loads. data rep.: extensive use of pointer access : inverted index query nested loop-join focus on reducing processing costs 11.8

TPK runs on firefly multiprocessor transaction processing system, simple data model. implemented at Princeton Univ. consists of a set of concurrent threads : input/execution/output/checkpoint serial transaction execution commit : group commit, pre-commit recovery : two MMDB, fuzzy checkpoints System M transaction processing testbed system developed at Princeton Univ. collection of servers on the Mach OS. message/transaction/log/checkpoint two-phase locking, pre-commit, group commit minimize concurrency a variety of checkpointing and logging techniques are implemented 11.9

IMS/VS Fast Path commercial database product from IBM each DB is classified statically as either memory or disk. group commit lock requests is optimized(record-granule) VERIFY/CHANGE for hot spots 11.10