- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can I tell if Direct I/O is being used by Orac...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 09:47 AM
тАО04-08-2004 09:47 AM
How can I tell if Direct I/O is being used by Oracle using Online JFS
We are running Oracle 9.2.0.4 on HP UX11.11 64 Bit. Using Online JFS 3.3.
How can we tell if Oracle is using Direct I/O , Discovered Direct I/O.
File system are not explicitly mounted to use directio. (convosync is not set) and are not raw.
Read some where that Oracle will automatically use "Discovered Direct I/O" even if FS has missing option for convosync.
How can I validate that.
Laxman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 10:45 AM
тАО04-08-2004 10:45 AM
Re: How can I tell if Direct I/O is being used by Oracle using Online JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2004 03:11 AM
тАО04-09-2004 03:11 AM
Re: How can I tell if Direct I/O is being used by Oracle using Online JFS
Any sar/oracle v$ tables or glance metrics which can point this out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2004 03:25 AM
тАО04-09-2004 03:25 AM
Re: How can I tell if Direct I/O is being used by Oracle using Online JFS
Well, I'd see how they are indeed mounted - run
mount -v | grep mnt_point
and see whether you have convosync=direct, mincach=direct. Because if you don't, it's I/O *will* go through the OS buffer cache & through the cache defined in Oracle's SGA. And that's generally not optimal for data & indices. But you usually want the redo & archive traffic going through the buffer cache. Usually, but not always.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2004 04:32 AM
тАО04-09-2004 04:32 AM
Re: How can I tell if Direct I/O is being used by Oracle using Online JFS
mount output is as follows
/dev/arraypvg01/lvol1 on /database1 type vxfs log on Sat Mar 17 14:26:35 2004
The question is will HP 11.11 use Programmable Direct IO as Sun does. Or do we need to force convosync=direct on file system
If sar -b
shows
00:00:01 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
08:40:01 1598 29193 95 44 7421 99 0 0
pread prwite are consistently 0 . Does it mean no direct IO is happening.
Should I expect pread/pwrite to be no zero if direct is being used.
Oracle always attempts direct I/O by defualt and the OS translates it to direct IO. On HP does it automatically transalate to Direct I/O on JFS 3.3.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2004 05:13 AM
тАО04-09-2004 05:13 AM
Re: How can I tell if Direct I/O is being used by Oracle using Online JFS
Oracle I/O size is generally determined by a combination of init.ora parameters: db_block_size, db_multiblock_read_count and db_file_direct_io_count can all influence the I/O size.
Another test you might try is a direct path export while monitoring pread/pwrite with sar -b. If db_file_direct_io_count*db_block_size > discovered_direct_iosz then I believe you should see pwrite be >0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2004 05:55 AM
тАО04-09-2004 05:55 AM
Re: How can I tell if Direct I/O is being used by Oracle using Online JFS
Is it safe to assume then that during the day oralce is not using direct i/o. We have 2 options now either increase the nbuf or move to forced direct on F/S.
Any thoughts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2004 06:50 AM
тАО04-09-2004 06:50 AM
Re: How can I tell if Direct I/O is being used by Oracle using Online JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2004 07:55 AM
тАО04-09-2004 07:55 AM
Re: How can I tell if Direct I/O is being used by Oracle using Online JFS
Short answer - yes.
IF you don't set convosync=direct,mincache=direct that FS *will* use buffer cache.
Good news is that you can reset the options on-the-fly - like as follows:
mount -F vxfs -o remount,convosync=direct,mincache=direct /mnt_point
You need OnLine JFS & JFS v3.3 or higher to do this, but I think you have these.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2004 03:05 AM
тАО12-08-2004 03:05 AM
Re: How can I tell if Direct I/O is being used by Oracle using Online JFS
tusc on the shadow process and the dbwr process show io sizes of 8192, our Oracle block size. I am trying to get our SA to run vxtrace on the filesystem, which might show what's really going on for an I/O. If you have access to run vxtrace, please do and let me know what you find out.
Glenn MacCrimmon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2004 03:52 AM
тАО12-08-2004 03:52 AM
Re: How can I tell if Direct I/O is being used by Oracle using Online JFS
vxtunefs can be used to check the "Discovered Direct I/O" parameter.
According to the manual :
Any file I/O requests larger than the discovered_direct_iosz are handled as discovered direct I/O. A discovered direct I/O is unbuffered similar to direct I/O, but it does not require a synchronous commit of the inode when the file is extended or blocks are allocated. For larger I/O requests, the CPU time for copying the data into the page cache and the cost of using memory to buffer the I/O data becomes more expensive than the cost of doing the disk I/O. For these I/O requests, using discovered direct I/O is more efficient than regular I/O. The default value of this parameter is 256K.
Regards
Jean-Luc