ઉચ્ચ ઉપલબ્ધતા (HA) એટલે ડેટાબેસને ઉપલબ્ધ રાખવું ભલે નિષ્ફળતા સર્જે — રેપ્લિકેશન (standby replicas), આપોઆપ failover (જ્યારે primary નિષ્ફળ થાય ત્યારે replica ને પ્રોમોટ કરવું), અને યોગ્ય આર્કિટેક્ચર દ્વારા. લક્ષ્ય: ડાઉનટાઇમ અને ડેટા નુકશાન ઘટાડવું, કારણ કે ડેટાબેસ આઉટેજ આખી એપ્લિકેશન બંધ કરી દે છે.
ভিત્તિ: રેપ્લિકેશન + આપોઆપ 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.
