From 59c279e5e55de51640f7136063bc1880f2ad72d1 Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Tue, 21 Jul 2015 14:51:58 +0200 Subject: [PATCH] Added PostgreSQL non-durable settings hint in docs. Following discussion on django-developers: https://groups.google.com/d/topic/django-developers/IkRgMxTTzPQ/discussion --- docs/ref/databases.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index ac25f00791..96829724b5 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -169,6 +169,19 @@ lookups that use the ``LIKE`` operator in their SQL, as is done with the .. _PostgreSQL operator class: http://www.postgresql.org/docs/current/static/indexes-opclass.html +Speeding up test execution with non-durable settings +---------------------------------------------------- + +You can speed up test execution times by `configuring PostgreSQL to be +non-durable `_. + +.. warning:: + + This is dangerous: it will make your database more susceptible to data loss + or corruption in the case of a server crash or power loss. Only use this on + a development machine where you can easily restore the entire contents of + all databases in the cluster. + .. _mysql-notes: MySQL notes