[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-07。"],[],[],null,["# Choose between SSD and HDD storage\n\n\u003cbr /\u003e\n\nMySQL \\| [PostgreSQL](/sql/docs/postgres/choosing-ssd-hdd \"View this page for the PostgreSQL database engine\") \\| [SQL Server](/sql/docs/sqlserver/choosing-ssd-hdd \"View this page for the SQL Server database engine\")\n\n\u003cbr /\u003e\n\nWhen you create a Cloud SQL instance, you choose\nwhether it stores data on solid-state drives (SSD) or hard disk drives (HDD):\n\n- SSD storage is the most efficient and cost-effective choice for most use cases.\n- HDD storage is sometimes appropriate for large datasets (\\\u003e10 TB) that are not latency-sensitive or are infrequently accessed.\n\nRegardless of which type of storage you choose, your data is stored on a\ndistributed, replicated file system that spans across many physical drives.\n\nThe guidelines on this page can help you choose between SSD and HDD.\n\nWhen in doubt, choose SSD storage\n---------------------------------\n\nThere are several reasons why it's best to use SSD storage for your\nCloud SQL instance:\n\n- **SSD is faster and has more predictable performance than HDD.**\n- **HDD throughput is much more limited than SSD throughput.**\n- **Individual row reads on HDD are slow.** Because of disk seek time, HDD storage supports only 5% of the read rows per second of SSD storage. Large multi-row scans, however, are not as adversely impacted.\n- **The cost savings from HDD are minimal, unless you're storing large\n amounts of data.** Consider using HDD storage if you're storing at least 10 TB of data.\n\nUse cases for HDD storage\n-------------------------\n\nHDD storage is suitable for use cases that meet the following criteria:\n\n- You expect to store at least 10 TB of data.\n- You do not use the data to back a user-facing or latency-sensitive application.\n- Your workload falls into one of the following categories:\n\n - Batch workloads with scans and writes, and no more than occasional random reads of a few rows.\n - Data archival, where you write large amounts of data and rarely read that data.\n\nFor example, if you plan to store extensive historical data for a large number\nof remote-sensing devices and then use the data to generate daily reports, the\ncost savings for HDD storage might justify the performance tradeoff. On the\nother hand, if you plan to use the data to display a real-time dashboard, it\nprobably *would not* make sense to use HDD storage---reads would be much more\nfrequent in this case, and reads are much slower with HDD storage.\n\nSwitch between SSD and HDD storage\n----------------------------------\n\nWhen you create a Cloud SQL instance, your choice of\nSSD or HDD storage for the instance is permanent.\n\nIf you need to convert an existing HDD instance to SSD, or conversely,\nyou can [export the data](/sql/docs/mysql/import-export) from the existing instance and [import\nthe data](/sql/docs/mysql/import-export) into a new instance. Keep in mind that migrating an\nentire instance takes time.\n\nWhat's next\n-----------\n\n[Create an instance with SSD or HDD storage](/sql/docs/mysql/create-instance)."]]