| От | Craig Ringer |
|---|---|
| Тема | Re: How to find the query completeion time? |
| Дата | |
| Msg-id | 49D4EBFE.7060707@postnewspapers.com.au обсуждение исходный текст |
| Ответ на | Re: How to find the query completeion time? (SHARMILA JOTHIRAJAH <sharmi_jo@yahoo.com>) |
| Список | pgsql-general |
> In ORACLE I can get that information from V$SESSION_LONGOPS view which will give the approx TIME_REMAINING to completerunning queries. Is there a similar way in postgres? As far as I know, PostgreSQL has no such facility, and the database server has no idea how long a given query will take to run. I'm not really sure how Oracle does that, given that the performance of a long-running query will vary during its execution. Other queries will begin and end, altering resource availability. Also, if your query runs in several large parts, it can be hard to estimate how quickly parts you haven't started executing yet will run. -- Craig Ringer
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера