git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0c504a8) | patch
Use atomic ops to hand out pages to scan in parallel scan.
2017年8月16日 13:18:41 +0000 (16:18 +0300)
2017年8月16日 13:18:41 +0000 (16:18 +0300)
commit 3cda10f41bfed7e34b0db7013b66dd40a5f75926
Use atomic ops to hand out pages to scan in parallel scan.

With a lot of CPUs, the spinlock that protects the current scan location
in a parallel scan can become a bottleneck. Use an atomic fetch-and-add
instruction instead.

David Rowley

Discussion: https://www.postgresql.org/message-id/CAKJS1f9tgsPhqBcoPjv9_KUPZvTLCZ4jy%3DB%3DbhqgaKn7cYzm-w@mail.gmail.com
src/backend/access/heap/heapam.c diff | blob | blame | history
src/include/access/relscan.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /