Perl/DBI vs Native
От | Valentin Bogdanov |
---|---|
Тема | Perl/DBI vs Native |
Дата | |
Msg-id | 768129.60859.qm@web25802.mail.ukl.yahoo.com обсуждение исходный текст |
Ответы |
Re: Perl/DBI vs Native
Re: Perl/DBI vs Native Re: Perl/DBI vs Native |
Список | pgsql-performance |
Hi, I have ran quite a few tests comparing how long a query takes to execute from Perl/DBI as compared to psql/pqlib. No matterhow many times I run the test the results were always the same. I run a SELECT all on a fairly big table and enabled the log_min_duration_statement option. With psql postgres consistentlylogs half a second while the exact same query executed with Perl/DBI takes again consistently 2 seconds. If I were timing the applications I would have been too much surprised by these results, obviously, processing with Perlwould be slower than a native application. But it's the postmaster that gives these results. Could it be because theDBI module is slower at assimilating the data? Any light on the subject would be greatly appreciated. Regards, Val __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
В списке pgsql-performance по дате отправления: