Re: DBD::Pg performance bites compared to DBD::mysql?
От | Greg Stark |
---|---|
Тема | Re: DBD::Pg performance bites compared to DBD::mysql? |
Дата | |
Msg-id | 87ekbhk05w.fsf@stark.xeocode.com обсуждение исходный текст |
Ответ на | DBD::Pg performance bites compared to DBD::mysql? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: DBD::Pg performance bites compared to DBD::mysql?
Re: DBD::Pg performance bites compared to DBD::mysql? |
Список | pgsql-interfaces |
Tom Lane <tgl@sss.pgh.pa.us> writes: > I'm not any kind of Perl module guru, but it looks to me like the > explanation for the discrepancy is that much of DBD::mysql is written > in C while the equivalent code in DBD::Pg is written in Perl. This is > killing us for any app written in Perl :-( --- the above trace only > shows a factor of 2 total penalty, but I've seen up to a factor of 4 in > other cases. There is no way that a client-side driver should be taking > several times longer than the backend to process a SQL command :-( What version of DBD::Pg did you test with? Development was pretty moribund for a while but has picked up recently, just in time for 8.0 and the new binary prepared query support. Incidentally, the DBD::Pg mailing list is dbdpg-general@gborg.postgresql.org -- greg
В списке pgsql-interfaces по дате отправления: