1834144 Members
2244 Online
110064 Solutions
New Discussion

vxfs os buffering cache

 
SOLVED
Go to solution
perdida
Occasional Advisor

vxfs os buffering cache


Hello

How can i modify a filesystem so it uses database buffer cache rather than OS buffer cache?


7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor

Re: vxfs os buffering cache

If you have OnlineJFS, use these vxfs mount options:

mincache=direct,convosync=direct,nodatainlog,delaylog

Man mount_vxfs for details.
If it ain't broke, I can fix that.
Pete Randall
Outstanding Contributor

Re: vxfs os buffering cache

Use the raw device, for example /dev/vg01/rlvol1, rather than /dev/vg01/lvol1.


Pete

Pete
Sandman!
Honored Contributor

Re: vxfs os buffering cache

Use the raw device as opposed to the block device for storing database files. And if this is Oracle DB then the database buffer cache is inside your SGA.

~hope it helps
James R. Ferguson
Acclaimed Contributor

Re: vxfs os buffering cache

Hi:

Mount your VxFS filesystem with:

# mincache=direct,convosync=direct

You need OnlineJFS for this to work, but you *should* have that for a multitude of reasons.

Regards!

...JRF...
perdida
Occasional Advisor

Re: vxfs os buffering cache


Thanks for your quick reply, i have online jfs and the database filesystems are mounted as:
vxfs delaylog,largefiles 0 2

what are the correct steps to modify parameters to:
vxfsdelaylog,nodatainlog,largefiles,mincache=direct,convosync=direct 0 2

??

A. Clay Stephenson
Acclaimed Contributor
Solution

Re: vxfs os buffering cache

Shutdown the database. Umount the applicable filesystems.

e.g.
umount /oradata/ora1
umount /oradata/ora2

Edit /etc/fstab to include your new mount options.

mount /oradata/ora1
mount /oradata/ora2

Restart the database.
If it ain't broke, I can fix that.
perdida
Occasional Advisor

Re: vxfs os buffering cache


Thanks for your help!