Dynamlically updating the estimated cost of a transaction

Поиск
Список
Период
Сортировка
От Hasini Gunasinghe
Тема Dynamlically updating the estimated cost of a transaction
Дата
Msg-id 3043811e0912071907l254a9410u82b9e265969e59d5@mail.gmail.com
обсуждение исходный текст
Ответы Re: Dynamlically updating the estimated cost of a transaction  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-performance
Hi,

I am looking for a way to let the user know what the estimated time for the current transaction he requested and while the transaction is in progress, how much time is elapsed for the transaction  as a fraction of the total estimated time at a particular instance, by dynamically estimating the time for the transaction at that instance.

I got to know how Prostgre estimates the cost for a particular operation. Does estimated cost means the estimated time to evaluate an operation in the context of Postgre? And also may I know if there is any way to achieve the requirement I mentioned above, with the Postgre SQL?

I would be very much thankful for your suggestions as I am doing a research project to implement a mechanism to achieve the above mentioned task.

Thank you.

regards,
Hasini.

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: performance penalty between Postgresql 8.3.8 and 8.4.1
Следующее
От: Robert Haas
Дата:
Сообщение: Re: performance penalty between Postgresql 8.3.8 and 8.4.1