开源分布式New SQL数据库SQL支持对比(TiDB vs CockroachDB)

本文对比了开源分布式New SQL数据库TiDB和CockroachDB的SQL功能,两者都受Google Spanner论文启发。TiDB兼容MySQL,适合熟悉MySQL的开发者;而CockroachDB兼容PostgreSQL,适合熟悉PostgreSQL的用户。文中通过表格展示了两者在SQL功能支持上的差异,以供开发者选择参考。
摘要由CSDN通过智能技术生成

     目前,在开源分布式New SQL数据库领域中最著名的两个产品是PingCap公司的TiDB和Cockroach Labs的CockroachDB(简称 CRDB)。这两个产品都是受到Google Spanner 论文启发,是它的两种开源实现。

     TiDB兼容MySQL,而CRDB是兼容PostgreSQL。对于应用开发人员来说,如果比较熟悉MySQL,那么选择TiDB可能是比较好的选择;如果比较熟悉PostgreSQL,那么CRDB可能是优先的选择。下面的表格给出这两个产品对于SQL功能支持能力的比较,这些是大部分应用开发人员比较关注的。当然,不同的企业、不同的开发人员可能会有不同的取舍和考量。

        

 

TiDB

CockroachDB

存储过程、用户自定义函数

No(没有后续支持计划)

No(计划支持)

触发器

No(没有后续支持计划)

No(计划支持)

用户自定义函数

No(没有后续支持计划)

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Paperback: 235 pages Publisher: Apress; 1st ed. 2015 edition (December 26, 2015) Language: English ISBN-10: 1484213300 ISBN-13: 978-1484213308 This is a book for enterprise architects, database administrators, and developers who need to understand the latest developments in database technologies. It is the book to help you choose the correct database technology at a time when concepts such as Big Data, NoSQL and NewSQL are making what used to be an easy choice into a complex decision with significant implications. The relational database (RDBMS) model completely dominated database technology for over 20 years. Today this "one size fits all" stability has been disrupted by a relatively recent explosion of new database technologies. These paradigm-busting technologies are powering the "Big Data" and "NoSQL" revolutions, as well as forcing fundamental changes in databases across the board. Deciding to use a relational database was once truly a no-brainer, and the various commercial relational databases competed on price, performance, reliability, and ease of use rather than on fundamental architectures. Today we are faced with choices between radically different database technologies. Choosing the right database today is a complex undertaking, with serious economic and technological consequences. Next Generation Databases demystifies today’s new database technologies. The book describes what each technology was designed to solve. It shows how each technology can be used to solve real word application and business problems. Most importantly, this book highlights the architectural differences between technologies that are the critical factors to consider when choosing a database platform for new and upcoming projects. • Introduces the new technologies that have revolutionized the database landscape • Describes how each technology can be used to solve specific application or business challenges • Reviews the most popular new wave databases and how they use these new database technologies
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值