Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLCrt-00063m-2A for pgsql-general@arkaria.postgresql.org; Thu, 17 Oct 2019 20:59:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iLCrr-0006y6-RL for pgsql-general@arkaria.postgresql.org; Thu, 17 Oct 2019 20:59:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLCrr-0006xz-F6 for pgsql-general@lists.postgresql.org; Thu, 17 Oct 2019 20:59:31 +0000 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iLCrn-0002XK-Do for pgsql-general@lists.postgresql.org; Thu, 17 Oct 2019 20:59:31 +0000 Received: by mail-oi1-x22b.google.com with SMTP id k10so1086555oij.5 for ; Thu, 17 Oct 2019 13:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=dcxUy30qwBWmn5ER47nEQasLtjgdyLkNo2t2Dbd9ZBg=; b=okHx7+nIBH2+tK3ev3A21KkoxTowklBPAEd8tMcaEV1VT+cw2wd7jCujBhGRAjPlmL 80GqUGKITnKjfVm8OZnXUJmyWMhNueW64AwvbrPdIx9JIAqhngnp5l/kekmbi/sxwJ5F nR01KCBpC/STgoXWquwTUyjX0otSyRtUS9WiFxBAsPaJruBHHCyQJb9U+aZzWAViC8ws AoLBTy+jyjMyZ0xqybdfynFisBF5kBIbj+0eHF/pe8DMJa84sSM3ocAvfU5uygeCMQBc Dyeas+SX2b7Kj+F6tNLnECcaRijHkprw7qInGzq1Ix4N1w7r/za9vPMRlfrOs5gg/S+r S/iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=dcxUy30qwBWmn5ER47nEQasLtjgdyLkNo2t2Dbd9ZBg=; b=seOjDAVrLnxnPBYP6tEmbn8quM00IYEKaJCEhkow2MSV+91G00oB30nNllb556BO81 tTK2bnnQE9qo25vzIcByfe96PzTyY0YPC9mjvuqNIDSm+SkxzlmgMKIDL/aDEi3fC+Eb 17BKiRPKTCB6EHD1rvGt+5gXFBX++UChXJFt8b7RyyhjvmilJoON0g45ky2uPCZGJrXC Sja/zDvd1VcrxJe7Cjw/dmDiDWWV+zevd6TX9tzb1XHAw5c0KJdaTP5+YQ7kWzhCpDjf mKE1wPupFOiQKEI0sY2Qbw31y2U4KsjZ8qn1KLHCGMQ9QsIwkdc1UowQyqJYwFHlwI8A ++yQ== X-Gm-Message-State: APjAAAUj2vPbQ9NwIUa84I5SDdZQIksid5z23XgqZVadcAfCBeePBS9E +2Ner0XKjRW1ygwGzh9Oiv5NG7N1RvIdKw== X-Google-Smtp-Source: APXvYqyXg8Hg2wsxghdZMYL4SetD7Q6rzoxVAK874OKTpUh9dPnp+y6NakamLugo2ytiiFs3O2U0gw== X-Received: by 2002:aca:afd4:: with SMTP id y203mr5152414oie.34.1571345963522; Thu, 17 Oct 2019 13:59:23 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id j9sm778501oij.15.2019.10.17.13.59.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Oct 2019 13:59:22 -0700 (PDT) Subject: Re: drop database To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: Date: Thu, 17 Oct 2019 15:59:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------22C5930F3261A1C730F5AA9D" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------22C5930F3261A1C730F5AA9D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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. --------------22C5930F3261A1C730F5AA9D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit 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.
--------------22C5930F3261A1C730F5AA9D--