Re: Google Summer of code 2013
От | Stephen Frost |
---|---|
Тема | Re: Google Summer of code 2013 |
Дата | |
Msg-id | 20130415162745.GT4361@tamriel.snowman.net обсуждение исходный текст |
Ответ на | Re: Google Summer of code 2013 ("Karel K. Rozhoň" <karel.rozhon@gmail.com>) |
Список | pgsql-students |
* Karel K. Rozhoň (karel.rozhon@gmail.com) wrote: > Of course I don't see all aspects of this problem, so I cannot tell what should be good for future. But I have done someprofiles of group by select and I believe, parallel calling of some hash procedures could help. There seems to be some confuison here. It's certainly true that *many* (most? all?) pieces of query processing would benefit from parallel execution; there is no debate on that. The issue is that PG is not currently set up to do *any* per-query parallel processing and it is *not* a trival thing to change that. We can talk all day about how wonderful it'd be to do parallel hashing, parallel sorting, etc, but until PG has a way to parallelize query processing, there's really no point to writing code to parallelize individual nodes. > Of course I know, these simply case is only teoretical and in real tables are data much more complicated, but as I cansee, almost 40% of CPU time was computed only one hash function: hash_search_with_hash_value. Improvements to that would be great, but you can't simply call pthread_create() in a PG backend and expect things to work. Thanks, Stephen
Вложения
В списке pgsql-students по дате отправления: