Re: [PERFORM] BUG #2784: Performance serious degrades over a period

2006-11-28 Thread Bill Moran
Bruno Wolff III <[EMAIL PROTECTED]> wrote: > > This really should have been asked on pgsql-performance and would probably > get a better response there.. > > On Sun, Nov 26, 2006 at 16:35:52 +, > Michael Simms <[EMAIL PROTECTED]> wrote: > > PostgreSQL version: 8.1.4 > > Operating system: L

Re: [PERFORM] Postgres scalability and performance on windows

2006-11-28 Thread Gopal
Tom, This is the query and the schema Query is : SELECT subq.percentCover, ds.datasetname, ds.maxresolution FROM ( select sum(area(intersection(snaptogrid(chunkgeometry,0.0001), GeometryFromText('POLYGON((

Re: [PERFORM] Postgres scalability and performance on windows

2006-11-28 Thread Tom Lane
"Gopal" <[EMAIL PROTECTED]> writes: > This is the query and the schema > ... > select > sum(area(intersection(snaptogrid(chunkgeometry,0.0001), > GeometryFromText('POLYGON((-0.140030845589332 > 50.8208343077265,-0.138958398039148 50.847800542

Re: [PERFORM] Postgres scalability and performance on windows

2006-11-28 Thread J. Andrew Rogers
On Nov 28, 2006, at 8:24 AM, Tom Lane wrote: "Gopal" <[EMAIL PROTECTED]> writes: This is the query and the schema ... select sum(area(intersection(snaptogrid(chunkgeometry,0.0001), GeometryFromText('POLYGON((-0.140030845589332 50.820834307

RES: [PERFORM] Priority to a mission critical transaction

2006-11-28 Thread Carlos H. Reimer
Hi, There is an article about "Lowering the priority of a PostgreSQL query" (http://weblog.bignerdranch.com/?p=11) that explains how to use the setpriority() to lower PostgreSQL processes. I?m wondering how much effective it would be for i/o bound systems. Will the setpriority() system call affe

Re: RES: [PERFORM] Priority to a mission critical transaction

2006-11-28 Thread Tom Lane
"Carlos H. Reimer" <[EMAIL PROTECTED]> writes: > There is an article about "Lowering the priority of a PostgreSQL query" > (http://weblog.bignerdranch.com/?p=11) that explains how to use the > setpriority() to lower PostgreSQL processes. > I?m wondering how much effective it would be for i/o bound

Re: RES: [PERFORM] Priority to a mission critical transaction

2006-11-28 Thread Andreas Kostyrka
* Carlos H. Reimer <[EMAIL PROTECTED]> [061128 20:02]: > Hi, > > There is an article about "Lowering the priority of a PostgreSQL query" > (http://weblog.bignerdranch.com/?p=11) that explains how to use the > setpriority() to lower PostgreSQL processes. > > I?m wondering how much effective it wou

Re: RES: [PERFORM] Priority to a mission critical transaction

2006-11-28 Thread Josh Berkus
All, The Bizgres project is working on resource management for PostgreSQL. So far, however, they have been able to come up with schemes that work for BI/DW at the expense of OLTP. Becuase of O^N lock checking issues, resource management for OLTP which doesn't greatly reduce overall performanc

Re: [PERFORM] RES: Priority to a mission critical transaction

2006-11-28 Thread Ron Mayer
Short summary: * Papers studying priority inversion issues with databases including PosgreSQL and realistic workloads conclude setpriority() helps even in the presence of priority inversion issues for TCP-C and TCP-W like workloads. * Avoiding priority inversion with priority in

Re: RES: [PERFORM] Priority to a mission critical transaction

2006-11-28 Thread Bruce Momjian
Someone should ask them to remove the article. --- Tom Lane wrote: > "Carlos H. Reimer" <[EMAIL PROTECTED]> writes: > > There is an article about "Lowering the priority of a PostgreSQL query" > > (http://weblog.bignerdranch.

Re: [PERFORM] RES: Priority to a mission critical transaction

2006-11-28 Thread Ron Mayer
Before asking them to remove it, are we sure priority inversion is really a problem? I thought this paper: http://www.cs.cmu.edu/~bianca/icde04.pdf did a pretty good job at studying priority inversion on RDBMs's including PostgreSQL on various workloads (TCP-W and TCP-C) and found that the benefit

Re: RES: [PERFORM] Priority to a mission critical transaction

2006-11-28 Thread Mark Kirkwood
Josh Berkus wrote: All, The Bizgres project is working on resource management for PostgreSQL. So far, however, they have been able to come up with schemes that work for BI/DW at the expense of OLTP. Becuase of O^N lock checking issues, resource management for OLTP which doesn't greatly redu

Re: [PERFORM] RES: Priority to a mission critical transaction

2006-11-28 Thread Mark Kirkwood
Ron Mayer wrote: Short summary: * Papers studying priority inversion issues with databases including PosgreSQL and realistic workloads conclude setpriority() helps even in the presence of priority inversion issues for TCP-C and TCP-W like workloads. * Avoiding priority inversi