

# PERF03-BP01 使用最能滿足資料存取和儲存需求的專用資料存放區
<a name="perf_data_use_purpose_built_data_store"></a>

 了解資料特性 (例如可共用、大小、快取大小、存取模式、延遲、輸送量和資料的持續性)，為工作負載選擇適合的專用資料存放區 (儲存或資料庫)。

 **常見的反模式：**
+  由於具備某種特定類型資料庫解決方案的內部經驗和知識，您堅持使用某個資料存取區。
+  您假設所有工作負載都有類似的資料儲存和存取需求。
+  您未實作資料目錄以清查資料資產。

 **建立此最佳實務的優勢：**了解資料特性和需求，可協助您判斷能滿足工作負載需求的最有效率且效能最高的儲存技術。

 **未建立此最佳實務時的曝險等級：**高 

## 實作指引
<a name="implementation-guidance"></a>

 選取和實作資料儲存時，請確定查詢、擴展和儲存特性支援工作負載資料需求。AWS 提供多種資料儲存和資料庫技術，包括區塊儲存、物件儲存、串流儲存、檔案系統、關聯式、鍵值、文件、記憶體內、圖形、時間序列和總帳資料庫。每個資料管理解決方案都有為您提供的選項和組態，以支援您的使用案例和資料模型。透過了解資料特性和需求，您可以擺脫整體式儲存技術和限制性、一刀切的方法，以專注於適當地管理資料。

### 實作步驟
<a name="implementation-steps"></a>
+  對您工作負載現有的各種資料類型執行清查。
+  了解並記錄資料特性和需求，包括：
  +  資料類型 (非結構化、半結構化、關聯式) 
  +  資料量與成長 
  +  資料耐用性：持續性、暫時性、臨時 
  +  ACID (原子性、一致性、隔離性、耐久性) 要求 
  +  資料存取模式 (大量讀取或大量寫入) 
  +  延遲 
  +  輸送量 
  +  IOPS (每秒輸入/輸出操作次數) 
  +  資料保留期間 
