انتقل إلى المحتوى
أمين أبوزيد
ARC-016

معمارية قواعد البيانات

  • 6 درس
  • 3.5 ساعة تدريب (تقدير)
في هذه الصفحة 9 موضوعات

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

نظرة عامة

الموضوعات

  • SQL المُدار
  • NoSQL
  • التخزين المؤقت (Caching)
  • النسخ المتماثل (Replication)
  • التعافي من الكوارث (DR)

تعلّم أولًا

3.5 ساعة تدريب (تقدير)

مخرجات التعلم

  1. Select managed relational, NoSQL, cache, and search services per workload.
  2. Design replication, read scaling, and failover for each data store.
  3. Define backup, point-in-time recovery, and disaster recovery for data stores.
  4. Plan data migration from on-premises databases.

الدروس

  1. 01قواعد البيانات المُدارة: ما الذي ما زلت مسؤولًا عنه
  2. 02اختيار مخازن البيانات حسب حمل العمل
  3. 03النسخ المتماثل وتوسيع القراءة والتحويل عند الفشل
  4. 04النسخ الاحتياطي وPITR والتعافي من الكوارث للبيانات
  5. 05ترحيل قواعد البيانات إلى السحابة
  6. 06عرض عملي: مخازن بيانات Larkspur وتصميم التحويل عند الفشل

المختبر والتمارين

Lab

ARC-016-LAB1 · Larkspur data platform

Outcomes: 1–4 · Time: ~3.5 h

  1. List Larkspur data workloads and their access patterns and consistency needs.
  2. Choose a data store per workload and name the source of truth.
  3. Design replication, read scaling, and failover per store.
  4. Define backup, PITR window, RPO, and RTO per store and compare with requirements.
  5. Write the migration approach for the current web shop database (method, cutover plan, rollback).

Acceptance: each store's RPO/RTO meets requirements or the gap is flagged.

Exercises (case-based; six exercises)

IDOutcomeTask
ARC-016-EX011Choose a store for carts, orders, product search, and a catalog read cache; justify each.
ARC-016-EX021List what Larkspur still owns after adopting a managed relational database.
ARC-016-EX032The reporting queries slow the order database. Propose a design and its staleness trade-off.
ARC-016-EX042Explain the difference between a multi-AZ standby and a read replica, with an example failure of each.
ARC-016-EX053A developer deleted rows at 14:05. Describe how to recover and what RPO the design gives.
ARC-016-EX064Outline a migration plan for the web shop database with 200 GB, a nightly low-traffic window, and a four-hour downtime limit.
أظهر الحلول
  • EX01 Carts: key-value/document (simple, fast); orders: relational (transactions); search: managed search fed from the catalog; cache: in-memory cache, source of truth stays relational.
  • EX02 Schema, indexes and queries, sizing, access and encryption, monitoring, restore testing, upgrade planning, cost.
  • EX03 Add a read replica for reporting; accept replication lag of seconds to minutes; reports must tolerate stale data.
  • EX04 Standby: survives zone failure with automatic failover, no extra read capacity. Replica: serves reads, may lag, promotion is a manual or scripted step.
  • EX05 PITR to 14:04 into a new instance, copy back the rows, or switch with care; RPO is minutes, bounded by the log retention and backup configuration.
  • EX06 Replicate continuously from on-premises, validate, rehearse, freeze writes in the window, final sync, switch connection, keep the old database read-only as the rollback; downtime minutes, within four hours.

Workplace evidence: a data platform design you led to production.

Outcome coverage: all outcomes covered by exercises and the lab.

الاختبار

Outcomes: O1 select stores · O2 replication and failover · O3 backup, PITR, DR · O4 migration.

اختبار ذاتي لك: لا توجد درجات، ولا يُحفظ أو يُرسل أي شيء. اختر إجابة ثم تحقق منها، ويمكنك المحاولة مرة أخرى كما تشاء.

  1. 1With a managed relational database, the customer still owns:O1
  2. 2Which is a source of truth?O1
  3. 3One database for every workload is:O1
  4. 4A multi-AZ synchronous standby mainly provides:O2
  5. 5Read replicas may:O2
  6. 6After failover, applications should:O2
  7. 7PITR lets you:O3
  8. 8RPO describes:O3
  9. 9Replication-based migration is chosen mainly for:O4
  10. 10Before cutover you should have:O4

الجزء العملي

Design review of the ARC-016-LAB1 data platform plus exercises ARC-016-EX01 to EX06. Pass: quiz at least 8/10, at least five of six exercises correct, and each store's RPO/RTO either meeting requirements or flagged as a gap.

أخطاء شائعة

One database for everything; assuming managed means automatic DR.

التقييم

Design review.

دليل من بيئة العمل

A data platform design you led to production.

الصلة بالمسار الوظيفي

Data architecture (ARC-023).

اكتب للبحث في المستويات والمراحل والوحدات والدروس.