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权威指南
404
|
15
导致重要工作的故障或性能的下降。
管控旨在对工作进行优先排序,以避免这些问题出现。当管控被启用时,
CockroachDB
将请求和响应操作按优先级排序到工作队列中,优先给高优先级的操作。对节点运行状
况至关重要的内部操作(如节点活动性心跳)给予高优先级处理。管控系统还对持有锁
的事务进行优先级排序,通过及时释放锁来减少争用。默认情况下,管控是关闭的。启
用管控需要执行以下操作:
·
对于
KV
存储系统执行的工作,将
admission.kv.enabled
集群设置为
true
·
当接收
KV
响应时,为在
SQL
层执行的
admission.sql_kv_response.enabled
集群
设置为
true
·
当从分布式
SQL
接收响应时,为在
SQL
层执行的
admission.sql_sql_response.
enabled
集群设置为
true
如果你决定使用管控能力,我们建议对所有层启用管控。过载仪表板也会显示与管控系
统相关的指标,这些指标可以从
DB
控制台的
Metrics
部分获得。这些仪表板会显示诸如
CPU
利用率、存储引擎健康状态、管控系统状态等指标。过载仪表板界面如图
15-16
所示。
15-16CockroachDB 控制台过载仪表板(高清版本请参考
https://cockroa.ch/cockroachDB-
figs
CockroachDB权威指南 正文.indd 404CockroachDB权威指南 正文.indd 404 2024-5-30 9:43:192024-5-30 ...
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