From 8c978d76179b4f573c1eb9b9bb9db966c81330bb Mon Sep 17 00:00:00 2001 From: Arne Georg Gleditsch Date: Thu, 15 Nov 2007 21:51:00 +0100 Subject: Too many changes... --- lib/LXRng/Index/PgBatch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/LXRng/Index/PgBatch.pm') diff --git a/lib/LXRng/Index/PgBatch.pm b/lib/LXRng/Index/PgBatch.pm index 8f8844c..19c9fa9 100644 --- a/lib/LXRng/Index/PgBatch.pm +++ b/lib/LXRng/Index/PgBatch.pm @@ -77,7 +77,7 @@ sub flush { } } $self->dbh->commit() unless $self->dbh->{AutoCommit}; - $self->dbh->do(q(analyze)) if $i > 100000; + $self->dbh->do(q(analyze)) if $i > 500000; $self->dbh->disconnect(); warn "\n*** index: flushed $i rows\n"; kill(9, $$); -- cgit v1.2.3