Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLXDV-0004oZ-OE for pgsql-performance@arkaria.postgresql.org; Fri, 08 Jul 2016 14:57:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bLXDV-0003P3-2q for pgsql-performance@arkaria.postgresql.org; Fri, 08 Jul 2016 14:57:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bLXDU-0003Oc-Aw for pgsql-performance@postgresql.org; Fri, 08 Jul 2016 14:57:20 +0000 Received: from vms173009pub.verizon.net ([206.46.173.9]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bLXDM-0000wS-NA for pgsql-performance@postgresql.org; Fri, 08 Jul 2016 14:57:18 +0000 Received: from vz-proxy-m003.mx.aol.com ([64.236.83.2]) by vms173009.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0OA0008D846HNVA0@vms173009.mailsrvcs.net> for pgsql-performance@postgresql.org; Fri, 08 Jul 2016 09:56:42 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=J+9Xl1TS c=1 sm=1 tr=0 a=EDCZS3Slg7tGr17y9w9vtg==:117 a=IkcTkHD0fZMA:10 a=cAmyUtKerLwA:10 a=oct3qPWNAAAA:8 a=MVm3FYg9L8MkyglZsm8A:9 a=QEXdDO2ut3YA:10 Received: by 100.35.160.71 with SMTP id 5c111a85; Fri, 08 Jul 2016 14:56:41 GMT Subject: Re: Capacitors, etc., in hard drives and SSD for DBMS machines... To: pgsql-performance@postgresql.org References: <577F7F2A.10307@verizon.net> <25c2789d-8cfe-bd9d-3d48-7c36f10a6647@xs4all.nl> From: Jean-David Beyer Organization: Institute for Regimented Whimsey Message-id: <577FBF29.90705@verizon.net> Date: Fri, 08 Jul 2016 10:56:41 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-version: 1.0 In-reply-to: <25c2789d-8cfe-bd9d-3d48-7c36f10a6647@xs4all.nl> Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 07/08/2016 07:44 AM, vincent wrote: > > > Op 7/8/2016 om 12:23 PM schreef Jean-David Beyer: >> Why all this concern about how long a disk (or SSD) drive can stay up >> after a power failure? >> >> It seems to me that anyone interested in maintaining an important >> database would have suitable backup power on their entire systems, >> including the disk drives, so they could coast over any power loss. >> > As others have mentioned; *any* link in the power line can fail, from > the building's power > to the plug literaly falling out of the harddisk itself. Using multiple > power sources, > UPS, BBU etc reduce the risk, but the internal capacitors of an SSD are > the only thing > that will *always* provide power to the disk, no matter what caused the > power to fail. > > It's like having a small UPS in the disk itself, with near-zero chance > of failure. > > Thank you for all the responses. The only time I had a power supply fail in a computer was in a 10 year old computer. When storm Sandy came by, the power went out and the computer had plenty of time to do a controlled shutdown. But when the power was restored about a week later, the power flipped on and off at just the right rate to fry the power supply, before the system even started up enough to shut down again. So I lost no data. All I had to do is buy a new computer and restore from the backup tape. Of course, those capacitors in the disk itself could fail. Fortunately, there have been giant improvements in capacitor manufacture reliability since I had to study reliability of large electronic systems for a military contract way back then. -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key:166D840A 0C610C8B Registered Machine 1935521. /( )\ Shrewsbury, New Jersey http://linuxcounter.net ^^-^^ 10:50:01 up 36 days, 16:52, 2 users, load average: 4.95, 5.23, 5.18 -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance