Commiting after certain no of rows have been deleted

Поиск
Список
Период
Сортировка
От Smita Mahadik
Тема Commiting after certain no of rows have been deleted
Дата
Msg-id 006d01c60278$2943d440$86ea52c7@smita
обсуждение исходный текст
Ответы Re: Commiting after certain no of rows have been deleted  (Richard Huxton <dev@archonet.com>)
Список pgsql-sql
Hi,
 
         In my application I m deleteing large no of rows from table based on certain condition. This takes lot of time and if sometimes my application fails it starts all over again...since the coomit is done at the end of transactions. Is there a way i can do commit when certain no of rows have been deleted? For eg if i need to delete 2 million rows i should be able to commit after say 10,000 rows.
 
 
Regards
smita

В списке pgsql-sql по дате отправления:

Предыдущее
От: "Michael Farewell"
Дата:
Сообщение: Problem obtaining MAX values FROM TABLE
Следующее
От: Matthew Smith
Дата:
Сообщение: Help on a complex query (avg data for day of the week)