Re: Help me in reducing the CPU cost for the high cost query below,as it is hitting production seriously!!
В списке pgsql-performance по дате отправления:
| От | pavan95 |
|---|---|
| Тема | Re: Help me in reducing the CPU cost for the high cost query below,as it is hitting production seriously!! |
| Дата | |
| Msg-id | 1527084198212-0.post@n3.nabble.com обсуждение исходный текст |
| Ответ на | Re: Help me in reducing the CPU cost for the high cost query below,as it is hitting production seriously!! (Justin Pryzby <pryzby@telsasoft.com>) |
| Ответы |
Re: Help me in reducing the CPU cost for the high cost query below,as it is hitting production seriously!!
|
| Список | pgsql-performance |
Hi Justin, >How big is the table ? And curract_state_isfinal_app_idx ? >Have these been reindexed (or pg_repacked) recently? The size of the table 'tms_workflow_history' is 7600Kb(which is pretty small). Yes those indexes were dropped and recreated. >It looks like you resolved the bad estimate on the users table? Yeah, even I think the same. Please find the explain plan which got increased again vastly. Is this because of the increase in rows? Link : https://explain.depesz.com/s/Ifr <http://> The above is the explain plan taken from production server. And this is the main plan to tune. Please let me know the where I'm going wrong. Thank you in Advance.!! Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера