Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

README

  • Tom Lane's avatar
    cbabf50d
    Avoid deadlocks during insertion into SP-GiST indexes. · cbabf50d
    Tom Lane authored
    SP-GiST's original scheme for avoiding deadlocks during concurrent index
    insertions doesn't work, as per report from Hailong Li, and there isn't any
    evident way to make it work completely.  We could possibly lock individual
    inner tuples instead of their whole pages, but preliminary experimentation
    suggests that the performance penalty would be huge.  Instead, if we fail
    to get a buffer lock while descending the tree, just restart the tree
    descent altogether.  We keep the old tuple positioning rules, though, in
    hopes of reducing the number of cases where this can happen.
    
    Teodor Sigaev, somewhat edited by Tom Lane
    cbabf50d
    History
    Avoid deadlocks during insertion into SP-GiST indexes.
    Tom Lane authored
    SP-GiST's original scheme for avoiding deadlocks during concurrent index
    insertions doesn't work, as per report from Hailong Li, and there isn't any
    evident way to make it work completely.  We could possibly lock individual
    inner tuples instead of their whole pages, but preliminary experimentation
    suggests that the performance penalty would be huge.  Instead, if we fail
    to get a buffer lock while descending the tree, just restart the tree
    descent altogether.  We keep the old tuple positioning rules, though, in
    hopes of reducing the number of cases where this can happen.
    
    Teodor Sigaev, somewhat edited by Tom Lane