Databases · Senior · Question 67 of 75

Long analytics queries on a streaming replica get cancelled with 'conflict with recovery'. Why?

Explanation

max_standby_streaming_delay or hot_standby_feedback reduce cancellations, at the cost of replication delay or bloat on the primary. A separate analytics replica or warehouse is cleaner.

Further reading

Problem with a question

Databases · Senior · question 67

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