hardStudy question · answer published in PostgreSQL interview questions, so no pointsreliabilitytimeoutsdatabases
Queries keep running after the client quits
An app sets a 3-second client timeout on reports. After timeouts, the slow queries keep running in PostgreSQL for minutes, holding locks and CPU. What should be added?
Discussion 0
Join free to post in the discussion.
Related questions
- Building SQL from user inputBackend Developer
- What atomicity guaranteesBackend Developer
- WHERE column = NULL finds nothingBackend Developer
- COUNT(*) versus COUNT(column)Backend Developer
- Column type for pricesBackend Developer
- Storing order times for two countriesBackend Developer
- Students and courses table designBackend Developer
- What a foreign key doesBackend Developer