- Newest
- Most votes
- Most comments
AWS RDS for Oracle does not natively support Oracle's sharding feature. The sharding mentioned in the AWS documentation refers to application-level sharding, not the native Oracle database sharding.
For large datasets like your customer's 100TB+ database, and to effectively distribute the load, you have a few options:
-
Application-level sharding: This involves implementing sharding logic in your application code. You would need to create multiple RDS Oracle instances and manage the data distribution and query routing at the application level.
-
Use Amazon Aurora: While not Oracle, Aurora is AWS's cloud-native relational database that offers better scalability. Aurora now has a feature called Aurora Limitless Database (currently in preview) which aims to provide managed sharding capabilities.
-
Consider other AWS services: Depending on your specific use case, you might want to explore services like Amazon Redshift for data warehousing, or Amazon DynamoDB for NoSQL workloads that can handle large-scale distributed data.
-
Custom Oracle setup: If Oracle's native sharding feature is absolutely necessary, you might need to consider running Oracle on EC2 instances instead of RDS. This gives you more control but increases management overhead.
-
Vertical scaling: RDS Oracle instances can be scaled up to quite large sizes. This might be sufficient depending on your workload.
-
Read replicas: For read-heavy workloads, you can use RDS read replicas to distribute read operations.
Each of these approaches has its own trade-offs in terms of complexity, management overhead, and compatibility with existing applications. The best choice depends on your specific requirements, including performance needs, data consistency requirements, and application architecture.
It's important to note that implementing sharding, whether at the application level or database level, adds significant complexity to your system. Be sure to thoroughly test any scaling strategy you choose and implement proper operational metrics and monitoring.
Sources
Scale your relational database for SaaS, Part 2: Sharding and routing | AWS Database Blog
Question about AWS RDS sharding | AWS re:Post
RDS for Oracle database architecture - Amazon Relational Database Service
Relevant content
asked a year ago
asked 2 years ago
