Tue Aug 16 14:43:41 PDT 2005
- Previous message: [Slony1-general] Slow catchup
- Next message: [Slony1-general] Re: Slony1-general Digest, Vol 19, Issue 25
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Marc Munro wrote: >I'm having trouble with a subscriber failing to catch up with a >provider. I have just performed a sync which succeeded with no problem. >Initially after the sync, about 4 minutes worth a provider updates were >being processed per minute at the subscriber. > >Now it is down to less than a tenth of the speed of the provider. The >subscriber machine itself is running mostly idle. > >What can I look for in order to track down this problem? > > A few things: 1) Have a look at pg_stat_activity on the subscriber and see what's going on with the database. Slony doesn't like 'idle in transacation' transacations (they cause the pg_listener). Look for anything else out of the ordinary, like long running transactions. 2) On the subscriber, try VACUUM ANALYZE VERBOSE pg_listener; And have a look at the output. pg_listener bloat can cause the replicas to fall behind. You may have to kill off some connections to get the vacuum to actaully do anything. 3)Again, on the subscriber, run VACUUM ANALYZE VERBOSE _clustername.sl_log_1; I've seen replica's fall behind due to a heavily bloated index on sl_log_1 4)Are you vacumming your subsciber? -- Brad Nicholson 416-673-4106 Database Administrator, Afilias Canada Corp.
- Previous message: [Slony1-general] Slow catchup
- Next message: [Slony1-general] Re: Slony1-general Digest, Vol 19, Issue 25
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list