Re: [PERFORM] Query-Planer from 6seconds TO DAYS

2012-10-25 Thread Kevin Grittner
Böckler Andreas wrote: > I've played with seq_page_cost and enable_seqscan already, but you > have to know the right values before SELECT to get good results ;) The idea is to model actual costs on your system.  You don't show your configuration or describe your hardware, but you show an estimate

Re: [PERFORM] Query-Planer from 6seconds TO DAYS

2012-10-25 Thread Jeff Janes
On Wed, Oct 24, 2012 at 11:51 AM, Böckler Andreas wrote: >> >> Was there more to the plan that you snipped? If not, why isn't it >> checking all the other partitions? > > Your right. It's checking all partitions!. So the constraint exclusion > doesn't kick in. > This can be fixed with > SELECT >

Re: [PERFORM] How to upgrade from 9.1 to 9.2 with replication?

2012-10-25 Thread Claudio Freire
On Thu, Oct 25, 2012 at 9:47 AM, Shaun Thomas wrote: >> ... as long as the rsync was bracketed by calls to pg_start_backup() >> and pg_stop_backup(). > > > Or they took it during a filesystem snapshot, or shut the database down. > > I thought that the only thing start/stop backup did was mark the

Re: [PERFORM] How to upgrade from 9.1 to 9.2 with replication?

2012-10-25 Thread Shaun Thomas
On 10/25/2012 07:10 AM, Kevin Grittner wrote: ... as long as the rsync was bracketed by calls to pg_start_backup() and pg_stop_backup(). Or they took it during a filesystem snapshot, or shut the database down. I thought that the only thing start/stop backup did was mark the beginning and end

Re: [PERFORM] How to upgrade from 9.1 to 9.2 with replication?

2012-10-25 Thread Kevin Grittner
Shaun Thomas wrote: > Update the config and start as a slave, and it's the same as a > basebackup. ... as long as the rsync was bracketed by calls to pg_start_backup() and pg_stop_backup(). -Kevin -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to