LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-09-2013, 10:32 AM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
postgresql - how to reclaim FS space from killed queries


Hi!

I noticed today that there were some queries left running since yesterday and they were eating up a lot of FS room on the server (probable queries with missing joins or ='s). I killed the processes with pg_cancel_backend but I don't see that the room on the FS has increased (I ran vacuum analyze verbose just in case but it made no difference). What do I have to do to reclaim this space?

Thanks in advance.
 
Old 05-09-2013, 11:13 AM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
From reading http://www.postgresql.org/message-id/00a801ce03cf$8e9c61d0$abd52570$@com I restarted but space is not released yet.
 
  


Reply

Tags
fs, killed query, pg_kill_backend, postgresql, space


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 07:05 AM
reclaim disk space darasen Linux - General 1 12-04-2007 03:38 PM
space reclaim yusufs Linux - Newbie 2 11-28-2007 11:45 AM
Linux space reclaim yusufs Linux - General 2 10-28-2007 04:15 AM
Reclaim HD space. muskrat SUSE / openSUSE 3 07-07-2007 11:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration