Sebastien Lemieux <slemieux@elitra.com> writes:
> On Wed, 6 Aug 2003, Tom Lane wrote:
>> The idea here is to make sure that the planner's statistics reflect the
>> "full" state of the table, not the "empty" state. Otherwise it may pick
>> plans for the foreign key checks that are optimized for small tables.
> I added the 'analyze' but without any noticable gain in speed. I can't
> use 'truncate' since I need to 'set constraints all deferred'.
What are you using, exactly?
regards, tom lane