| От | Sven Willenberger |
|---|---|
| Тема | Re: psql seems to hang during delete query |
| Дата | |
| Msg-id | 1153404815.6821.1.camel@lanshark.dmv.com обсуждение исходный текст |
| Ответ на | Re: psql seems to hang during delete query ("surabhi.ahuja" <surabhi.ahuja@iiitb.ac.in>) |
| Список | pgsql-general |
On Thu, 2006-07-20 at 12:48 +0530, surabhi.ahuja wrote: > so how much space should be free so that i am able to delete > > i have a hard disk of size 130 G. > > > thanks, > regards > Surabhi > > > ______________________________________________________________________ If you are trying to delete the entire contents of a table (and are not using slony replication or similar) then a simple TRUNCATE <tablename> will achieve the desired result and free up some diskspace. Alternatively, if you have indexes on the table, you could try to drop the indexes (if they are bloated, you can probably regain some diskspace that way). Delete the rows you need and then create the indexes anew. Sven
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера