openGauss源碼目錄結(jié)構(gòu)

src目錄

openGauss-2.0.1\src
├─bin (gsql等命令的代碼)
├─common (公共功能模塊代碼)
├─gausskernel (高斯內(nèi)核代碼)
├─include (頭文件)
├─lib (庫文件,包括)
├─makefiles (平臺(tái)相關(guān)的make的設(shè)置值)
├─test (測(cè)試腳本)
└─tools (開發(fā)工具和文檔)

common目錄

openGauss-2.0.1\src
├─common (公共功能模塊代碼)
│  ├─backend
│  │  ├─catalog
│  │  ├─client_logic
│  │  ├─lib
│  │  ├─libpq
│  │  ├─nodes
│  │  ├─parser
│  │  ├─pgxc_single
│  │  ├─po
│  │  ├─port
│  │  ├─regex
│  │  ├─snowball
│  │  ├─tsearch
│  │  └─utils
│  ├─interfaces
│  ├─pgxc
│  ├─pl
│  ├─port
│  ├─template
│  ├─timezone
│  └─tutorial

guasskernel目錄

openGauss-2.0.1\src
├─gausskernel (高斯內(nèi)核)
│  ├─bootstrap
│  ├─cbb
│  ├─dbmind (AI4DB和DB4AI功能模塊)
│  ├─optimizer
│  ├─process (進(jìn)程和線程管理模塊)
│  ├─runtime (執(zhí)行器模塊)
│  ├─security
│  └─storage

optimizer目錄

openGauss-2.0.1\src
├─gausskernel (高斯內(nèi)核)
│  ├─optimizer(命令模塊和查詢重寫)
│  │  ├─commands
│  │  ├─geqo
│  │  ├─path
│  │  ├─plan
│  │  ├─prep
│  │  ├─rewrite
│  │  └─util

process目錄

openGauss-2.0.1\src
├─gausskernel
│  ├─process
│  │  ├─datasource
│  │  ├─globalplancache
│  │  ├─job
│  │  ├─main
│  │  ├─postmaster
│  │  ├─stream
│  │  ├─tcop
│  │  └─threadpool (線程池)

access目錄

openGauss-2.0.1\src
├─gausskernel
│  └─storage
│      ├─access
│      │  ├─cbtree
│      │  ├─common
│      │  ├─dfs
│      │  ├─gin
│      │  ├─gist
│      │  ├─hash
│      │  ├─hbstore
│      │  ├─heap
│      │  ├─index
│      │  ├─nbtree
│      │  ├─obs
│      │  ├─psort
│      │  ├─redo
│      │  ├─rmgrdesc
│      │  ├─spgist
│      │  ├─table
│      │  └─transam

storage目錄

openGauss-2.0.1\src
├─gausskernel
│  └─storage
│      ├─access
│      ├─buffer
│      ├─bulkload (外表批量導(dǎo)入模塊)
│      ├─cmgr (列存儲(chǔ)只讀共享緩沖區(qū)模塊)
│      ├─cstore (列存儲(chǔ)訪存模塊)
│      ├─dfs (外表服務(wù)器連接模塊)
│      ├─file
│      ├─freespace
│      ├─ipc
│      ├─large_object
│      ├─lmgr
│      ├─mot (內(nèi)存引擎模塊)
│      ├─page
│      ├─remote (備機(jī)頁面修復(fù)模塊)
│      ├─replication
│      └─smgr

security目錄

openGauss-2.0.1\src
├─gausskernel
│  ├─security
│  │  ├─gs_policy
│  │  ├─iprange
│  │  └─keymanagement

dbmind(AI 模塊)

openGauss-2.0.1\src
├─gausskernel
│  ├─dbmind (AI4DB和DB4AI模塊)
│  │  ├─deepsql (DB4AI: 庫內(nèi)AI算法)
│  │  │  └─madlib_modules (開源的MADlib機(jī)器學(xué)習(xí)框架)
│  │  └─tools (AI4DB工具集)
│  │      ├─anomaly_detection (數(shù)據(jù)庫指標(biāo)采集、預(yù)測(cè)與異常監(jiān)控)
│  │      ├─index_advisor (索引推薦)
│  │      ├─predictor (AI查詢時(shí)間預(yù)測(cè))
│  │      ├─sqldiag (慢SQL診斷發(fā)現(xiàn))
│  │      └─xtuner (參數(shù)調(diào)優(yōu)與診斷)
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容