GreenPlum資料庫搭建原原則

2022-06-25 11:30:08 字數 406 閱讀 8205

1、平衡:

效能容量

成本2、高可用(主節點高可用):

節點網路

磁碟3、部署方案:

master和standby master分機部署

primaty segment 與miiror segment分機部署

segment mirror 方案:

group miirroring

spead mirroring

group+spreadmirroring

pivotal supported greenplum必須部署mirror segment

4、同一主機segment個數

cpu/core數目

查詢併發數

查詢複雜度

單機primary segment總數不能過多

關於Greenplum資料庫

關於greenplum資料庫 greenplum實現了基於資料庫的分布式資料儲存和平行計算 greenplum的資料庫引擎層是基於著名的開源資料庫postgresql greenplum建立在share nothing無共享架構上,讓每一顆cpu和每一塊磁碟io都運轉起來,無共享架構將這種並行處理發...

Greenplum資料庫架構匯出複製

目的 匯出現場的gp資料庫架構 包含表結構,函式,檢視等,不包含具體表資料。在所內恢復一套同樣架構的資料庫出來,方便所內查詢定位。步驟 1 匯出時間,挑選乙個gp事務比較清閒的時間段進行操作 2 檢視現場資料庫裡有多少模式schema 要根據現場實際的schema 如下圖 3 利用gpadmin使用...

Greenplum資料庫中master節點恢復

目錄 1.啟用standby master 2.恢復到原來的設定 option 3.檢查standby master的狀態 option 如果primary master節點失敗,日誌複製程序就會停止。可以使用gpstate f命令檢視standby master的狀態,使用gpactivatest...