Re: Add min and max execute statement time in pg_stat_statement
От | Rajeev rastogi |
---|---|
Тема | Re: Add min and max execute statement time in pg_stat_statement |
Дата | |
Msg-id | BF2827DCCE55594C8D7A8F7FFD3AB7713DDBDA35@SZXEML508-MBX.china.huawei.com обсуждение исходный текст |
Ответ на | Re: Add min and max execute statement time in pg_stat_statement (KONDO Mitsumasa <kondo.mitsumasa@lab.ntt.co.jp>) |
Ответы |
Re: Add min and max execute statement time in pg_stat_statement
|
Список | pgsql-hackers |
On 28th January, Mitsumasa KONDO wrote: > >>> 2014-01-26 Simon Riggs <simon@2ndquadrant.com > >>> <mailto:simon@2ndquadrant.com>> > >>> > >>> On 21 January 2014 19:48, Simon Riggs <simon@2ndquadrant.com > >>> <mailto:simon@2ndquadrant.com>> wrote: > >>> > On 21 January 2014 12:54, KONDO Mitsumasa > >> <kondo.mitsumasa@lab.ntt.co.jp > >>> <mailto:kondo.mitsumasa@lab.ntt.co.jp>> wrote: > >>> >> Rebased patch is attached. > >>> > > >>> > Does this fix the Windows bug reported by Kumar on > 20/11/2013 ? > >> Sorry, I was misunderstanding. First name of Mr. Rajeev Rastogi is > >> Kumar! I searched only e-mail address and title by his name... > >> > >> I don't have windows compiler enviroment, but attached patch might > be > >> fixed. > >> Could I ask Mr. Rajeev Rastogi to test my patch again? > > > > I tried to test this but I could not apply the patch on latest git > HEAD. > > This may be because of recent patch (related to pg_stat_statement > only > > "pg_stat_statements external query text storage "), which got > > committed on 27th January. > Thank you for trying to test my patch. As you say, recently commit > changes pg_stat_statements.c a lot. So I have to revise my patch. > Please wait for a while. > > By the way, latest pg_stat_statement might affect performance in > Windows system. > Because it uses fflush() system call every creating new entry in > pg_stat_statements, and it calls many fread() to warm file cache. It > works well in Linux system, but I'm not sure in Windows system. If you > have time, could you test it on your Windows system? If it affects > perfomance a lot, we can still change it. No Issue, you can share me the test cases, I will take the performance report. Thanks and Regards, Kumar Rajeev Rastogi
В списке pgsql-hackers по дате отправления: