Oracle Performance – Using SSDs with Oracle

oracleperformance

We've been looking into using SSDs with Oracle to speed up our test migration runs. It currently takes 12-18 hours to complete a migration run, depnding on the volume of data (we're obviously doing lots of performance tweaking too). We've a number of cheap linux boxes we're using for various runs and analysis.

The cost of SSDs direct from Dell is prohibitive. I was wondering if anyone has experience of using consumer SSDs (such as the Crucial/Micron ones).

I realise TRIM support would be an issue on Linux (using Centos). Has anyone used them on Windows 7 to counter this?

Best Answer

Here are the biggest issue(s) I see with SSDs and databases:

  • SSD Failure
    • It happens more often than I would like; often within one to two years with normal use, and faster if read from/written to heavily. What's happening when you send your redo, logs, and data files to an SSD? Lots of reads, and lots of writes. Bad combination, IMO.
  • SSD "cure-all"
    • SSDs are nice when it comes to read speed, yes. They're great to boot from for an OS, or to start programs from. But one shouldn't allow SSDs to become a fix for full-on optimization. I'm sure you aren't, since you are likely trying everything you can to make the migration happen faster, but sometimes SSDs can seem like a holy grail to avoid some of the tougher issues when it comes to optimizing. (In a lot of ways the same can be said about throwing more hardware or memory at a problem. Sometimes it is better to optimize the problem away rather than throw more hardware at it.)
  • R/W mismatch
  • Wear Leveling and Security
    • If security is any amount of concern, the wear leveling in your SSD is going to make it nigh-impossible to wipe the drive and be certain that it has been zeroed. Two, three, and more passes won't even do it, and there will always be a chance that some portion of your data will still be obtainable.