MariaDB 在官方部落格發表一篇效能測試報告,聲稱 MariaDB 10.1 的效能可等同於 MySQL 5.7,每秒可處理 1 百萬請求。

但不久即遭 Oracle/MySQL 的專家 Dimitrik 打臉。Dimitrik 表示,MariaDB 的測試場景不符合一般實際狀況。

MariaDB 測試時使用參數 “oltp-point-selects=1000”,表示一個事務裡有 1000 個 point selects,這可以極大增加效能測試數據值,但在大多數的一般場景中,實際用量只有 1。

所以 Dimitrik 在把 “oltp-point-selects” 調整為較合理的 1 時,再與 MySQL 5.7 相比,結果顯示 MariaDB 10.1 的效能落後 MySQL 5.7 甚遠,頂多與 MySQL 5.6 差不多。

參考來源

  1. MariaDB 10.1 can do 1 million queries per second
  2. MySQL Performance: What is odd with 1M QPS claimed by MariaDB 10.1