Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> linux DBA's: O_Direct
Redhat 3 ES, 2.4.21-32.0.1.ELsmp, Oracle 10.2.0.1 RAC, OCFS 1.0.12
I run database backups to an ext3 filesystem, using both rman and regular hotbackups on different servers. Linux uses all available ram to cache the writes to ext3, which can reduce free memory to 10-20MB (the box has 12GB) - this is how it is supposed to work. Sometimes the kernel is unable to allocate ram for new processes when it drop to this level and causes errors. It seems to me that filesystem block caching is unsuitable for a database server - it is not an issue for OCFS, only for backups to ext3.
I want to use direct_io for backups so that there is no filesystem caching. If have set filesystemio_options=directIO, ext3 doesnt like it at all - rman is unable to write the file header after attempting to open it with O_DIRECT. I have tried mounting the system system with the "sync" option but this doesnt help.
Are other linux DBA's seeing the same problem and has anybody succeeded in getting direct IO working on ext3? Ultimately I dont want any filesystem block caching at all: let it behave like solaris. OS upgrades are not an option as it is supposed to be working no these versions of everything.
Any help appreciated.
Mark
http://www.csfb.com/legal_terms/disclaimer_external_email.shtml
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Nov 21 2005 - 21:38:53 CST
![]() |
![]() |