Databases · Senior · Question 69 of 75

Right after a database failover, latency spikes even though the new primary has the same hardware. What's a likely cause?

Explanation

Replicas serving reads stay warmer. Extensions like pg_prewarm can load important tables and indexes into memory ahead of time.

Further reading

Problem with a question

Databases · Senior · question 69

Test yourself

Take the Databases · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz