3 ms·
It's a topic of DBA religious discussion. In the past, it was more clearly a benefit to use the direct IO method, as the DBMS could do stuff like be aware of di
by Spooky23 11y ago
It's a topic of DBA religious discussion. In the past, it was more clearly a benefit to use the direct IO method, as the DBMS could do stuff like be aware of disk geometry and optimize layout for IO and logging, and avoid the various gotchas of the file systems the DB ran on.
Way back around 2000 I did a performance bake off of Informix with direct disk io vs the Solaris 2.7 (maybe 2.6) file system. For our workloads, performance was within 5% give or take. We opted to switch to file based storage as it saved us a bunch of money.
There's no one answer -- and some technical explanations are mumbo jumbo concealing the real ask. Some DBAs will demand direct IO simply because of office politics. File systems "belong" to the storage team, but LUNs with Oracle "belong" to the DBAs.