A company is planning to migrate a legacy financial application to Azure. The application's database relies heavily on traditional relational features, including strict schema enforcement, foreign key constraints, and complex multi-table joins. A developer suggests migrating this database directly to Azure Cosmos DB using the SQL API. Why is Azure Cosmos DB with the SQL API unsuitable for this workload without a major redesign of the database?
- AAzure Cosmos DB is a relational database that requires all data to be stored in structured tables, but it does not support SQL-based query syntax.
- BAzure Cosmos DB requires the customer to manually apply operating system patches and configure the database engine, leading to excessive administrative overhead.
- Azure Cosmos DB is a non-relational database designed for schema-agnostic document storage, meaning it does not natively enforce relational database features like foreign key constraints or complex multi-table joins.Cevap
- DAzure Cosmos DB is a Software as a Service (SaaS) offering designed only for end-user productivity, meaning it cannot host custom database schemas or integrate with custom web applications.
Cevap
Azure Cosmos DB is a non-relational database designed for schema-agnostic document storage, meaning it does not natively enforce relational database features like foreign key constraints or complex multi-table joins.
The correct answer explains that Azure Cosmos DB is a non-relational (NoSQL) database engine. Because it is designed for horizontal scale and schema-agnostic document storage, it does not natively enforce relational database behaviors like foreign keys or complex multi-table joins. Transitioning a traditional relational database workload to Cosmos DB SQL API without redesigning the data model is not possible.
Adım Adım Çözüm
Anahtar Kavram
Azure Cosmos DB is a fully managed NoSQL (non-relational) database service. Despite offering a SQL API, it does not support traditional relational database features such as foreign keys or multi-table joins natively.
Tahmini Süre:2m 0s