Massive delete of rows, how to proceed?

From: Arnau <arnaulist(at)andromeiberica(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Massive delete of rows, how to proceed?
Date: 2006-11-24 18:43:34
Message-ID: 45673D56.10707@andromeiberica.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi all,

I have a table with statistics with more than 15 million rows. I'd
like to delete the oldest statistics and this can be about 7 million
rows. Which method would you recommend me to do this? I'd be also
interested in calculate some kind of statistics about these deleted
rows, like how many rows have been deleted for date. I was thinking in
creating a function, any recommendations?

Thank you very much
--
Arnau

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2006-11-24 18:58:45 Re: [PERFORM] Direct I/O issues
Previous Message Frank Wiles 2006-11-24 17:04:51 Re: Postgres scalability and performance on windows