22
Top Main Memory DBs •FastDB •MonetDB •eXtremeDB •ERDB •DataBlitz •Times Ten

Top Main Memory DBs

  • Upload
    marlin

  • View
    44

  • Download
    0

Embed Size (px)

DESCRIPTION

Top Main Memory DBs. FastDB MonetDB eXtremeDB ERDB DataBlitz Times Ten. MonetDB. MonetDB is an open source high-performance database system developed at CWI , (the Institute for Mathematics and Computer Science Research of The Netherlands) - PowerPoint PPT Presentation

Citation preview

Page 1: Top Main Memory DBs

Top Main Memory DBs

•FastDB•MonetDB•eXtremeDB•ERDB•DataBlitz•Times Ten

Page 2: Top Main Memory DBs

MonetDB

• MonetDB is an open source high-performance database system developed at CWI, (the Institute for Mathematics and Computer Science Research of The Netherlands)

• MonetDB has been successfully applied in high-performance applications for data mining, OLAP, GIS, XML Query, text and multimedia retrieval. (Real Time App)

Page 3: Top Main Memory DBs

DBMS Architecture

Architecture

Page 4: Top Main Memory DBs

MonetDB Architecture

Architecture

Page 5: Top Main Memory DBs

MonetDB: architecture

Front-end/back-end:

• support multiple data models

• support multiple end-user languages

• support diverse application domains

Page 6: Top Main Memory DBs

• perform all operations in main memory • a modern CPU-tuned vectorized query execution

architecture that often gives MonetDB a more than 10-fold raw speed

advantage on the same algorithm over a typical interpreter-based RDBMS

• extensible algebra. • binary relation model • shared-memory parallelism • MonetDB is one of the first database systems to focus its

query optimization effort on exploiting CPU caches

MonetDB Properties

Page 7: Top Main Memory DBs

• MonetDB has played a pivotal role in the development of datamining applications at DataDistilleries (now SPSS).

Page 8: Top Main Memory DBs

Monet Ideas

• : دستورات از استفاده امکان اول ايدهBack-End ) براي را جوهايي و پرس توانيد مي شما که معني اين نام Back-Endبه به واسطي از استفاده با

Mapi Client . کند مي کار آن با واسط اين که زباني دارد MILبنويسيد ) نام• : مي کاري هر دودويي جداول با دوم ايده

کرد توان• : دوباره اختراع به نياز عدم سوم ايده

عامل سيستم• : و پرس اجراي سازي بهينه چهارم ايده

حافظه در جو

Page 9: Top Main Memory DBs

Monet Data Model

• Some simple values

• Int,chr,str,oid,nil,intint(nil),chrchr(nil),strstr(nil),oidoid(nil)

• Binary Association Tables (BATs)

BAT ستون دو با است که Head و Tail جدولييا و فوق ساده مقادير باشد BAT شامل مي

Page 10: Top Main Memory DBs

Monet Data Model

BAT[oid,str]

BAT[oid,int]

BAT[oid, BAT[oid,int]]

Page 11: Top Main Memory DBs

Storing Relations in MonetDB

Page 12: Top Main Memory DBs

Relational Mapping

Page 13: Top Main Memory DBs

Object-Oriented Mapping

Page 14: Top Main Memory DBs

Monet Performance

• Compare some well-known open-source DBMSs with Monet on the task to build a binary table with the head representing an ordered sequence and the tail a permutation over the values in the head

Response time is given in seconds while running on a dual Athlon 1400 with 1GB of RAM and 3.5GB of free space

Page 15: Top Main Memory DBs

-- DBtapestry Version=1.1 -- See http://monetdb.cwi.nl/DBtapestry/ -- (c) CWI 2004-2005 - rows=100K --columns=2 -- Produced Sat Feb 26 23:41:51 2005

start transaction; select now(); create table RKA( head int, tail int); create table RKB( head int, tail int); insert into RKA values(0,0); insert into RKA values(1,360); insert into RKA values(2,427); …… insert into RKB select head+0, tail+0 from RKA; insert into RKB select head+8192, tail+8192 from RKA; …… drop table RKA; update RKB set tail=(tail*47) % 102400; ……create table tapestry( attr0 int , attr1 int); insert into tapestry select R0.head, R0.tail from RKB R0; drop table RKB; select now(); commit; -- actions=1249 -- tuplesRead= 1.07M tuplesWritten= 2.07M -- volumeRead= 8.59M

volumeWritten=16.59M

Page 16: Top Main Memory DBs

Monet Interpreter Language

Page 17: Top Main Memory DBs

MIL Extensibility

Page 18: Top Main Memory DBs

What is MonetDB Good for?

• Query-intensive application

• very high performance demanding

• complex data models

• complex query primitives

Page 19: Top Main Memory DBs

Transactions (OLTP)OLTP (Online Transaction Processing) is a form of transaction processing conducted via computer network. Some applications of OLTP include electronic banking, order processing, employee time

clock systems, e-commerce, and eTrading.

Page 20: Top Main Memory DBs

OLAP, Data MiningOn Line Analytical Processing. (OLAP) It is an approach to quickly provide the answer to

complex analytical queries. The typical applications of OLAP are in business reporting for sales, marketing, management reporting, business performance management, budgeting and

forecasting, financial reporting and similar areas.

Page 21: Top Main Memory DBs

New Domains: GIS

• New data types (point, polygon, etc..)• New search accelerators (R-Tree,

etc..)• New primitives

boolean intersects(polygon,polygon)

• Complex topological structures stored in DCELs that are decomposed over BATS queries are efficient due to MonetDB high join speed

Page 22: Top Main Memory DBs

New Domains: Multimedia

• New data types (url, image, etc..)

• new search accelerators (color histograms)

• new primitives (similarity search)• complex data structures:

bayesian inference networks (information retrieval) again decomposed in BATs and efficient to query