Re: Heavy write activity on first vacuum of fresh TOAST data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-12-13 at 09:46 -0600, Kevin Grittner wrote:
 
> The data was inserted through a Java program using a prepared
> statement with no indexes on the table.  The primary key was then
> added, and now I've started a vacuum.  The new table wound up being
> the first big table vacuumed, and I noticed something odd.  Even
> though there have been no rollbacks, updates, or deletes on this
> table, the vacuum is writing as much as it is reading while dealing
> with the TOAST data.

Writing hint bits. Annoying isn't it? :-(

-- 
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux