Databases · Middle · Question 73 of 75

What does statement_timeout protect against?

Explanation

Set it per role or per session for web traffic, e.g. a few seconds. idle_in_transaction_session_timeout handles forgotten open transactions.

Further reading

Problem with a question

Databases · Middle · question 73

Test yourself

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

Take this quiz