pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: drop database
Date: Thu, 17 Oct 2019 15:59:22 -0500
Message-ID: <a5e48672-8892-e078-efb4-61f791147147@gmail.com> (raw)
In-Reply-To: <BYAPR08MB5014A67857551E2F06DEE4E0AC6D0@BYAPR08MB5014.namprd08.prod.outlook.com>
References: <BYAPR08MB5014A67857551E2F06DEE4E0AC6D0@BYAPR08MB5014.namprd08.prod.outlook.com>

On 10/17/19 3:44 PM, Julie Nishimura wrote:
> Guys, can anybody reply if they drop any postgresql database larger than 1 
> tb and how long did it take?

A lot has to do with how quickly the underlying file system can delete files.

To be honest, though... *does it really matter* how long it takes?  (If I 
were worried about it -- which I might be -- then I'd put a DROP DATABASE 
script in crontab and run it from there.)

-- 
Angular momentum makes the world go 'round.

view thread (10+ messages)  latest in thread

Message-ID: <a5e48672-8892-e078-efb4-61f791147147@gmail.com>
Permalink:  ../a5e48672-8892-e078-efb4-61f791147147@gmail.com/
Also on:    postgresql.org/message-id/a5e48672-8892-e078-efb4-61f791147147@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: drop database
  In-Reply-To: <a5e48672-8892-e078-efb4-61f791147147@gmail.com>
  References: <BYAPR08MB5014A67857551E2F06DEE4E0AC6D0@BYAPR08MB5014.namprd08.prod.outlook.com> <a5e48672-8892-e078-efb4-61f791147147@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox