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

commands

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    the table being analyzed.  This prevents two ANALYZEs from running
    concurrently on the same table and possibly suffering concurrent-update
    failures while trying to store their results into pg_statistic.  The
    downside is that a database-wide ANALYZE executed within a transaction
    block will hold ShareUpdateExclusiveLock on many tables simultaneously,
    which could lead to concurrency issues or even deadlock against another
    such ANALYZE.  However, this seems a corner case of less importance
    than getting unexpected errors from a foreground ANALYZE when autovacuum
    elects to analyze the same table concurrently.  Per discussion.
    da7540b9
    History
    Name Last commit Last update
    ..