EXPLAIN stored procedures
EXPLAIN stored procedures
От:
Jinhua Luo <luajit.io@gmail.com>
Дата:
Normally, EXPLAIN do not include the commands by stored procedures, e.g. aggregated function, trigger, correct? So how to review the plan by those extensions?
Re: EXPLAIN stored procedures
От:
Andrew Gierth <andrew@tao11.riddles.org.uk>
Дата:
>>>>> "Jinhua" == Jinhua Luo writes: Jinhua> Normally, EXPLAIN do not include the commands by stored Jinhua> procedures, e.g. aggregated function, trigger, correct? Jinhua> So how to review the plan by those extensions? auto_explain with its log_nested_statements option -- Andrew (irc:RhodiumToad)