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 matter how 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 consistently logs 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 Perl would be slower than a native
application. But it's the postmaster that gives these results. Could it be
because the DBI 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
--
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance