Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YWQ3r-0001Gf-Mw for pgsql-admin@arkaria.postgresql.org; Fri, 13 Mar 2015 13:55:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YWQ3q-0000Fd-2t for pgsql-admin@arkaria.postgresql.org; Fri, 13 Mar 2015 13:55:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YWQ3e-0008JN-Vy for pgsql-admin@postgresql.org; Fri, 13 Mar 2015 13:55:23 +0000 Received: from adsltrust.ath.forthnet.gr ([194.219.204.174] helo=smadev.internal.net) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YWQ3V-00041A-CN for pgsql-admin@postgresql.org; Fri, 13 Mar 2015 13:55:16 +0000 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.14.7/8.14.7) with ESMTP id t2DDtBZB040164 for ; Fri, 13 Mar 2015 15:55:11 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Message-ID: <5502EC3F.4040900@matrix.gatewaynet.com> Date: Fri, 13 Mar 2015 15:55:11 +0200 From: Achilleas Mantzios User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Samsung SSD 850 PRO 1T : any good for PostgreSQL? References: <5502C98F.2090806@matrix.gatewaynet.com> <5502CCAF.4030606@commandprompt.com> <5502E31E.4020301@matrix.gatewaynet.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On 13/03/2015 15:47, Scott Marlowe wrote: > On Fri, Mar 13, 2015 at 7:16 AM, Achilleas Mantzios > wrote: >> On 13/03/2015 13:40, Joshua D. Drake wrote: >>> On 03/13/2015 04:27 AM, Achilleas Mantzios wrote: >>>> >>>> Hello, >>>> >>>> we maintain a DB of nearly 500GB of data (and always getting larger), >>>> and we are currently thinking of moving to SSD. >>>> I have read Greg Smith's book on PostgreSQL 9.0 High Performance and his >>>> considerations on SSD and the way that write back works. >>>> >>>> This particular model (Samsung SSD 850 PRO 1T) does not employ any >>>> special circuitry, battery or capacitor >>>> to enforce that the data are really flushed to the medium. >>>> >>>> What is your take on this? Is it dangerous to have PgSQL on this disk >>>> especially in cases of power outages? (we have full UPS support, however >>>> nothing can be overlooked, anything can happen) >>> >>> If it does not have power loss protection, don't use it. >> >> Thanx Joshua. >> >> If theoretically somehow we eliminate the power loss factor, would it make >> sense to use such a disk? > Sadly there's no way to eliminate power loss in real life. > > Now if you can live with some data loss corruption that's a different matter. Thanx, the question is if postgresql will recover, we can tolerate some data loss, but no total db corruption, equivalent to fsync=false, with the db unable to recover. > > -- Achilleas Mantzios Head of IT DEV IT DEPT Dynacom Tankers Mgmt -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin