DBMaker注意事項
DBMaker 為 OMFLOW Windows 版本可選擇之內建資料庫,以下總結可能出現的錯誤:
1. 版本更新時出現 Journal Full 錯誤訊息
查看error.log出現以下類似錯誤訊息:
[DBMaker] 日誌已滿:事務已被中斷 (11311) (SQLExecDirectW)
解決辦法:
OMFLOW Patch 在 migration 時若資料量過多造成此錯誤,需加大或新增 Journal File,以下為操作步驟:
修改dmconfig.ini
Windows版本路徑為 C:\Program Files\OMFLOW Server\DBMaker\dmconfig.ini
重啟DBMaker服務
此方法無法完全解決,當資料過於龐大時仍有機會造成此錯誤。
2. OMFLOW 進行介面操作時出現 out of DCCA memory 錯誤
查看error.log出現以下類似錯誤訊息:
[DBMaker] out of DCCA memory: initial DCCA setting is too small (1103) (SQLFetch)
解決辦法:
當 lock 太多會佔用 DCCA 導致記憶體不足,請在 dmconfig.ini 設定,設定後重新啟動 DBMaker 服務。
修改dmconfig.ini
Windows版本路徑為 C:\Program Files\OMFLOW Server\DBMaker\dmconfig.ini
重啟DBMaker服務
3. 上架流程出現 DBMaker 錯誤訊息
查看error.log出現以下類似錯誤訊息:
[DBMaker] total length of all columns exceeds maximum length : this table needs at least 8081 bytes, it should be less than the maximum length of a page 8064 bytes (6527) (SQLExecDirectW)')
[DBMaker] Invalid field name : FORMITM_127 (6523) (SQLPrepare)
解決方法
此錯誤為表單設計欄位超過DBMaker長度限制時未成功建置table,導致資料與實際table columns產生落差。
修改dmconfig.ini
匯出原有資料庫並重新建立
詳細步驟請聯繫 https://www.dbmaker.com.tw/serForm.php
4. 出現「視圖已存在」錯誤訊息
查看error.log出現以下類似錯誤訊息:
[DBMaker] 該表或視圖已存在 : <TABLE_NAME> (6520) (SQLExecDirectW)
解決方法
當 migration 因任何因素失敗時,導致下次 migration 無法正確從上次結束的地方開始執行。
將出問題的 APP migration 歸零並重新執行
5. 出現表單異常卡住之問題
查看error.log並未出現錯誤訊息
解決方法
請更新 OMFLOW 至 1.2.0 以上版本
6. 硬碟空間不足之問題
查看error.log出現以下類似錯誤訊息:
[DBMaker] no disk space or quota : /opt/dbmaker/database/fo/__0O619F.TMP (11211)
解決方法
由於tablespace不正常增長導致,需重啟 DBMaker 資料庫清空暫存檔案,並關閉tablespace動態新增改為手動新增,
Last updated