Jason Lee
  • Home
  • Github
Sign in Subscribe

cockroachdb

A collection of 2 posts
cockroachdb

Cockroachdb 運維需要注意的

單點最多人數 ( max client connections) When a node has both a high number of client connections and running queries, the node may crash due to memory exhaustion. This is due to CockroachDB not accurately limiting the number of clients and queries based on the amount of available RAM on the node.
Sep 24, 2018
cockroachdb

setup a secure cockroachdb cluster

因為建立 database 的使用者必須是在 secure cluster 下面能建立,所以我們需要先打造一個 secure cluster 先。 1. 去網路上 download windows binary 下來,因為我們會在 windows 的環境產生金鑰 2. 先在 c:\ 下面建立一個 certs 的資料夾,裡面再建立兩個資料夾,分別為 certs 和 my-safe-directory 3. 建立金鑰,後面的流程都會用到這個產生出來的金鑰來建立憑證 $> cockroach cert create-ca --certs-dir=certs --ca-key=my-safe-directory/ca.key 4. 建立每個節點的憑證 (必須把這個憑證傳送到每個節點上面) $> cockroach cert create-node 127.0.
Jul 2, 2018 1 min read
Page 1 of 1
Jason Lee © 2025
Powered by Ghost