| От | Tomas Vondra |
|---|---|
| Тема | Re: pg_restore takes more time on creation of rules |
| Дата | |
| Msg-id | 20190522170051.nqsjbl26qsdct66j@development обсуждение исходный текст |
| Ответ на | Re: pg_restore takes more time on creation of rules (Mariel Cherkassky <mariel.cherkassky@gmail.com>) |
| Список | pgsql-performance |
On Wed, May 22, 2019 at 06:44:29PM +0300, Mariel Cherkassky wrote: >By rules I mean DB rules (simillar to triggers but different) > I very much doubt such high number of rules was expected during the design (especially if it's on a single table), so perhaps there's an O(N^2) piece of code somewhere. I suggest you do a bit of profiling, for example using perf [1], which would show where the time is spent. [1] https://wiki.postgresql.org/wiki/Profiling_with_perf And please stop top-posting, it makes it much harder to follow the discussion. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера