Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread Takayuki Tsunakawa
From: "ITAGAKI Takahiro" <[EMAIL PROTECTED]> > You were running the test on the very memory-depend machine. >> shared_buffers = 4GB / The scaling factor is 50, 800MB of data. > Thet would be why the patch did not work. I tested it with DBT-2, 10GB of > data and 2GB of memory. Storage is always the

Re: [HACKERS] New version of money type

2006-12-21 Thread David Fetter
On Wed, Dec 20, 2006 at 08:44:07PM -0500, D'Arcy J.M. Cain wrote: > On Thu, 12 Oct 2006 14:24:22 -0400 > "D'Arcy J.M. Cain" wrote: > > On Thu, 12 Oct 2006 14:17:33 -0400 > > Tom Lane <[EMAIL PROTECTED]> wrote: > > > "D'Arcy J.M. Cain" writes: > > > > Cool. So what do I do with the patch? Should

Re: [HACKERS] Release 8.2.0 done, 8.3 development starts

2006-12-21 Thread Bernd Helmle
On Wed, 20 Dec 2006 17:49:15 +0100, Kaare Rasmussen <[EMAIL PROTECTED]> wrote: > I'm not sure, but as far as I remember, it will be a short release cycle > for > 8.3 in order to finish some big items that couldn't be ready in time for > 8.2. > > But which items are more or less expected for 8.3?

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread ITAGAKI Takahiro
"Takayuki Tsunakawa" <[EMAIL PROTECTED]> wrote: > > If you use Linux, it has very unpleased behavior in fsync(); It locks all > > metadata of the file being fsync-ed. We have to wait for the completion of > > fsync when we do read(), write(), and even lseek(). > > Oh, really, what an evil fsync

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread Takayuki Tsunakawa
To: "Takayuki Tsunakawa" <[EMAIL PROTECTED]> Cc: Sent: Thursday, December 21, 2006 6:46 PM Subject: Re: [HACKERS] Load distributed checkpoint > From: "ITAGAKI Takahiro" <[EMAIL PROTECTED]> > "Takayuki Tsunakawa" <[EMAIL PROTECTED]> wrote: >> Oh, really, what an evil fsync is! Yes, I sometimes s

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread Martijn van Oosterhout
On Thu, Dec 21, 2006 at 06:46:36PM +0900, ITAGAKI Takahiro wrote: > > Oh, really, what an evil fsync is! Yes, I sometimes saw a backend > > waiting for lseek() to complete when it committed. But why does the > > backend which is syncing WAL/pg_control have to wait for syncing the > > data file?

[HACKERS] Tuning single row operations

2006-12-21 Thread Simon Riggs
For 8.3 my goal is to improve the performance of single row operations, such as INSERT INTO foo ... VALUES (...) UPDATE foo SET WHERE = DELETE FROM foo WHERE = OLTP Assumptions - all statements are prepared first, then executed with bound parameters. - need to

Re: [HACKERS] New version of money type

2006-12-21 Thread D'Arcy J.M. Cain
On Thu, 21 Dec 2006 00:21:08 -0800 David Fetter <[EMAIL PROTECTED]> wrote: > On Wed, Dec 20, 2006 at 08:44:07PM -0500, D'Arcy J.M. Cain wrote: > > Now that 8.3 has been branched shall I go ahead and commit? As > > discussed I will put the currency symbol back in just so that it can > > be discusse

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread Zeugswetter Andreas ADI SD
> > You were running the test on the very memory-depend machine. > >> shared_buffers = 4GB / The scaling factor is 50, 800MB of data. > > Thet would be why the patch did not work. I tested it with DBT-2, 10GB of > > data and 2GB of memory. Storage is always the main part of performace here, > > ev

Re: [HACKERS] Tuning single row operations

2006-12-21 Thread Richard Huxton
Simon Riggs wrote: For 8.3 my goal is to improve the performance of single row operations, Great. That's something that's useful across the board. Currently, I'm aware of these possibilities, some fairly vague ... - avoid RI checks for update of a column not mentioned in SET Linked at lea

Re: [HACKERS] Interface for pg_autovacuum

2006-12-21 Thread Matthew O'Connor
Russell Smith wrote: I thought the plan was to change the ALTER TABLE command to allow vacuum settings to be set. That is my understanding too. ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [HACKERS] Tuning single row operations

2006-12-21 Thread Matthew O'Connor
Richard Huxton wrote: Simon Riggs wrote: - improve RI check perf by caching small, static tables in each backend - apply index filter conditions on index scan to avoid heap lookup For fkey checks against a basically static table could you get away with just checking the index and not the tabl

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Zeugswetter Andreas ADI SD
> I'm not sure how much you can do with typing. Things like heap_getattr > are macros, and thus untyped. Most places use attr as an index to an > array, which also can't be type checked. > > If you switched everything over to inline functions you might > get it to > work, but that's about it. >

Re: [HACKERS] Tuning single row operations

2006-12-21 Thread Simon Riggs
On Thu, 2006-12-21 at 09:36 -0500, Matthew O'Connor wrote: > Richard Huxton wrote: > > Simon Riggs wrote: > >> - improve RI check perf by caching small, static tables in each backend > >> - apply index filter conditions on index scan to avoid heap lookup > > > > For fkey checks against a basically

Re: [HACKERS] Interface for pg_autovacuum

2006-12-21 Thread Simon Riggs
On Wed, 2006-12-20 at 09:47 -0500, Jim Nasby wrote: > On the other hand, this would be the only part of the system where > the official interface/API is a system catalog table. Do we really > want to expose the internal representation of something as our API? > That doesn't seem wise to me..

[HACKERS] log_min_error_statement and parameters value

2006-12-21 Thread JEAN-PIERRE PELLETIER
Hi, In PostgreSQL 8.2, log_statement display actual parameters value which is very neat as in DETAIL: parameters: $1 = '1', $2 = NULL Currently I used log_statement='all' to display all statements and their parameters but that produced a lot of output and I am really only interested in the

Re: [HACKERS] log_min_error_statement and parameters value

2006-12-21 Thread Tom Lane
"JEAN-PIERRE PELLETIER" <[EMAIL PROTECTED]> writes: > Is it possible to set log_min_error_statement to display the parameters > value? No --- displaying the parameter values requires being able to run user-defined output functions, which we can't do in an already-failed transaction.

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Andrew Dunstan
Zeugswetter Andreas ADI SD wrote: I'm not sure how much you can do with typing. Things like heap_getattr are macros, and thus untyped. Most places use attr as an index to an array, which also can't be type checked. If you switched everything over to inline functions you might get it to work, b

Re: [HACKERS] ERROR: tuple concurrently updated

2006-12-21 Thread Tom Lane
Stephen Frost <[EMAIL PROTECTED]> writes: > I havn't built a reliable test case yet but I *think* the tuple > concurrently updated problem is with an analyze being run inside of a > function and also being run by autovacuum. If so it should be fixed as of 8.2 --- I believe we changed the locking r

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Martijn van Oosterhout
On Thu, Dec 21, 2006 at 10:27:12AM -0500, Andrew Dunstan wrote: > >Um, surely you meant "offset the physical numbers". Imho the logical > >numbers > >need to stay 1-n, because those numbers are used way more often and are > >more user visible than the physical. > > > > > > > > I don't think we

Re: [HACKERS] New version of money type

2006-12-21 Thread Tom Lane
"D'Arcy J.M. Cain" writes: > Very good points. However, like the currency symbol issue I would like > to separate that into another discussion. The code already exists with > the warts you mention (and more) and this proposal is to fix one thing > that will make it more useful to others. Let's

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Tom Lane
Martijn van Oosterhout writes: > The thing is, physical index numbers has meaning, the logical index > number does not. In a view definition we're going to store the physical > index, not the logical one, for example. Really? To me that's one of a large number of questions that are unresolved ab

Re: [HACKERS] ERROR: tuple concurrently updated

2006-12-21 Thread Stephen Frost
* Tom Lane ([EMAIL PROTECTED]) wrote: > Stephen Frost <[EMAIL PROTECTED]> writes: > > I havn't built a reliable test case yet but I *think* the tuple > > concurrently updated problem is with an analyze being run inside of a > > function and also being run by autovacuum. > > If so it should be fixe

Re: [HACKERS] Interface for pg_autovacuum

2006-12-21 Thread Dave Page
Simon Riggs wrote: On Wed, 2006-12-20 at 09:47 -0500, Jim Nasby wrote: On the other hand, this would be the only part of the system where the official interface/API is a system catalog table. Do we really want to expose the internal representation of something as our API? That doesn't seem

Re: [HACKERS] Stats Collector Oddity

2006-12-21 Thread Chris Browne
[EMAIL PROTECTED] (Tom Lane) writes: > Chris Browne <[EMAIL PROTECTED]> writes: >> We're getting a bit of an anomaly relating to pg_stat_activity... >> ... >> That PID has been dead for several days, but this connection is marked >> as being open, still, after lo many days. > > This probably just m

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Zeugswetter Andreas ADI SD
> > I don't think we should expose the offset to user view at all - this is > > just for internal use, no? > > The thing is, physical index numbers has meaning, the logical index > number does not. In a view definition we're going to store the physical > index, not the logical one, for example.

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Martijn van Oosterhout
On Thu, Dec 21, 2006 at 10:50:59AM -0500, Tom Lane wrote: > Martijn van Oosterhout writes: > > The thing is, physical index numbers has meaning, the logical index > > number does not. In a view definition we're going to store the physical > > index, not the logical one, for example. > > Really?

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Martijn van Oosterhout
On Thu, Dec 21, 2006 at 05:06:53PM +0100, Zeugswetter Andreas ADI SD wrote: > > The thing is, physical index numbers has meaning, the logical index > > number does not. In a view definition we're going to store the > > physical index, not the logical one, for example. We don't want > > rearranging

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Tom Lane
Martijn van Oosterhout writes: > On Thu, Dec 21, 2006 at 10:50:59AM -0500, Tom Lane wrote: >> Really? To me that's one of a large number of questions that are >> unresolved about how we'd do this. You can make a case for either >> choice in quite a number of places. > Can we? For anything of an

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Zeugswetter Andreas ADI SD
> > > The thing is, physical index numbers has meaning, the logical index > > > number does not. In a view definition we're going to store the > > > physical index, not the logical one, for example. We don't want > > > rearranging columns to invalidate view definitions or plans. > > > > I think w

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch

2006-12-21 Thread Kevin Grittner
>>> On Wed, Dec 20, 2006 at 5:33 AM, in message <[EMAIL PROTECTED]>, Russell Smith <[EMAIL PROTECTED]> wrote: > > The 8.1 documentation for ALTER TABLE states the following. > > Adding a column with a non-null default or changing the type of an > existing column will require the entire table t

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Andrew Dunstan
Tom Lane wrote: Martijn van Oosterhout writes: On Thu, Dec 21, 2006 at 10:50:59AM -0500, Tom Lane wrote: Really? To me that's one of a large number of questions that are unresolved about how we'd do this. You can make a case for either choice in quite a number of places.

Re: [HACKERS] Stats Collector Oddity

2006-12-21 Thread Tom Lane
Chris Browne <[EMAIL PROTECTED]> writes: > There isn't any way, short of restarting the postmaster, to get rid of > that PID, is there? The entry will get overwritten when that BackendId slot gets re-used, so just starting enough concurrent backends should do it. (Since incoming backends always t

Re: [HACKERS] Release 8.2.0 done, 8.3 development starts

2006-12-21 Thread Lukas Kahwe Smith
Bruce Momjian wrote: [1] http://developer.postgresql.org/index.php/Todo:WishlistFor83 That looks helpful. Ok good :) Seriously though, please slap me when things are wrong, not assigned yet to the correct person .. there was a bit of guess work involved with some of the points .. especial

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Tom Lane
Andrew Dunstan <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> You could make a case that we need *three* numbers: a permanent column >> ID, a display position, and a storage position. > Could this not be handled by some catalog fixup after an add/drop? If we > get the having 3 numbers you will

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Martijn van Oosterhout
On Thu, Dec 21, 2006 at 11:15:38AM -0500, Tom Lane wrote: > Martijn van Oosterhout writes: > > Can we? For anything of any permenence (view definitions, rules, > > compiled functions, plans, etc) you're going to want the physical > > number, for the same reason we store the oids of functions and t

Re: [HACKERS] New version of money type

2006-12-21 Thread D'Arcy J.M. Cain
On Thu, 21 Dec 2006 10:47:52 -0500 Tom Lane <[EMAIL PROTECTED]> wrote: > "D'Arcy J.M. Cain" writes: > > Very good points. However, like the currency symbol issue I would like > > to separate that into another discussion. The code already exists with > > the warts you mention (and more) and this

Re: [HACKERS] Companies Contributing to Open Source

