ImageVerifierCode 换一换
格式:PPT , 页数:22 ,大小:709.63KB ,
资源ID:118100      下载积分:20 文钱
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,省得不是一点点
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.wenke99.com/d-118100.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: QQ登录   微博登录 

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(基于闪存数据库系统调研报告.ppt)为本站会员(创****公)主动上传,文客久久仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知文客久久(发送邮件至hr@wenke99.com或直接QQ联系客服),我们立即给予删除!

基于闪存数据库系统调研报告.ppt

1、Some key-value stores using log-structure,Zhichao L,LevelDB,Riak,Outline,Why log structure?Riak: log-structure hash tableRethinkdb: log-structure b-treeLeveldb: log-structure merge treeConclusion,Outline,Why log structure?Riak: log-structure hash tableRethinkdb: log-structure b-treeLeveldb: log-stru

2、cture merge treeConclusion,Log Structure,Alog-structured file systemis a file system design first proposed in 1988 by John K. Ousterhout and Fred Douglis.Design for high write throughput, all updates to data and metadata are written sequentially to a continuous stream, called a log.Conventional file

3、 systems tend to lay out files with great care for spatial locality and make in-place changes to their data structures.,Log Structure for SSD,Random write degrades the system performance and shrinks the lifetime of ssd.Log structure is ssd-friendly natively!,Magnetic Disk,SSD,free,free,free,free,fre

4、e,free,free,free,free,free,free,free,data 1,new data 1,data 2,data 3,data 4,new data 3,block,block,data 3,data 2,data 1,RAM,free,free,free,data 2,erased,erased,erased,new data 1,data 2,data 3,data 3,Outline,Why log structure?Riak: log-structure hash tableRethinkdb: log-structure b-treeLeveldb: log-s

5、tructure merge treeConclusion,Riak ?,Riak is an open source, highly scalable, fault-tolerant distributed database.Supported core features:- operate in highly distributed environments- no single point of failure- highly fault-tolerant- scales simply and intelligently- highly data available- low cost

6、of operations,Bitcask,A Bitcask instance is a directory, and only one operating system process will open that Bitcask for writing at a given time.The active file is only written by appending, which means that sequential writes do not require disk seeking.,Hash Index: keydir,A keydir is simply a hash

7、 table that maps every key in a Bitcask to a fixed-size structure giving the file, offset and size of the most recently written entry for that key .,Merge,The merge process iterates over all non-active file and produces as output a set of data files containing only the “live” or latest versions of e

8、ach present key.,Outline,Why log structure?Riak: log-structure hash tableRethinkdb: log-structure b-treeLeveldb: log-structure merge treeConclusion,RethinkDB ?,RethinkDB is a persistent, industrial-strength key-value store with full support for the Memcached protocol.Powerful technology:- Linear sca

9、ling across cores- Fine-grained durability control- Instantaneous recovery on power failureSupported core features:- Atomic increment/decrement- Values up to 10MB in size- Multi-GET support- Up to one million transactions per second on commodity hardware,Installation & usage,RethinkDB works on moder

10、n 64-bit distributions of Linux.Running the rethinkdb server:,Ubuntu 10.04.1 x86_64 Ubuntu 10.10 x86_64Red Hat Enterprise Linux 5 x86_64 CentOS 5 x86_64SUSE Linux 10,Default installation path: /usr/bin/rethinkdb-1.0./rethinkdb-1.0 -f /u01/rethinkdb_data./rethinkdb-1.0 -f /u01/rethinkdb_data -c 4 -p

11、11500./rethinkdb-1.0 -f /u01/rethinkdb_data -f /u03/rethinkdb_data -c 4 -p 11500,The methodology,Firstly, lack of mechanical parts makes random reads on SSD are significantly efficient!Secondly, random writes trigger more erases, making these operations expensive, and decreasing the drive lifetime!R

12、ethinkDB takes an append-only approach to storing data, pioneered by log-structured file system!,What are the consequences of appen-only ?,Append-only consequences,Data Consistency,Hot Backups,Instantaneous Recovery,Easy Replication,Lock-Free Concurrency,Live Schema Changes,Database Snapshots,2) lar

13、ge amount of data that quickly becomes obsolete in an environment with a heavy insert or update workload,1) eliminating data locality requires a larger number of disk access,Append-only B-tree,15,Outline,Why log structure?Riak: log-structure hash tableRethinkdb: log-structure b-treeLeveldb: log-stru

14、cture merge treeConclusion,LevelDB ?,LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.Supported core features:- Data is stored sorted by key- Multiple changes can be made in one atomic batch- Users can create a transient

15、 snapshot to get a consistent view of data- Data is automatically compressed using the Snappy compression library,Installation & usage,LevelDB works with snappy, which is a compression /decompression library.It is a library, no database server!,svn checkout http:/ leveldb-read-onlymake & cp liblevel

16、db.a /usr/local/lib &cp -r include/leveldb /usr/local/include,download snappy from http:/ cd snappy-1.0.4./configure & make & make install,libleveldb.a,Log-structure merge tree,LevelDB,Outline,Why log structure?Riak: log-structure hash tableRethinkdb: log-structure b-treeLeveldb: log-structure merge treeConclusion,Conclusion,Log-structure,

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。