উচ্চ প্রাপ্যতা (HA) মানে ব্যর্থতা ঘটলেও ডাটাবেস উপলব্ধ রাখা — replication (standby replicas)-এর মাধ্যমে, automatic failover (প্রাথমিক ব্যর্থ হলে replica প্রচার করা), এবং যথাযথ স্থাপত্যের মাধ্যমে। লক্ষ্য: downtime এবং ডাটা ক্ষতি কমানো, কারণ ডাটাবেস বিঘ্ন পুরো অ্যাপ্লিকেশন নিয়ে যায়।
ভিত্তি: replication + automatic failover
Primary ──(streaming replication)──▶ Standby replica(s)
If the PRIMARY fails:
→ a STANDBY is automatically PROMOTED to become the new primary (FAILOVER)
→ the application reconnects to the new primary → minimal downtime
→ Without HA, a primary failure = total database outage = application down.
