CockroachDB: The Definitive Guide
- Autorzy:
- Guy Harrison, Jesse Seldess, Ben Darnell
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 488
- Dostępne formaty:
-
ePubMobi
Opis ebooka: CockroachDB: The Definitive Guide
Get the lowdown on CockroachDB, the elastic SQL database built to handle the demands of today's data-driven world. With this practical guide, software developers, architects, and DevOps teams will discover the advantages of building on a distributed SQL database. You'll learn how to create applications that scale elastically and provide seamless delivery for end users while remaining exceptionally resilient and indestructible.
Written from scratch for the cloud and architected to scale elastically to handle the demands of cloud native and open source, CockroachDB makes it easier to build and scale modern applications. If you're familiar with distributed systems, you'll quickly discover the benefits of strong data correctness and consistency guarantees as well as optimizations for delivering ultralow latencies to globally distributed end users.
With this thorough guide, you'll learn how to:
- Plan and build applications for distributed infrastructure, including data modeling and schema design
- Migrate data into CockroachDB
- Read and write data and run ACID transactions across distributed infrastructure
- Optimize queries for performance across geographically distributed replicas
- Plan a CockroachDB deployment for resiliency across single-region and multiregion clusters
- Secure, monitor, and optimize your CockroachDB deployment
Wybrane bestsellery
-
Ta książka szczególnie przyda się architektom technologii informatycznych, administratorom baz danych i projektantom, którzy do wykonywania swoich obowiązków potrzebują wiedzy o najświeższych rozwiązaniach z dziedziny technologii baz danych. Omówiono tu najnowsze, wykorzystywane obecnie technolog...
NoSQL, NewSQL i BigData. Bazy danych następnej generacji NoSQL, NewSQL i BigData. Bazy danych następnej generacji
(19.90 zł najniższa cena z 30 dni)27.45 zł
54.90 zł(-50%) -
The implementation of stored procedures in MySQL 5.0 a hugemilestone -- one that is expected to lead to widespread enterprise adoption ofthe already extremely popular MySQL database. If you are serious aboutbuilding the web-based database applications of the future, you need toget up to speed qui...(126.65 zł najniższa cena z 30 dni)
135.15 zł
159.00 zł(-15%) -
Firmy z branży IT prześcigają się w tworzeniu rozwiązań zwiększających wydajność pracy, jak również podnoszących poziom specjalizacji pracowników w określonych dziedzinach. Od kilku już lat pozycja full stack developera, który wykonywał wszystkie prace programistyczne, jest wielką rzadkością. Obe...
Postman i SQL. Kurs video. Metody testowania REST API i przeszukiwania baz danych Postman i SQL. Kurs video. Metody testowania REST API i przeszukiwania baz danych
(39.90 zł najniższa cena z 30 dni)79.49 zł
159.00 zł(-50%) -
Ta książka stanowi świetne wprowadzenie do analizy danych. Dzięki niej nauczysz się korzystać z surowych danych, nawet jeśli nie masz odpowiedniego doświadczenia. Zaczniesz od formułowania hipotez i generowania statystyk opisowych, a następnie przystąpisz do pisania zapytań w języku SQL w celu ag...
SQL dla analityków danych. Opanuj możliwości SQL-a, aby wydobywać informacje z danych. Wydanie III SQL dla analityków danych. Opanuj możliwości SQL-a, aby wydobywać informacje z danych. Wydanie III
(65.40 zł najniższa cena z 30 dni)70.85 zł
109.00 zł(-35%) -
Ten przystępny przewodnik jest przeznaczony dla analityków danych, którzy chcą dobrze poznać proces tworzenia analitycznego zbioru danych i samodzielnie pisać kod niezbędny do uzyskania zamierzonego wyniku. Przedstawiono w nim składnię języka SQL oraz zasady budowania szybko działających zapytań ...
SQL dla analityków danych. Tworzenie zbiorów danych dla początkujących SQL dla analityków danych. Tworzenie zbiorów danych dla początkujących
(41.40 zł najniższa cena z 30 dni)44.85 zł
69.00 zł(-35%) -
Relacyjne bazy danych są wszędzie wokół nas, a do podstawowych umiejętności wymaganych od współczesnych programistów należy dobra znajomość języka SQL. Na świecie nie ma jednak osób, którym nie zdarza się czegoś zapomnieć. Jeśli potrzebujesz pomocy w codziennej pracy lub chcesz odświeżyć wiedzę n...(6.90 zł najniższa cena z 30 dni)
8.49 zł
17.00 zł(-50%) -
With the shift from data warehouses to data lakes, data now lands in repositories before it's been transformed, enabling engineers to model raw data into clean, well-defined datasets. dbt (data build tool) helps you take data further. This practical book shows data analysts, data engineers, BI de...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
If you were handed two different but related sets of data, what tools would you use to find the matches? What if all you had was SQL SELECT access to a database? In this practical book, author Jim Lehmer provides best practices, techniques, and tricks to help you import, clean, match, score, and ...(186.15 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
To help you on the path to becoming a Snowflake pro, this concise yet comprehensive guide reviews fundamentals and best practices for Snowflake's SQL and Scripting languages. Developers and data professionals will learn how to generate, modify, and query data in the Snowflake relational database ...(245.65 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
The Presto community has mushroomed since its origins at Facebook in 2012. But ramping up this open source distributed SQL query engine can be challenging even for the most experienced engineers. With this practical book, data engineers and architects, platform engineers, cloud engineers, and sof...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%)
O autorze ebooka
Guy Harrison projektuje bazy danych od połowy lat 80. zeszłego stulecia i stał się niekwestionowanym autorytetem w tej dziedzinie. Napisał wiele książek poświęconych projektowaniu baz danych i optymalizacji ich wydajności. Obecnie kieruje zespołem rozwijającym rodziny produktów Toad, Spotlight i Shareplex w firmie Dell. Mieszka w Melbourne w Australii ze swoją żoną, zmienną liczbą dorosłych dzieci, kotem, trzema psami i ogromnym królikiem „zabójcą”.
Ebooka "CockroachDB: The Definitive Guide" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "CockroachDB: The Definitive Guide" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "CockroachDB: The Definitive Guide" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-10-981-0019-3, 9781098100193
- Data wydania ebooka:
- 2022-04-08 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 11.7MB
- Rozmiar pliku Mobi:
- 20.8MB
Spis treści ebooka
- Preface
- Why Cockroach?
- Building CockroachDB
- Next Steps
- Why We Wrote This Book
- Who This Book Is For
- How This Book Is Organized
- Conventions Used in This Book
- Using Code Examples
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- I. Introduction to CockroachDB
- 1. Introduction to CockroachDB
- A Brief History of Databases
- Pre-Relational Databases
- The Relational Model
- Implementing the Relational Model
- Transactions
- The SQL Language
- The RDBMS Hegemony
- Enter the Internet
- The NoSQL Movement
- The Emergence of Distributed SQL
- A Brief History of Databases
- The Advent of CockroachDB
- CockroachDB Design Goals
- CockroachDB Releases
- CockroachDB in Action
- CockroachDB at DevSisters
- CockroachDB at DoorDash
- CockroachDB at Bose
- Summary
- 2. CockroachDB Architecture
- The CockroachDB Cluster Architecture
- Ranges and Replicas
- The CockroachDB Cluster Architecture
- The CockroachDB Software Stack
- The CockroachDB SQL Layer
- From SQL to Key-Values
- Tables as Represented in the KV Store
- Column Families
- Indexes in the KV Store
- Inverted Indexes
- The STORING Clause
- Table Definitions and Schema Changes
- The CockroachDB Transaction Layer
- MVCC Principles
- Transaction Workflow
- Write Intents
- Parallel Commits
- Transaction Cleanup
- Overview of Transaction Flow
- Read/Write Conflicts
- Clock Synchronization and Clock Skew
- The CockroachDB Distribution Layer
- Meta Ranges
- Gossip
- Leaseholders
- Range Splits
- Multiregion Distribution
- The CockroachDB Replication Layer
- Raft
- Raft and Leaseholders
- Closed Timestamps and Follower Reads
- The CockroachDB Storage Layer
- Log-Structured Merge Trees
- SSTables and Bloom Filters
- Deletes and Updates
- MultiVersion Concurrency Control
- The Block Cache
- Summary
- 3. Getting Started
- Installation
- Installing CockroachDB Software
- Installation on macOS
- Installation on Linux
- Installation on Microsoft Windows
- Installing CockroachDB Software
- Creating a CockroachDB Serverless Instance
- Starting a Local Single-Node Server
- Starting Up CockroachDB in a Docker Container
- Starting Up a Secure Server
- Shutting Down the Server
- Remote Connection
- Creating a Kubernetes Cluster
- Installation
- Using a GUI Client
- Exploring CockroachDB
- Adding Some Data
- Databases and Tables
- Issuing SQL
- The DB Console
- Working with Programming Languages
- Connecting to CockroachDB from Node.js
- Connecting to CockroachDB from Java
- Connecting to CockroachDB from Python
- Connecting to CockroachDB from Go
- Summary
- 4. CockroachDB SQL
- SQL Language Compatibility
- Querying Data with SELECT
- The SELECT List
- The FROM Clause
- JOINS
- Anti-Joins
- Cross Joins
- Set Operations
- Group Operations
- Subqueries
- Correlated Subquery
- Lateral Subquery
- The WHERE Clause
- Common Table Expressions
- ORDER BY
- Window Functions
- Other SELECT Clauses
- CockroachDB Arrays
- Working with JSON
- Summary of SELECT
- Creating Tables and Indexes
- Column Definitions
- Computed Columns
- Data Types
- Primary Keys
- Constraints
- Indexes
- Inverted indexes
- Hash-sharded indexes
- CREATE TABLE AS SELECT
- Altering Tables
- Dropping Tables
- Views
- Inserting Data
- UPDATE
- UPSERT
- DELETE
- TRUNCATE
- IMPORT/IMPORT INTO
- Transactional Statements
- BEGIN Transaction
- SAVEPOINT
- COMMIT
- ROLLBACK
- SELECT FOR UPDATE
- AS OF SYSTEM TIME
- Other Data Definition Language Targets
- Administrative Commands
- The Information Schema
- Summary
- II. Developing Applications with CockroachDB
- 5. CockroachDB Schema Design
- Logical Data Modeling
- Normalization
- Dont Go Too Far
- Primary Key Choices
- Special-Purpose Designs
- Logical Data Modeling
- Physical Design
- Entities to Tables
- Attributes to Columns
- Primary Key Design
- UUID-based primary keys
- Avoiding hotspots with a composite key
- Hash-sharded primary keys
- Ordering of primary key attributes
- Summary of primary key performance
- Foreign Key Constraints
- Denormalization
- Replicating Columns to Avoid Joins
- Summary Tables
- Vertical Partitioning
- Horizontal Partitioning
- Repeating Groups
- JSON Document Models
- JSON Document Antipatterns
- Indexing JSON Attributes
- Using JSON or Arrays to Avoid Joins
- Indexes
- Index Selectivity
- Index Break-Even Point
- Index Overhead
- Composite Indexes
- Covering Indexes
- Composite and Covering Index Performance
- Guidelines for Composite Indexes
- Indexes and Null Values
- Inverted Indexes
- Partial Indexes
- Sort-Optimizing Indexes
- Expression Indexes
- Spatial Indexes
- Hash-Sharded Indexes
- Measuring Index Effectiveness
- Summary
- 6. Application Design and Implementation
- CockroachDB Programming
- Performing CRUD Operations
- Connection Pools
- Prepared and Parameterized Statements
- Batch Inserts
- Pagination of Results
- Projections
- Client-Side Caching
- CockroachDB Programming
- Managing Transactions
- Transaction Retry Errors
- Implementing Transaction Retries
- Automatic Transaction Retries
- Avoiding Transaction Retry Errors with FOR UPDATE
- Reducing Contention by Eliminating Hot Rows
- Reducing Transaction Elapsed Time
- Reordering Statements
- Time Travel Queries
- Ambiguous Transactions Errors
- Deadlocks
- Transaction Priorities
- Working with ORM Frameworks
- Summary
- 7. Application Migration and Integration
- Loading Data
- File Locations
- userfile storage
- HTTP storage
- Cloud storage
- File Locations
- Importing Files
- Importing from userfile storage
- Loading Data
- Importing from Cloud Storage
- Import Performance
- Migrating from Another Database
- Extracting and Converting DDL
- Extracting Oracle DDL
- Extracting DDL from SQL Server
- Extracting DDL from MySQL
- Extracting DDL from PostgreSQL
- Extracting and Converting DDL
- General Considerations When Converting DDL
- Exporting Data
- Loading Data Into CockroachDB
- Directly Importing PostgreSQL or MySQL Dumps
- Synchronizing and Switching Over
- Updating Application Code
- Exporting CockroachDB Data
- Change Data Capture
- Core Change Data Capture
- Resuming a changefeed
- Core Change Data Capture
- Using the Changefeed Programmatically
- Enterprise Change Data Capture
- Using cloud sinks
- Webhook sinks
- Managing jobs
- Change Data Capture to Kafka
- Change Data Capture to Snowflake
- Summary
- 8. SQL Tuning
- Finding Slow SQL
- Explaining and Tracing SQL
- EXPLAIN ANALYZE
- EXPLAIN Options
- EXPLAIN DEBUG
- Changing SQL Execution
- Optimizing Table Lookups
- Index lookups
- Index merges
- Query distribution
- Index hints
- Full scans
- Computed columns to the rescue
- Optimizing Table Lookups
- Optimizing Joins
- Join Methods
- Lookup joins
- Hash and merge joins
- Join hints
- Outer joins and anti-joins
- Optimizing Sorting and Aggregation
- Disk sorts
- Optimizing DML
- Optimizing the Optimizer
- Optimizer Statistics
- Viewing Statistics
- Automatic Statistics
- Manually Collecting Statistics
- Summary
- III. Deploying and Administering CockroachDB
- 9. Planning a Deployment
- Know Your Requirements
- Comparison of Deployment Options
- Serverless Deployments
- Single-Region Dedicated Deployments
- Common Planning TasksDedicated Deployments
- Benchmarking and Capacity Planning
- CockroachDB Cloud Deployments
- Self-Hosted on a Cloud Platform
- Self-Hosted Bare-Metal On-Premise
- Other Self-Hosted Considerations
- Self-Hosted Kubernetes
- Configuring for Self-Hosted High Availability
- Disk Failure
- Node Failures
- Network Failure
- Zone and Region Topologies
- Summary
- 10. Single-Region Deployment
- Deploying On-Premise or On-Cloud
- Firewall Configuration
- Operating System Configuration
- Clock Synchronization On-Premise
- Clock Synchronization on Cloud Platforms
- Creating Certificates
- Configuring the Nodes
- Creating a Ballast File
- Initializing the Cluster
- Creating the First User
- Installing a Load Balancer (On-Premise)
- Cloud Load Balancers
- Configuring Regions and Zones
- Deploying On-Premise or On-Cloud
- Deploying on Kubernetes
- Initializing the Operator
- Initializing the Cluster
- Creating a Client Pod
- Load Balancing
- Other Kubernetes Tasks
- Summary
- 11. Multiregion Deployment
- Multiregion Concepts
- Regions and Zones
- Survival Goals
- Locality Rules
- Planning Your Mutliregion Deployment
- Multiregion Concepts
- Deploying in Multiregion
- Converting to a Multiregion Database
- Configuring Regional by Row
- Setting Regional Survival Goal
- Placement Restricted Databases
- Summary
- 12. Backup and Disaster Recovery
- Backups
- The BACKUP Command
- Backup Destinations
- Full Backup
- Table- and Database-Level Backups
- Incremental Backups
- AS OF SYSTEM TIME Backup
- WITH REVISION HISTORY
- SHOW BACKUP
- Managing Backup Jobs
- Scheduling Backups
- Locality-Aware Backups
- Backups
- Restoring Data
- Exporting Data
- Disaster Recovery Best Practices
- Backup Scheduling and Configuration
- Recovering from Human Errors
- Summary
- 13. Security
- Firewall Configuration
- IP Allowlist with CockroachDB Dedicated
- VPC Peering and PrivateLink with CockroachDB Dedicated
- Native Linux Firewall
- Configuring a Firewall in GCP
- Configuring a Firewall in AWS
- Configuring Ports for Microsoft Azure
- Firewall Configuration
- Encryption and Server Certificates
- Encryption at Rest
- Authentication Mechanisms
- Standard Authentication
- Advanced Authentication
- Authorization
- Managing Users
- Managing Privileges
- Fine-Grained Access Control with Views
- Logging and Auditing
- Security Best Practices
- Summary
- 14. Administration and Troubleshooting
- Monitoring
- CockroachDB Dedicated Alerts
- CockroachDB Serverless Alerts
- Availability Monitoring
- The Cluster API
- Monitoring and Alerting with Prometheus
- Monitoring and Alerting with Datadog
- Monitoring
- Log Configuration
- Log Channels
- Log Format
- Filter Levels
- Log Destinations
- Logging to Fluentd
- Redaction
- Logs in Cloud Deployments
- Cluster Management
- Upgrading the Cluster Version
- Adding Nodes to a Cluster
- Decommissioning Nodes
- Troubleshooting
- Clock Synchronization Errors
- Node Liveness
- Networking Issues
- Loss of Client Connectivity
- Running Out of Disk Space
- Working with CockroachDB Support Resources
- Summary
- 15. Cluster Optimization
- Tuning Versus Firefighting
- Workload Optimization
- Detecting Problem Workloads
- Review of Workload Optimization Strategies
- Indexing
- Ad Hoc or Analytic Queries
- Cluster Balance
- Causes of Imbalance
- Hot Ranges
- Load Balancing
- Changes in Cluster Topology
- Admission Control
- Network
- Memory Optimization
- Key-Value Cache
- max-sql-memory
- Host Memory
- Disk I/O
- Scaling Out
- Summary
- Index
O'Reilly Media - inne książki
-
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(186.15 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
177.65 zł
209.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
152.15 zł
179.00 zł(-15%) -
What will you learn from this book?If you're a software developer looking for a quick on-ramp to software architecture, this handy guide is a great place to start. From the authors of Fundamentals of Software Architecture, Head First Software Architecture teaches you how to think architecturally ...(237.15 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
119.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(245.65 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: CockroachDB: The Definitive Guide Guy Harrison, Jesse Seldess, Ben Darnell (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.