Parallel threads in query
От | Darafei "Komяpa" Praliaskouski |
---|---|
Тема | Parallel threads in query |
Дата | |
Msg-id | CAC8Q8tKNO3pQguAEL8mXw8RdUMZ95T+BwTEozybOqTPKConEiA@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Parallel threads in query
Re: Parallel threads in query Re: Parallel threads in query |
Список | pgsql-hackers |
Hi,
-- I've tried porting some of PostGIS algorithms to utilize multiple cores via OpenMP to return faster.
Question is, what's the best policy to allocate cores so we can play nice with rest of postgres?
What I'd like to see is some function that I can call and get a number of threads I'm allowed to run, that will also advise rest of postgres to not use them, and a function to return the cores back (or do it automatically at the end of query). Is there an infrastructure for that?
Darafei Praliaskouski
Support me: http://patreon.com/komzpa
Support me: http://patreon.com/komzpa
В списке pgsql-hackers по дате отправления: