title: What is the fastest way to rebuild PostgreSQL statistics from zero/scratch with ANALYZE?
body: <p>I have a PostgreSQL v10 database with a size of about 100GB.</p>
  
  <p>What is the most efficient (fastest) way to rebuild statistics, for example after a major version upgrade?</p>
  
  <p><code>ANALYZE</code> with no parameters updates statistics for then entire database by default &mdash; it's painfully slow! This seems like a single process.</p>
  
  <p>Is there any way to parallelize this to speed it up?</p>