2006-12-21 Thread Simon Riggs
The paper is a good one, from my perspective. It does address important issues and maybe we don't all agree on the exact places lines have been drawn, but I think we probably do agree that these things need to be said. Now that they have been said, we must allow reasonable time for the understandin

Re: [HACKERS] Release 8.2.0 done, 8.3 development starts

2006-12-21 Thread Andrew Dunstan
Lukas Kahwe Smith wrote: Bruce Momjian wrote: [1] http://developer.postgresql.org/index.php/Todo:WishlistFor83 That looks helpful. Ok good :) Seriously though, please slap me when things are wrong, not assigned yet to the correct person .. there was a bit of guess work involved with some

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Tom Lane
Martijn van Oosterhout writes: > I was envisiging the physical number to be fixed and immutable (ie > storage position = permanent position). There are two different problems being discussed here, and one of them is insoluble if we take that position: people would like the system to automatically

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Andrew Dunstan
Tom Lane wrote: Actually, the more I think about it the more I think that 3 numbers might be the answer. 99% of the code would use only the permanent ID. Display position would be used in *exactly* one place, namely while expanding "SELECT foo.*" --- I can't think of any other part of the backen

Re: [HACKERS] Interface for pg_autovacuum

2006-12-21 Thread Jim Nasby
How about... ALTER TABLE ... ALTER AUTOVACUUM [ THRESHOLD | SCALE | COST DELAY | COST LIMIT ] ALTER AUTOANALYZE [ THRESHOLD | SCALE ] ... or would that create a whole bunch of reserved words? On Dec 21, 2006, at 10:04 AM, Simon Riggs wrote: On Wed, 2006-12-20 at 09:47 -0500, Jim Nasby wrote:

Re: [HACKERS] Interface for pg_autovacuum

2006-12-21 Thread Gregory Stark
"Jim Nasby" <[EMAIL PROTECTED]> writes: > How about... > > ALTER TABLE ... > ALTER AUTOVACUUM [ THRESHOLD | SCALE | COST DELAY | COST LIMIT ] > ALTER AUTOANALYZE [ THRESHOLD | SCALE ] > > ... or would that create a whole bunch of reserved words? The way to predict when you're going to run into c

Re: [HACKERS] Interface for pg_autovacuum

2006-12-21 Thread Andrew Dunstan
Jim Nasby wrote: How about... ALTER TABLE ... ALTER AUTOVACUUM [ THRESHOLD | SCALE | COST DELAY | COST LIMIT ] ALTER AUTOANALYZE [ THRESHOLD | SCALE ] Given these remarks from Tom: Where we are currently at is experimenting to find out what autovacuum's control knobs ought to be. The catal

Re: [HACKERS] [PATCHES] Bundle of patches

2006-12-21 Thread Teodor Sigaev
0.9 doesn't apply cleanly after Peter's changes, so, new version http://www.sigaev.ru/misc/user_defined_typmod-0.10.gz Teodor Sigaev wrote: >> Perhaps an array of int4 would be better? How much Done http://www.sigaev.ru/misc/user_defined_typmod-0.9.gz The patch needs more cleanup before

Re: [HACKERS] Interface for pg_autovacuum

2006-12-21 Thread Richard Huxton
Gregory Stark wrote: "Jim Nasby" <[EMAIL PROTECTED]> writes: How about... ALTER TABLE ... ALTER AUTOVACUUM [ THRESHOLD | SCALE | COST DELAY | COST LIMIT ] ALTER AUTOANALYZE [ THRESHOLD | SCALE ] ... or would that create a whole bunch of reserved words? The way to predict when you're going t

Re: [HACKERS] tsearch in core patch, for review

2006-12-21 Thread Teodor Sigaev
patch: http://www.sigaev.ru/misc/tsearch_core-0.27.gz http://www.sigaev.ru/misc/tsearch_core-0.28.gz new version, because of XML commit - old patch doesn't apply cleanly. -- Teodor Sigaev E-mail: [EMAIL PROTECTED]

Re: [HACKERS] [COMMITTERS] pgsql: Initial SQL/XML support: xml data type and

2006-12-21 Thread Stefan Kaltenbrunner
Peter Eisentraut wrote: > Log Message: > --- > Initial SQL/XML support: xml data type and initial set of functions. this seems to cause regression failures on all the buildfarm members (none of them are yet building with xml support). http://www.pgbuildfarm.org/cgi-bin/show_status.pl Ste

Re: [HACKERS] [COMMITTERS] pgsql: Initial SQL/XML support: xml data type and initial set of

