c-store overview列存储 数据库

上传人:第*** 文档编号:49189402 上传时间:2018-07-25 格式:PPT 页数:19 大小:495KB
返回 下载 相关 举报
c-store overview列存储 数据库_第1页
第1页 / 共19页
c-store overview列存储 数据库_第2页
第2页 / 共19页
c-store overview列存储 数据库_第3页
第3页 / 共19页
c-store overview列存储 数据库_第4页
第4页 / 共19页
c-store overview列存储 数据库_第5页
第5页 / 共19页
点击查看更多>>
资源描述

《c-store overview列存储 数据库》由会员分享,可在线阅读,更多相关《c-store overview列存储 数据库(19页珍藏版)》请在金锄头文库上搜索。

1、C-Store: Column-Oriented Data WarehousingJianlin Feng School of Software SUN YAT-SEN UNIVERSITY May 17, 2010C-Stores Father: Michael Stonebraker nA former Professor at Berkeley, nan Adjunct Professor at M.I.T. nACM Software System Award, 1988 qINGRES, developed by undergraduatesqPOSTGRES, Mariposa,

2、C-StorenACM SIGMOD Innovation Award, 1994nNational Academy of Engineering , 1998C-Store: The Home Page http:/db.lcs.mit.edu/projects/cstore/nC-Store: A Column-Oriented DBMSndownload-Source codenoverview-Project descriptionnpapers-Publicationsnpeople-Who are we?nThe CStore project is a collaboration

3、between MIT, Yale, Brandeis University. Brown University, and UMass Boston . nCommercialized C-Store: Vertica The Starting PointnC-Store: A Column Oriented DBMS nMike Stonebraker, Daniel Abadi, Adam Batkin, Xuedong Chen, Mitch Cherniack, Miguel Ferreira, Edmond Lau, Amerson Lin, Sam Madden, Elizabet

4、h ONeil, Pat ONeil, Alex Rasin, Nga Tran and Stan Zdonik. nVLDB, pages 553-564, 2005. C-Store: the Column Store ProjectnRow Store or Column Store ?Record 1Record 2Column 1Column 2Record 3Column 3Relation or TablesExample of a RelationThe History: Relational ModelnCodd, E.F. (1970). “A Relational Mod

5、el of Data for Large Shared Data Banks“. Communications of the ACM 13 (6): 377387.n Physical Data IndependenceqRow Store Vs. Column Store on the same Conceptual Model: RelationRow Store: Why? nOLTP (On-Line Transaction Processing)qATM, POS in supermarketsnCharacteristics of OLTP applications : qTran

6、sactions that involve small numbers of records (or tuples)qFrequent updates (including queries)qMany users qFast response timesnOLTP Needs Write-Optimized Row Store.qInsert and delete a record in one physical write.Row Store: Columns Stored TogetherRecord id = Page iRid = (i,N)Rid = (i,2)Rid = (i,1)

7、Pointer to start of free spaceSLOT DIRECTORYN . . . 2 1201624N # slotsSlot ArrayDataCurrent DBMS Gold StandardCurrent DBMS Gold StandardnStore Columns in one record contiguously on disknUse B-tree indexingnUse small (e.g. 4K) disk blocksnAlign fields on byte or word boundariesnConventional (row-orie

8、nted) query optimizer and executor (technology from 1979)nAries-style transactionsFrom OLTP to OLAP and Data WarehousenOLAP (On-Line Analytical Processing, Codd, 1993)qFlexible Reporting for Business IntelligencenCharacteristics of OLAP applications : qTransactions that involve large numbers of reco

9、rdsqFrequent Ad-hoc queries and Infrequent updates qA few decision making users qFast response timesnData warehouses are designed to facilitate reporting and analysis. qRead-MostlyOther Read-Mostly ApplicationsnCRM (Customer Relationship Management )qSiebel (Oracle) nCatalog Search in Electronic Com

10、merceqA qSColumn Store: Why?nThe Intuition: Only read relevant columnsqSay, Ad-hoc queries read 2 columns out of 20nColumn Store is not a new ideaqSybase IQ (early 90s, bitmap index)qAddamark (i.e., SenSage, for Event Log data warehouse)qMonetDB (Hyper-Pipelining Query Execution, CIDR05)C-Store Tech

11、nical IdeasC-Store Technical IdeasnLogical Data Model: Relational ModelnColumn StorenOnly Materialized Views on Each Relation (perhaps many)nActive Data CompressionnColumn-Oriented Query Executor and OptimizernShared Nothing ArchitecturenReplication-Based Concurrency Control and RecoveryHow to Evalu

12、ate The C-Store PapernNone of the ideas in isolation merit publication nJudge the complete system by its (hopefully intelligent) choice ofqSmall collection of inter-related powerful ideasqThat together put performance in a new sandboxArchitecture of C-Store (Vertica) On a Single NodeC-Store code bas

13、e version 0.2nhttp:/db.lcs.mit.edu/projects/cstore/cstore0.2. tar.gznruns on Linux x86 computers qTested on RedHat LinuxnThis code compiles on old versions BerkeleyDB and gcc. qBerkeleyDB.4.2nLZO version 1 (http:/ Stonebraker, Daniel Abadi, Adam Batkin, Xuedong Chen, Mitch Cherniack, Miguel Ferreira, Edmond Lau, Amerson Lin, Sam Madden, Elizabeth ONeil, Pat ONeil, Alex Rasin, Nga Tran and Stan Zdonik. C-Store: A Column Oriented DBMS VLDB, pages 553-564, 2005. nVERTICA DATABASE TECHNICAL OVERVIEW WHITE PAPER. http:/ aArchitectureWhitePaper.pdfnhttp:/ Data_Warehouse.html

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 中学教育 > 职业教育

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号