Re: Fast way to delete big table?

From: hmzha2 <Haiming(dot)Zhang(at)redflex(dot)com(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Fast way to delete big table?
Date: 2016-05-18 06:55:46
Message-ID: 1463554546848-5904081.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Jeff and all,

Thank you for your help. Just update my progress, I finally made it working
in production by using the second solution. The extra thing I have done was
"restart postgres" and the script started to delete 2558 records per second.
I guess it must has locked records or something blocked the delete, and
"restart" removed the obstacle.

Thanks again for the help.

Regards,
Haiming

--
View this message in context: http://postgresql.nabble.com/Fast-way-to-delete-big-table-tp5903787p5904081.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Boszormenyi Zoltan 2016-05-18 10:05:16 Re: PG wire protocol question
Previous Message Achilleas Mantzios 2016-05-18 06:08:04 Re: Thoughts on "Love Your Database"