Re: [PERFORM] autovacuum blocks the operations of other manual vacuum

2010-11-19 Thread tv
> Excerpts from kuopo's message of jue nov 18 04:10:36 -0300 2010: >> However, when I analyze the table A, the autovacuum or vacuum on the >> table B cannot find any removable row version (the number of >> nonremoveable row versions and pages keeps increasing). After the >> analysis finishes, the s

Re: [PERFORM] autovacuum blocks the operations of other manual vacuum

2010-11-19 Thread Alvaro Herrera
Excerpts from kuopo's message of jue nov 18 04:10:36 -0300 2010: > Hi, > > Thanks for your response. I've checked it again and found that the > main cause is the execution of ANALYZE. As I have mentioned, I have > two tables: table A is a big one (around 10M~100M records) for log > data and table

Re: [PERFORM] best db schema for time series data?

2010-11-19 Thread Robert Klemme
On Fri, Nov 19, 2010 at 10:50 AM, Louis-David Mitterrand wrote: > On Tue, Nov 16, 2010 at 05:28:19PM +0100, Harald Fuchs wrote: >> In article <4ce2688b.2050...@tweakers.net>, >> Arjen van der Meijden writes: >> >> > On 16-11-2010 11:50, Louis-David Mitterrand wrote: >> >> I have to collect lots o

Re: [PERFORM] best db schema for time series data?

2010-11-19 Thread Chris Browne
vindex+lists-pgsql-performa...@apartia.org (Louis-David Mitterrand) writes: > On Tue, Nov 16, 2010 at 11:35:24AM -0500, Chris Browne wrote: >> vindex+lists-pgsql-performa...@apartia.org (Louis-David Mitterrand) >> writes: >> > I have to collect lots of prices from web sites and keep track of their

Re: [PERFORM] Defaulting wal_sync_method to fdatasync on Linux for 9.1?

2010-11-19 Thread Jignesh Shah
On Tue, Nov 16, 2010 at 8:22 PM, Tom Lane wrote: > Josh Berkus writes: >>> Well, we're not going to increase the default to gigabytes, but we could >>> very probably increase it by a factor of 10 or so without anyone >>> squawking.  It's been awhile since I heard of anyone trying to run PG in >>>

Re: [PERFORM] best db schema for time series data?

2010-11-19 Thread Louis-David Mitterrand
On Tue, Nov 16, 2010 at 05:28:19PM +0100, Harald Fuchs wrote: > In article <4ce2688b.2050...@tweakers.net>, > Arjen van der Meijden writes: > > > On 16-11-2010 11:50, Louis-David Mitterrand wrote: > >> I have to collect lots of prices from web sites and keep track of their > >> changes. What is t

Re: [PERFORM] best db schema for time series data?

2010-11-19 Thread Louis-David Mitterrand
On Tue, Nov 16, 2010 at 11:35:24AM -0500, Chris Browne wrote: > vindex+lists-pgsql-performa...@apartia.org (Louis-David Mitterrand) > writes: > > I have to collect lots of prices from web sites and keep track of their > > changes. What is the best option? > > > > 1) one 'price' row per price change