PostgreSQL أولًا، ومتى لا
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
justify a default and the conditions for leaving it.
الموضوعات المخطط لها
- PostgreSQL handles relational data, JSON, full-text, queues, and moderate scale in one operable system.
- Leave it when the workload clearly needs: massive write throughput or horizontal scale, sub-millisecond key lookups (Redis), rich search (OpenSearch), flexible nested documents at scale (MongoDB), deep graph traversal.
- Prove it with evidence (a load test, a query plan that cannot be fixed), not fashion.
- "PostgreSQL is enough" is a valid and frequent ADR outcome.
تفاصيل المخطط المبدئي
عرض عملي
| Need | Choice |
|---|---|
| Orders, payments | PostgreSQL |
| Hot cache, sessions, counters | Redis |
| Full-text with facets | OpenSearch |
| Reviews at high volume, flexible shape | MongoDB, or PostgreSQL if modest |
اختبر فهمك
Name a signal that justifies leaving PostgreSQL.
أظهر الإجابة
Measured load or query needs that tuning and scaling cannot meet.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.