效能: PostgreSQL中的integer效能計算參考 (Integer vs plpython vs C-Language Functions) vs Oracle 23c

讓專於計算的回歸程式,讓專於儲存的回歸資料庫

在PostgreSQL 16中,使用integer的單純計算效能分析:

1.使用原本的PostgreSQL之integer: 花7秒

2. 使用plpython則只花3秒

3.使用C編譯後來進行調用,則只需0.065秒

最後也拿了Oracle 23c之integer來參照:

所以讓專於計算的回歸程式,讓專於儲存的回歸資料庫,也好方便如果以後要換資料庫也比較少痛點

Last updated