Re: drop database
От
Julie Nishimura
Тема
Re: drop database
Дата
Msg-id
BYAPR08MB50146E455A79219F537BF071AC6D0@BYAPR08MB5014.namprd08.prod.outlook.com
Ответ на
Re: drop database (Ron)
Список
Дерево обсуждения
drop database Julie Nishimura <juliezain@hotmail.com>
Re: drop database Ron <ronljohnsonjr@gmail.com>
Re: drop database Julie Nishimura <juliezain@hotmail.com>
Re: drop database Julie Nishimura <juliezain@hotmail.com>
Re: drop database Michael Lewis <mlewis@entrata.com>
Re: drop database Andrew Kerber <andrew.kerber@gmail.com>
Re: drop database Ron <ronljohnsonjr@gmail.com>
Re: drop database pabloa98 <pabloa98@gmail.com>
Sv: drop database Andreas Joseph Krogh <andreas@visena.com>
Re: Sv: drop database Ron <ronljohnsonjr@gmail.com>
Sv: drop database Andreas Joseph Krogh <andreas@visena.com>
Ive seen some performance degradation on some other RDBMS systems when "drop database" was in progress. We need to drop database which is 16 tb with minimal impact for our end users. There are 32 other databases with hundreds of connections on the same cluster, and I just want to release the space with minimal impact. Trying to find the best solution. I could even script 'truncate table' or 'drop table' in the loop if it helps. I dont have luxury to test such large db drop in action.
Thanks!
From: Ron <ronljohnsonjr@gmail.com>
Sent: Thursday, October 17, 2019 1:59 PM
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: drop database
Sent: Thursday, October 17, 2019 1:59 PM
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: drop database
On 10/17/19 3:44 PM, Julie Nishimura wrote:
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.)
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.
Angular momentum makes the world go 'round.
В списке pgsql-general по дате отправления