Galera 核心参数详解(一)
經(jīng)各種折騰,重要把MariaDB+Galera集群搭建起來,可是實(shí)際運(yùn)行過程中發(fā)現(xiàn)有失敗的現(xiàn)象,一個節(jié)點(diǎn)操作成功,另外兩個節(jié)點(diǎn)并沒有同步成功,度娘了一會也沒發(fā)現(xiàn)解決辦法。只能從頭來學(xué)習(xí)下這個插件,看看有沒有思路。
先從核心參數(shù)了解下:
1、wsrep_apply_oooe,下面是官網(wǎng)解釋:
Description: How often writesets have been applied out of order, an indicators of parallelization efficiency.
大概翻譯后是這個意思:寫入集的有序應(yīng)用頻率,是并行化效率的指標(biāo)。查詢了實(shí)際環(huán)境中的默認(rèn)值是 0
    2、wsrep_apply_oool,官網(wǎng)解釋:
Description: How often writesets with a higher sequence number were applied before ones with a lower sequence number, implying slow writesets.
大概翻譯后是這個意思:在序列號較低的寫入集之前應(yīng)用具有較高序列號的寫入集的頻率,這意味著寫入集速度較慢。查詢了實(shí)際環(huán)境中的默認(rèn)值是 0
    3、wsrep_apply_window,官網(wǎng)解釋:
Description: Average distance between highest and lowest concurrently applied seqno.
大概翻譯后是這個意思:最高和最低并發(fā)應(yīng)用 seqno 之間的平均距離。查詢了實(shí)際環(huán)境中的默認(rèn)值是 1
    4、wsrep_cert_deps_distance,官網(wǎng)解釋:
Description: Average distance between the highest and the lowest sequence numbers that can possibly be applied in parallel, or the potential
degree of parallelization.
大概翻譯后是這個意思:可能并行應(yīng)用的最高和最低序列號之間的平均距離,或潛在的并行化程度。查詢了實(shí)際環(huán)境中的默認(rèn)值是 1
    5、wsrep_cert_index_size,官網(wǎng)解釋:
Description: The number of entries in the certification index.
大概翻譯后是這個意思:認(rèn)證索引中的條目數(shù)。查詢了實(shí)際環(huán)境中的默認(rèn)值是 9
    6、wsrep_cert_interval,官網(wǎng)解釋:
Description: Average number of transactions received while a transaction replicates
大概翻譯后是這個意思:事務(wù)復(fù)制時收到的事務(wù)的平均數(shù)量。查詢了實(shí)際環(huán)境中的默認(rèn)值是 0
    7、wsrep_cluster_capabilities,官網(wǎng)解釋:
Description:
大概翻譯后是這個意思:集群能力。查詢了實(shí)際環(huán)境中的默認(rèn)值是 空(不是null,而是沒有任何值)
    8、wsrep_cluster_conf_id,官網(wǎng)解釋:
Description: Total number of cluster membership changes that have taken place.
大概翻譯后是這個意思:已發(fā)生的群集成員身份更改總數(shù)。查詢了實(shí)際環(huán)境中的默認(rèn)值是18446744073709551615
    9、wsrep_cluster_size,官網(wǎng)解釋:
Description: Number of nodes currently in the cluster.
大概翻譯后是這個意思:在當(dāng)前集群中有節(jié)點(diǎn)的數(shù)量,實(shí)際理解就是加入的服務(wù)器數(shù)量。查詢了實(shí)際環(huán)境中的默認(rèn)值是 3(因?yàn)槲也渴鹆巳_),此值實(shí)際經(jīng)驗(yàn)是要大于等于3且數(shù)值最好是奇數(shù),偶數(shù)容易產(chǎn)生腦裂現(xiàn)象。
    10、wsrep_cluster_state_uuid,官網(wǎng)解釋:
Description: UUID state of the cluster. If it matches the value inwsrep_local_state_uuid, the local and cluster nodes are in sync.
大概翻譯后是這個意思:群集的 UUID 狀態(tài)。如果它與值wsrep_local_state_uuid匹配,則本地節(jié)點(diǎn)和群集節(jié)點(diǎn)將同步。此值是第一次啟動后生成的GUID值。
今天先學(xué)習(xí)到。
總結(jié)
以上是生活随笔為你收集整理的Galera 核心参数详解(一)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: spring ResponseEntit
- 下一篇: Ubuntu连接WiFi
