[GENERAL] lazy vacuum and AccessExclusiveLock

2009-09-23 Thread Jaromír Talíř
Hello, we are facing strange situation with exclusively locked table during normal lazy vacuum. There is one big table (66GB) that is heavily inserted and updated in our database. Suddenly (after backup and delete of almost all records) we are not able to run VACUUM over this table because after 5

Re: [GENERAL] lazy vacuum and AccessExclusiveLock

2009-09-25 Thread Jaromír Talíř
Alvaro Herrera píše v Čt 24. 09. 2009 v 14:41 -0400: > Jaromír Talíř wrote: > > > we are facing strange situation with exclusively locked table during > > normal lazy vacuum. There is one big table (66GB) that is heavily > > inserted and updated in our database. Suddenly

Re: [GENERAL] lazy vacuum and AccessExclusiveLock

2009-09-29 Thread Jaromír Talíř
Hello, thanks for comments. But what is a conclusion? Using manual vacuum is considered as dangerous (with respect to locking) and the best is to avoid using it? What does it mean "kick off autovacuum"? Only "cleaning part" that needs lock will be omitted but dead tuples are freed, or whole table

[GENERAL] AT TIME ZONE and DST in UTC<->CET conversion

2008-07-05 Thread Jaromír Talíř
First, if I do conversion from UTC to CET and back when a timestamp is OUTSIDE of daylight saving period, it's correct: postgres# select '2008-01-01 10:10:10 UTC' AT TIME ZONE 'CET'; timezone - 2008-01-01 11:10:10 postgres# select '2008-01-01 11:10:10 CET' AT TIME