Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-26 Thread Clodoaldo
2008/3/26, Alvaro Herrera <[EMAIL PROTECTED]>: > Clodoaldo escribió: > > > > The database performance slowly degrades and after two weeks i issue a > > reindex on the database and the performance gets back to normal. I > > have been doing this for ages and i don't remember in which version > >

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-26 Thread Alvaro Herrera
Clodoaldo escribió: > The database performance slowly degrades and after two weeks i issue a > reindex on the database and the performance gets back to normal. I > have been doing this for ages and i don't remember in which version > this degradation behavior appeared, perhaps 8.0 I'm not sure. W

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-15 Thread Clodoaldo
2008/3/13, Alvaro Herrera <[EMAIL PROTECTED]>: > Clodoaldo escribió: > > > 2008/3/13, Alvaro Herrera <[EMAIL PROTECTED]>: > > > Clodoaldo escribió: > > > > > > > > > > Now what is happening is that reindex does not finish even with a > > > > small 6,500 rows table and after a reboot. In top

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-14 Thread Clodoaldo
2008/3/14, Alvaro Herrera <[EMAIL PROTECTED]>: > Clodoaldo escribió: > > > 2008/3/14, Alvaro Herrera <[EMAIL PROTECTED]>: > > > > > A quick look into pg_locks should tell you if it's blocking. > > > > pg_prepared_xacts is empty and pg_locks has 288 rows: > > > > # select locktype, mode, count(

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-14 Thread Alvaro Herrera
Clodoaldo escribió: > 2008/3/14, Alvaro Herrera <[EMAIL PROTECTED]>: > > A quick look into pg_locks should tell you if it's blocking. > > pg_prepared_xacts is empty and pg_locks has 288 rows: > > # select locktype, mode, count(*) as total > from pg_locks group by locktype, mode; >locktype

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-14 Thread Clodoaldo
2008/3/14, Alvaro Herrera <[EMAIL PROTECTED]>: > Clodoaldo escribió: > > > > Postgresql was restarted twice, but yes, it is as if the crash left > > some kind of permanent lock somewhere. > > > A prepared transaction perhaps? SELECT * FROM pg_prepared_xacts; > > A quick look into pg_locks shoul

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-14 Thread Alvaro Herrera
Clodoaldo escribió: > Postgresql was restarted twice, but yes, it is as if the crash left > some kind of permanent lock somewhere. A prepared transaction perhaps? SELECT * FROM pg_prepared_xacts; A quick look into pg_locks should tell you if it's blocking. -- Alvaro Herrera

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-14 Thread Clodoaldo
2008/3/14, Pavan Deolasee <[EMAIL PROTECTED]>: > On Fri, Mar 14, 2008 at 5:19 AM, Clodoaldo > > <[EMAIL PROTECTED]> wrote: > > > > > > > Try vacuuming pg_class, pg_index, pg_attribute manually and see if that > > > makes the problem go away. > > > > It does not go away. > > > > > Can it b

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-14 Thread Clodoaldo
2008/3/14, Scott Marlowe <[EMAIL PROTECTED]>: > On Thu, Mar 13, 2008 at 5:49 PM, Clodoaldo > <[EMAIL PROTECTED]> wrote: > > 2008/3/13, Alvaro Herrera <[EMAIL PROTECTED]>: > > > Clodoaldo escribió: > > > > > > > 2008/3/13, Alvaro Herrera <[EMAIL PROTECTED]>: > > > > > Clodoaldo escribió:

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-14 Thread Pavan Deolasee
On Fri, Mar 14, 2008 at 5:19 AM, Clodoaldo <[EMAIL PROTECTED]> wrote: > > > Try vacuuming pg_class, pg_index, pg_attribute manually and see if that > > makes the problem go away. > > It does not go away. > Can it be a case where some other open transaction is holding a lock on the table ? No

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-13 Thread Scott Marlowe
On Thu, Mar 13, 2008 at 5:49 PM, Clodoaldo <[EMAIL PROTECTED]> wrote: > 2008/3/13, Alvaro Herrera <[EMAIL PROTECTED]>: > > Clodoaldo escribió: > > > > > 2008/3/13, Alvaro Herrera <[EMAIL PROTECTED]>: > > > > Clodoaldo escribió: > > > > > > > > > > > > > Now what is happening is that rei

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-13 Thread Clodoaldo
2008/3/13, Alvaro Herrera <[EMAIL PROTECTED]>: > Clodoaldo escribió: > > > 2008/3/13, Alvaro Herrera <[EMAIL PROTECTED]>: > > > Clodoaldo escribió: > > > > > > > > > > Now what is happening is that reindex does not finish even with a > > > > small 6,500 rows table and after a reboot. In top

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-13 Thread Clodoaldo
2008/3/13, Greg Smith <[EMAIL PROTECTED]>: > On Thu, 13 Mar 2008, Clodoaldo wrote: > > > I recently had a crash during a bulk insert when i updated to the > > 2.6.24.3-12.fc8 kernel. I rebooted and Postgresql did its thing to > > recover and everything was working. I made the previous kernel, >

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-13 Thread Alvaro Herrera
Clodoaldo escribió: > 2008/3/13, Alvaro Herrera <[EMAIL PROTECTED]>: > > Clodoaldo escribió: > > > > > > > Now what is happening is that reindex does not finish even with a > > > small 6,500 rows table and after a reboot. In top there is no CPU or > > > memory usage by postmaster and vmstat show

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-13 Thread Clodoaldo
2008/3/13, Alvaro Herrera <[EMAIL PROTECTED]>: > Clodoaldo escribió: > > > > Now what is happening is that reindex does not finish even with a > > small 6,500 rows table and after a reboot. In top there is no CPU or > > memory usage by postmaster and vmstat shows no disk activity. > > > Hmm, are

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-13 Thread Alvaro Herrera
Clodoaldo escribió: > Now what is happening is that reindex does not finish even with a > small 6,500 rows table and after a reboot. In top there is no CPU or > memory usage by postmaster and vmstat shows no disk activity. Hmm, are you vacuuming the system catalogs appropriately? -- Alvaro Herr

Re: [GENERAL] Reindex does not finish 8.2.6

2008-03-13 Thread Greg Smith
On Thu, 13 Mar 2008, Clodoaldo wrote: I recently had a crash during a bulk insert when i updated to the 2.6.24.3-12.fc8 kernel. I rebooted and Postgresql did its thing to recover and everything was working. I made the previous kernel, 2.6.23.15-137.fc8, the default in grub.conf and rebooted. H

[GENERAL] Reindex does not finish 8.2.6

2008-03-13 Thread Clodoaldo
This is 8.2.6 in Fedora 8 and the same database with which there were performance problems when migrating to 8.3. The migration was not done. The thread was this: http://archives.postgresql.org/pgsql-general/2008-01/msg00508.php The database performance slowly degrades and after two weeks i issue