Re: renaming contrib. (was multi-platform, multi-locale regression tests) - Mailing list pgsql-hackers

From Aidan Van Dyk
Subject Re: renaming contrib. (was multi-platform, multi-locale regression tests)
Date
Msg-id AANLkTim4mDVX60Rt-JM0zgYSRA95EWHt=aZPc3yJO3uU@mail.gmail.com
Whole thread Raw
In response to Re: renaming contrib. (was multi-platform, multi-locale regression tests)  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: renaming contrib. (was multi-platform, multi-locale regression tests)
Re: renaming contrib. (was multi-platform, multi-locale regression tests)
List pgsql-hackers
On Thu, Nov 11, 2010 at 8:28 AM, Andrew Dunstan <andrew@dunslane.net> wrote:

>> It's intentional behavior.  It gives up when there are too many
>> differences to avoid being slow.

And, it's configurable, at least to diff and merge.  If it's not
available in all the other porcelains, yes, that would be bugs that
should be fixed:      -l<num>          The -M and -C options require O(n^2) processing time where
n is the number of potential          rename/copy targets. This option prevents rename/copy
detection from running if the number          of rename/copy targets exceeds the specified number.

And can even be specified as config options diff.renameLimit and
merge.renameLimit.

> We should adopt that philosophy. I suggest we limit all tables in future to
> 1m rows in the interests of speed.

As long as it's configurable, and if it would make operations on
smaller tables faster, than go for it.

And we should by defualt limit shared_buffers to 32MB.  Oh wait.

There are always tradeoffs when picking defaults, a-la-postgresql.conf.

We as a community are generally pretty quick to pick up the "defaults
are very conservative, make sure you tune ..." song when people
complain about "pg being too slow"

;-)

a.

--
Aidan Van Dyk                                             Create like a god,
aidan@highrise.ca                                       command like a king,
http://www.highrise.ca/                                   work like a slave.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: B-tree parent pointer and checkpoints
Next
From: Tom Lane
Date:
Subject: Re: renaming contrib. (was multi-platform, multi-locale regression tests)