title: PostgreSQL statistics issue - could not rename temporary statistics file
body: <p>I am running PotgreSQL 9.4 on Windows, and constantly get the error,</p>
  
  <pre><code>2015-06-15 09:35:36 EDT LOG could not rename temporary statistics file "pg_stat_tmp/global.tmp" to "pg_stat_tmp/global.stat": Permission denied 
  </code></pre>
  
  <p>I also see constant 200-800k writes to global.stat and global.tmp.  I have seen other users with the same issue, but no solution.
  It is a big database server, with 300g of data, and 6,000 databases.</p>
  
  <p>I tried setting,</p>
  
  <pre><code>track_activities=off
  </code></pre>
  
  <p>In the config file, but it did not seem to have any affect.</p>
  
  <p>Any help for the error, or reducing the write?</p>