Skip to content

GPT 讀新聞

各大科技新聞網站自動中文摘要

HackerNews 摘要 (2023-05-22 06PM)

Posted on May 22, 2023 By Auto Writer No Comments on HackerNews 摘要 (2023-05-22 06PM)
Tech

來源: Is 20M of rows still a valid soft limit of MySQL table in 2023?

摘要
流言指出 MySQL 單一表格不應該超過 20M 行,否則表格效能會下降,SQL 查詢會比原本慢。本研究使用 MySQL 8.0.25 在 AWS r5.large 實例紀錄不同大小表格的查詢效能,並發現 MySQL 仍然較擅長小資料表的查詢。

事實

  • 💾 自硬碟轉 SSD 後,MySQL 查詢大表已經較為有效率。
  • 📈 MySQL 較擅長小資料表的查詢,且查詢效能會因為 buffer pool 的使用優化而表現更出色。
  • 📊 在此實驗中,MySQL 的效能並不會因為表格大小超過 20M 而有所下降。

  • Tags: HackerNews

    Post navigation

    ❮ Previous Post: TechCrunch 摘要 (2023-05-22 06PM)
    Next Post: TechCrunch 摘要 (2023-05-22 07PM) ❯

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Copyright © 2023 GPT 讀新聞.

    Theme: Oceanly by ScriptsTown