Re: mysql to postgresql, performance questions

Поиск
Список
Период
Сортировка
От tv@fuzzy.cz
Тема Re: mysql to postgresql, performance questions
Дата
Msg-id 57784.193.179.187.70.1268923853.squirrel@sq.gransy.com
обсуждение исходный текст
Ответ на mysql to postgresql, performance questions  (Corin <wakathane@gmail.com>)
Список pgsql-performance
I guess we need some more details about the test. Is the
connection/disconnection part of each test iteration? And how are the
databases connected (using a socked / localhost / different host)?

Anyway measuring such simple queries will tell you almost nothing about
the general app performance - use the queries that are used in the
application.

> I also wonder why the reported runtime of 5.847 ms is so much different
> to the runtime reported of my scripts (both php and ruby are almost the
> same). What's the best tool to time queries in postgresql? Can this be
> done from pgadmin?

I doubt there's a 'best tool' to time queries, but I'd vote for logging
from the application itself, as it measures the performance from the end
user view-point (and that's what you're interested in). Just put some
simple logging into the database access layer.

regards
Tomas


В списке pgsql-performance по дате отправления:

Предыдущее
От: Corin
Дата:
Сообщение: mysql to postgresql, performance questions
Следующее
От: Kenneth Marshall
Дата:
Сообщение: Re: mysql to postgresql, performance questions