From c4de1f45f30e42a26741bc9cdf5b35804bf54b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Tue, 24 Jun 2014 12:11:11 +0200 Subject: [PATCH] =?UTF-8?q?[maintenance.sql]=20Pas=20besoin=20de=20r=C3=A9?= =?UTF-8?q?indexer=20d=C3=A8s=20qu'on=20fait=20un=20vacuum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Cf http://www.postgresql.org/docs/9.3/static/routine-reindex.html, on peut même probablement faire plus sioux --- surveillance/maintenance.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surveillance/maintenance.sql b/surveillance/maintenance.sql index b3a4a3c8..14ee8469 100644 --- a/surveillance/maintenance.sql +++ b/surveillance/maintenance.sql @@ -15,7 +15,7 @@ DELETE FROM upload where stamp_inserted < timestamp 'now' - interval '5 days'; VACUUM; -- réindexation des tables -REINDEX TABLE upload; +-- REINDEX TABLE upload; -- REINDEX TABLE upload6; -- REINDEX TABLE virus; -- REINDEX TABLE flood; -- flood n'a pas d'index