| adm | Find | login register |
eliu joined: 2007-08-09 posted: 11473 promoted: 617 bookmarked: 187 新竹, 台灣 |
這邊有一個 MySQL 5.1.30 vs PostgreSQL 8.3.7 的 benchmark,看起來是 PostgreSQL 的 速度 performance 比較好。 MySQL 的使用者比較多多。使用者多不代表一定比較好。不過 benchmark 的速度不一定是你的真正使用情況的速度。 部分結果
edited: 1
| |||||||||||||||||||||||||||||||||||
eliu joined: 2007-08-09 posted: 11473 promoted: 617 bookmarked: 187 新竹, 台灣 |
根據 phoronix 的測試,PostgreSQL 在 EXT4 速度最快。不過好像與 EXT4 buffer (delayed write, writeback) 有關,只是如果斷電,資料遺失 or 資料庫毀損的比例不知道高不高。Btrfs好慘。
Running our PostgreSQL test yielded another win for the EXT4 file-system while XFS and EXT3 were close for the second place spot. Btrfs, however, is severely hampered in this test where it was just allowing for 69 transactions per second. edited: 4
| |||||||||||||||||||||||||||||||||||
ychao joined: 2007-10-25 posted: 298 promoted: 21 bookmarked: 3 |
| |||||||||||||||||||||||||||||||||||
eliu joined: 2007-08-09 posted: 11473 promoted: 617 bookmarked: 187 新竹, 台灣 |
後來又看一次上面的 benchmark,在 single user test,MySQL好像比較快。 Postgresql 一般在 multi-user 時比較快。資料庫很多情況是 multi-user 。 edited: 1
|
| adm | Find | login register |