Knowledge

CockroachDB

Source đź“ť

613:, but without a dependence on specialized hardware for time synchronization. "No stale reads" is the simplest way to describe this consistency model which has deliberately made the trade-off of having non-linearizable transaction histories. Transactions containing overlapping keys are guaranteed to have external consistency. And so, in practice, systems relying on CockroachDB are very unlikely to reproduce consistency issues because nodes with high variations in clock skew can be removed from clusters, applications can rely on external consistency provided by overlapping keys and writing to the same range, and writes propagate changes to followers' timestamp caches. 288: 25: 125: 66: 493:
which means users can take advantage of a wide range of drivers and tools from the extensive PostgreSQL ecosystem. A CockroachDB cluster consists of a number of nodes that can be spread across failure domains such as data centres or public cloud regions. A cluster can be scaled both horizontally (by
351: 488:
developed by Cockroach Labs. The relational functionality is built on top of a distributed, transactional, consistent key-value store that can survive a variety of different underlying infrastructure failures, and is wire-compatible with
494:
adding nodes) and vertically (by increasing the resources allocated to the existing nodes). It can provide high levels of resilience and availability and can be run in a variety of environments such as bare metal,
627: 545:. After leaving Google, they wanted to design and build something similar. Spencer Kimball wrote the first iteration of the design in January 2014, and began the open-source project on 622: 1159: 986: 671: 580:, which forbids “offer a commercial version of CockroachDB as a service without buying a license,” while remaining free of charge for community use. 728: 146: 133: 857: 515: 502:, both in private data centers and in the cloud. CockroachDB gets its name from cockroaches, as they are known for being disaster-resistant. 399: 323: 194: 1032: 171: 106: 88: 76: 52: 831: 1154: 1144: 267: 38: 241: 485: 559:
The co-founders supported the project with conferences, networking, meet-ups, and fund-raising financial rounds.
573: 301: 880: 1139: 609:
CockroachDB has a consistency model that is designed to match as closely as possible to the capabilities of
577: 138: 335: 318: 932: 542: 527: 957: 1040: 786: 1064:"Out in the Open: Ex-Googlers Building Cloud Software That's Almost Impossible to Take Down" 776: 766: 566: 330: 311: 84: 44: 656: 1149: 606:. According to popular news outlets, it is described as “almost impossible” to take down. 603: 592: 562:
In June 2019, Cockroach Labs announced that CockroachDB would change its license from the
495: 482: 361: 287: 1104: 1089: 552:
Development on GitHub attracted substantial contributions, which earned the project the
610: 569: 1133: 563: 531: 417: 906: 519: 403: 350: 198: 1009: 805: 588:
CockroachDB stores copies of data in multiple locations to deliver quick access.
702: 523: 407: 202: 632: 596: 499: 490: 209: 189: 1063: 790: 672:"CockroachDB Scampers Off With $ 6.3 Million to Tackle Database Shortcomings" 599:. A single instance can scale from a single laptop to thousands of servers. 276: 124: 858:"Peter Fenton's latest investment is a database startup called Cockroach" 538: 371: 781: 771: 754: 755:"NewSQL Databases Assessment: CockroachDB, MariaDB Xpand, and VoltDB" 546: 511: 1033:"CockroachDB is the resilient cloud software built by ex-Googlers" 1010:"CockroachDB: A Scalable, Geo-Replicated, Transactional Datastore" 1122: 729:"CockroachDB review: A scale-out SQL database built for survival" 469: 832:"Steal! Ben Darnell Leaves Google Reader Team, Joins FriendFeed" 637: 931:
Mattis, Peter; Darnell, Ben; Kimball, Spencer (June 4, 2019).
118: 59: 18: 753:
Pina, Eduardo; Sá, Filipe; Bernardino, Jorge (January 2023).
549:
in February 2014, allowing outside access and contributions.
1105:"The One Crucial Difference Between Spanner and CockroachDB" 703:"Ex-Googlers Get Millions to Help You Build the Next Google" 602:
CockroachDB is designed to run in the cloud and has a high
980: 978: 907:"These are the hottest new open-source projects right now" 628:
List of tech companies in the New York metropolitan area
537:
While at Google, all three had used Google-owned DBMS’s
623:
Comparison of relational database management systems
851: 849: 464: 456: 423: 413: 395: 377: 367: 357: 329: 317: 307: 297: 266: 240: 218: 208: 188: 526:. Kimball and Mattis had been key members of the 696: 694: 692: 806:"Google Remakes Online Empire with 'Colossus'" 8: 987:"CockroachDB: Ultimate in Database Survival" 530:team, while Darnell was a key member of the 343: 53:Learn how and when to remove these messages 1160:Software using the Business Source License 349: 342: 286: 185: 780: 770: 510:Cockroach Labs was founded in 2015 by ex- 172:Learn how and when to remove this message 107:Learn how and when to remove this message 149:of all important aspects of the article. 83:Relevant discussion may be found on the 648: 460:Commercial database management systems 145:Please consider expanding the lead to 16:Distributed database management system 1008:Darfler, Benjamin (August 29, 2014). 7: 933:"Why We're Relicensing CockroachDB" 905:Finleey, Klint (January 28, 2015). 1088:Matei, Andrei (January 24, 2019). 727:Heller, Martin (January 4, 2018). 75:tone or style may not reflect the 14: 1090:"CockroachDB's consistency model" 985:Babcock, Charles (June 4, 2015). 34:This article has multiple issues. 830:Wauters, Robin (July 28, 2009). 123: 89:guide to writing better articles 64: 23: 1062:Finley, Klint (July 21, 2014). 1031:Finley, Klint (July 22, 2014). 958:"CockroachDB Community License" 591:It is described as a scalable, 137:may be too short to adequately 42:or discuss these issues on the 856:Novet, Jordan (June 4, 2015). 701:Finley, Klint (June 4, 2015). 578:Business Source License (BuSL) 556:award by Black Duck Software. 554:Open Source Rookie of the Year 147:provide an accessible overview 1: 670:Ovide, Shira (June 4, 2015). 247:24.1.0 / May 20, 2024 879:Ewbank, Kay (June 9, 2015). 804:Metz, Cade (July 10, 2012). 1176: 486:database management system 383:; 9 years ago 224:; 7 years ago 348: 262: 236: 597:transactional data store 574:source-available license 1155:Distributed data stores 676:The Wall Street Journal 593:consistently-replicated 481:is a source-available 446:(Chief Product Officer) 881:"CockroachDB Released" 451:(Chief People Officer) 249:; 4 months ago 1145:Distributed computing 344:Cockroach Labs, Inc. 541:and its successor, 436:(VP of Engineering) 345: 772:10.3390/fi15010010 570:Apache License 2.0 528:Google File System 449:Lindsay Grenawalt 190:Original author(s) 87:. See Knowledge's 989:. InformationWeek 937:CockroachLabs.com 498:, containers and 476: 475: 470:cockroachlabs.com 452: 447: 442: 437: 432: 341: 340: 182: 181: 174: 164: 163: 117: 116: 109: 79:used on Knowledge 77:encyclopedic tone 57: 1167: 1126: 1125: 1123:Official website 1109: 1108: 1100: 1094: 1093: 1085: 1079: 1078: 1076: 1074: 1059: 1053: 1052: 1050: 1048: 1039:. Archived from 1028: 1022: 1021: 1019: 1017: 1005: 999: 998: 996: 994: 982: 973: 972: 970: 968: 954: 948: 947: 945: 943: 928: 922: 921: 919: 917: 902: 896: 895: 893: 891: 876: 870: 869: 867: 865: 853: 844: 843: 841: 839: 827: 821: 820: 818: 816: 801: 795: 794: 784: 774: 750: 744: 743: 741: 739: 724: 718: 717: 715: 713: 698: 687: 686: 684: 682: 667: 661: 660: 657:"Licensing FAQs" 653: 567:software license 472: 450: 445: 440: 435: 430: 429:Spencer Kimball 391: 389: 384: 353: 346: 290: 285: 282: 280: 278: 257: 255: 250: 232: 230: 225: 186: 177: 170: 159: 156: 150: 127: 119: 112: 105: 101: 98: 92: 91:for suggestions. 68: 67: 60: 49: 27: 26: 19: 1175: 1174: 1170: 1169: 1168: 1166: 1165: 1164: 1140:Cloud databases 1130: 1129: 1121: 1120: 1117: 1112: 1103:Cordell, Evan. 1102: 1101: 1097: 1087: 1086: 1082: 1072: 1070: 1061: 1060: 1056: 1046: 1044: 1043:on May 14, 2015 1030: 1029: 1025: 1015: 1013: 1007: 1006: 1002: 992: 990: 984: 983: 976: 966: 964: 956: 955: 951: 941: 939: 930: 929: 925: 915: 913: 904: 903: 899: 889: 887: 878: 877: 873: 863: 861: 855: 854: 847: 837: 835: 829: 828: 824: 814: 812: 803: 802: 798: 759:Future Internet 752: 751: 747: 737: 735: 726: 725: 721: 711: 709: 700: 699: 690: 680: 678: 669: 668: 664: 655: 654: 650: 646: 619: 604:fault tolerance 586: 576:, known as the 516:Spencer Kimball 508: 483:distributed SQL 468: 448: 443: 438: 433: 426: 400:Spencer Kimball 387: 385: 382: 293: 275: 258: 253: 251: 248: 228: 226: 223: 219:Initial release 195:Spencer Kimball 178: 167: 166: 165: 160: 154: 151: 144: 132:This article's 128: 113: 102: 96: 93: 82: 73:This article's 69: 65: 28: 24: 17: 12: 11: 5: 1173: 1171: 1163: 1162: 1157: 1152: 1147: 1142: 1132: 1131: 1128: 1127: 1116: 1115:External links 1113: 1111: 1110: 1095: 1080: 1054: 1023: 1000: 974: 962:Cockroach Labs 949: 923: 897: 871: 845: 822: 796: 745: 719: 688: 662: 647: 645: 642: 641: 640: 635: 630: 625: 618: 615: 611:Google Spanner 585: 582: 507: 504: 474: 473: 466: 462: 461: 458: 454: 453: 427: 424: 421: 420: 415: 411: 410: 397: 393: 392: 379: 375: 374: 369: 365: 364: 359: 355: 354: 339: 338: 333: 327: 326: 321: 315: 314: 309: 305: 304: 299: 295: 294: 292: 291: 272: 270: 264: 263: 260: 259: 246: 244: 242:Stable release 238: 237: 234: 233: 220: 216: 215: 214:Cockroach Labs 212: 206: 205: 192: 180: 179: 162: 161: 141:the key points 131: 129: 122: 115: 114: 72: 70: 63: 58: 32: 31: 29: 22: 15: 13: 10: 9: 6: 4: 3: 2: 1172: 1161: 1158: 1156: 1153: 1151: 1148: 1146: 1143: 1141: 1138: 1137: 1135: 1124: 1119: 1118: 1114: 1106: 1099: 1096: 1091: 1084: 1081: 1069: 1065: 1058: 1055: 1042: 1038: 1034: 1027: 1024: 1011: 1004: 1001: 988: 981: 979: 975: 963: 959: 953: 950: 938: 934: 927: 924: 912: 908: 901: 898: 886: 882: 875: 872: 860:. VentureBeat 859: 852: 850: 846: 833: 826: 823: 811: 807: 800: 797: 792: 788: 783: 778: 773: 768: 764: 760: 756: 749: 746: 734: 730: 723: 720: 708: 704: 697: 695: 693: 689: 677: 673: 666: 663: 658: 652: 649: 643: 639: 636: 634: 631: 629: 626: 624: 621: 620: 616: 614: 612: 607: 605: 600: 598: 594: 589: 583: 581: 579: 575: 571: 568: 565: 560: 557: 555: 550: 548: 544: 540: 535: 533: 532:Google Reader 529: 525: 521: 517: 513: 505: 503: 501: 497: 492: 487: 484: 480: 471: 467: 463: 459: 455: 444:Nate Stewart 434:Peter Mattis 428: 422: 419: 418:New York City 416: 412: 409: 405: 401: 398: 394: 380: 376: 373: 370: 366: 363: 360: 356: 352: 347: 337: 334: 332: 328: 325: 322: 320: 316: 313: 310: 306: 303: 300: 296: 289: 284: 274: 273: 271: 269: 265: 261: 245: 243: 239: 235: 221: 217: 213: 211: 207: 204: 200: 196: 193: 191: 187: 184: 176: 173: 158: 155:December 2023 148: 142: 140: 135: 130: 126: 121: 120: 111: 108: 100: 90: 86: 80: 78: 71: 62: 61: 56: 54: 47: 46: 41: 40: 35: 30: 21: 20: 1098: 1083: 1073:February 22, 1071:. Retrieved 1067: 1057: 1047:February 22, 1045:. Retrieved 1041:the original 1036: 1026: 1016:February 22, 1014:. Retrieved 1003: 993:February 22, 991:. Retrieved 965:. Retrieved 961: 952: 942:February 22, 940:. Retrieved 936: 926: 916:February 22, 914:. Retrieved 910: 900: 890:February 22, 888:. Retrieved 885:I Programmer 884: 874: 864:February 22, 862:. Retrieved 838:February 22, 836:. Retrieved 834:. TechCrunch 825: 815:February 22, 813:. Retrieved 809: 799: 782:10316/114892 762: 758: 748: 736:. Retrieved 732: 722: 712:February 22, 710:. Retrieved 706: 681:February 22, 679:. Retrieved 675: 665: 651: 608: 601: 590: 587: 561: 558: 553: 551: 536: 520:Peter Mattis 509: 478: 477: 439:Ben Darnell 414:Headquarters 404:Peter Mattis 358:Company type 308:Available in 281:/cockroachdb 210:Developer(s) 199:Peter Mattis 183: 168: 152: 136: 134:lead section 103: 97:January 2023 94: 74: 50: 43: 37: 36:Please help 33: 524:Ben Darnell 479:CockroachDB 408:Ben Darnell 336:Proprietary 203:Ben Darnell 1134:Categories 644:References 633:YugabyteDB 514:employees 500:Kubernetes 491:PostgreSQL 425:Key people 298:Written in 283:/cockroach 268:Repository 254:2024-05-20 39:improve it 791:1999-5903 765:(1): 10. 738:March 19, 733:InfoWorld 139:summarize 85:talk page 45:talk page 967:July 28, 617:See also 584:Features 539:Bigtable 457:Services 372:Software 368:Industry 1012:. InfoQ 572:to its 543:Spanner 506:History 465:Website 396:Founder 386: ( 378:Founded 362:Private 331:License 312:English 252: ( 227: ( 1150:NewSQL 789:  547:GitHub 534:team. 522:, and 512:Google 277:github 1068:Wired 1037:Wired 911:Wired 810:Wired 707:Wired 441:(CTO) 431:(CEO) 324:RDBMS 1075:2020 1049:2020 1018:2020 995:2020 969:2020 944:2020 918:2020 892:2020 866:2020 840:2020 817:2020 787:ISSN 740:2024 714:2020 683:2020 638:TiDB 564:free 388:2015 381:2015 319:Type 279:.com 229:2017 222:2017 777:hdl 767:doi 496:VMs 1136:: 1066:. 1035:. 977:^ 960:. 935:. 909:. 883:. 848:^ 808:. 785:. 775:. 763:15 761:. 757:. 731:. 705:. 691:^ 674:. 595:, 518:, 406:, 402:, 302:Go 201:, 197:, 48:. 1107:. 1092:. 1077:. 1051:. 1020:. 997:. 971:. 946:. 920:. 894:. 868:. 842:. 819:. 793:. 779:: 769:: 742:. 716:. 685:. 659:. 390:) 256:) 231:) 175:) 169:( 157:) 153:( 143:. 110:) 104:( 99:) 95:( 81:. 55:) 51:(

Index

improve it
talk page
Learn how and when to remove these messages
encyclopedic tone
talk page
guide to writing better articles
Learn how and when to remove this message

lead section
summarize
provide an accessible overview
Learn how and when to remove this message
Original author(s)
Spencer Kimball
Peter Mattis
Ben Darnell
Developer(s)
Stable release
Repository
github.com/cockroachdb/cockroach
Edit this at Wikidata
Go
English
Type
RDBMS
License
Proprietary

Private
Software

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