diff options
Diffstat (limited to 'lib/LXRng/Index/PgBatch.pm')
-rw-r--r-- | lib/LXRng/Index/PgBatch.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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, $$); |