iT邦幫忙

2018 iT 邦幫忙鐵人賽
DAY 24
0
Modern Web

Confluence 線上協同作業之平台系列 第 24

Day24-Confluence的資料庫

在安裝設定confluence的過程中,會有個設定資料庫的連線步驟,可以設定confluence要連哪種類型的資料庫,主要有postgresql/sqlserver,它一樣有分成ap伺服器與DB伺服器,AP主要是放置plugin、attachment與設定檔的地方,資料庫則是放置帳號資訊、page資料、Space資料等
https://ithelp.ithome.com.tw/upload/images/20171228/2000370594iOSlbjil.jpg

在官方網站中有寫到哪個版本的confluence,它適用安裝哪個版本的資料庫
https://ithelp.ithome.com.tw/upload/images/20180116/20003705SMCeKFLwet.png

當您安裝完成confluence後,也可以在confluence查詢目前confluence所使用的資料庫版本
https://ithelp.ithome.com.tw/upload/images/20180116/20003705Ucg1hGbVbb.png

也可以透過資料庫管理工具,例如我的資料庫是使用postgresql,那麼使用pgAdmin可以查到目前所使用的資料庫版本
https://ithelp.ithome.com.tw/upload/images/20180116/20003705rzdCPzd8MJ.png

以linux環境來說,資料庫會有/var/atlassian/application-data/confluence/confluence.cfg.xml的設定檔,它可以看出資料庫連線帳號、密碼、資料庫連線類型、連線connection string、備份執行與否等設定資訊
https://ithelp.ithome.com.tw/upload/images/20171228/20003705AJ3stx8s9Y.jpg

要如何查詢資料庫資料表的使用空間
可使用下列語法來查出confluence attachment總共使用多少的空間
https://ithelp.ithome.com.tw/upload/images/20171228/20003705Q62xzix9dt.jpg

參考網址:https://confluence.atlassian.com/confkb/how-to-find-the-total-size-of-all-attachments-in-confluence-794201234.html

postgresql資料表的使用限制如下
Maximum size for a database? unlimited (32 TB databases exist)
Maximum size for a table? 32 TB
Maximum size for a row? 400 GB
Maximum size for a field? 1 GB
Maximum number of rows in a table? unlimited
Maximum number of columns in a table? 250-1600 depending on column types
Maximum number of indexes on a table? unlimited
參考網址:https://wiki.postgresql.org/wiki/FAQ#What_is_the_maximum_size_for_a_row.2C_a_table.2C_and_a_database.3F

要如何查詢AP每個路徑的使用空間

上傳檔案大小的轉換:https://confluence.atlassian.com/doc/configuring-attachment-size-150040.html


上一篇
Day23-theme的應用
下一篇
Day25-行動裝置版本的confluence
系列文
Confluence 線上協同作業之平台30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言