Re: Delete huge Table under XFS - Mailing list pgsql-performance

From Christoph Berg
Subject Re: Delete huge Table under XFS
Date
Msg-id 20190919172713.GA6865@msg.df7cb.de
Whole thread Raw
In response to Re: Delete huge Table under XFS  (Joao Junior <jcoj2006@gmail.com>)
List pgsql-performance
Re: Joao Junior 2019-09-19 <CABnPa_hdHsdypn7HtXU81B9HcrVcimotnwfzE-MWwO1etWYJzA@mail.gmail.com>
> A table with 800 gb means 800 files of 1 gb. When I use truncate or drop
> table,  xfs that is a log based filesystem,  will write lots of data in its
> log and this is the problem. The problem is not postgres, it is the way
> that xfs works with big files , or being more clear, the way that it
> handles lots of files.

Why is the runtime of a DROP TABLE command important? Is anything
waiting for it?

Christoph



pgsql-performance by date:

Previous
From: Michael Lewis
Date:
Subject: Re: Slow query on a one-tuple table
Next
From: Luís Roberto Weck
Date:
Subject: Re: Slow query on a one-tuple table