Re: VACUUM FULL doesn't reduce table size - Mailing list pgsql-general

From Adrian Klaver
Subject Re: VACUUM FULL doesn't reduce table size
Date
Msg-id 54FDAD75.6070005@aklaver.com
Whole thread Raw
In response to Re: VACUUM FULL doesn't reduce table size  (pinker <pinker@onet.eu>)
Responses Re: VACUUM FULL doesn't reduce table size
List pgsql-general
On 03/09/2015 07:08 AM, pinker wrote:
> I did: select pg_cancel_backend(pid) from pg_stat_activity where usename <>
> 'mine';

What makes you think that queries from usename = 'mine' are not important?

Or to get back to the original request:

What does select * from pg_stat_activity show?

Also did the queries actually get cancelled?

>
> and then tried again vacuum full:
>
> INFO:  vacuuming "my_table"
> INFO:  "my_table": found 0 removable, 3043947 nonremovable row versions in
> 37580 pages
> DETAIL:  0 dead row versions cannot be removed yet.
> CPU 1.07s/1.56u sec elapsed 3.24 sec.
> Query returned successfully with no result in 6436 ms.
>
>
> PostgreSQL 9.3.5 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.8.2
> 20140120 (Red Hat 4.8.2-16), 64-bit
>
> It was flash copy snapshot

So what does that mean?

In other words detail the steps you took to get the snapshot.

>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: pinker
Date:
Subject: Re: VACUUM FULL doesn't reduce table size
Next
From: pinker
Date:
Subject: Re: VACUUM FULL doesn't reduce table size