2006-12-21 Thread Peter Eisentraut
Stefan Kaltenbrunner wrote: > Peter Eisentraut wrote: > > Log Message: > > --- > > Initial SQL/XML support: xml data type and initial set of > > functions. > > this seems to cause regression failures on all the buildfarm members Should be fixed now. I don't know why that one file was outd

Re: [HACKERS] inet/cidr

2006-12-21 Thread Andrew - Supernews
> "Worky" == Worky Workerson <[EMAIL PROTECTED]> writes: Worky> I was looking at upgrading to 8.2, but I make extensive use of Worky> the IP4 module. The needed changes to ip4r to build on 8.2 are already in its CVS, and as far as I know works, the only reason I've not done another release

[HACKERS] executing a dml within a utility

2006-12-21 Thread Ehab Galal
I created a CMD_UTILITY, which upon being executed by the user should do the following atomically: 1- drops a table 2- deletes from another table all rows with a certain criterion: "DELETE FROM pg_t1 WHERE att = val" 3- deletes from a third table all rows with a certain criterion: "DELETE FROM

Re: [HACKERS] executing a dml within a utility

2006-12-21 Thread Alvaro Herrera
Ehab Galal wrote: > I created a CMD_UTILITY, which upon being executed by the user should do > the following atomically: > 1- drops a table > 2- deletes from another table all rows with a certain criterion: "DELETE > FROM pg_t1 WHERE att = val" > 3- deletes from a third table all rows with a cert

Re: [HACKERS] Release 8.2.0 done, 8.3 development starts

2006-12-21 Thread Bruce Momjian
Lukas Kahwe Smith wrote: > Bruce Momjian wrote: > > >> [1] http://developer.postgresql.org/index.php/Todo:WishlistFor83 > > > > That looks helpful. > > Ok good :) > > Seriously though, please slap me when things are wrong, not assigned yet > to the correct person .. there was a bit of guess wo

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread Takayuki Tsunakawa
- Original Message - From: "Zeugswetter Andreas ADI SD" <[EMAIL PROTECTED]> To: "Takayuki Tsunakawa" <[EMAIL PROTECTED]>; "ITAGAKI Takahiro" <[EMAIL PROTECTED]> > > Yes, I used half the size of RAM as the shared buffers, which is > > reasonable. And I cached all the data. > For pg, half

Re: [HACKERS] Companies Contributing to Open Source

2006-12-21 Thread Kevin Grittner
>>> On Tue, Dec 19, 2006 at 6:13 PM, in message <[EMAIL PROTECTED]>, Bruce Momjian <[EMAIL PROTECTED]> wrote: > if the company dies, the community keeps going (as it did after Great > Bridge, without a hickup), but if the community dies, the company dies > too. This statement seems to ignore org

Re: [HACKERS] [PATCHES] Load distributed checkpoint patch

2006-12-21 Thread Kevin Grittner
>>> On Wed, Dec 20, 2006 at 6:05 AM, in message <[EMAIL PROTECTED]>, "Takayuki Tsunakawa" <[EMAIL PROTECTED]> wrote: > > I consider that smoothing the load (more meaningfully, response time) > has higher priority over checkpoint punctuality in a practical sense, > because the users of a system b

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Gregory Stark
Tom Lane <[EMAIL PROTECTED]> writes: > Actually, the more I think about it the more I think that 3 numbers > might be the answer. 99% of the code would use only the permanent ID. Don't we already have such a permanent number -- just one we don't use anywhere in the data model? Namely the oid of

Re: column ordering, was Re: [HACKERS] [PATCHES] Enums patch v2

2006-12-21 Thread Tom Lane
Gregory Stark <[EMAIL PROTECTED]> writes: > Tom Lane <[EMAIL PROTECTED]> writes: >> Actually, the more I think about it the more I think that 3 numbers >> might be the answer. 99% of the code would use only the permanent ID. > Don't we already have such a permanent number -- just one we don't use

Re: [HACKERS] [PATCHES] Load distributed checkpoint patch

2006-12-21 Thread ITAGAKI Takahiro
"Kevin Grittner" <[EMAIL PROTECTED]> wrote: > > I consider that smoothing the load (more meaningfully, response time) > > has higher priority over checkpoint punctuality in a practical sense, > > I agree with that. I agree with checkpoint_time is not so important, but we should respect checkpo

