- ·Four homes cover almost everything: object storage for files and media, a relational database (Postgres) for records that must be correct, a friendly table tool (Airtable) for small team lists, and a vector store for searching by meaning.أربعة بيوت تكفي كل شيء تقريباً: مخزن الملفات للمستندات والوسائط، وقاعدة بيانات علائقية (Postgres) للسجلات التي يجب أن تكون صحيحة، وأداة جداول سهلة (Airtable) لقوائم الفرق الصغيرة، ومخزن متجهات للبحث بالمعنى.
- ·The matching rule is simple: files go in object storage with only their description in the database; facts that change together go in Postgres; anything a non-technical team manages alone can live in Airtable until it outgrows it.قاعدة المطابقة بسيطة: الملفات في مخزن الملفات ووصفها فقط في قاعدة البيانات؛ والحقائق التي تتغير معاً في Postgres؛ وما يديره فريق غير تقني وحده يمكن أن يعيش في Airtable حتى يكبر عنه.
- ·Every one of these has a self-hostable version, so a regulated company can run the whole map inside its own network.كل واحد من هذه له نسخة تعمل على خوادمكم، فالشركة الخاضعة للتنظيم تستطيع تشغيل الخريطة كلها داخل شبكتها.
Every growing company hits the same wall. The contract is somewhere in email. The customer list is a spreadsheet with five conflicting copies. The scans live in a shared folder nobody dares reorganise. Then someone tries to automate a workflow and discovers the real problem: the data has no proper home. This guide gives you the four homes that cover practically every kind of business data, what belongs in each, and the rule for deciding.كل شركة تنمو تصطدم بالجدار نفسه. العقد في مكان ما داخل البريد. وقائمة العملاء جدول له خمس نسخ متعارضة. والمستندات الممسوحة في مجلد مشترك لا يجرؤ أحد على ترتيبه. ثم يحاول أحدهم أتمتة مسار عمل فيكتشف المشكلة الحقيقية: البيانات بلا بيت صحيح. هذا الدليل يعطيك البيوت الأربعة التي تكفي كل أنواع بيانات الشركات تقريباً، وما الذي يسكن في كل بيت، وقاعدة الاختيار.
The four homesالبيوت الأربعة
How they work together: one invoice, four homesكيف تعمل معاً: فاتورة واحدة في أربعة بيوت
Follow one scanned invoice through a real pipeline. The scan itself (a 4 MB image) goes to object storage. The extracted facts (supplier, amount, date, status) become a row in Postgres, pointing at the scan. A numerical fingerprint of the invoice text goes to the vector store, so next month someone can search "that maintenance invoice from the Jeddah supplier" and find it without remembering any exact word. And the operations team tracks the week's exceptions in an Airtable view fed from Postgres. Four homes, one document, zero copies of the truth.تتبع فاتورة ممسوحة واحدة في منظومة حقيقية. الصورة نفسها (4 ميجابايت) تذهب إلى مخزن الملفات. الحقائق المستخرجة (المورد والمبلغ والتاريخ والحالة) تصبح صفاً في Postgres يشير إلى الصورة. وبصمة رقمية لنص الفاتورة تذهب إلى مخزن المتجهات، ليبحث أحدهم الشهر القادم عن "فاتورة الصيانة من مورد جدة" ويجدها دون أن يتذكر كلمة واحدة بدقة. وفريق العمليات يتابع حالات الأسبوع في عرض Airtable يتغذى من Postgres. أربعة بيوت، ومستند واحد، وصفر نسخ متعارضة من الحقيقة.
The mistakes that cause the messالأخطاء التي تصنع الفوضى
- 1 Files inside the databaseملفات داخل قاعدة البيانات
Storing scans as database blobs bloats backups and slows everything. The file goes to object storage; the database keeps the link.تخزين الصور داخل قاعدة البيانات يضخم النسخ الاحتياطية ويبطئ كل شيء. الملف إلى مخزن الملفات؛ وقاعدة البيانات تحفظ الرابط فقط. - 2 The spreadsheet that became the systemالجدول الذي صار هو النظام
A shared sheet with five editors is not a database: no history, no rules, no single truth. The day two copies disagree about a payment is the day you move it to Postgres.جدول مشترك يعدله خمسة أشخاص ليس قاعدة بيانات: لا تاريخ ولا قواعد ولا حقيقة واحدة. اليوم الذي تختلف فيه نسختان على دفعة هو يوم الانتقال إلى Postgres. - 3 Buying a search problem a database cannot solveشراء مشكلة بحث لا تحلها قاعدة بيانات
Keyword search cannot find 'late delivery penalty' inside a contract that says 'compensation for delayed handover'. That is a meaning problem, and it needs vectors, which our deep dive on vector databases covers in full.البحث بالكلمات لا يجد 'غرامة تأخير التسليم' داخل عقد يقول 'تعويض عن تأخر الاستلام'. هذه مشكلة معنى، وتحتاج المتجهات، وهي موضوع مقالنا المعمّق عن قواعد بيانات المتجهات بالتفصيل.
Every home on this map has a version that runs inside your own network: MinIO for object storage, Postgres with pgvector, and table tools like NocoDB in place of Airtable. If your regulator decides where data lives, the map does not change; only the hosting does.كل بيت في هذه الخريطة له نسخة تعمل داخل شبكتكم: MinIO لمخزن الملفات، وPostgres مع pgvector، وأدوات جداول مثل NocoDB بدل Airtable. إذا كان المنظم يحدد أين تسكن البيانات، فالخريطة لا تتغير؛ الذي يتغير هو مكان التشغيل فقط.