Muutke küpsiste eelistusi

Practical CockroachDB: Building Fault-Tolerant Distributed SQL Databases 1st ed. [Pehme köide]

  • Formaat: Paperback / softback, 254 pages, kõrgus x laius: 254x178 mm, kaal: 522 g, 26 Illustrations, black and white; XVIII, 254 p. 26 illus., 1 Paperback / softback
  • Ilmumisaeg: 07-Sep-2022
  • Kirjastus: APress
  • ISBN-10: 148428223X
  • ISBN-13: 9781484282236
Teised raamatud teemal:
  • Pehme köide
  • Hind: 44,06 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 51,84 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 2-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 254 pages, kõrgus x laius: 254x178 mm, kaal: 522 g, 26 Illustrations, black and white; XVIII, 254 p. 26 illus., 1 Paperback / softback
  • Ilmumisaeg: 07-Sep-2022
  • Kirjastus: APress
  • ISBN-10: 148428223X
  • ISBN-13: 9781484282236
Teised raamatud teemal:

Get a practical introduction to CockroachDB. This book starts with installation and foundational concepts and takes you through to creating clusters that are ready for production environments. You will learn how to create, optimize, and operate CockroarchDB clusters in single and multi-region environments. You will encounter anti-patterns to avoid, as well as testing techniques for integration and load testing.

The book explains why CockroachDB exists, goes over its major benefits, and quickly transitions into installing and configuring CockroachDB. Just as quickly, you’ll be creating databases, getting data into those databases, and querying that data from your applications. You’ll progress to data privacy laws such as GDPR and CCPA, and learn how CockroachDB’s global distribution features can help you comply with ever-shifting data sovereignty regulations. From there, you’ll move into deployment topologies, guidance on integration testing and load testing, best practices, and a readiness checklist for production deployments.

What You Will Learn

  • Deploy and interact with CockroachDB
  • Design and optimize databases and tables
  • Choose the correct data types for modeling your data
  • Protect data with database and table encryption
  • Achieve compliance with international data privacy regulations
  • Scale your databases in a way that enhances their performance
  • Monitor changes to the data and health of your databases


Who This Book Is For

Developers and database administrators who want to provide a secure, reliable, and effortlessly distributed home for their data; those who wish to use a modern tool to tackle the kinds of scaling challenges that have previously required dedicated teams of people to solve; anyone who wants to leverage their database to solve non-trivial, real-world challenges while protecting their data and users


Intermediate user level
About the Author xi
About the Technical Reviewer xiii
Acknowledgments xv
Introduction xvii
Chapter 1 The Reason for CockroachDB
1(4)
What Is CockroachDB?
1(1)
CockroachDB's Architecture
2(1)
What Does CockroachDB Solve?
2(2)
Who Is CockroachDB For?
4(1)
Chapter 2 Installing CockroachDB
5(26)
Licensing
5(1)
Free
5(1)
Paid For
6(1)
CockroachDB Core
6(1)
Local Installation
6(23)
Binary Install
7(1)
Docker Install
8(1)
Kubernetes Install
9(11)
Multinode Clusters
20(1)
Multiregion Clusters
21(7)
The demo Command
28(1)
CockroachDB Serverless/Dedicated
29(1)
Creating a Cluster
29(1)
Connecting to Your Cluster
29(1)
Summary
30(1)
Chapter 3 Concepts
31(36)
Database Objects
31(2)
Data Types
33(22)
UUID
33(1)
ARRAY
34(3)
BIT
37(1)
BOOL
38(1)
BYTES
39(1)
DATE
39(1)
ENUM
40(1)
DECIMAL
41(2)
FLOAT
43(1)
INET
44(1)
INTERVAL
45(1)
JSONB
46(2)
SERIAL
48(1)
STRING
49(1)
TIME/TIMETZ
50(1)
TIMESTAMP/TIMESTAMPTZ
51(2)
GEOMETRY
53(2)
Functions
55(3)
Geo-partitioned Data
58(9)
REGION BY ROW
59(4)
REGION BY TABLE
63(4)
Chapter 4 Managing CockroachDB from the Command Line
67(16)
The Cockroach Binary
67(1)
The start and start-single-node Commands
68(1)
The demo Command
69(1)
The cert Command
70(1)
The sql Command
71(2)
The node Command
73(5)
The import Command
78(1)
The sqlfmt Command
78(2)
The workload Command
80(3)
Chapter 5 Interacting with CockroachDB
83(40)
Connecting to CockroachDB
83(13)
Connecting with Tools
83(5)
Connecting Programmatically
88(8)
Designing Databases
96(18)
Database Design
96(2)
Schema Design
98(3)
Table Design
101(8)
View Design
109(5)
Moving Data
114(9)
Exporting and Importing Data
114(2)
Watching for Database Changes
116(7)
Chapter 6 Data Privacy
123(16)
Global Regulations
123(2)
Location-Specific Considerations
125(4)
UK Company with UK and European Customers
125(1)
European Company with European and American Customers
126(1)
American Company with American Customers
127(1)
American Company with American and European Customers
127(1)
A Non-Chinese Company with Chinese Customers
128(1)
Personally Identifiable Information
129(1)
Encryption
129(10)
In Transit
130(3)
At Rest
133(6)
Chapter 7 Deployment Topologies
139(20)
Single-Region Topologies
140(3)
Development
140(1)
Basic Production
140(3)
Multiregion Topologies
143(9)
Regional Tables
143(6)
Global Tables
149(2)
Follower Reads
151(1)
Follow-the-Workload
152(1)
Antipatterns
152(7)
Summary
157(2)
Chapter 8 Testing
159(48)
Structural Testing
161(4)
Functional Testing
165(29)
Black Box Testing
165(19)
White Box Testing
184(10)
Nonfunctional Testing
194(13)
Performance Testing
194(9)
Resilience Testing
203(4)
Chapter 9 Production
207(42)
Best Practices
208(12)
SELECT Performance
208(1)
INSERT Performance
209(5)
UPDATE Performance
214(6)
Cluster Maintenance
220(7)
Moving a Cluster
227(4)
Backing Up and Restoring Data
231(12)
Full Backups
233(3)
Incremental Backups
236(1)
Encrypted Backups
237(3)
Locality-Aware Backups
240(1)
Scheduled Backups
241(2)
Cluster Design
243(1)
Cluster Sizing
243(1)
Node Sizing
243(1)
Monitoring
244(5)
Index 249
Rob Reid is a software developer from London, England. In his career, he has written backend, frontend, and messaging software for the police, travel, finance, commodity, sports betting, telecom, retail, and aerospace industries. He is an avid user of CockroachDB and has worked with the Cockroach Labs team in recent years to promote the database and embed it into development teams in the US and UK.