Re: [HACKERS] Stats Collector Oddity

2006-12-21 Thread Christopher Browne
A long time ago, in a galaxy far, far away, [EMAIL PROTECTED] (Tom Lane) wrote: > Chris Browne <[EMAIL PROTECTED]> writes: >> There isn't any way, short of restarting the postmaster, to get rid of >> that PID, is there? > > The entry will get overwritten when that BackendId slot gets re-used, > so

Re: [HACKERS] [PATCHES] Load distributed checkpoint patch

2006-12-21 Thread Takayuki Tsunakawa
Hello, Mr. Grittner, From: "Kevin Grittner" <[EMAIL PROTECTED]> > We have 3,000 "directly connected" users, various business partner > interfaces, and public web entry doing OLTP in 72 databases distributed > around the state, with real-time replication to central databases which > are considered

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread ITAGAKI Takahiro
"Takayuki Tsunakawa" <[EMAIL PROTECTED]> wrote: > > For pg, half RAM for shared_buffers is too much. The ratio is good for > > other db software, that does not use the OS cache. > > What percentage of RAM is recommended for shared buffers in general? > 40%? 30%? Or, is the general recommendati

Re: [HACKERS] Companies Contributing to Open Source

2006-12-21 Thread Guido Barosio
"Companies often bring fresh prespective, ideas, and testing infrastucture to a project." "prespective" || "perspective" ? g.- On 12/21/06, Kevin Grittner <[EMAIL PROTECTED]> wrote: >>> On Tue, Dec 19, 2006 at 6:13 PM, in message <[EMAIL PROTECTED]>, Bruce Momjian <[EMAIL PROTECTED]> wrote

Re: [HACKERS] Interface for pg_autovacuum

2006-12-21 Thread Jim Nasby
On Dec 21, 2006, at 1:28 PM, Andrew Dunstan wrote: Jim Nasby wrote: How about... ALTER TABLE ... ALTER AUTOVACUUM [ THRESHOLD | SCALE | COST DELAY | COST LIMIT ] ALTER AUTOANALYZE [ THRESHOLD | SCALE ] Given these remarks from Tom: Where we are currently at is experimenting to find out what

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread Takayuki Tsunakawa
Hello, Itagaki-san, Thank you for an interesting piece of information. From: "ITAGAKI Takahiro" <[EMAIL PROTECTED]> > If you use linux, try the following settings: > 1. Decrease /proc/sys/vm/dirty_ratio and dirty_background_ratio. > 2. Increase wal_buffers to redule WAL flushing. > 3. Set wal_

Re: [HACKERS] Interface for pg_autovacuum

2006-12-21 Thread Tom Lane
"Jim Nasby" <[EMAIL PROTECTED]> writes: > The only other thought that comes to mind is that such syntax will > make it a *lot* more verbose to set all the options for a table. Which should surely make you wonder whether setting these options per-table is the most important thing to do... Arguin

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread Greg Smith
On Wed, 20 Dec 2006, Inaam Rana wrote: Talking of bgwriter_* parameters I think we are missing a crucial internal counter i.e. number of dirty pages. How much work bgwriter has to do at each wakeup call should be a function of total buffers and currently dirty buffers. This is actually a que

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread Takayuki Tsunakawa
From: "Takayuki Tsunakawa" <[EMAIL PROTECTED]> > (5) (4) + /proc/sys/vm/dirty* tuning > dirty_background_ratio is changed from 10 to 1, and dirty_ratio is > changed from 40 to 4. > > 308 349 84 349 84 Sorry, I forgot to include the result when using Itagaki-san's patch. The patch showd the fol

Re: [HACKERS] Load distributed checkpoint

2006-12-21 Thread Inaam Rana
On 12/22/06, Takayuki Tsunakawa <[EMAIL PROTECTED]> wrote: From: "Takayuki Tsunakawa" <[EMAIL PROTECTED]> > (5) (4) + /proc/sys/vm/dirty* tuning > dirty_background_ratio is changed from 10 to 1, and dirty_ratio is > changed from 40 to 4. > > 308 349 84 349 84 Sorry, I forgot to include the

[HACKERS] problem with web interface for mailing lists?

2006-12-21 Thread Pavel Stehule
Hello, I see las actualisation from 18. december regards Pavel Stehule _ Chcete sdilet sve obrazky a hudbu s prateli? http://messenger.msn.cz/ ---(end of broadcast)--- TIP 5: don't