detect bad trigger (parallel, cost, executed each time, ...)
detect multiple update of the same row (SQL)
detect bad index usage (compare WHERE close with index, menu_set_date vs menu_get_date ?)
The source of data are stored in log files (parsed like a CSV by efik in a streaming mode) -> we should be able to parse multiple gigabyte of log files.
Idea: Possibility to start a global BEGIN transaction and replay a request to see the progression between each optimizations?
Draw an HTML admin page for EFIK which provide this feature.
https://www.postgresql.org/docs/14/auto-explain.html
TODO
Find how we activate this debug mode? In debug mode, we log all request like without {{PRINT}}???