انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهMID-041-L03

المخازن العمودية العريضة

  • الدرس 3 من 6
  • Mid-level
في هذا الدرس 4 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

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

في هذا الدرس

understand tables designed for huge write volume and known queries.

الموضوعات المخطط لها

  • Cassandra, ScyllaDB, HBase: rows are found by a partition key, ordered inside the partition by clustering columns.
  • A table is designed for one query; the same data is duplicated into several tables for several queries.
  • Writes are very fast and scale out; queries without the partition key are not supported or are slow.
  • Consistency is tunable per request; many designs favor availability (see CAP and PACELC).
تفاصيل المخطط المبدئي

عرض عملي

table reviews_by_product(product_id, created_at, review_id, rating) with partition key product_id and clustering created_at DESC: "latest reviews of a product" is one partition read.

اختبر فهمك

Why duplicate data in wide-column?

أظهر الإجابة

Each query needs its own table with the right partition key.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

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

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

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