Galera 核心參數詳解(一)

         經各種折騰,重要把MariaDB+Galera集羣搭建起來,可是實際運行過程中發現有失敗的現象,一個節點操作成功,另外兩個節點並沒有同步成功,度娘了一會也沒發現解決辦法。只能從頭來學習下這個插件,看看有沒有思路。

         先從核心參數瞭解下:

         1、wsrep_apply_oooe,下面是官網解釋:

Description: How often writesets have been applied out of order, an indicators of parallelization efficiency.

          大概翻譯後是這個意思:寫入集的有序應用頻率,是並行化效率的指標。查詢了實際環境中的默認值是 0

 

        2、wsrep_apply_oool,官網解釋:

Description: How often writesets with a higher sequence number were applied before ones with a lower sequence number, implying slow writesets.

         大概翻譯後是這個意思:在序列號較低的寫入集之前應用具有較高序列號的寫入集的頻率,這意味着寫入集速度較慢。查詢了實際環境中的默認值是 0

 

        3、wsrep_apply_window,官網解釋:

Description: Average distance between highest and lowest concurrently applied seqno.

        大概翻譯後是這個意思:最高和最低併發應用 seqno 之間的平均距離。查詢了實際環境中的默認值是 1

 

        4、wsrep_cert_deps_distance,官網解釋:

Description: Average distance between the highest and the lowest sequence numbers that can possibly be applied in parallel, or the potential
degree of parallelization.

       大概翻譯後是這個意思:可能並行應用的最高和最低序列號之間的平均距離,或潛在的並行化程度。查詢了實際環境中的默認值是 1

 

        5、wsrep_cert_index_size,官網解釋:

Description: The number of entries in the certification index.

         大概翻譯後是這個意思:認證索引中的條目數。查詢了實際環境中的默認值是 9

 

        6、wsrep_cert_interval,官網解釋:

Description: Average number of transactions received while a transaction replicates

         大概翻譯後是這個意思:事務複製時收到的事務的平均數量。查詢了實際環境中的默認值是 0

 

        7、wsrep_cluster_capabilities,官網解釋:

Description: 

         大概翻譯後是這個意思:集羣能力。查詢了實際環境中的默認值是 空(不是null,而是沒有任何值)

 

        8、wsrep_cluster_conf_id,官網解釋:

  Description: Total number of cluster membership changes that have taken place.

         大概翻譯後是這個意思:已發生的羣集成員身份更改總數。查詢了實際環境中的默認值是 18446744073709551615

 

        9、wsrep_cluster_size,官網解釋:

  Description: Number of nodes currently in the cluster.

         大概翻譯後是這個意思:在當前集羣中有節點的數量,實際理解就是加入的服務器數量。查詢了實際環境中的默認值是 3(因爲我部署了三臺),此值實際經驗是要大於等於3且數值最好是奇數,偶數容易產生腦裂現象。

 

        10、wsrep_cluster_state_uuid,官網解釋:

Description: UUID state of the cluster. If it matches the value in wsrep_local_state_uuid, the local and cluster nodes are in sync.

         大概翻譯後是這個意思:羣集的 UUID 狀態。如果它與值wsrep_local_state_uuid匹配,則本地節點和羣集節點將同步。此值是第一次啓動後生成的GUID值。

       今天先學習到。

     

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章