Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpemq-0000iC-Je for pgsql-general@arkaria.postgresql.org; Tue, 14 Aug 2018 19:15:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fpemo-0003Si-GY for pgsql-general@arkaria.postgresql.org; Tue, 14 Aug 2018 19:15:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpemo-0003SV-8O for pgsql-general@lists.postgresql.org; Tue, 14 Aug 2018 19:15:22 +0000 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fpemk-0004zL-NU for pgsql-general@postgresql.org; Tue, 14 Aug 2018 19:15:21 +0000 Received: by mail-qt0-x242.google.com with SMTP id r21-v6so22376561qtm.2 for ; Tue, 14 Aug 2018 12:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=GJxzKZcttMLwyoCgQReAMIMAW9bQJPNGiblXfXzoUOA=; b=DjT/YfrZ2tdOrnchNb+jRFxlLkCzgBpsAuoaLOb50uuMZzpwH+S8p8PwCy0fz76ZQs Vm4+DCcwq+PjG3Ic/8Gf4RsvVVLwdSP+vKRsoU3ybTTopamoWLcr3BoGmx/E5qicdxKR OjDYUhqhDazvJdZYXdJdX5RjXhXQcITu/IZ+wET310EIKhhlwcmkeNgufjwLHn+jLA9M U5K8/mHI21deM9uzoFdz6pGzjoz0/tC5fKQCk+ibE+9mOZnt4pl7BknUtUDlCC2nMUqC 3VJ44ypKrWwEiqkBdcFPPv7GCwjXRZmrJMEXKOk6K9lUUJlF3YGdctP3B10U748Zr534 M+Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GJxzKZcttMLwyoCgQReAMIMAW9bQJPNGiblXfXzoUOA=; b=DDtplcLQSUeYEqfCE6WwCOyfq+FrI4PEPVUwc21Q9zLAsgIXvn2EUaI5qbS9VLBylx XDgexDQ+t2/UtpQwiGuEpGgjOfFpSZkHdBsS2uRW3xZjo9O0V+8loawHw7I2YB5wJQfG WPJYn0K6rsSm8AoWol6uRUb10ddBZyiCXM8f89IQeF722gMsVBWSwbXMhF0bfixiqWN5 DV1QG2BYi+7Q7V9s9SxRNnfeMoWokc/ULFgezEPqQIFSSgx9vo6njO+S3FA0dY1acLg0 qGfeymsr8SnAlfGVnaZ+Qg8eHt1Fwiz7wDX8m9dLqQC4c7MNWWPUUQEeN6sSkihO+dHs eOvw== X-Gm-Message-State: AOUpUlG+j+hPOYtDBFtx5Rpvi9f07L4CuSJAzmpVTZTZxHmMTE9Tx41K sDLQydVzYeeHz4NdFHlOriz/hk38pXXigVbJerT9eyVZD2ZI6Ruu8nnewoojwh+XAs6MK4BQALA iH7I+qy/ZrTcdqYYF8J4CDVCrdVZyMPbpbz2NOZ/kR3Oe6G3l2cmf+1W/8cphqD2FppKl/IzGxo irNhc= X-Google-Smtp-Source: AA+uWPwYP9WKtXBd9dnIghno8cvkCUCH5SB5db3tVzDkNZL2qlvq8758ydyrMmewojxpVlAAGnRoDw== X-Received: by 2002:ac8:2432:: with SMTP id c47-v6mr22662595qtc.355.1534274116335; Tue, 14 Aug 2018 12:15:16 -0700 (PDT) Received: from alderaan.marques (host114.200-117-46.telecom.net.ar. [200.117.46.114]) by smtp.googlemail.com with ESMTPSA id u8-v6sm13785215qtc.76.2018.08.14.12.15.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Aug 2018 12:15:15 -0700 (PDT) Subject: Re: upgrading from pg 9.3 to 10 To: Edmundo Robles , pgsql-general@postgresql.org References: From: =?UTF-8?Q?Mart=c3=adn_Marqu=c3=a9s?= Openpgp: preference=signencrypt Message-ID: <6f11d8d5-5f8a-862d-0778-b8372a0d56d7@2ndquadrant.com> Date: Tue, 14 Aug 2018 16:15:12 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: es-AR Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk El 14/08/18 a las 14:44, Edmundo Robles escribió: > Is safe  to upgrade from pg 9.3 to pg 10 directly using pg_upgrade or > is better upgrade, with pg_upgrade,  from  9.3 -> 9.4 ->9.5 -> 9.6 -> 10. That is quiet a jump. But not imposible with pg_upgrade. I'd recommend testing with a clone of the server to verify that it works properly (not only pg_upgrade, but your application with the new version of postgres). Also to time the window you'll need and see if there are things to be aware of, like extensions which are upgraded and might break the upgrade. Now if you are going to first jump to 9.4, I'd recommend using pglogical after getting to 9.4 and upgrade straight from 9.4 to 10 (always after testing your application against 10) Regards, -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services