Skip to Content
CockroachDB权威指南
book

CockroachDB权威指南

by Guy Harrison, Jesse Seldess, Ben Darnell
May 2024
Intermediate
425 pages
12h 29m
Chinese
China Machine Press
Content preview from CockroachDB权威指南
378
|
14
当节点退役过程完成之后,就可以关掉节点了。当
server.time_until_store_dead
定时间过期后,节点就可以从集群中移除了。
如果
CockroachDB
不能将范围移动到其他节点,那么退役将无限期地挂起。在这种情况
下,你可以添加另一个节点以允许此节点退役过程继续进行,或者重新配置该节点。相
关内容详见
CockroachDB
在线文档(
https://cockroa.ch/3uVMBgO
)。
14.4
故障排查
对使用过
CockroachDB
数据库的人群的非正式调查显示,
CockroachDB
用户的大量故障
排查请求与开发和编码或集群性能有关,例如:
·
我的数据检索延迟太长了,我该如何改进呢?
·
我在一个特定的节点上有很高的
CPU
占用,我如何排除故障?
·
为什么我遇到事务重试错误?
·
如何降低跨多区域集群的读延迟?
能了解到
CockroachDB
用户通常关心这类问题非常有帮助,这表明总的来说,
CockroachDB
本身是稳定和可靠的,用户不再为集群可用性而苦苦挣扎,而是主要追求
使数据库运行得更快这一永无止境的目标。
我们在第
8
章详细讨论了查询性能,我们将在第
15
章深入讨论集群性能。在这里,我
们想要检查一些可能导致集群中的节点变得无响应或不可用的情况。
在每一个版本中,
CockroachDB
团队都解决了许多问题,提高了性能和稳定性。每
个版本还添加了新的功能。因此,用户遇到的问题类型随着每个版本的发布而变化。
CockroachDB
团队维护了一个故障诊断综述,如果遇到这里没有涉及的问题,你可以查 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

What Successful Brick-and-Mortar Retailers Get Right

What Successful Brick-and-Mortar Retailers Get Right

Rob Angell
A Five-Step Guide to Improving Your Employer Brand

A Five-Step Guide to Improving Your Employer Brand

Kimberly A. Whitler, Richard Mosley
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9787111752868