Dynamic shared memory
Dynamically created shared memory segments (DSM), DSA areas and dshash tables. Introduced in PostgreSQL 9.4.
Threads
- PoC: VALGRIND_MAKE_MEM_NOACCESS for dynamic shared memory
- BUG #19416: Backend SIGSEGV in ExecShutdownHashJoin/ExecHashTableDetach/dsa_free
- dshash_find_or_insert vs. OOM
- [BUG + PATCH] DSA pagemap out-of-bounds in make_new_segment odd-sized path
- Dynamic shared memory areas
- fix misspelling of "tranche" in dsa.h
- Crash: invalid DSA memory alloc request
- Making the initial and maximum DSA segment sizes configurable
- cleanup patches for dshash
- DSA_ALLOC_NO_OOM doesn't work
- margay fails assertion in stats/dsa/dsm code
- Integer undeflow in fprintf in dsa.c
- BUG #18341: SIGBUS with > 4GB DSM and 'dynamic_shared_memory_type = mmap'
- Question on LWLockMode in dsa.c
- BUG #18165: Could not duplicate handle for "Global/PostgreSQL.xxxxxxxxxx": Bad file descriptor
- DSA failed to allocate memory
- pgsql: dshash: Add sequential scan support.
- pg15b1: FailedAssertion("val > base", File: "...src/include/utils/relptr.h", Line: 67, PID: 30485)
- ERROR: too many dynamic shared memory segment
- Fast DSM segments
- BUG #16254: SQL raises error dsa_allocate could not find 4 free pages
- More DSM slot exhaustion bugs
- Copy data to DSA area
- Shared memory leak on DSM slot exhaustion
- Tweaking DSM and DSA limits
- ERROR: could not resize shared memory segment...No space left on device
- shared tempfile was not removed on statement_timeout (unreproducible)
- BUG #15585: infinite DynamicSharedMemoryControlLock waiting in parallel query
- BUG #15749: ERROR: dsa_area could not attach to segment | FATAL: cannot unpin a segment that is not pinned
- BUG #15721: FATAL: dsa_allocate could not find 97 free pages
- Re: dsa_allocate() faliure
- REL_11_STABLE: dsm.c - cannot unpin a segment that is not pinned
- pg11.1: dsa_area could not attach to segment
- dsa_allocate() faliure
- DSM segment handle generation in background workers
- Number of buckets/partitions of dshash
- Strange failure in LWLock on skink in REL9_5_STABLE
- Missing const in DSA.
- Size and size_t in dsa API
- infinite loop in parallel hash joins / DSA / get_best_segment
- [PATCH] Fix for infinite signal loop in parallel scan
- Let's remove DSM_INPL_NONE.
- [sqlsmith] Unpinning error in parallel worker
- BUG #15041: dsa alloc_object null pointer
- dsa_allocate could not find 4 free pages
- Error: dsa_area could not attach to a segment that has been freed
- Server crash due to SIGBUS(Bus Error) when trying to access the memory created using dsm_create().
- Regarding Postgres Dynamic Shared Memory (DSA)
- Hash tables in dynamic shared memory
- pgsql: Add new function dsa_allocate0.
- Creating a DSA area to provide work space for parallel execution
- dsm_unpin_segment
- dynamic shared memory