当前位置:首页 > 报告详情

面向云的嵌入式数据库扩展——挑战与权衡.pdf

上传人: 竿*** 编号:981798 2025-11-29 46页 3.57MB

1、Scaling an Embedded Database for the Cloud:Challenges and Trade-OffsAbout MeHello,my name is Stephanie!Staff Software Engineer MongoDBex-Founding Engineer MotherDuck What is DuckDB?DuckDBFast,in-process database systemThe database is inside your application!In-processDuckDBFast,in-process database s

2、ystemThe database is inside your application!No coordination overhead.Single userIn-processDuckDBFast,in-process database systemThe database is inside your application!No coordination overhead.Single userThe database comes to your data.EmbeddedIn-processPopularity in the open-source communityPopular

3、ity in the open-source communityMeteoric rise in database rankingsMotherDuckServerless DuckDBA Cloud Data Warehouse built on top of DuckDB for easy and cost effective data analytics.Why is it hard?Just toss DuckDB on EC2 and call it a Cloud database Right?The Core Challenge:DuckDB is not a Client-Se

4、rver DatabaseClient-Server Database ExecutionDuckDB Executiondriverresults!ServerApplicationSQLdataDuckDBresults!ApplicationSQLdataDuckDBFast,in-process database systemX Networked query executionX External metadata managementX Multi-user concurrency controlsSingle userX Persistent,long-lived compute

5、EmbeddedIn-processChallenges of Cloudifying DuckDB Coupled compute and application Coupled compute and storage Limited concurrent reads and writes Distribution challengeChallenges of Cloudifying DuckDB Coupled compute and application Coupled compute and storage Limited concurrent reads and writes Di

6、stribution challengeCoupled compute and applicationEmbedded Lifecycle CouplingDuckDB runs inside your application(e.g.,Jupyter,CLI,API server)When your app starts,DuckDB starts.When your app exits,DuckDB disappears,along with all its memory,state,and open resources.DuckDB is a library,not a service.

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
根据报告的内容,全文主要内容概括如下: - DuckDB是一个快速、内存中的嵌入式数据库,适合单用户应用。 - 将DuckDB扩展到云面临挑战,如计算与存储耦合、并发读写限制和分布式问题。 - MotherDuck通过Duckling(K8s进程)实现多租户,每个用户会话或查询有独立实例,确保隔离。 - Differential Storage提供基于快照的、追加式的存储,使云对象存储看起来像本地文件系统。 - MotherDuck架构采用分层存储,利用Differential Storage,避免重写存储引擎,同时提供云原生持久性、共享和弹性。
如何平衡?" 速度与规模的较量?" 虚拟文件系统如何助力?"
客服
商务合作
小程序
服务号
折叠