From 981059fd1fa3c06dff01c02b183ca0c2d0bbbd84 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 11 Aug 2015 20:04:54 +0300 Subject: [PATCH] postgresql: adjust cpu_tuple (experimental) --- classes/db/pgsql.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/db/pgsql.php b/classes/db/pgsql.php index ba37f83a..5e43b911 100644 --- a/classes/db/pgsql.php +++ b/classes/db/pgsql.php @@ -78,6 +78,7 @@ class Db_Pgsql implements IDb { pg_set_client_encoding("UNICODE"); $this->query("set datestyle = 'ISO, european'"); $this->query("set TIME ZONE 0"); + $this->query("set cpu_tuple_cost = 0.1"); return true; } -- 2.39.5