+  了解 AWS 上可用於工作負載的不同資料存放區 ([儲存體](https://docs.aws.amazon.com/whitepapers/latest/aws-overview/storage-services.html)和[資料庫](https://docs.aws.amazon.com/whitepapers/latest/aws-overview/database.html)服務)，這些資料存放區可以滿足資料特性，詳情請參閱 [PERF01-BP01 了解並理解可用的雲端服務和功能](perf_architecture_understand_cloud_services_and_features.md)。AWS 儲存技術及其重要特性的一些範例包含：    
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/wellarchitected/latest/performance-efficiency-pillar/perf_data_use_purpose_built_data_store.html)
+  如果您要建置資料平台，請利用 AWS 上的[現代資料架構](https://aws.amazon.com/big-data/datalakes-and-analytics/modern-data-architecture/)來整合資料湖、資料倉儲和專用資料存放區。
+  為工作負載選擇資料存放區時，需要考慮的關鍵問題如下：    
[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/wellarchitected/latest/performance-efficiency-pillar/perf_data_use_purpose_built_data_store.html)
+  在非生產環境中執行實驗和基準測試，以確定哪個資料存放區最能滿足您的工作負載需求。

## 資源
<a name="resources"></a>

 **相關文件：**
+  [Amazon EBS 磁碟區類型](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) 
+  [Amazon EC2 儲存](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Storage.html) 
+  [Amazon EFS：Amazon EFS 效能](https://docs.aws.amazon.com/efs/latest/ug/performance.html) 
+  [Amazon FSx for Lustre 效能](https://docs.aws.amazon.com/fsx/latest/LustreGuide/performance.html) 
+  [Amazon FSx for Windows File Server 效能](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/performance.html) 
+  [Amazon Glacier：Amazon Glacier 文件](https://docs.aws.amazon.com/amazonglacier/latest/dev/introduction.html) 
+  [Amazon S3：請求率和效能考量](https://docs.aws.amazon.com/AmazonS3/latest/dev/request-rate-perf-considerations.html) 
+  [AWS 的雲端儲存](https://aws.amazon.com/products/storage/) 
+  [Amazon EBS I/O 特性](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-io-characteristics.html) 
+  [ 的雲端資料庫AWS](https://aws.amazon.com/products/databases/?ref=wellarchitected) 
+  [AWS 資料庫快取](https://aws.amazon.com/caching/database-caching/?ref=wellarchitected) 
+  [DynamoDB Accelerator](https://aws.amazon.com/dynamodb/dax/?ref=wellarchitected) 
+  [Amazon Aurora 最佳實務](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.BestPractices.html?ref=wellarchitected) 
+  [Amazon Redshift 效能](https://docs.aws.amazon.com/redshift/latest/dg/c_challenges_achieving_high_performance_queries.html?ref=wellarchitected) 
+  [Amazon Athena 10 大效能秘訣](https://aws.amazon.com/blogs/big-data/top-10-performance-tuning-tips-for-amazon-athena/?ref=wellarchitected) 
+  [Amazon Redshift Spectrum 最佳實務](https://aws.amazon.com/blogs/big-data/10-best-practices-for-amazon-redshift-spectrum/?ref=wellarchitected) 
+  [Amazon DynamoDB 最佳實務](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/BestPractices.html?ref=wellarchitected) 
+  [在 Amazon EC2 和 Amazon RDS 之間進行選擇](https://docs.aws.amazon.com/prescriptive-guidance/latest/migration-sql-server/comparison.html) 
+ [實作 Amazon ElastiCache 的最佳實務](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/BestPractices.html)

 **相關影片：**
+  [AWS re:Invent 2023：提高 Amazon Elastic Block Store 效率並更具成本效益](https://www.youtube.com/watch?v=7-CB02rqiuw) 
+  [AWS re:Invent 2023：使用 Amazon Simple Storage Service 最佳化儲存價格和效能](https://www.youtube.com/watch?v=RxgYNrXPOLw) 
+  [AWS re:Invent 2023：在 Amazon Simple Storage Service 上建置和最佳化資料湖](https://www.youtube.com/watch?v=mpQa_Zm1xW8) 
+  [AWS re:Invent 2022：在 AWS 上建置現代資料架構](https://www.youtube.com/watch?v=Uk2CqEt5f0o) 
+  [AWS re:Invent 2022：在 AWS 上建置資料網格架構](https://www.youtube.com/watch?v=nGRvlobeM_U) 
+  [AWS re:Invent 2023：深入探索 Amazon Aurora 及其創新](https://www.youtube.com/watch?v=je6GCOZ22lI) 
+  [AWS re:Invent 2023：使用 Amazon DynamoDB 的進階資料建模](https://www.youtube.com/watch?v=PVUofrFiS_A) 
+ [AWS re:Invent 2022：使用專用資料庫將應用程式現代化](https://www.youtube.com/watch?v=V-DiplATdi0)
+ [深入探討 Amazon DynamoDB：進階設計模式](https://www.youtube.com/watch?v=6yqfmXiZTlM)

 **相關範例：**
+  [AWS 專用資料庫研討會](https://catalog.us-east-1.prod.workshops.aws/workshops/93f64257-52be-4c12-a95b-c0a1ff3b7e2b/en-US) 
+  [專為開發人員打造的資料庫](https://catalog.workshops.aws/db4devs/en-US) 
+  [AWS 現代資料架構 Immersion Day](https://catalog.us-east-1.prod.workshops.aws/workshops/32f3e732-d67d-4c63-b967-c8c5eabd9ebf/en-US) 
+  [在 AWS 上建置資料網格](https://catalog.us-east-1.prod.workshops.aws/workshops/23e6326b-58ee-4ab0-9bc7-3c8d730eb851/en-US) 
+  [ Amazon S3 範例](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/s3-examples.html) 
+  [使用 Amazon Redshift 資料共用來最佳化資料模式](https://wellarchitectedlabs.com/sustainability/300_labs/300_optimize_data_pattern_using_redshift_data_sharing/) 
+  [資料庫遷移](https://github.com/aws-samples/aws-database-migration-samples) 
+  [MS SQL Server - AWS Database Migration Service (AWS DMS) 複寫示範](https://github.com/aws-samples/aws-dms-sql-server) 
+  [資料庫現代化實際操作研討會](https://github.com/aws-samples/amazon-rds-purpose-built-workshop) 
+  [Amazon Neptune 範例](https://github.com/aws-samples/amazon-neptune-samples) 