Doesn't affect the device. The limited write lifetime of Flash is a natural consequence of how they work.
Data on Flash drives is safe because the bits are stored by electrons locked in a very well isolated layer. These electrons, if present, produce an electric field that can be picked up by a nearby transistor. Since they're locked up, reading out the transistor doesn't affect the electrons. During writes, however, to get the electrons through that layer Flash needs very high voltages. These high voltages cause some damage to the isolation layer, which accrues.
In comparison, DRAM doesn't have such an isolation layer. The electrons move quite easily. As a result, DRAM is faster and doesn't break down from writes, but the leaked electrons frequently need to be replaced. Turn off the power and they're all gone in milliseconds.
3Almost all of the information in these comments is out of date. – David Schwartz – 2015-12-11T16:31:22.490
3I would note that, while it's common knowledge, most people vastly overestimate how fast they'll run out of writes on an SSD. Intel specifically states you can write over 21GB a day for ten years straight without exhausting the writes on their consumer-level drives. – Shinrai – 2012-06-22T14:08:09.003
(Also, never defragment an SSD anyway, since it won't actually do anything useful.) – Shinrai – 2012-06-22T14:08:51.843
(Also, never defragment an SSD anyway, since it won't actually do anything useful.)
@Shinrai, you mean besides making sure that files are contiguous and thus dramatically increasing the success of data-recovery? – Synetech – 2013-08-19T04:41:15.8373Think of bending a piece of metal (like a coat-hanger). You can “write” information into it (e.g., straight=0, bent=1) by bending it, and “read” information by looking at it. You can read it as many times as you want without (significant) harm, but you can only write to it so many times before it breaks. – Synetech – 2013-08-19T04:44:20.427
1@Synetech - My impression is that the physical location of data on an SSD is both A: largely irrelevant in 99% of circumstances and B: Not properly understood by most defragmentation software since they're written expecting hard drives, and also the controller on the drive handles most of that stuff (things getting put in different places for wear leveling purposes, etc). Vastly oversimplifying here of course. – Shinrai – 2013-08-19T04:46:14.380
@Shinrai, who’s talking about physical location? The layout of the file is logical and dependent on the file-system. If you delete a file, trying to recover it will require the file to be in one, contiguous block of disk clusters as seen by the OS (regardless of its physical location). Otherwise, there is no way to recover it since the pieces would be scattered around the disk and no way to re-assemble them. SSDs are no different than traditional hard-drives in this regard. With hard-drives, bad sectors are remapped, so a file could be physically fragmented, but logically contiguous. – Synetech – 2013-08-19T04:48:40.723